Persist weapon runtime state in checkpoints

This commit is contained in:
Meta Vens 2026-06-14 14:19:21 +01:00
commit f98f650ab5
10 changed files with 287 additions and 8 deletions

View file

@ -145,6 +145,9 @@ legacy catalog cache, and legacy UI paths should be migration-only or deleted.
Equipped-item and active-consumable behaviors that intentionally expose
`IProgressBehavior` now publish typed progress rows keyed by owner kind,
owner index, behavior index, behavior kind, and progress value.
Weapon behaviors now also publish typed runtime rows for firing state, ammo,
burst timing, cooldown progress, charged-weapon charging/charge state, and
constant-weapon reload/ammo-interval state.
`RuntimeEntityBlueprint` still exists for construction/loadout projection,
but those live hull grids and session scalars are not blueprint fields and
cannot be restored by the old blueprint projector path.
@ -767,14 +770,17 @@ First Aetheria surfaces to publish:
- Done: extend run checkpoint commits and smoke coverage to carry typed
behavior progress rows for equipped-item and active-consumable behaviors
that expose `IProgressBehavior`.
- Done: extend run checkpoint commits and smoke coverage to carry typed
weapon behavior state rows for instant, charged, and constant weapon
runtime internals.
- Done: cut live simulation grids out of `RuntimeEntityBlueprint`; loadout
and construction templates no longer capture or restore temperature,
armor, max-armor, or hull-conductivity state.
- Remaining: add typed documents/mappers for runtime object graphs,
typed behavior factory construction, behavior-private simulation state
such as weapon cooldown/charge/ammo internals and sensor ping state, and
any catalog fields not covered by the stable scalar/fingerprint/payload
pass.
such as sensor ping state, radiator/reactor/capacitor runtime internals,
and any catalog fields not covered by the stable scalar/fingerprint/
payload pass.
4. Runtime cutover
- Done: add a Unity-facing typed catalog read facade and smoke proving it can
@ -1167,7 +1173,7 @@ First Aetheria surfaces to publish:
includes orbit/body rows for generated celestial state, and the entity smoke
includes typed simulation stat grids, public entity session scalars, and
active consumable timer rows, plus typed behavior progress rows for
`IProgressBehavior` surfaces. The Unity runtime smoke also proves
`IProgressBehavior` surfaces and typed weapon runtime rows. The Unity runtime smoke also proves
package-owned readback of typed loadout templates from `.cc` records. It also
proves `aetheria.runtime_session.v1` is advertised and survives reopen as the
typed daemon-session signal.