OpenTPW

Review WALK-V2: walk-fix after WALK-F and WALK-F2 (2079e79)#

October 11, 2026. Independent focused re-review of the walk-fix branch at 2079e79:

Method:

Witness: tools/ppc-analysis/lanes/review/test_walk_v2.py. Open findings are expected failures in it. It pins decoded fields and model results only.

Verdict: ACCEPT-WITH-FIXES#

Every claim checked holds:

There are no blockers on walk-fix itself. WV2-1 must be fixed at the merge onto main: the merged tree fails fidelity_register.py --check until then. WV2-2..WV2-5 are low or nit.

The gate (GATE-006)#

ClaimCheckResult
Queue bound 110 / 65 / 656 × 9 + 2 × 15 + 3 + 22 + 1 = 110; 1 × 9 + 30 + 26 = 65holds; the run reports 110 / 65 / 65
Per-head limit min(bound, own walk + 26)HeadNotReadyLimit, set once at the first judged evaluationholds; 285 / 631 / 169 heads on their own walk, closest 15 turns under the limit
WV-2: no permanent young-head exemptionHeadDeferred: judged from 15 turns old; a head without a track is judged at oncefixed; 0 heads deferred in the jungle run
WV-3: a stuck head at position 0 is caught by rule (a)head-held-250-turns, head-delayed-60/170-turns fail "from its own walk"fixed (stricter)
WV-12: walks, not the cell indexHeadRemainingWalkTurns reads WalkCrossings and the walk's cells, never QueueCellIndexfixed
GATE-006 registeredM3GateApproximations, tags at HeadNotReadyBound, QueueCellWalkTurns and HeadRemainingWalkTurns, the JSON derivation string, M3-GATE.mdholds
C = 9 honestly labelled"the bounded enumeration of OpenTPW's port of the traced step"; the WALK register entries it rests on are listed; "the bounds hold for OpenTPW's walk and match the original's to the extent those entries do"holds

The derived bound is looser than the retired GATE-005 check (110 against 84 turns, 65 against 50). That is the owner's decision of October 10, 2026, and it is recorded as such in the register entry and in M3-GATE.md. The per-head limit makes rule (a) stricter than before for most heads.

C = 9 under the ported separation. The enumeration's "oppose" mode is now one virtual neighbour 0.1 cell ahead. The step truncates the summed push to the max force, so five neighbours cannot push harder than one. A sideways push, which could drive a guest into a wall, was not covered. This review reran the full enumeration (QueueWalkTermFullEnumeration) with the virtual neighbour turned by 0°, 90° and 270° in a scratch copy:

Neighbour angleWorst updates for k = 0, 1, 2, 3, 4, 5, 8, 12, 16, 20, 25 crossingsFailures
0° (as committed)8, 18, 25, 33, 42, 50, 76, 109, 143, 176, 2180
90°8, 19, 25, 33, 42, 50, 75, 109, 143, 176, 2180
270°8, 18, 25, 33, 42, 50, 75, 109, 143, 176, 2180

The bound is k × 9 + 15: 15, 24, 33, 42, 51, 60, 87, 123, 159, 195 and 240. The reduced grid also passed at 45°, 135°, 180°, 225° and 315°.

Mutations, compared independently of the moved pins. The four M3 suites as of c6c19ea ran against c6c19ea, and the suites as of 2079e79 (plus test_walk_v1) ran against 2079e79. A recorder kept every gate run's exit code and failing rows. Result:

The early diverge-second-run mutation changed from happiness − 1 to hunger + 0.001. Since separation, one guest's changed decisions spread to the others, and the run no longer converges. The suite still asserts what it was built for: a divergence in minute 1 that converges by the end (the final hashes match) fails through the minute hashes. The happiness − 1 fault is still caught; it now also changes the final hash.

The re-aimed hold-stand-walk (OV2-5) pins the boarding guest at the centre of the queue's front cell. In the 6-cell layout a guest enters state 13 about 0.01 cell from its stand point, so pinning it where it stands could not create a stall. The re-aimed fault fails walk-stall (w = 20) again.

The walk against the disassembly#

WALK-F2 (ORACLE-V2 findings) against the disassembly#

FindingCheckResult
OV2-1 ECON-048the register check lists 34 doc-only IDs; declaring one failsholds, see WV2-2 for its reach
OV2-2 WritePathCanSpendCell: 32-bit (int)Balance − (int)cost ≥ 0 (0x82bc8)holds
OV2-3 preview0x84530..0x84554: a pending cost of 0 skips; else cmpw pending, balance, refuse when greater; the price is added before (0x7bcc0, plain add)CanPreviewLine matches; the queue commit passes no economy to CheckQueueCell
OV2-4 testseach rule reverted alone in a scratch copy, no-asset suite runevery revert fails its new test (table below)
OV2-5 hold-stand-walksee the gate sectioncaught again
OV2-6 BOUNCE0xadf40: ctr = +100; the first slot with visitor 0 takes visitor, +4, deadline, start; +108 goes up; a full table or ctr 0 returns 0TakeBounceSlot matches; oracle board-bounce 505 inputs (holes, full table), 0 mismatches against plan and C#
OV2-7 smoke clockthe Totem motion (30 s) and release (60 s) limits use Script.TimeMilliseconds; the one-shot 180 s watchdog still fails a run whose script clock stallsnot a weakening

