diff --git a/docs/NATIVE-MENU-PARITY-20261129.md b/docs/NATIVE-MENU-PARITY-20261129.md new file mode 100644 index 00000000..ba70deb4 --- /dev/null +++ b/docs/NATIVE-MENU-PARITY-20261129.md @@ -0,0 +1,23 @@ +# Native menu compatibility follow-up + +## Objective and bounded scope + +Restore the retained JARVIS/Core/Ess presentation entry points in the supplied renderer. Preserve the accepted compact design, native callbacks, permissions, current-inventory gates and uncertain payment references. This is a frontend release (DuneMenus 2.0.4 / DunerealmsGUI 1.1.38); it does not replace Core, Essentials, JARVIS or Terrain and does not change CMS settlement. + +## Evidence and implementation + +- Read-only inspection of actual retained Core/Ess `com.example.dunegui.NativeMenus` bytecode found reflection calls to public boolean `show(JavaPlugin, Player, String, Inventory, Map, BooleanSupplier)`, its five-argument overload, `isCurrent`, `close`, and `showChoices`. The replacement plugin lacked this facade. That explains the Navigator's misleading startup refusal even after Paper reported Done. Both observed consumer class variants use this contract. +- The compatibility adapter retains the original inventory identity and action objects. An action runs only while its owner is enabled, its player remains online in the original world, its view is current, and the retained gate allows it. It does not close the logical view before a callback checks `isCurrent`. Choice labels/descriptions cross classloaders as plain text; arbitrary legacy remote image URLs are not fetched. +- Public service IDs enter the existing native GUI services rather than the incomplete alternate service adapters. Native service inventory presentation returns to the supplied renderer; it does not re-enter service dispatch recursively. +- ATM opens on an operation chooser. Decorative collection previews are absent there; deposit/withdraw retain actual denomination selection, explicitly labelled for the operation. Navigation can render and remain usable during ancillary reads; transaction actions remain blocked while a read/action is pending. Stale reads cannot update a newly selected page. +- Exchange browsing no longer forces an unresolved confirmation immediately on entry. A Resume pending purchase action retains its original reference, listing and quantity. Starting another purchase resolves back to that same attempt. Ambiguous failures are not cleared. Quantity presets above available stock are omitted. Existing central rejection/receipt handling is retained. + +## Acceptance and checks + +Run DuneMenus and GUI tests, including retained ABI, lifecycle/gate, stale completion/navigation, entry-point and pending purchase tests. Run the pinned MCGUI 0.8.6 renderer verification for measured containment, centered icons and original action hitboxes. Check actual built plugin descriptors and canonical CI at the final exact commit. + +Connected-client acceptance must separately exercise Navigator, Spice and ATM page navigation, and safe Exchange Browse/Resume without creating a second purchase reference. Local tests and rendered fixtures do not prove bank settlement, a real cash transaction or every gameplay callback. No real purchase, cash transfer, claim or schema mutation is required for local verification. + +## Release limits + +The previous compact candidate 6807 was installed only on lobby and Arrakis when functional feedback halted the remaining four servers. The owner accepted its appearance, not all actions. Do not describe this source follow-up as deployed until the coordinator records exact artifact hashes, receipts, startup and client results. Keep the finished backup and separate Pillager Update behind that acceptance. Preserve published resource-pack bytes and retained backend hashes during any guarded frontend rollout.