Skip to content

Commit 9af5bfd

Browse files
committed
gpt-6.1-sol-max: archive verified Lunatic story replays and action tapes
Save seven complete Final A story routes and four complete practice routes as original native RPY files plus full input tapes. Publish their byte hashes, unchanged original proofs, separately qualified accounting/archive receipts and all retained campaign failures and costs in the maintained ledger. Two story routes solve directly from Stage 1; five reconstruct real native prefixes. All eleven export pairs pass fresh action verification, exact observed calculation counts, natural replay completion, matching terminal score and zero death/bomb rows. One entire232403-row tape also matches the full native Debug/render port byteforbyte. Validation: native CTest35/35, final report/native contracts34/34 excluding unchanged long real-data case, final core29/29 includingdocs; all exported hashes checked. The pinned retail-derived corpus remains106/108 with unchanged failures/fingerprints; source-profile completion does not establish retail executable equivalence. Assisted-by: Suika (gensokyo-skills:suika-scatter-gather-planning) Assisted-by: Sakuya (gensokyo-skills:sakuya-checkpointed-execution)
1 parent f2ae4f0 commit 9af5bfd

27 files changed

Lines changed: 1760685 additions & 8 deletions

‎README.md‎

Lines changed: 13 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,14 @@
22

33
Offline C++17 simulation and planning for Touhou 08. The target is a continuous
44
Lunatic story No Miss No Bomb run, delivered as an input tape and a real `.rpy`.
5-
The fork-based native planner is being integrated and verified; full-story success
6-
is not yet established. [Planner](docs/PLANNER.md) owns the approach.
5+
The fork-based native planner completes seed-0 Lunatic Final A under the documented
6+
native source profile, with fresh action and natural replay verification. Retail
7+
equivalence remains unresolved. [Planner](docs/PLANNER.md) owns the approach.
8+
9+
The [complete story replay](reports/native/replays/story-v2--r64-b384-c16.rpy) and
10+
[full action tape](reports/native/replays/story-v2--r64-b384-c16.actions) are tracked.
11+
The [campaign ledger](reports/native/planner_current_summary.json) records their
12+
configuration, hashes, verification and retained search costs.
713

814
## Current direction
915

@@ -89,5 +95,8 @@ Acceleration removes waiting without enlarging gameplay time steps.
8995
| [Third-party notices](docs/THIRD_PARTY_NOTICES.md) | Required attribution/license |
9096

9197
Old entry-first roadmaps were consolidated or removed; Git history retains them.
92-
`preparations/` is preserved original research, not current instructions or verified
93-
coverage. Game assets, generated binaries/source and experiments stay ignored.
98+
`preparations/` preserves historical research, not current instructions or verified
99+
coverage. Public handoff copies redact private links/paths; their
100+
[publication manifest](preparations/10.21-with-claude-important/PUBLICATION.json)
101+
records original/public hashes, with exact inputs preserved locally. Game assets,
102+
generated binaries/source and experiments stay ignored.

‎docs/STATUS.md‎

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ native costs. Unfinished processes contribute only a pending identifier.
1818
| Spell 92, stage 4b | Training seeds 0/1/42/65535 complete and freshly replay with spatial/focus beam retention. Frozen R64/cell16/shoot1 also passes holdouts 7/2026. Training takes 2756–2835 updates and about 15–17 seconds in the concurrent campaign; these are not isolated timing samples |
1919
| Complete practice Stages 1/2/3 | Seed 0: 24043/30481/38231 updates, fresh action replay and natural `.rpy` round trips |
2020
| Complete practice Stage 4b | Seed 0: 42588 updates with R128/cell16, fresh action replay and natural `.rpy` round trip |
21-
| Continuous story | Search remains in progress; no full-story completion is claimed |
21+
| Continuous Lunatic Final A story | Seven seed-0 routes complete with zero deaths/bomb inputs and natural `.rpy` playback: two from Stage 1 directly, five through native prefix reconstruction. Direct R64/beam384/cell16 takes 232074 API updates (232069 calculations), score 167865093; cell32 takes 230748 updates (230743 calculations), score 166093360 |
2222
| Pinned replay corpus | 106/108; one early completion and one fingerprint mismatch remain unresolved, including in the pinned full native build |
2323

2424
All four practice `.rpy` streams retain identical rows after adding explicit
@@ -27,6 +27,16 @@ incomplete/capacity-failed or interrupted rollouts, and commit agreement include
2727
the actual human/youkai form. Search exhaustion is retained as a failure, not an
2828
impossibility proof. The baseline global-score pruning failures remain in the ledger.
2929

