Make Terminus salvage collection authoritative

This commit is contained in:
Meta Vens 2026-07-13 15:23:35 +01:00
commit be92f4c7af
12 changed files with 125 additions and 32 deletions

View file

@ -2166,9 +2166,15 @@ credit changes, cargo transfer, ship creation, and checkpoint. Runtime loadout
restore follows the same rule: UI requests restoration, and the daemon owns
instantiation, credits, dock assignment, current entity, and checkpoint. Docked
current-ship selection follows the same rule: UI requests selection, and the
daemon owns `CurrentEntity`, `DockingBay.DockedShip`, and checkpoint. Loot
pickup follows the same rule: collision code reports the pickup opportunity,
and the daemon owns cargo storage and checkpoint. Entity destruction follows
daemon owns `CurrentEntity`, `DockingBay.DockedShip`, and checkpoint. Undocking
also owns a collision-free departure pose and clears inherited velocity before
the detached ship re-enters world physics. Loot pickup follows the same rule:
an active tractor inside its operating envelope requests collection, and the
daemon atomically owns capacity validation, cargo storage, pickup removal,
monotonic pickup identity, and checkpoint. Physics moves loose bodies but does
not decide inventory ownership. The portable Eve entity SoA publishes
`inventory.cargo.quantity`, allowing generic clients and witnesses to observe
the committed cargo delta without reading Aetheria internals. Entity destruction follows
the same rule: instance code observes death, and the daemon owns drop
decisions, zone removal, and checkpoint. Dropped world pickups are typed
zone-snapshot state, not only