Recover retained route state and complete PostLoad availability tails

This commit is contained in:
UnixNight committed 2026-10-26 03:58:52 -04:00
1 parent 1dddfefc68
commit 9ad5a8ef6b
36 files changed
+1559 -32

No files matched your search

+43 -1
View File
@@ -1,4 +1,46 @@
# Progress — 2026-10-25
# Progress — 2026-10-26
## Retained-state implementation continuation
Read prompt.MD in full and resumed C3/C7. Three independent investigators owned
new property-reader, RETURN-cleanup and companion files; all ownership returned.
Reports: checkpoint/retained-streamer.md, retained-return-cleanup.md,
retained-companion.md and retained-player-body.md. Exact source offsets/targets,
structures, callers, scope and unresolved fields are recorded with14 new Python
regressions. Generic Init re-applies authored body vectors; final preparation
clears speed/velocity XYZ; jump state resets independently of retained scalars.
Implemented bounded PlayerLevelState (mode, jump-hold, owned-fire timer) for
ordinary LV1B/VR04/LEV1 transitions in the supported no-gadget/jetpack cases.
Other body/debug state reconstructs separately; TSK/debug checkpoint loads do not
carry transient fields. Modern R reset clears them. Companion AI/target/waypoint/
rotation and shadow resource resets are documented, not blanket-persisted.
Corrected prior prefix-only gadget availability: full VR01..08 PostLoad tails
re-enable the matching practice gadget; owned VR04 jetpack finishes1, not4. LV1B
disables gadgets1/7. Unknown wire states and other inventory regions stay intact.
Other level-specific gadget tails remain explicitly incomplete. Older VR04 state4
claims below describe the superseded partial implementation.
Targeted22 movement groups and inventory tests pass. Isolated original routines
pass under Wine32 in a copied, filesystem/network-isolated installation: authored
vector leaf accessors and43A750 preparation preserve unrelated sentinel bytes.
Synthetic fixture vtables resolve to guarded source targets; no whole-loader,
original-game end-to-end or native Windows verification is implied. Fresh Wine
prefix setup failed; a copied existing generated prefix works. Probe logs and
build/integration artifacts: artifacts/retained-lifecycle/.
Validation:84 Python checks (14 new), all managed groups including22 movement,
26 GPU render checks with zero enabled Vulkan validation errors, and the final
nondefault lab→VR04→lab boundary replay pass. Final boundary logs show mode1,
hold.625/fire6.125 retained independently of jump0/velocity0/speed0 at both loads;
RETURN position/control/companion and jetpack availability1 also pass. The full
suite's original-effects smoke initially failed its fixed200ms sampling window.
It now creates both streams paused before sampling and polls consumption with a
3s bound; all four final SDL dummy audio checks pass separately. No gameplay audio
lifecycle was changed by that harness correction. Logs: integration-final.log,
route-final.log, audio-final.log, evidence-final.log and hashes-final.log. All539
original files verified unchanged. Build succeeds with zero warnings/errors.
## Requested debug expansion