30+
Story verification counts actual gameplay calculations separately from API updates.
31+
Five source-owned stage handoffs return before the gameplay/replay callbacks. An
32+
inert hook beside the native gameplay counter records those boundaries; fresh
33+
accounting receipts bind the exact raw actions, configuration, source, DAT, terminal,
34+
score and RNG without replacing the original solver/verification binary identities.
35+
Every story `.rpy` must match that observed count, with no stage-count tolerance.
36+
The report retains failed episodes, prefix reconstruction and additional receipt
37+
costs. The requested replays and full action tapes are tracked in
38+
[native replays](../reports/native/replays/), with hashes in the campaign ledger.
39+
3040
Keep training seeds 0/1/42/65535 separate from holdouts 7/2026. Published reports omit
3141
infrastructure addresses, account names and private paths. [Validation](VALIDATION.md)
3242
owns commands and the remaining fidelity limits; same-build native verification does
@@ -208,7 +218,9 @@ are optional component evidence, not prerequisites or the next integration roadm
208218
The old Wriggle sub40/41 fixtures are fixed-emitter slices, not whole spells.
209219

210220
There are 29 core CTests without private data, plus two optional pinned-source tests
211-
(31 total), optional headless process-protocol/semantic-contract tests and one optional native real-data CTest. The native test covers complete
221+
(31 total). The current headless/DAT configuration has 35 CTests, including native
222+
process/semantic/opcode/hazard contracts, the complete-scene test and the prefix
223+
continuation test. The complete-scene test covers complete
212224
duration, original boss transitions, the adapted IDs 32/85/89/93/139/167/183/192/198/201/204, bounded repairs for IDs202/203 and their retained rolling failures, fresh replay, and the Stage 6b
213225
input-latch counterfactuals.
214226
Public CI excludes DAT and reconstruction; it cannot certify those profiles. See

‎docs/VALIDATION.md‎