Reverts (each alone; the five other failures in every scratch run read docs/ and content/, which the scratch copy does not have):

Reverted ruleFailing new test
32-bit money test → 64-bitTheWriteUsesSetCellTypes32BitMoneyTest, TheCellMoneyTestIs32BitAndANegativeCostIsBookedAsOtherIncome, TheQueuePreviewUsesTheValidatorAndTheCommitOnlySetCellType
WritePath 64-bit testTheWriteUsesSetCellTypes32BitMoneyTest
ECON-048 (negative cost as a cost)TheCellMoneyTestIs32BitAndANegativeCostIsBookedAsOtherIncome
strict deadline → <=UnbounceNeedsAPassedDeadlineInsideTheFirst200MsOfEachSecond
200 ms window droppedUnbounceNeedsAPassedDeadlineInsideTheFirst200MsOfEachSecond
first free slot → appendBounceFillsTheFirstFreeSlotOfTheScriptsTable
bounce start dropped from the bridge hashTheBridgeHashCoversEveryFieldOfABounceSlot
preview in 64 bitsTheQueuePreviewUsesTheValidatorAndTheCommitOnlySetCellType
preview without the skip at 0ThePreviewUsesTheValidatorsPendingCostTest, the queue preview test
queue commit runs the preview againTheQueuePreviewUsesTheValidatorAndTheCommitOnlySetCellType

Findings#

WV2-1 (medium, merge onto main): RIDES-029 collides with a retired ID.

WV2-2 (low, register): the retired-ID guard sees only docs table rows.

WV2-3 (nit, register wording): WALK-003 does not say that non-guest things are left out. 0x10087c also keeps thing types 4–8 and 18. WALK-plan §16 says so, but the register line ("separation's neighbours are the guests outside rides and shops …") does not say that other things never push. Fix: add "thing types 4–8 and 18 are not neighbours". Witness: test_walk_003_says_which_thing_types_are_left_out.

WV2-4 (low, unregistered detail): BOUNCE reads the clock twice.

WV2-5 (nit, docs and process).

Merge readiness (trial merges, not committed)#

OntoConflictsAfter resolving
fork main c09c6ba (fetched)docs/FIDELITY-REGISTER.md (generated); DeterminismTests.cs, one line (saved.SoundSeed + 1, take walk-fix's unchecked(…))--check fails on RIDES-029 (WV2-1). With RIDES-031: register 208, build 0 errors, tests without assets 1120 / 277 / 0, --m3-gate 16 / 0 / 0, gate hash A07A2871552E22E8
save-fix 3e7e07eECONOMY.md and EconomyApproximations.cs: save-fix drops ECON-045 beside ECON-048, so keep ECON-048 only; tools/fidelity_register.py REGISTERS: keep WALK and SAVE; walk-fix's derived register-count sentence; DeterminismTests.cs, the same one line; FIDELITY-REGISTER.md (generated)register 214, "twelve configured C# registers" (WV-10 closed by the derived sentence), build 0 errors, tests without assets 1081 / 274 / 0, --m3-gate 16 / 0 / 0, same gate hash

Overlap with save-fix (SAVE-M is merging it onto main now).

Runs#

CheckResult
Release build (SDK 10)0 errors
Tests without assets1094 / 273 / 0
Tests with assets (OPENTPW_GAME_PATH)1282 / 85 / 0 (11 min 25 s)
--m3-gate × 216 / 0 / 0, exit 0; JSON identical apart from wallSeconds; gate hash A07A2871552E22E8, guest hash 29788288CB1437F4; head not ready ≤ 25 / 15 / 12 of 110 / 65 / 65
M3 mutation suites (OPENTPW_M3_MUTATE=1)v1 26, v2 10, v3 25, v4 15, walk_v1 6: all OK
Mutation verdicts c6c19ea → 2079e7955 runs; 42 failing on both, 0 lost, 3 newly failing (stricter)
Oracle (differential.py, C# bridge)board-bounce 505 / 0 / 0, walk-speed-setter 518 / 0 / 0, walk-smoothing C# 507 / 0
Separation callback 0xfd5f4 in the oracle605 inputs, 0 mismatches
Evidence runner (--mac-bin, --pc-data …/theme-park-world/Data, --dotnet SDK 8)exit 0: 16 Python suites, 1086 tests, 117 skipped; .NET lanes passed or not-run as registered
Native smokes (scripts/run.sh, osx-arm64, one at a time, no --mute)front end 448 frames, sandbox 1109 frames, --load-original-level jungle 5146 frames (Totem started at script time 23.9 s): all passed
fidelity_register.py --checkcomplete, 205 IDs; test_fidelity_register 10 OK
CRLFgit diff --stat equals --ignore-cr-at-eol --stat against 7380ab4 and 8a72a2c
git diff --check (blank-at-eol, blank-at-eof, space-before-tab, cr-at-eol)clean against both

Closed at the merge onto main (WALK-M)#

The witnesses in test_walk_v2.py are no longer expected failures; they read the working tree.

Source: docs/reverse/REVIEW-WALK-2.md in the project repository.