Clarify loader defaults provenance and record checkpoint packages

This commit is contained in:
UnixNight committed 2026-10-25 12:59:09 -04:00
1 parent 531883aaac
commit 117db77c7b
6 files changed
+43 -5

No files matched your search

+14
View File
@@ -45,6 +45,20 @@ in `artifacts/re-checkpoint/python-final.log`. Build succeeds without warnings.
These are port/static checks; no new native Windows runtime or original whole-game These are port/static checks; no new native Windows runtime or original whole-game
runtime verification is claimed. Physical audio and original cadence remain open. runtime verification is claimed. Physical audio and original cadence remain open.
Self-contained Linux/Windows packages were rebuilt by `scripts/package.sh` from
clean531883a; both BUILD-INFO records identify that source and source_dirty=no.
The preserved baseline DLL hash remains distinct from the new binary. Linux
release launch from `/tmp` passes the60-frame Carl cutscene held-input lock check
(`linux-package-carl.log`); validation layers were unavailable in that package
invocation, unlike the enabled full integration runs. Subsequent changes only
refine loader evidence and this validation record, not runtime code.
Final loader consistency review verifies that the lab predicate-zero writer is
in class-default initialization44D3D0, reached from constructor44F3B3 through
4749A0→completeB4→44F4B0. It is not inside base constructor44D2B0. Five targeted
loader regressions pass after adding that provenance. This strengthens the
old-game lifetime question rather than silently assuming pointer overwrite deletes it.
## Plan continuation and exact next gates ## Plan continuation and exact next gates
C3 investigation recovered fresh game input→Jimmy→fire order after physics. C5 C3 investigation recovered fresh game input→Jimmy→fire order after physics. C5
+14 -5
View File
@@ -65,15 +65,24 @@ can be fields on the character object across a scene change. It does not prove
every character field remains unchanged: initialization, property loading, every character field remains unchanged: initialization, property loading,
gadget cleanup and PostLoad can reset fields independently. gadget cleanup and PostLoad can reset fields independently.
The lab game object also explicitly sets predicate0 at44D456/44D472. An object's The lab game object's class-default initializer sets predicate0 at44D456/44D472;
this is **not inside the constructor44D2B0 body** (which returns44D350).
Normal factory construction does nevertheless reach it: LV1B constructor44F300
installs derived vtables44F36A/44F37C, passes its+8C interface to4749A0 at44F3B3,
and4749BE..4749CA converts back to complete and dispatches virtualB4. Complete
vtable4C3CD0+B4 resolves44F4B0, which calls base class-default initializer44D3D0
at44F4D5. Therefore this writer is constructor-reachable through an explicit
virtual defaults bridge, not inferred from proximity or an editor-only caller.
An object's
retention and the current-level global509948 are distinct: GAM loading assigns retention and the current-level global509948 are distinct: GAM loading assigns
509948 to the destination's game object at46E360 after factory construction. 509948 to the destination's game object at46E360 after factory construction.
Further class-specific lifecycle flags or later predicate changes require their Further class-specific lifecycle flags or later predicate changes require their
own evidence; do not generalize the constructor default into a full object map. own evidence; do not generalize the constructor default into a full object map.
**Critical integration consistency gate: old level-game ownership.** The lab game **Critical integration consistency gate: old level-game ownership.** The lab game
is itself selected for preservation (interface4C386C slots200/204 resolve is initialized for preservation (interface4C386C slots200/204 resolve
4719B0/C0;44D456 pushes0 before44D472 dispatches204). Ordinary GAM loading then 4719B0/C0; defaults bridge above reaches44D456's push0/44D472's dispatch204).
Later changes to that predicate remain part of the lifetime audit. GAM loading then
constructs a new destination game. A bounded inspection of46E170 through factory constructs a new destination game. A bounded inspection of46E170 through factory
46E335 found prefix46E26C→4766E0, whose literal is`UnInitCaptions()` and whose 46E335 found prefix46E26C→4766E0, whose literal is`UnInitCaptions()` and whose
registry is5099FC;46E271→479000 clears physics records rooted509B04. Neither registry is5099FC;46E271→479000 clears physics records rooted509B04. Neither
@@ -186,8 +195,8 @@ transferring every arbitrary field unchanged would still be unsupported. The
source chain and editor-reset correction replace an unbounded “loader unknown” source chain and editor-reset correction replace an unbounded “loader unknown”
task with these concrete tests. task with these concrete tests.
Validation: five Python tests pass, covering the original hash,39 exact byte Validation: five Python tests pass, covering the original hash,42 exact byte
sites,14 virtual targets, object factory/destruction/timer dependencies and R key sites,15 virtual targets, object factory/destruction/timer dependencies and R key
identity. Run `python3 -m unittest discover -s tests -p identity. Run `python3 -m unittest discover -s tests -p
test_checkpoint_scene_loader.py -v`. Helper JSON is reproducible with test_checkpoint_scene_loader.py -v`. Helper JSON is reproducible with
`python3 tools/binary/checkpoint_scene_loader.py ../Original`. These are static `python3 tools/binary/checkpoint_scene_loader.py ../Original`. These are static
+5
View File
@@ -10,6 +10,11 @@ errors. Final Python discovery passes62 tests including the additional source
evidence follow-ups. All539 original hashes remain unchanged. These checks do not evidence follow-ups. All539 original hashes remain unchanged. These checks do not
add native Windows or original whole-game runtime verification; earlier Windows add native Windows or original whole-game runtime verification; earlier Windows
user reports remain limited to their tested builds and route. user reports remain limited to their tested builds and route.
Self-contained Linux/Windows packages rebuilt from clean531883a. The Linux release
package passes the60-frame Carl held-input/control-lock smoke from `/tmp`;
validation layers were unavailable for that invocation. Current Windows release
is cross-published, not newly native-runtime verified. Later loader-provenance
edits affect evidence/tests only; runtime code is unchanged from that package.
| Feature | Implemented / tested | Evidence and limits | | Feature | Implemented / tested | Evidence and limits |
|---|---|---| |---|---|---|
+4
View File
@@ -24,6 +24,10 @@ duration/repeat clock and C7 selective ordinary loader follow-ups are documented
All investigator ownership returned. Exact old level-game registry eligibility All investigator ownership returned. Exact old level-game registry eligibility
and retained-field reset traces gate scheduler integration; camera/audio/physics and retained-field reset traces gate scheduler integration; camera/audio/physics
chunks have independent concrete evidence gates. See the execution ledger. chunks have independent concrete evidence gates. See the execution ledger.
Linux/Windows self-contained packages rebuilt from clean531883a; Linux release
Carl held-input smoke passes from `/tmp` (validation unavailable there). Later
loader defaults-bridge provenance corrections pass five targeted byte checks and
do not change runtime. Package and test logs are in artifacts/re-checkpoint/.
**The full reconstruction is incomplete.** The current implementation extends the **The full reconstruction is incomplete.** The current implementation extends the
user-verified Windows rendering checkpoint into an interactive original lab and user-verified Windows rendering checkpoint into an interactive original lab and
+2
View File
@@ -51,6 +51,8 @@ class SceneLoaderEvidenceTests(unittest.TestCase):
self.assertEqual(sites["lab_constructor_base"]["direct_call_target"], "0x44d2b0") self.assertEqual(sites["lab_constructor_base"]["direct_call_target"], "0x44d2b0")
self.assertEqual(sites["game_constructor_base"]["direct_call_target"], "0x4745a0") self.assertEqual(sites["game_constructor_base"]["direct_call_target"], "0x4745a0")
self.assertEqual(sites["game_constructor_clear_control"]["direct_call_target"], "0x475a40") self.assertEqual(sites["game_constructor_clear_control"]["direct_call_target"], "0x475a40")
self.assertEqual(sites["lab_constructor_defaults_bridge"]["direct_call_target"], "0x4749a0")
self.assertEqual(sites["lab_defaults_base"]["direct_call_target"], "0x44d3d0")
if __name__ == "__main__": if __name__ == "__main__":
+4
View File
@@ -48,6 +48,9 @@ SITES = (
("game_constructor_clear_control", 0x474683, "e8b8130000"), ("game_constructor_clear_control", 0x474683, "e8b8130000"),
("game_constructor_current_game", 0x474688, "893548995000"), ("game_constructor_current_game", 0x474688, "893548995000"),
("lab_game_preserve_predicate", 0x44D472, "ff9004020000"), ("lab_game_preserve_predicate", 0x44D472, "ff9004020000"),
("lab_constructor_defaults_bridge", 0x44F3B3, "e8e8550200"),
("game_defaults_virtual_dispatch", 0x4749CA, "ff92b4000000"),
("lab_defaults_base", 0x44F4D5, "e8f6deffff"),
("keyboard_down_array", 0x46A370, "c6803898500001"), ("keyboard_down_array", 0x46A370, "c6803898500001"),
("keyboard_up_array", 0x46A390, "c6803898500000"), ("keyboard_up_array", 0x46A390, "c6803898500000"),
("acquired_reset_key_test", 0x4235D8, "a08a98500084c07423"), ("acquired_reset_key_test", 0x4235D8, "a08a98500084c07423"),
@@ -70,6 +73,7 @@ VTABLES = (
("Jimmy key-gated reset", 0x4A373C, 0x3C8, 0x4235B0), ("Jimmy key-gated reset", 0x4A373C, 0x3C8, 0x4235B0),
("lab game destruction predicate", 0x4C386C, 0x200, 0x4719B0), ("lab game destruction predicate", 0x4C386C, 0x200, 0x4719B0),
("lab game predicate setter", 0x4C386C, 0x204, 0x4719C0), ("lab game predicate setter", 0x4C386C, 0x204, 0x4719C0),
("lab game class-default initializer", 0x4C3CD0, 0xB4, 0x44F4B0),
) )