Lines changed: 42 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,10 @@ requires natural successful captures with every expected row/fingerprint.
2222
./build-headless/th08_replay_suite --checker build-headless/th08_replay_check --dat game_data_donottrack/th08.dat --manifest reference/config/replay-fixtures.json --schema reference/scripts/replay-external-schema.json --corpus reference/tests/fixtures/replays/th08-1.00d/accepted --output reports/local/fidelity --jobs 8
2323
./build-headless/th08_plan --dat game_data_donottrack/th08.dat --out reports/local/spell92 --stage 4b --spell 92 --difficulty 3 --seed 0 --rollout 64 --diversity-cell 16 --shoot 1 --checkpoint 60 --keep 12 --frames 10000 --seconds 180
2424
./build-headless/th08_plan --dat game_data_donottrack/th08.dat --out reports/local/spell92-verify --stage 4b --spell 92 --difficulty 3 --seed 0 --verify reports/local/spell92/plan.actions
25+
./build-headless/th08_plan --dat game_data_donottrack/th08.dat --out reports/local/story --stage 1 --story 1 --difficulty 3 --seed 0 --rollout 64 --beam 384 --diversity-cell 16 --checkpoint 120 --keep 64 --shoot 1 --frames 250000 --seconds 2400
2526
./build-headless/th08_plan --dat game_data_donottrack/th08.dat --out reports/local/story-resumed --stage 1 --story 1 --difficulty 3 --seed 0 --prefix reports/local/story/plan.actions --rollout 64 --diversity-cell 16 --checkpoint 120 --keep 64 --frames 350000 --seconds 1800
2627
./build-headless/th08_hazard_probe --dat game_data_donottrack/th08.dat --stage 4b --spell 92 --difficulty 3 --seed 0 --event-update 393 --leads 393,360,320,280,240,200,160 --output reports/local/spell92-probe.json
27-
./build-headless/th08_planner_report --root reports/local/campaign --fidelity reports/local/fidelity/summary.json --known-binary-sha256 01cdab0637be646f45d3e0db12734837a979aa5a8e218fc8dabc7e427f0171e8 --output reports/native/planner_current_summary.json
28+
./build-headless/th08_planner_report --root reports/local/campaign --fidelity reports/local/fidelity/summary.json --known-binary-sha256 01cdab0637be646f45d3e0db12734837a979aa5a8e218fc8dabc7e427f0171e8 --replay-dir reports/native/replays --output reports/native/planner_current_summary.json
2829
```
2930

3031
`reference/` above is a placeholder for supplied pinned corpus files, not a runtime
@@ -60,6 +61,46 @@ a natural `.rpy`, matching calculation-row count and final score, and explicit z
6061
events. Refreshing them on the four practice tapes preserved every original row byte.
6162
Replay calculation rows and Session API calls are separate cost totals.
6263

64+
For continuous story, five native stage-control calls can complete without a
65+
gameplay calculation. The observer is beside `gameplayFrameCounter++`, after the
66+
setup early-return gates; the earlier trace/RNG hook stays at its original boundary.
67+
Reports bind `frames = calculation_updates + control_updates` to explicit ordered
68+
stage-transition events, and natural replay rows must equal the observed calculation
69+
count. The measured 232408-action route has exactly 232403 calculations, with control
70+
calls at 24158, 56541, 95948, 138845 and 178264. This is measured source behavior,
71+
not permission to subtract the number of stages from an arbitrary replay.
72+
73+
For older completed campaigns, retain the original plan and same-binary verification.
74+
A separate `<case>-accounting/verify.json` supplies missing observations from a new
75+
fresh run, bound to exact raw action SHA, source/DAT/configuration, terminal, score
76+
and RNG. Its executable and costs remain separate. New plan/verification pairs must
77+
agree directly on counts and events. `th08_replay_check` also hashes its actual replay,
78+
DAT and executable before capture. `--replay-dir` archives only verified whole-scene
79+
originals and full action tapes, checks the replay hash, and emits both artifact hashes
80+
in the ledger. The checked originals are tracked under
81+
[native replays](../reports/native/replays/); fresh-verification copies and raw rows
82+
remain ignored.
83+
84+
One full source/adapter differential additionally plays the archived
85+
`story-prefix-v1--p132200-r64-b384-c16.rpy` through the pinned full native Debug/O0
86+
build, retaining production draw callbacks with private Xvfb, dummy audio and
87+
llvmpipe rasterization disabled. All 232403 calculation rows (23240300 bytes)
88+
match the headless capture byte for byte: SHA256
89+
`c560ef53295b9a62e949e8fd79fd5c2c6b576d137e3398b108caa4252bb913ea`.
90+
Both captures end naturally with score 169789855, zero death/bomb-input rows and
91+
the same six-stage route. The full-native executable SHA256 is
92+
`9aae4ce60d1a5e8426b1675b7fe7504e0a74f7ed70610ada5c4d692e5a456b00`.
93+
The additional validation costs 232403 calculations and 356.01 seconds including
94+
debugger, display setup and trace I/O, outside the solver campaign totals. This
95+
checks that adapter/profile for one tape; the two paths share source and numerical
96+
behavior, so it is not an independent retail physics oracle.
97+
98+
The completed Release native suite passes 35/35 CTests in 751.96 seconds. After
99+
report-only receipt hardening, all 34 tests excluding the unchanged long complete-scene
100+
test pass again; the local core suite passes 29/29. The new observer/checker full
101+
108-fixture run retains exactly the prior row counts, fingerprints and outcomes:
102+
106 pass and the same two failures remain. No expected fingerprint is changed.
103+
63104
Prefix continuation is a new planning episode over a natively reconstructed world,
64105
not a stage reset. Its raw input hash and reconstruction costs remain in the ledger;
65106
the final full tape must replay from its original start. Contract checks cover

‎reports/native/README.md‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ See [Status](../../docs/STATUS.md), [Scenarios](../../docs/SCENARIOS.md) and
99
| Producer | Records | Meaning |
1010
|---|---|---|
1111
| `th08_planner_report` | `planner_current_summary.json` | Current Lunatic fork-planner campaigns, verified completions and retained failures, all recorded search/replay costs, pending jobs, and unresolved 106/108 replay fidelity gate |
12+
| `th08_plan`, archived by `th08_planner_report --replay-dir` | `replays/*.rpy`, `replays/*.actions` | Verified original practice/story replays and full action tapes; case identifiers, byte hashes, natural replay and separate accounting evidence are in `planner_current_summary.json` |
1213
| `th08_hazard_probe` | `planner_spell92_stability.json` | Sampled input-dependent direct-laser geometry before update 393; explicit native costs and failures, not a universal lock-time proof |
1314
| `th08_headless`, source `02ff72f` | `headless_02ff72f_stage6b.json` | New named source-profile collision fixture; the historical `861bec9` report and contract remain intact |
1415
| `th08_headless` + `th08_headless_probe` + `tests/headless_real_data.cmake` | `headless_summary.json` | Retained GCC12 native Stage 1, ID179, adapted IDs 85/89/93/198/201 and portfolio IDs 193/195/199, source collisions, Stage 6b input-latch witnesses, replay and O0/O3 comparison |

‎reports/native/planner_current_summary.json‎

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)