OpenTPW

PPC lane review (independent ninth reviewer)#

2026-10-09. Static review only. No original program was executed or emulated. No binary bytes, expanded sections or disassembly are stored here. The verifier prints addresses, decoded operand fields, interpreted constants and conclusions only. Binary identities are the three SHA-256 values in FINDINGS.md. The .data files are Feral's Mac PowerPC port, so Mac facts transfer to the PC executable only when separate PC evidence supports them (see "Mac/PC transfer" below).

Reproduce#

Placeholders: $FERAL_BIN is the directory holding the extracted Feral .data files (with libraries/ below it), $FERAL_HFS the Mac disc image, $TPW_DATA and $PATCH2_DATA the Data directories of a retail and a Patch 2 install, and $RIDES_CHECKOUT a checkout of the rides lane, $INTEGRATION_CHECKOUT the integration checkout under review, $TPI_DATA the Data directory of the supplied TPI retail install, and $ROOT_CHECKOUT the root repository.

python3 -I -m unittest discover -s tools/ppc-analysis/lanes/review -p 'test_*.py' -v
python3 -I tools/ppc-analysis/lanes/review/review_evidence.py $FERAL_BIN \
  --pc-save $TPW_DATA/levels/jungle/Easymode.TPWI
python3 -I tools/ppc-analysis/lanes/review/reloc_audit.py $FERAL_BIN/*.data \
  $FERAL_BIN/libraries/*.data
python3 -I tools/ppc-analysis/lanes/review/round2_evidence.py $FERAL_BIN \
  --mac-hfs $FERAL_HFS \
  --pc-speech $TPW_DATA/global/Speech
python3 -I tools/ppc-analysis/lanes/review/round3_evidence.py $FERAL_BIN
python3 -I tools/ppc-analysis/lanes/review/round4_evidence.py $FERAL_BIN
python3 -I tools/ppc-analysis/lanes/review/round5_evidence.py $FERAL_BIN \
  --pc-data $TPW_DATA \
  --pc-data $PATCH2_DATA \
  --rides-root $RIDES_CHECKOUT
python3 -I tools/ppc-analysis/lanes/review/round6_evidence.py \
  --bin-root $FERAL_BIN \
  --pc-data $TPW_DATA \
  --pc-data $PATCH2_DATA
python3 -I tools/ppc-analysis/lanes/review/round7_evidence.py \
  --bin-root $FERAL_BIN \
  --repo $INTEGRATION_CHECKOUT
python3 -I tools/ppc-analysis/lanes/review/round9_evidence.py \
  --bin-root $FERAL_BIN \
  --pc-save $TPW_DATA/levels/jungle/Easymode.TPWI \
  --tpi-save $TPI_DATA/PreBuilt/prebuilt.TPWS \
  --git $ROOT_CHECKOUT
python3 -I tools/ppc-analysis/lanes/review/round10_evidence.py \
  --bin-root $FERAL_BIN \
  --pc-save $TPW_DATA/levels/jungle/Easymode.TPWI
OPENTPW_PPC_BIN_ROOT=$FERAL_BIN \
OPENTPW_PC_DATA=$TPW_DATA \
  python3 -I -m unittest discover -s tools/ppc-analysis/lanes/review -p 'test_*.py'
# Every ppc-analysis Python suite, one lane per process (section 44):
python3 -I -B tools/ppc-analysis/run_evidence_checks.py --mac-bin $FERAL_BIN \
  [--pc-data $TPW_DATA] [--pc-fixture $TPW_DATA/levels/jungle/Easymode.TPWI] \
  [--require-fixtures] [--dotnet $DOTNET8/dotnet]

round2_evidence.py (section 4 onwards) uses the same pinned Binary and fails closed in the same way. Its optional asset check prints only sizes, SHA-256 values and image offsets. round3_evidence.py (section 12 onwards) additionally pins engine_shared.data and ltms_shared.data; round4_evidence.py (section 18 onwards) reuses those pins, and round5_evidence.py (section 24 onwards) adds sound_shared.data. Its optional --pc-data check reads LoanInfo numbers from the install at run time, and --rides-root compares a rides checkout's dispatch table with that lane's contract JSON. round6_evidence.py (section 32 onwards) reuses the SimThemePark.data pin for the rides selector routines and reads SDT entry headers from each --pc-data install, printing counts only. With both variables set, all 95 lane tests run, with no skips. Without them, 89 pass and the six original-file witnesses skip.

review_evidence.py exits non-zero if any identity, relocation, glue stub, operand or constant differs from the reviewed value. Unlike timer_evidence.glue_import, it requires the complete six-word CFM glue pattern before naming an import. ppcdis.py is a local review aid that prints llvm-mc output to the terminal. The checked-in verifier does not depend on it, and its output must not be committed. The 14 synthetic tests target interpretation hazards: they distinguish competing readings rather than restating expected constants. They cover operand order of subc extended mnemonics, unsigned versus signed compare immediates, partial glue matches, ambiguous relocation repeats, the two loan-record readings, operation order of the loan exponent and saturating conversion edge cases.

1. Audit of existing PEF/timer evidence#

Claim (FINDINGS.md)VerdictReason
PEF reader parses all 16 containers; 38,072 relocated wordsAccepted (corpus-bounded)Every section-relative addend lies inside its target section, and both words of every exported transition vector are relocated. The corpus contains no RelocSmRepeat/RelocLgRepeat instructions (counts: Incr 4,091, BySectDWithSkip 4,063, Run 3,205, LgByImport 1,473, SmIndex 1,461, SetPosition 17). pef.py replays repeat blocks by instruction units, whereas the specification counts 2-byte chunks. The two readings differ only for blocks containing 32-bit or nested instructions. That path is therefore untested by real data, though it cannot affect current results. reloc_audit.py reports ambiguous blocks if a future container has them.
LbTime_GetClock = low 32 bits of GetAbsolute / 1000AcceptedThe wrapper passes r1+80 as the result buffer and reloads both words from it. The helper ends adde r4,r4,r4; adde r3,r3,r3; blr, so it returns the shifted dividend: the quotient, not the remainder kept in r7:r8. The function immediately after it (0x59e88) begins by testing and negating sign bits, so it is the signed sibling and 0x59d98 is the unsigned one.
Microseconds fallback copies microseconds unchangedAccepted, conditionalThe previous verifier did not check the missing links. Here, mr r31,r3 at entry makes r31 the caller's result pointer, and addi r3,r1,72 before the call makes r1+0x48 the UnsignedWide that is reloaded and stored. Route selection is still runtime-dependent.
SetRate copies interval/flag without scalingAcceptedThe function is exactly five moves followed by blr at +0x14.
Application SetRate(100000, 1) at this+0x5cAccepted. Role still unknownReconfirmed. The same constructor also stores 500,000 (lis 8; addi -24288) at this+0x70. That value was unreported and its role is unknown. UTimer::HasTicked (0xa698) ticks when elapsed > interval, using an unsigned 64-bit comparison. With flag ≠ 0 it resynchronises last = now, so missed periods are not caught up. With flag 0 it adds last += interval. Flag 1 here therefore means drop-missed-ticks behaviour. No consumer of this+0x5c has been traced.
Doubles 1000.0, 60.15, 60,000,000.0Accepted as literals onlyNo rate claim is derived from them, which is correct.
TOC base of SimThemePark is 0x8000AcceptedRead from the main transition vector's relocated TOC word.
Heuristic analyze.py boundaries/namesRemain untrustedThis review never uses them. The function boundary of the payoff/constructor spans was read from prologues and call sites, not from traceback heuristics.

There is a weakness in the existing timer_evidence.glue_import: it accepts any call target whose first word is lwz r12,d(r2). All glue targets cited in FINDINGS.md pass the full six-word check here, so no reported result changes. Lanes that reuse glue_import should still not rely on it alone.

2. Economy lead: loan arithmetic (constructor 0xcb7a8)#

Verdict: accepted, with corrections and stronger field identities. The loan arithmetic is monthly = u32sat(trunc(amount × pow(1 + APR/100, (months/12)×0.5) / months)). The lead's "months/24" is bit-identical: multiplying by 0.5 is exact, and a test covers 1–600 months.

Field identities are not inferred from the arithmetic. The bank serializer (0xcba54, labels from TOC slot 0x3100 → code 0x1cc8ce) passes each field address together with the developer's member-name string. Here, loan+N means bank + 32·i + N:

OffsetSerializer labelConstructor source
this+0x0cmBalancesettings +0x198
this+0x10mBatchBalance0
this+0x114mWithdrawalsEnabled1
this+0x118mAdmissionFeevia 0xcc51c with settings +0x19c (not traced)
this+0x11c / 0x120 / 0x124mLastBalance / mTurnEnteredRed / mProfitThisYear0
loan+0x14loan_availableamount <= 10000 (unsigned)
loan+0x18amount_availablesettings +0x1a0 + 16i
loan+0x1cAPR_in_percent+0x1a4 + 16i
loan+0x20repayment_period_in_months+0x1a8 + 16i
loan+0x24monthly_repaymentthe formula
loan+0x28 / 0x2cloan_bought / months_repaid0
loan+0x30lenderNameIndex+0x1ac + 16i

The settings global (sec1+0x54860, only via TOC slot 0xa7c) is zero in the static image, so it is populated at runtime. The settings schema lists InitialCash, InitialAdmissionFee, …, LoanAmount, APRInPercent, RepaymentPeriodInMonths, Lendername, LoanInfo[10] in the same order as the copies, but the .sam parser that fills the global was not traced. The link from .sam keys to +0x198… is therefore consistent but needs evidence. The schema bounds LoanInfo at 10 entries; the bank uses 8.

Corrections and additions:

PC save cross-check: critical objection to SaveEconomyRecords#

The serializer writes 4-byte little-endian words in its call order (mAdmissionFee, mBalance, mBatchBalance, mWithdrawalsEnabled, mLastBalance, mTurnEnteredRed, mProfitThisYear, then 8 × available, amount, APR, months, monthly, bought, months_repaid, lender). Every reader helper uses LbFile_Read of 4 bytes followed by stwbrx. Applied to the PC Easymode.TPWI payload, this layout matches uniquely at payload offset 1,411,362, which is 32 bytes before OpenTPW's "loan table" offset 1,411,394:

3. Calendar lead (constructor 0xe3c90, conversion 0xe4394)#

Accepted:

Corrections:

New cadence lead. Needs clock-lane confirmation; not yet behaviour proof:

Mac/PC transfer#

The PC TP.ICD (SafeDisc-wrapped) contains none of these serializer or schema strings in its stored form, so PC code identity cannot be checked statically here. What transfers is limited to:

Classification summary#

ItemStatus
PEF reader on this corpus; timer wrapper ÷1000 unsigned quotient; SetRate copy; Microseconds fallback (conditional)Accepted
HasTicked semantics; 500,000 at app this+0x70 (role unknown)Accepted (new)
Loan formula, field names, u32sat conversion, availability rule, payoff amount and edge cases (Mac)Accepted
.sam keys → settings +0x198… mappingNeeds evidence (parser untraced)
Bank save layout on PC; SaveEconomyRecords i64/lender-locator misreadAccepted / critical objection
Loan APR>0 arithmetic on PCNeeds evidence
Calendar constant, labels, epoch, conversion, 100 ns unit; mGameTick identityAccepted
"unsigned divide" in calendar conversionRejected (signed; no numeric effect)
248 ms / ≈4 Hz world tick and 5.71 s game dayLead; needs evidence (rate, mode, gating)
100 ms UTimer as simulation clockRejected as unsupported
Relocation repeat semanticsUntested (no instances in corpus)

Other lanes at round-1 time#

At round 1, no domain lane had committed. Round 2 below reviews their commits.

Round 2: committed domain lanes#

Reviewed commits: clock 126ee3e, economy 14dff87, guests 334c61d + f7041da, rides 51425bd, advisor c08762e. UI (ppc-ui) and formats are uncommitted, so their claims below are tentative. Scenarios has no files. Every committed helper exits 0 on the pinned binaries. Every lane's tests pass, including the original-file tests when their environment variable is set. Uncommitted edits seen in the economy, guests and rides trees were not reviewed as findings. None of them addresses the objections below. Nothing outside this lane was edited.

Every address below was re-read from decoded instructions. Witnessed items are pinned by round2_evidence.py. Function extents come from prologues, blr and explicit branch targets. No heuristic boundary was used.

4. Clock lane (126ee3e)#

Accepted: the catch-up loop is reached as game-state case 10 (0x1c135c bound 15, jump table data:0x52cc8[10] → 0x1c2264). Its register globals come from the single prologue: there is no loop back to the dispatch bctr.

Additions and corrections:

  1. Unreported skip gate. At 0x1c22f4–0x1c2308, when !(flags 0x52e44 & 8) && (flags 0x52e40 & 1), the substep does no work. However, previous and the substep counter have already advanced, so the eight-phase alignment continues through skipped substeps. What the two flag words mean is unresolved.

  2. Turn increments before the mode-4 exit. In 0x10536c, mGameTick++ (0x1053a0) precedes the world+0x1da738 == 4 early exit (0x1053a8). In that mode the calendar, which reads the tick, keeps advancing while no thing is updated. My round-1 phrase "mode 2 direct" is corrected: modes 0 and 2 call 0x10536c directly, mode 1 uses 0x10565c, and other modes skip park work.

  3. Zero or negative header budget executes no opcodes. The manager checks budget > 0 before the first dispatch (0xb28e8 → 0xb290c). This closes the clock lane's "zero/negative budget" boundary for the Mac build.

  4. The loop condition, LIP and mouth deadlines are signed (cmpw); WAIT and WAITABS use unsigned cmplw. Wrap behaviour after 2³¹ ms is therefore Mac-specific. This is not a practical concern, but it should not be modelled as unsigned.

  5. With the clock lane's proofs the cadence lead from round 1 becomes accepted for the Mac build at scale 1.0: 248 ms of scaled clock per park turn, 3,750 calendar seconds per turn, and ≈ 5.71 s per game day. It still depends on the scale (0.25–2.0), forced stepping, the skip gate and the mode-4 tick. It is not a PC claim.

5. Economy lane (14dff87)#

Accepted (re-derived): skill, research, wear, scrap, game over and event routing.

Critical objection: the yearly-profit rule is wrong whenever M·N < P. At 0xcc370–0xcc390 the month handler computes profit += M − divwu(M·N − P, N) in 32-bit arithmetic. Combined with the −M withdrawal, the net is −divwu(M·N − P, N). divwu is unsigned, so whenever M·N < P the dividend wraps. The lane's "reduces yearly profit by floor((M×N − P)/N)" is correct only when M·N ≥ P.

M·N < P occurs for every 0 % APR offer whose principal is not a multiple of its term. PC Easy_Standard.sam (855ca41c…) is 0 % for all eight offers, and six of them wrap:

This is static Mac behaviour (an apparent original bug), not a PC claim. Whether mProfitThisYear is displayed or used beyond the year reset was not traced. Any Mac-backed model must keep the u32 wrap explicit or record a documented deviation. The independent model is round2_evidence.loan_month_profit_delta.

Further additions:

6. Guests lane (334c61d, f7041da)#

Accepted:

Additions:

7. Rides lane (51425bd)#

Accepted (re-decoded):

Additions:

8. Advisor lane (c08762e)#

Accepted: LIP mark ÷1000 (signed magic 0x10624dd3, srawi 6). At most one toggle per update, when the current time is strictly greater than the mark deadline. Mouth rand() % count + 1 with a deadline of now + 100, so Normal is reachable. The maximum and minimum scans use strict comparisons, so ties keep the earliest slot.

Upgraded. The lane pairs the Mac response table with the PC speech bank. The Mac hfs.img contains exactly one contiguous byte-identical copy each of PC speechHD.SDT (25,205,152 B), lips.wad and cat_speechSFX.map (speech_identity). The global sample/LIP numbering is therefore the same data on both platforms. Which path the Mac loader opens was not traced.

Needs evidence: the mouth count comes from +272; the value 5 depends on all five names resolving.

9. UI lane (uncommitted, tentative)#

The scale routines and clamp are confirmed (section 4). Missing: a third callback record data:0x452f8 → vector 0x7518 → 0x1131ac sets the scale to 1.0 (data:0x56d8) through 0x127c40. So the original has step-down, step-up and reset controls. Key binding and widget mapping remain unresolved.

10. Round-2 classification#

ItemStatus
Clock: case-10 loop, 2000 backlog, 31 ms substep, 8-phase, cap 3 per callback, forced step 31, scale 1.0/1.25/[0.25,2], 30 fps formula, RSE budget/phase/WAIT/WAITABS/SETTIMER/GETTIMER, native opcode namesAccepted (Mac)
Skip gate advances counter; tick increments in mode 4; modes 0/2 direct; zero budget executes nothingNew, accepted (Mac)
248 ms/turn, 5.71 s/day at scale 1.0Accepted (Mac, scale 1.0); PC needs evidence
Economy skill/research/wear/scrap/game-over/event types/apply/payoff amountAccepted (Mac)
Economy yearly-profit rule floor((M·N−P)/N)Rejected for M·N < P (unsigned wrap; affects 6 of 8 PC Easy offers)
Batch flush, withdrawal-disabled profit gain, payoff = −total interest, equality-only terminationNew, accepted (Mac)
Guests nested guard, sequential IDs, ÷450, speed setterAccepted (Mac)
Negative queue match → unsigned scoreNew; boundary reachability needs evidence
Newest-first update orderNew, accepted (Mac live list)
Rides COPY/DIV/MOD/literal/BUMP/×255/TRIGANIMSPEEDAccepted (Mac)
Literal-destination COPY aborts script; RAND raw bound; 300 ms anim adjustmentNew, accepted (Mac); 0xa6cc0 units need evidence
Advisor ÷1000, single toggle, mouth rand, strict tiesAccepted (Mac)
Global speech bank identical Mac/PCAccepted (asset identity)
UI speed reset callbackNew, accepted (Mac); UI binding needs evidence
PC runtime equivalence of any item aboveNeeds evidence

11. Hand-offs (no source edited by this lane)#

Round 3: shared-reader and source fixes, formats and scenarios#

Reviewed commits: clock 3b9b322, 068a076, dd903c6, 3995687, dafbdb1, a5263bb; economy 7b63c41, ab3c74d; rides 15313d2, b3d14f9; guests 5e6e346, 00a6393; advisor 3acb53d, 3ae2dd9; UI 8c70ff5, 67e7d93; formats b0935b4; scenarios b8602bd. Uncommitted Phase 3 files in the advisor, economy, formats (source/ model files) and UI trees are not reviewed here. Source commits were exported with git archive into scratch directories for building, so no lane tree was touched. New address claims are pinned by round3_evidence.py, with synthetic regressions in test_round3.py.

Runs: every lane's Python suite passes at its HEAD with the Mac paths set (clock 21, economy 8, guests 11, rides 15, advisor 26, UI 24 with private corpus paths and no skips, formats 24, scenarios 11). The shared toolkit at clock HEAD passes 31 tests. .NET: economy/save filter 42 pass and 0 skip (OPENTPW_GAME_PATH set), ride VM filter 34 pass. Standalone helpers: clock 33, guests 18, advisor 21. No helper project restores packages. The clock one clears all NuGet sources, and the rides one references only source/OpenTPW.Files. The rides PC witness JSON files contain counts and SHA-256 digests only.

12. Shared toolkit fixes (clock lane, root-owned files)#

Boundary: pef.py, test_pef.py, timer_evidence.py and test_timer_evidence.py are shared toolkit files. The lane brief forbids child edits to them. The content is accepted below, but root must take ownership and merge them as one unit before any lane that imports them.

13. Source fixes#

14. Formats lane (b0935b4, new)#

Witness exits 0 on the pinned containers. corpus_check.py gives byte-identical output on the PC baseline and Patch 2.

15. Scenarios lane (b8602bd, new)#

Witness (374 checks) and tests pass. Strengths: the GameType 0/1/2 table, strict > ticket predicates, keys not consumed, only researcher staff produce points, and challenge activation.

16. Other lanes, delta since round 2#

17. Round-3 classification and integration order#

ItemStatusSeverity
PEF repeat block fix, glue validation, relocation baselineAccepted; out-of-lane filesBoundary
Save parser 8-word loans + 7-word bankAccepted—
Importer APR > 0 repayment equality vs annuityNeed more evidence; self-consistent testMedium
VM COPY abort, DIV/MOD 0, raw RAND boundAccepted (Mac)—
VM negative RAND bound throwsRejected as stated; Mac result defined, corpus-unreachableLow
MD2 gating, TPWS trailing tags, BF4 blend, MTR absenceAccepted (Mac)—
Formats "bit n" notationRestate as masksLow
Scenarios ticket/challenge offsets incl. MinCellsCoveredAccepted, layout-proven—
Scenarios research threshold = ResearchTech[g+1], unsignedCorrectionMedium
Ticket counter = mGameTick (save-restored); state 4 ≠ GameTypeCorrectionLow-medium
Calendar multiplier for park ageResolved via round 1 (override untraced)—
Happiness ticket "people in park"OverstatedLow
Any PC/Patch 2 runtime equivalenceNeeds evidence—

Recommended safe order (root):

  1. Shared toolkit as one unit: 068a076 → dd903c6 → 3995687.

  2. Clock lane files (3b9b322, dafbdb1, a5263bb).

  3. Rides 51425bd → 15313d2 → b3d14f9, with the RAND-negative note recorded.

  4. Economy 14dff87 → 7b63c41 → ab3c74d, then an importer follow-up for APR > 0.

  5. Formats b0935b4 (lane-only), then one root change to TPWS-PAYLOAD.md/SavePayloadLayout for trailing tags, after step 4.

  6. Scenarios b8602bd, with register updates using the section 15 corrections.

  7. Guests, advisor and UI lane commits (independent).

Uncommitted source edits (formats ModelAnimation*, economy loan rules) need their own commit and review round before integration.

Round 4: clock branch repair, loan model, MD2 tracks, scenarios, advisor, UI, TPI#

Reviewed: the clock repair on top of a5263bb (doc, contract, native_scheduler_branches.py, NativeBranchRules.json), reviewed uncommitted and since committed as bbc89e5. Its tools/ppc-analysis tree is byte-identical to what I reviewed. c2a0930 adds only a doc section on the rides VM, consistent with section 13. Also reviewed: economy 6f0a0ea; formats 2439695; scenarios 089ca5f; advisor 8b256a3; UI 643f132; TPI 873cb71. Guests (00a6393) and rides (b3d14f9) have no new commits since round 3. Every lane was run from a git archive export or an rsync copy in /tmp, so no lane tree was written. New address claims are pinned in round4_evidence.py (exit 0), with 22 regressions in test_round4.py that tell the competing readings apart.

Runs: clock contract 35 checks, clock Python 21, and my regenerated branch JSON matches the lane's NativeBranchRules.json exactly. Economy model 15 groups and 5,437 assertions. Formats witness exit 0, Python 26, MD2 C# filter 69 pass and 1 skip (the ISO/MTR case, which predates this commit). Corpus output is byte-identical on the PC baseline and Patch 2. Scenarios witness exit 0 and 15 tests. Advisor 46 C# checks, 27 Python tests and the controller witness exit 0. UI 19 synthetic cases, and the private verification (export written to /tmp) covers 55 tables and 934 controls. TPI 9 C# fixture cases and 8 Python tests.

18. Clock branch repair (bbc89e5): accepted#

I decoded the routes myself from the BO/BI fields, without reusing the lane's JSON:

19. Economy 6f0a0ea (standalone loan model): accepted#

The model matches my decode of 0xcc21c and 0xccc78:

Still open (medium): this commit does not repair the round-3 importer objection. ab3c74d still demands annuity equality for APR > 0. Recommended fix: use the Mac formula, which is safe for shipped values, or skip the equality check for APR > 0.

20. Formats 2439695 (MD2 tracks, parser in source/): accepted with limits#

Objections:

21. Scenarios 089ca5f: round-3 research objection resolved#

22. Advisor 8b256a3, UI 643f132, TPI 873cb71: accepted#

23. Round-4 classification and integration order#

ItemStatusSeverity
Clock gate flag8 OR NOT flag1; GameType 0/2 direct, 1 wrapperAccepted (bbc89e5); a5263bb alone rejectedCritical if split
Clock mode word = GameType 0x53d98New binding—
My round-3 clock acceptanceRetractedSelf-correction
Scaled clock binary64 FMA, unsigned deltaAccepted (Mac)—
Economy standalone loan modelAccepted (Mac)—
Importer APR > 0 annuity equality (ab3c74d)Still openMedium
MD2 10:10:10, fused dequantise/lerp, group-0 order, gates, partnerAccepted (Mac)—
Stateless FindKey vs native persistent cursorIntegration preconditionMedium
713,683 vs 713,695 wording; two unreported flag writesCorrection/additionLow
Scenarios research g+1, profit-year signed YTD, wageAccepted / resolved—
Ticket counter "zeroed", Local 2 wordingStill openLow
Advisor queue edges; UI factory and reader; TPI boundariesAccepted—
Any PC/Patch 2 runtime equivalenceNeeds evidence—

Safe order (root), updating section 17:

  1. Shared toolkit as one unit (068a076 → dd903c6 → 3995687).

  2. Clock 3b9b322 → dafbdb1 → a5263bb → bbc89e5 → c2a0930 as one unit. Never stop at a5263bb.

  3. Rides 51425bd → 15313d2 → b3d14f9.

  4. Economy 14dff87 → 7b63c41 → ab3c74d → 6f0a0ea, then the importer APR > 0 follow-up before any positive-APR import claim.

  5. Formats b0935b4 → 2439695 (parser only), then root's TPWS-PAYLOAD.md change. Wire ObjectAnimator later, carrying the cursor precondition.

  6. Scenarios b8602bd → 089ca5f, with the register updates (ECON-016 g+1, ECON-038, ECON-039 YTD).

  7. Guests, advisor (→ 8b256a3) and UI (→ 643f132), independent of each other.

  8. TPI 873cb71: docs/tools only, kept separate from TPW fidelity claims.

Not reviewed (in flight when this round closed): formats has uncommitted runtime wiring (ObjectAnimator, ObjectRenderParts, OriginalObject, Model.cs, ModelFile.cs, ModelVertexAnimation.cs, new ObjectVertexAnimationTests). Scenarios has uncommitted progression_evidence.py and contract/. The formats wiring must answer the section 20 cursor precondition before integration.

24. Root main 99fa14a and the staged economy tree: verified#

25. Rides 722fe4c (controller dispatch): accepted#

26. UI 864f82d (root-name binder): accepted with one qualification#

27. Advisor a479cff and audio 58538df: accepted#

28. Guests 00a6393 (temporary history): blocked, HIGH#

I confirmed the clock lane's 24f5456 finding with my own decode:

29. Formats 11c1003 and its uncommitted repair: hold#

30. TPI f81313a / 7f2a6b2: metadata accepted; trim the artifact#

31. Round-5 classification and integration order#

ItemStatusSeverity / owner
Root 99fa14a clock + toolkitVerified (tools = reviewed tree)—
Staged economy …c7bedf1Accepted; importer objection resolvedLow: link, mod edges / economy
Rides 722fe4c dispatchAccepted (39/39, reports reproduced)Low: preserve-flags is policy / rides
UI 864f82d binderAccepted; no existing binding changesMedium-low: shadow canonicalisation wording; low: sticky failure / UI
Advisor a479cff tupleAccepted (native r29)—
Audio 58538df Layer IAccepted (ISO + 882 factors, libm-independent)SF63/CRC/de-emphasis are policy
Guests 00a6393 historyBlockedHIGH / guests
Formats 11c1003Hold until repair committed and re-reviewedHIGH (allocation) / formats
Formats loop wrap = rebindDocumented assumptionMedium / formats
TPI f81313a/7f2a6b2Accepted as metadataLow: 2.7 MB artifact / TPI
Rides b7df1a0, economy 974f546, scenarios b093ee3Not reviewed this round—
Any PC/Patch 2 runtime equivalenceNeeds evidence—

Merge order from current root:

  1. Commit the staged economy (6a69e3f..c7bedf1) together with this lane (ppc-review-lane, docs/tools only), so that the ECONOMY.md link resolves.

  2. Rides 722fe4c (cherry-pick onto b3d14f9 without b7df1a0, or take b7df1a0 only after it is reviewed). b3d14f9 itself is still unmerged: 51425bd → 15313d2 → b3d14f9 first.

  3. Advisor 3ae2dd9 → 8b256a3 → 58538df → a479cff. The helpers are standalone, and the Layer I decoder is production.

  4. UI 643f132 → 864f82d, after rewording the shadow claim (no code change is needed for shipped data).

  5. Formats b0935b4 → 2439695 → 11c1003 → allocation-repair commit, only after that commit is re-reviewed.

  6. Guests after the temporary-history fix.

  7. TPI docs/tools, preferably with the compact artifact.

Scenarios' uncommitted GameFlow.cs/ParkEconomy.cs edits, formats' uncommitted repair and TPI's pal8.py are tentative and outside this verdict.

32. Root main 9e40f52: combined tree verified#

9e40f52 merges 7b6b46e into 75a3380. The second parent adds only lanes/clock/review-native-contracts.md. 75a3380 already carried the temporary-history repair inside the guest merge, so main's lanes/guests/rules, GUESTS.md and PPC-guests.md are identical to 7b6b46e (git diff --quiet 7b6b46e 9e40f52 -- … is clean). The two guest lineages (00a6393 and its rebased copy be42615) write the same paths, so no duplicated helper exists. Every C# type name defined twice is either a partial class or lives in a separate assembly (CompatibilityFlags in Online and in Compat, unchanged since 6a69e3f). The only cross-tree compilation is the advisor's Layer1Corpus.csproj, which compiles production Mp2Decoder*.cs and Layer1TestFrames.cs by link. That is intended, and the project builds with zero warnings. No lane helper is referenced from source/.

Run on a git archive export of 9e40f52:

CheckResult
dotnet test source/OpenTPW.Tests -c Release with OPENTPW_GAME_PATH, OPENTPW_LANGUAGE_DATA, OPENTPW_BONUS_DATA864 passed, 0 failed, 12 skipped (all opt-in native-shader tests), 22.5 min
Scheduler / guests / advisor / rides animation / UI layout helpers (dotnet run -c Release)35 / 23 / 52 / 11 / 19, all pass
Economy OriginalLoanRules.Tests.csproj (dotnet run; dotnet test discovers nothing)15/15 groups, 5,437 assertions
Python: tools/ppc-analysis and each lane (OPENTPW_PPC_BIN_ROOT set)222 run, 11 skipped (lane-specific env vars), 0 failed
Layer1Corpus, rides CorpusWitness, PatchAnalysis builds0 errors

33. Rides: 56a9d26 blocked (HIGH); b7df1a0 accepted with limits#

56a9d26, HIGH (both items decoded by me and pinned in round6_evidence.py). PassengerRing.QueryRoom and PlanAllowance take a minimum where the native code takes a maximum.

Medium findings:

Production is unaffected, because COAST still goes through the unimplemented-effects path.

Confirmed by the delegated decode: the BUMP guard (0x24364) is a signed, strict less-than against +100 and against 64. Ring append uses an unsigned compare and wraps the cursor with an unsigned divide. Low findings not modelled: the fallback ring at +208, and the car-eligibility counting rule. The helper builds, 11/11 checks pass, the JSON regenerates identically, and merge-tree with main is clean.

b7df1a0 (already merged): accepted with limits. It touches only the standalone rides lane and its doc. VM and animator behaviour is unchanged, so "WAITANIM unsupported" describes the helper, not production. The four trigger sites take a signed max(ret−300, 300). WAITANIM (0xafc78) compares unsigned after the division, so marking it unsupported is right. Low: opcode 16's accumulator and variable writes are not modelled. Rides/VM tests on main: 113 passed, 0 skipped with OPENTPW_GAME_PATH.

34. Scenarios b093ee3 accepted; bac3428 accepted with one medium gap#

Natively confirmed on SimThemePark.data:

Answers to the open concerns:

Findings:

Merged tree with the register regenerated: 827 passed, 0 failed, 54 skipped. Lane Python: 19 OK. Contract: 23/23. scenario_evidence.py: 874 checks pass.

35. Economy 974f546, 1c53e14, 6305d32: accepted (standalone)#

974f546. All 11 cap compares in 0xc7b24 are signed cmpwi against the literals 1000/20/10/10/10/10/4/4/4/4/4. Visitor arithmetic is cap × 20, then a signed truncating ÷ 1000; ride arithmetic is × 3, then a truncating ÷ 2. The skill chain 0xf41dc runs in this order:

  1. fdiv (double) for the percentage ÷ 100;

  2. single-precision grade;

  3. double add, then frsp;

  4. fmuls × 20, with no fused multiply-add;

  5. 0x1c3fbc: fctiwz with unsigned saturation.

Inputs that separate the readings, all checked against the helper:

InputNative and helperCompeting reading
skill(−1, 115)32 (double port)
skill(16777217, 0)335544320335544340 (double)
skill(−1, 105)10 (all-single)
rides(−3)−4−5 (floor)
visitors(−49)0−1 (floor)

1c53e14. The save is jungle/Easymode.TPWI; Patch 2's copy is identical. The witness checks the world prefix at 1179, bank 8 and tick 755. Tick 755 maps to 2000-02-02, which agrees with the saved month and day caches. Limit: bank offset 1411362 is pinned rather than parsed.

6305d32. This is a real next-ID chain walk (42 → … → 30), not a pattern match. The researcher's ID agrees with the world FirstResearcher field. The walk stays aligned past the researcher, and the header pattern occurs only once. Native 0xf2ca0/0xf2e60 store fctiwz, then the low byte, then f32. Only the name's SHA is committed. Limit: the start offset 1,385,521 comes from the formats lane's map and was not re-derived. These commits claim no production import.

Low: evidence.py needs its sibling schema module on sys.path and fails under python3 -I; it passes with -E -s. Python: 16 OK at 6305d32. Loan helper at 1c53e14: 25/25 groups, 11,183 assertions. Merge-tree with main is clean, touching lane paths only.

36. Advisor 2b8e4bf (MP2File format metadata): accepted#

MP2File now reports the rate and channels of the first complete frame instead of a fixed 22050. round6_evidence.py --pc-data checks this with an MPEG header reader written from ISO 11172-3/13818-3, independent of Mp2Decoder:

Low: when the frame is invalid, SampleRate falls back to the legacy reader's int16 at entry +24, which reads 44100 as −21436. Prefer 0 ("unknown").

Merge-tree with main is clean. On the merged tree, the MP2FileMetadata|Layer1Decoder|Mp2Decoder|LipSyncTimeline tests give 66 passed, 0 skipped, and Layer1Corpus builds with -warnaserror. The advisor's uncommitted audio-events/ work is not reviewed.

37. UI 68be372 / 0c5739b and clock 7f8ef64: accepted with limits#

UI 68be372.

UI 0c5739b.

Remaining UI items, all LOW:

UI Python with all UI_EVIDENCE_* set: 43 OK, 0 skipped. The round-5 shadow-name qualification is already in main, through ae788a3.

Clock 7f8ef64.

38. TPI 11203fe: accepted with limits#

18b09c5 replaces the 2.7 MB full-evidence.json with a 95 KB compact audit that pins the full report's size and SHA. 11203fe commits PAL8:

The JSON holds hashes, counts and sizes only, and exports refuse to write into a git repository.

24 Python tests OK; --self-test 14/14; merge-tree with main is clean. No engine-equivalence claim is made.

39. Formats dbcb859 + 6382736: HIGH resolved; accepted with limits#

Allocation (round-5 HIGH): resolved. At 6382736, every array in ModelAnimation.Decode and ModelVertexAnimation.Decode whose size comes from the file is checked before it is allocated. Each check covers offset ≥ 0xB8, offset ≤ trailer, and 64-bit length ≤ trailer − offset, and each charges the 4×payload budget. The trailer is pinned to length − 72, and members are capped at 16 MiB. A delegated scratch test set every counted table to 65535 and used wrapping pointers 0xFFFFFFF0/0xFFFFFFFF and a vertex block running into the trailer. All 14 hostile inputs threw InvalidDataException after allocating about 20 KB. The corpus still parses: 1,735 paired blocks, 1,278 clips and 6,010,956 table bytes, on both baseline and Patch 2.

Low: the budget counts table bytes, not managed objects. Records sharing one rotation key with ease 32767 allocate about 22× the file size before rejection, which extrapolates to about 370 MB for a 16 MiB member. That is bounded and linear. A single slab array for the curves would remove it.

Loop replay (6382736): confirmed by independent decode.

Exact end: native code holds the last key at time == length, whereas the C# tick % duration samples tick 0. This is documented as not modelled, not claimed.

Open, all LOW:

Runs:

The lane's uncommitted ObjectAnimator.cs and test edits are not reviewed.

40. Newer heads seen during this round (not reviewed)#

These appeared while round 6 was running: rides f5c77fe, clock f95c694 and d66857e, advisor be46ebe, scenarios merge 0f5492a (plus 15 uncommitted paths), formats' uncommitted animator edits, and TPI 11203fe (PAL8, which is not in main). Root main also advanced to f468f03, which merges TPI 18b09c5; see section 41.

41. Root main f468f03 and the diverged origin/main (second push)#

f468f03 (9e40f52 → TPI 18b09c5 → progress note) changes no source/ files. TPI tests (15) and fidelity_register.py --check (141 unresolved) pass on an export.

Local main and origin/main (778ea5d) have diverged: 57 commits only on local main, 53 only on origin/main. merge-tree reports conflicts in README.md, FIDELITY-REGISTER.md, LIPS.md, PROGRESS.md, MP2File.cs and Mp2Decoder.cs. Upstream pins .NET 10 (global.json 10.0.401). Only SDK 8 is installed here, so the combined tree has not been built or tested; nothing below is a combined-tree pass. The delegated net8 probes used local main with either side's decoder.

RiskSeverityWhat a correct resolution keeps
Two Layer I decoders (upstream f080218 in Mp2Decoder.cs, local 58538df in Mp2Decoder.Layer1.cs)HIGHLocal hunks. Delete upstream DecodeLayerOneFrame/Requantize/Mpeg1LayerOneBitrates; keep upstream tests. Naive resolutions fail to compile (duplicate or missing members), so this is loud rather than a silent alias. Semantics differ: upstream rounds the requantizer twice in float (local folds once in double, matching the 882 Mac factors) and ignores emphasis. Two local Layer I tests fail against the upstream decoder.
Two game-mode models (upstream 3286a6c ParkGameMode? + Easy_<object>.sam overlay; scenarios bac3428 ParkStart/ParkStartKind)HIGH when scenarios landsOne model (ParkStart), feeding upstream's catalog/balance easy flag from game type 2, not from layer presence. Research policy must be chosen once: upstream keeps automatic Instant Action research, while scenarios is staff-only (section 34 medium). Scenarios + upstream conflicts in 13 files.
ObjectAnimator.TicksPerSecond became an instance property upstream (47c1554); formats 6382736 tests use it staticallyMED (inferred CS0120)Upstream instance property; update the formats tests.
SDT header widths (upstream 28864fa: UInt16 rate, byte bits/type, RawSampleField) vs advisor 2b8e4bf/be46ebeMEDUpstream constructor body, plus the advisor's Channels and TryReadFrameFormat. With 28864fa, the advisor's container fallback (section 36 low) becomes correct. Stale text: MP2File doc comment, PPC-advisor.md "hardcoded at 22,050".
net8 lane tools under the .NET 10 pinMED (inferred)CorpusWitness.csproj and TpiCompare.csproj reference OpenTPW.Files and need retargeting (NU1201). Other lane tools still need a net8 runtime to run. None are in the solution, so CI will not notice.
Upstream policies: English-only repo files (2d3ce02), no home paths or .omx (b612f0c)MEDTranslate the Dutch PROGRESS.md section added in f468f03. Replace home-directory paths in PPC-advisor/economy/guests/rides.md, TPI-COMPARISON.md, tools/tpi-compare/README.md and full-evidence.json (this doc is fixed in this round). The .omx files drop out cleanly.
Fidelity registerLOWResolve sources first, then --write. That gives 135 unresolved with no ID collisions. Upstream retired ECON-007/032, RIDES-020/027/029 and UI-033, and unmerged lanes still carry some of those tags.
CI Python discoveryLOWunittest discover -s tools/ppc-analysis finds none of the 17 lane test files (no __init__.py). Run each lane explicitly.

42. Round-6 classification and integration order#

ItemStatusSeverity / owner
Root 9e40f52 / f468f03 combined local treeVerified (864/0/12 full suite; helpers; Python)—
Local main vs origin/mainHold the push until a real merge is resolved and built on .NET 10HIGH: Layer I duplicate / root
Formats dbcb859 + 6382736Accepted with limits; HIGH resolvedLow: object amplification, register entry, doc nits / formats; MED test fix after upstream merge
Rides 56a9d26Blocked: QueryRoom and PlanAllowance take a min where native takes a maxHIGH / rides; MED: PPC-rides.md on main states min
Rides b7df1a0 (in main)Accepted with limits (helper only)Low
Scenarios b093ee3Accepted—
Scenarios bac3428Accepted with limitsMED: Instant Action research stalls / scenarios; low–med: stale ECON-019; HIGH merge interaction with upstream 3286a6c
Economy 974f546, 1c53e14, 6305d32Accepted (standalone)Low: -I import, pinned offsets
Advisor 2b8e4bfAcceptedLow: fallback value; resolve with upstream 28864fa
UI 68be372, 0c5739bAccepted with limitsLow: lazy duplicate detection, test skip guards
Clock 7f8ef64AcceptedLow: commit wording
TPI 18b09c5 (in main) / 11203feAccepted with limitsMED: 2.7 MB blob in unpushed history
Rides f5c77fe, clock f95c694/d66857e, advisor be46ebe, scenarios 0f5492a, formats uncommitted editsNot reviewed—
Any PC/Patch 2 runtime equivalenceNeeds evidence—

Merge order:

  1. Resolve local main with origin/main first, since every lane below must then rebase onto .NET 10 and the upstream decoder, header and mode work. Keep local Layer I. Take upstream SDT widths and the animator instance clock. Translate the Dutch section, replace home paths, regenerate the register, and build and test on SDK 10.0.401. This lane (ppc-review-lane) merges without conflict either way.

  2. Economy 974f546 → 1c53e14 → 6305d32 (lane paths only).

  3. Clock 7f8ef64; UI 68be372 → 0c5739b (lane paths only).

  4. Advisor 2b8e4bf, resolved against upstream 28864fa as in section 41.

  5. Formats b0935b4 → … → 6382736, with the static TicksPerSecond test use updated after step 1, plus a register entry for copy-back and exact-end.

  6. Scenarios bac3428, only after it is unified with upstream ParkGameMode into one model and the Instant Action research gap is registered or closed.

  7. Rides 56a9d26, after the max/min correction (and a PPC-rides.md fix on main).

43. Round 7: integration tree and lane repairs (state at review time)#

Brief: verify each lane against the original Mac PEF and PC data independently and keep every qualification. A lane's self-consistent tests are not evidence of original runtime behavior. This round was read-only on peer trees, with no root merges or pushes. Only this section and round7_evidence.py / test_round7.py are new.

Integration (integration-remote) is not committed. It is still mid-merge (MERGE_HEAD = origin/main 778ea5d, 108 staged files, 4 unstaged edits). Nothing below is a review of a committed integration result. Release build 0 errors, Metal 222 frames and the full test suite were reported by the integration owner. This review did not rerun them, and the full suite was still running when reported.

Fixed or no longer applicable (round 6 items):

ItemStatus
Merge conflict markersNone remain in the staged tree.
Duplicate Layer IOne decoder (Layer1TestFrames/Layer1DecoderTests local); no duplicate class.
CorpusWitness.csproj, TpiCompare.csproj net8 → net10Retargeted (unstaged).
Rides max/min (HIGH)Code repaired in the rides working tree, uncommitted. See below.
Home paths in this documentFixed on this lane (section 41). The integration tree still has main's older copy until this lane merges.

Re-verified against SimThemePark.data (independent decode, round7_evidence.py; round 6 already covers the selectors):

Remaining blockers in the integration tree (actual, verified at review time):

BlockerSeverityEvidence
GameFlow.LoadPark starts saved parks without gameModeHIGHsource/OpenTPW/Client/GameFlow.cs LoadPark calls StartLevel(entry.Level, original: true, …); ParkLoadEntry has no mode. An Instant Action park loads with Full Simulation rules.
ECON-007 retired, with [BIN] claiming "offers it again when the credit test passes"HIGH (fidelity claim)AvailableLoans has no net-worth/credit test anywhere in ParkEconomy. The re-offer is unconditional, so the label claims more than the code does. Keep an APPROX entry until the credit test is implemented.
Seven net8 lane harnesses under the SDK 10.0.401-only environmentMEDOriginalSchedulerRules fails restore (NU1100, Microsoft.NETCore.App.Ref 8.0.31). The others listed by round7_evidence.py are the same kind: advisor LipDriver/Layer1Corpus, economy loan rules, guests rules, rides animation, UI layout. Unmerged rides controllers and advisor AudioEventAssets are also net8. Their recorded results cannot be reproduced in this environment.
CI Python discoveryMEDunittest discover -s tools/ppc-analysis runs 31 tests. 15 lane test files are unreachable (no __init__.py), so CI does not guard lane witnesses.
Setup wizard footerMEDQuit 90 + 2×150 + 24 logical px (plus padding) overlaps below roughly 430 px, and no minimum window size is set. The DPI recompute runs only when pixel size changes. The owner reported fixing both; that fix is not in the staged tree.
Home paths in English docsLOW35 lines across SETUP.md, TPI-COMPARISON.md, PPC-advisor/economy/guests/rides.md, plus PPC-review.md from main. Advisor be46ebe and rides add more, including the old opentpw-dotnet SDK path.
LIPS.md unstaged editLOWCites the static Mac consumer trace and keeps runtime integration, geometry and device timing open. Acceptable wording, but it depends on PPC-advisor.md content being merged in the same push.

Pending (owner still editing; re-review after commit): rides f5c77fe/73ec987 plus the max/min working-tree repair, formats animator edits, scenarios uncommitted mode/save/ECON-019 edits, wizard repairs, and the integration merge commit itself.

Unresolved objections carried forward: no PC or Patch 2 runtime equivalence for any Mac-derived rule; the Instant Action research policy (section 34) is a Mac static reading only; SDT bank remap is needed before clip names (advisor); TPI history blob (section 38).

44. Round 8: reproducible lane discovery and the .NET 8 harness strategy#

Brief: as in round 7. Verify each lane against the original Mac PEF and PC data independently, and keep every qualification. A self-consistent test is not evidence of original runtime behavior. This round touched only this section, the reproduce block above, tools/ppc-analysis/run_evidence_checks.py (new) and lanes/review/test_round8.py (new). No workflow or source file changed, no peer tree was written, no asset directory was listed or scanned, and the Layer I corpus run was not repeated.

Integration is still not committed (integration-remote at f468f03 with MERGE_HEAD present). Mode persistence, ECON-007, the wizard DPI/width fix and the stalled installation scan are the integration owner's open work. None of it is re-reviewed or counted as fixed here. Rides 8f27b00 (max room, max request/global, then min definition/train) is detached and not on any branch. Round 7 already confirmed its selectors. Its tree passes 20/20 rides Python tests with zero skips under the runner below, but it is still pending merge, together with the untracked save_evidence.py in that tree and the root PPC-rides.md wording fix.

Python discovery#

unittest discover -s tools/ppc-analysis reaches only the two top-level test files (31 tests). The lane directories have no __init__.py. Advisor, economy, guests and rides each import a different module named evidence, so the lanes cannot share one interpreter either. In this tree, 18 lane test files (214 tests) are outside CI's discovery. The integration tree has a different count (15 files in round 7) because it lacks this lane's review files.

run_evidence_checks.py starts one python -I -B -m unittest discover -s <dir> -t <dir> process per directory: the root and each lanes/<lane> that has test files. It fails if any test_*.py under tools/ppc-analysis is not directly in one of those directories, if a suite runs zero tests, or (with --require-fixtures) if any test is skipped. Fixture variables come only from flags. Inherited OPENTPW_* values are stripped, so a stale shell variable cannot change a result. --mac-bin is the Feral bin directory. It sets OPENTPW_PPC_BIN_ROOT to that directory and OPENTPW_MAC_APP to the SimThemePark.data file inside it. The two variables have different shapes: rides wants the file, the other lanes want the directory. Swapping them gives IsADirectoryError (rides, 3 errors) or NotADirectoryError (guests), so a wrong value fails loudly rather than skipping. The runner rejects both shapes up front, and also rejects a directory without the data fork (the MacBinary .bin fails identity). Only those two paths are stat'ed.

Measured on this tree (Python 3.14.2):

FixturesSuitesTestsSkippedRemaining skips
none824519Mac binary witnesses, PC data, private UI corpus
--mac-bin $FERAL_BIN82459OPENTPW_PC_DATA (1, not supplied: no asset scan this round); UI_EVIDENCE_* (8, private UI corpus)

With --mac-bin, all Mac-binary witnesses in guests, rides and review ran and passed against the identified SimThemePark.data. These are static operand and identity checks only. Running the advisor, clock and economy Python lanes needs no binary: they are synthetic.

.NET 8 harnesses under the .NET 10 pin#

All 8 lane harnesses are net8.0. With --dotnet, the runner copies each registered self-test harness to a temporary directory (no global.json applies, and no bin/obj lands in the checkout), runs it, and classifies a failure. It does not run the corpus harnesses (Layer1Corpus, CorpusWitness). It reports a harness whose ProjectReference targets a newer framework as an incompatible reference, before anything else. Scratch reproductions (copies outside every checkout):

CaseResultClass
SDK 8.0.425 (retained root), 6 self-test harnessesAll pass: advisor 52, clock 35, economy 15 groups / 5437 assertions, guests 23, rides animation 11, UI 19—
SDK 10.0.401 only, same 6 harnesses, packs cachedBuild succeeds; every run fails (Microsoft.NETCore.App 8.0 not installed; only 10.0.12)missing runtime
SDK 10.0.401, empty NUGET_PACKAGES, no package sourceNU1100 for Microsoft.NETCore.App.Ref, AspNetCore.App.Ref, App.Host.osx-arm64 8.0.31restore: targeting pack unavailable
SDK 8.0.425, same empty cache and no sourceBuild succeeds (packs ship with SDK 8)—
net8 CorpusWitness → net10 OpenTPW.Files (integration copy), SDK 10"targets 'net10.0'. It cannot be referenced by a project that targets net8.0"incompatible reference
Same, SDK 8NETSDK1045SDK too old
SDK 8 with the working directory inside a checkout pinned to 10.0.401sdk-not-found (global.json)—

Conclusions:

CI handoff (integration owner; not applied here)#

Once this lane is merged, replace line 23 of .github/workflows/build.yml (python -m unittest discover -s tools/ppc-analysis -p "test_*.py" -v) with:

python -I -B tools/ppc-analysis/run_evidence_checks.py

CI has no fixtures, so expect skips there and do not pass --require-fixtures. For the lane harnesses, an optional step is to install both SDK bands and pass the resulting host:

- uses: actions/setup-dotnet@67a3573c9a986a3f9c594539f4ab511d57bb3ce9
  with:
    dotnet-version: |
      8.0.x
      10.0.x
- run: python -I -B tools/ppc-analysis/run_evidence_checks.py --dotnet "$(command -v dotnet)"

This combined single-root layout is inferred, not run. Locally the two SDKs live in separate roots, and only the explicit SDK 8 root was exercised. The runner's scratch directory has no global.json, so the newest SDK builds the net8 harnesses using the 8.0 packs installed by the 8.0 band, and runs them on the 8.0 runtime. Locally, the verified command is:

python3 -I -B tools/ppc-analysis/run_evidence_checks.py --mac-bin $FERAL_BIN --dotnet $DOTNET8/dotnet

where $DOTNET8 is the retained SDK 8 root. Expect 245 tests with 9 skips and 6 harnesses passing.

Status#

ItemStatus
CI Python discovery (round 7 MED)Runner and tests provided on this lane. The CI change is pending with the integration owner.
net8 harnesses under SDK 10 (round 7 MED)Reclassified: standalone harnesses run with the retained SDK 8 (verified). NU1100 is environmental. Only project-reference harnesses must retarget. A CI step for net8 is pending and its layout is untested.
Integration merge commit, mode persistence, ECON-007, wizard, installation scanPending (uncommitted; not reviewed this round)
Rides 8f27b00Accepted (round 7 selectors; 20/20 with fixtures). Pending merge and root doc fix
Formats, scenariosStill in progress with their owners; not reviewed
UI private-corpus witnesses, OPENTPW_PC_DATA SDT auditNot run this round (private inputs; no asset scan)

Unresolved objections carried forward: no PC or Patch 2 runtime equivalence for any Mac-derived rule. The Instant Action research policy (section 34) is a Mac static reading only. The SDT bank remap is needed before clip names (advisor). The TPI history blob (section 38) remains.

45. Round 9: formats clock and pose, economy scientist, rides save boundary, TPI header#

Brief: as in rounds 7 and 8. This round wrote only this section, the reproduce block above, lanes/review/round9_evidence.py and lanes/review/test_round9.py. No peer tree, runner, workflow or source file was written. Peer suites ran from scratch copies (git archive or rsync without bin/obj) or in place with python -I -B. Asset access was limited to the files named below, read by exact path. No codec run took longer than a few seconds.

Formats c546a24 (channel clock): accepted, Mac static, speed 1.0 only#

Independent decode (round9_evidence.py channel_clock):

ObjectAnimator.GetFrame / GetCarryMilliseconds match this at speed 1.0. The review's float32 model (Channel) reproduces the lane's 30 Hz cases: 999/1000/1100 ms give 29.97/30/3, one 2,500 ms update gives 30, and a 10-tick clip at 334/667 ms gives 0/9.99.

Qualifications kept:

Formats 2760acb + 2d3442f (copy-back gate, fixed-item pose): accepted with one limit#

Re-decoded:

IsFixedItem is GetInt("Info.DontApplyOffset") != 0, which equals the native non-zero test. The +56 = DontApplyOffset schema layout (0x16f4c) was not re-derived here. It is accepted on the lane's 113 checks.

Limit (kept, not a blocker): the gate reads flags from the object passed to the bind. Only the catalog-built object is shown to carry 0x00100000. How a placed instance's bind object relates to it was not traced. OpenTPW applies the catalog entry's value to each placed instance. Also, a bulk write that sets option-word bit 0 is not excluded.

Formats round-6 working tree (instance rate): pending, uncommitted#

The formats tree is at 2d3442f plus an uncommitted edit to ObjectAnimator, PrototypeRide, Md2AnimationTests and ObjectVertexAnimationTests. Tested snapshot: diff SHA-256 59ac2d84… over all four files, copied at the same moment. The edit makes the constructor ObjectAnimator(ModelFile, float ticksPerSecond = 30, bool keepsPoseOnClipChange = false) and substitutes the instance rate for both 30s.

Constructor collision (real, repaired only in the working tree):

Integration must take the reconciled commit, not 2d3442f.

New 15 Hz tests:

clock_cases recomputes every one of these from the decoded formula with 15 in place of both constants, and they agree. They are self-consistency of an OpenTPW extension: the original has no rate parameter. Affected .NET tests on the scratch copy (SDK 8, lane pin 8.0.425) passed 12, failed 0, skipped 3 (asset-bound). Re-review after commit.

Economy abbb52c (standalone scientist snapshot): accepted#

Serializer re-decode (scientist_tail):

Every reader offset (0/4/8/12/78/80/82/83/85/89/93/101, then 105/109) matches.

Fixture walk (scientist_walk, stdlib zlib, independent of the lane's C#):

The lane's harness on a scratch copy (SDK 8, Release, actual fixture) passed 10/10 groups and 1,157 assertions.

Cycle, truncation and ID bounds:

Kept limits:

Rides 3d9a01c (coaster save boundary, byte 12): accepted, empty fixture only#

Re-decoded (coaster_save):

PC fixture (coaster_body): one EMAK, one SAOC, body 1,606,446..1,606,462, 16 bytes, words 0/0/0/1, body SHA 741939cc…. The lane's suite on a git archive of 3d9a01c passed 23/23 with OPENTPW_MAC_APP and OPENTPW_PC_FIXTURE.

Kept: no nonempty track or train fixture, no codec, and the 34-byte record layout is not checked beyond the lane's 132 pins.

Pending:

TPI 0930182 (shifted header, edition identities): accepted with qualifications#

tpi_header on the identified TPI prebuilt.TPWS:

The committed SaveReader (root f468f03) checks container[0x608] before BILZ. It therefore rejects this file as "Unsupported save container version 0; expected 133". Rejecting it is correct, but the stated reason is wrong: the inner version is 133.

Recommendation (MED, root owner): check the length-prefixed profile before the version byte and report "unsupported TPI length-prefixed profile". Otherwise setup and import messages misdiagnose TPI saves.

Allowlist qualification:

29/29 TPI Python cases pass in place.

LOW: tools/tpi-compare/README.md adds a home-directory path, the same class as the round-7 item.

Root docs: min/max correction (committed trees only)#

rides_doc_status:

RefPPC-rides.md capacity wording
root main f468f03old min(global_admission_limit, …) (wrong)
origin/main 78dfb5eno PPC-rides.md
rides 8f27b00, 3d9a01ccorrected: max(request, global), then min(definition, train)

The correction exists only on detached rides commits. It is not on any root branch.

Status#

ItemState
Formats c546a24, 2760acb, 2d3442fAccepted (Mac static, speed 1.0; placed-instance flags and per-channel clock source open)
Formats instance-rate / constructor reconciliationPending (uncommitted; scratch run 12 passed / 3 skipped)
Economy abbb52cAccepted (standalone; not registered in the runner)
Rides 3d9a01cAccepted (empty PC body only). Further rides edits pending
TPI 0930182Accepted as a corpus witness. SaveReader diagnosis MED; allowlist must not become a setup gate
Root PPC-rides.md min/maxNot fixed on any committed root ref
IntegrationPending. integration-remote is still f468f03 + MERGE_HEAD 778ea5d, 116 changed paths, and origin/main is now 4 commits past that (127d9e6..78dfb5e), so the merge base is stale
CI runner switch (round 8)Pending with the integration owner, plus the two runner gaps above (OPENTPW_PC_FIXTURE, scientist harness)

Fixed since round 8: none on a committed root ref. Stale: round 8's "245 tests". This tree now runs 258 Python tests (8 skipped with fixtures, 24 without).

Concrete remaining blockers:

  1. The formats reconciliation commit (constructor collision).

  2. Root PPC-rides.md min/max wording.

  3. Integration merge onto current origin/main, with mode persistence, ECON-007 and the wizard (round 7).

  4. The runner's OPENTPW_PC_FIXTURE handling before --require-fixtures is used in CI.

Unresolved objections carried forward: no PC or Patch 2 runtime equivalence for any Mac-derived rule; Instant Action policy (section 34); SDT bank remap (advisor); TPI history blob (section 38).

46. Round 10: clock saved-script graph, rides topology gates, UI catalog events, scientist envelope#

Brief: as in rounds 7 to 9. This round wrote only this section, one reproduce line, lanes/review/round10_evidence.py and lanes/review/test_round10.py. No peer tree, runner, workflow or source file was written. The native UI process lifecycle is under separate review and is not repeated here. Peer suites ran in place with python3 -I -B. The economy .NET harness ran from a git archive copy in /tmp with SDK 8.0.425. No codec run and no mount scan were done.

Clock 21bd7ef (saved-script graph): accepted, static and one-fixture#

Independent re-decode of reader 0xb4818 (sole caller 0x11bea8) and writer 0xb3868 (round10_evidence.py saved_script):

Independent fixture walk (script_walk: stdlib zlib/struct only, native read order):

Every value equals the lane's.

New qualification (LOW, doc only). After the name block, the reader also rewrites three fixed fields:

The graph witness does not expose these fields, so it is not wrong. But "preserve the raw words" must not extend to +212/+230 in a future restore. Add them to the clock doc's list of load-time rewrites.

Lane tests: 52/52 in place with OPENTPW_PPC_BIN_ROOT and OPENTPW_PPC_SAVE_PATH, zero skips.

Rides 0973fbe (topology gates): accepted; one prerequisite to state#

Re-decoded (topology_order) and the lane's JSON reproduced byte-for-byte:

Prerequisite to state (MED for any decoder, not a defect in 0973fbe). The saver makes one list walk per controller: auxiliary check, then filter, then record. The loader reads the auxiliary block before every record. The streams therefore align only if:

Otherwise the saver writes records ahead of the auxiliary block that the loader expects first. The lane's "valid initial-node/filter invariants" covers this only implicitly. Write it out as an explicit stream-order invariant before a nonempty fixture is decoded.

Tests: 24/24 in place with OPENTPW_MAC_APP and OPENTPW_PC_FIXTURE, zero skips. Without them: 16 pass, 8 skip. The empty fixture still corroborates none of the nonempty branches.

UI 917eb36 (catalog events): accepted#

Re-decoded (catalog_delivery):

Two precision notes (LOW, not claimed by the lane and not contradicted by it):

  1. Queue drops. An occupied ring slot skips the write and returns 0 (0x16fd98 → 0x16fe14), so queued 1024/1025 can be dropped under overflow. A port must not promise delivery of every activation.

  2. Unchecked row-ID status. Both root call sites (0x163998, 0x163d74) read the accessor's out slot without testing r3. Native behaviour on an out-of-range ordinal therefore uses an unwritten stack slot. A port should reject rather than invent an ID.

The sort sign is negative only when +362 == 1 exactly (0x17a4c0), which agrees with "direction bit".

Tests: 9/9 catalog tests with UI_EVIDENCE_BIN_ROOT. Without it, 3 pass and 6 skip.

Economy 95fd383 (scientist JSON envelope): accepted with one LOW#

Committed while this round ran, and the tree was clean when inspected. The harness ran from a scratch copy (SDK 8.0.425, Release, actual fixture) and passed 16/16 groups, 1,648 assertions. The envelope is standalone and never touches ParkSaveFile. It is shape-checked at every level, and both SourcePayloadRevalidated and CanRestoreRuntimeStaff are always false. Floats are stored as raw bits and the u64 hire time as 16 hex digits.

LOW: the fixture qualification survives a reshaped prefix. Probe (scratch only, not committed): take the actual fixture envelope and keep only the last guest and the scientist, with offsets made contiguous from the head (scientist header 1,386,058). Deserialize accepts it, and it still carries IdentifiedPcEasymodeFixture. The identified fixture's shape is fully known: 13 rows, scientist header 1,391,921, tail 215,879, person SHA. Either pin that shape for this qualification, or name it a persisted claim on load. The doc already says provenance is a claim, so this is not a correctness blocker.

Still open: the harness is not registered in run_evidence_checks.py SELF_TESTS. This is unchanged since round 9, and registration waits until the source is accepted.

Formats ab444e3 (constructor reconciliation): seen, not re-tested#

The constructor is ObjectAnimator(ModelFile, float ticksPerSecond = 30, bool keepsPoseOnClipChange = false). This adds a trailing parameter to main's (model, ticksPerSecond = DefaultTicksPerSecond). Call sites in ab444e3 use the default rate or 15. This matches the round-9 working tree, and the constructor collision (round-9 blocker 1) is resolved in a commit. Its .NET tests were not re-run in this round.

Status#

ItemState
Clock 21bd7efAccepted (static, one fixture). +212/+230 rewrite note LOW. Count projection holds through direct callees
Rides 0973fbeAccepted. Stream-order invariant must be explicit before a decoder
UI 917eb36Accepted. Queue-drop and unchecked row-ID notes LOW
Economy 95fd383Accepted (standalone). Fixture-qualification shape LOW. Not registered in the runner
Formats ab444e3Collision resolved in a commit. Tests not re-run this round
IntegrationPending (ppc_advisor). integration-remote is still f468f03 + MERGE_HEAD 778ea5d. origin/main is now e31c804, past 78dfb5e. The source-freeze verification is still pending
Runner OPENTPW_PC_FIXTUREHandoff, not merged (round 9)

Not repeated as fixed: the root PPC-rides.md min/max wording, the TPI SaveReader diagnosis and ECON-007. None of them is on a committed root ref reviewed here, and the owners' uncommitted fixes are not counted.

Review tests: 132 with both variables set, zero skips. Without them: 113 pass, 19 skip.

Unresolved objections carried forward: no PC or Patch 2 runtime equivalence for any Mac-derived rule; formats per-channel clock source (0xa6398 +16400/+16408) unmodelled; Instant Action policy (section 34); SDT bank remap (advisor); TPI history blob (section 38).

47. Round 11: origin e31c804 against the committed integration 0d58bd4#

Scope: the eight origin commits 778ea5d..e31c804: texture pack (127d9e6, 88edd7d, 5c592c9), world capture (78dfb5e), text fields and scrolling (4b21e61), online screens (1e31596), game and CD folders (05a25e8) and input focus (e31c804). They are checked against the root side (1441ead..f468f03) and the owner's committed merge. During this round the owner committed the 778ea5d merge as 0d58bd4 (parents f468f03, 778ea5d). integration-remote now has MERGE_HEAD e31c804 with two unmerged paths. That pending resolution is not accepted here. All results come from committed objects (git show and git merge-tree) plus a scratch copy in /tmp. Nothing was written to the owner's tree. Native UI process cleanup and the PATH/picker lifecycle belong to the Native UI lane and are not re-audited.

Merge shape#

git merge-tree 0d58bd4 e31c804 conflicts in exactly two files: docs/FIDELITY-REGISTER.md and source/OpenTPW/Client/Setup/SetupWizard.cs. The six README, LIPS, PROGRESS and MP2 conflicts from the 778ea5d merge are gone because 0d58bd4 resolved them. The new commits touch none of those files.

Findings#

  1. HIGH: the SetupWizard conflict compiles with neither side. The auto-merge takes 05a25e8's enum Page { Welcome, GameFolder, Done } and removes the cdPath field. Non-conflicting lines from 0d58bd4's bounded inspection still use the CD path: inspectingCd ? cdPath : gamePath, if ( inspectingCd ) cdReport = report; and page == Page.Cd ? cdReport?.Path.

    • Taking "ours" brings back Page.Cd, DrawCd and SetCdPath.

    • Taking "theirs" keeps those stale lines. It also brings back the in-process Directory.Exists( dropped ) that 0d58bd4 deliberately removed ("File/directory inspection happens in the bounded child").

    Verified resolution, compiled in a scratch copy:

    • hunk 1: Task<InstallationDiscoveryResult>? picker without cdReport;

    • hunk 2: ours (pendingInspection = (false, gamePath));

    • hunk 3: var folder = dropped; then SetGamePath/Page.GameFolder, with no CD branch;

    • hunks 4 and 5: theirs (Done and savedCd);

    • hunk 6: drop SetCdPath.

    Then remove inspectingCd (field and assignment), its two uses, and the Page.Cd branch in Browse. Result: OpenTPW.Tests builds with 0 errors. The full suite has 972 tests: 750 pass, 222 skip without original assets, 0 fail. The 6 affected classes (NativeWidget, OriginalUi, TexturePack, UiModelBinding, Setup/Installation, Online/ParkSharing) have 150 tests: 135 pass, 15 asset skips.

  2. MEDIUM: the new in-game Game files screen bypasses the bounded child. GameFilesScreen.cs (05a25e8) calls GameInstallation.Inspect( path ) twice, synchronously on the render/update thread. It also calls Task.Run( () => FolderPicker.Pick(...) ) in-process. On 0d58bd4, InstallationDiscovery provides InspectAsync/PickAsync (a child process, with DefaultTimeout of 3 s) for exactly this case. The setup window uses them; the options screen would not. This is a textual no-conflict, so it merges silently. It is handed off to the Native UI owner to bind to InspectAsync/PickAsync. Its lifecycle is not audited here.

  3. LOW: regenerate the register instead of hand-merging it. FIDELITY-REGISTER.md is generated with line numbers. On the scratch merge, tools/fidelity_register.py --write followed by --check passes with 136 unresolved APPROX IDs. The new EXT:SETUP, EXT:texture-pack and EXT:world-capture rows need no declaration edits.

Checked, no hazard#

Test handoff#

tools/ppc-analysis/lanes/review/test_round11.py has six git-object bindings, covering the conflict set, the both-sides-fail evidence, the GameFiles bypass, focus gating, the read-only publish gate and the UiModels move. They need no assets and skip when the commits are absent. Supplementary tests for the owner (generated fixtures, no originals):

OPENTPW_PC_FIXTURE and the scientist runner registration are still a future handoff after the lanes merge.

Status#

ItemState
0d58bd4 (778ea5d merge)Committed by owner. Not re-tested here beyond the scratch merge
e31c804 mergePending. Two unmerged paths. HIGH 1 must be hand-resolved
GameFilesScreen bounded inspectionHandoff to Native UI (MEDIUM 2)
RegisterRegenerate (LOW 3)

Unresolved objections carried forward unchanged: no PC or Patch 2 runtime equivalence for Mac-derived rules; the formats per-channel clock source is unmodelled; TPI history blob qualification (section 38); SDT bank remap; Instant Action policy.

Review tests: 138 without the fixture variables (119 pass, 19 skip).

48. Round 12: --pc-fixture and scientist harness registration in the runner#

Scope: only tools/ppc-analysis/run_evidence_checks.py, the new lanes/review/test_round12.py and this file. No production source, workflow or peer tree was written. No asset directory was listed. The only original file read is the one supplied Easymode.TPWI (38,479 bytes, SHA-256 6d89303d…, the identity that both the rides lane and the scientist harness pin). Root main is still 0d58bd4, and its runner is byte-identical to this lane's round-9 runner, so this round applies to it unchanged. The integration owner has not committed the e31c804 resolution, so that work is not inspected. Native UI lifecycle work (final Dispose stack cancellation, Linux manual path entry) belongs to the Native UI reviewer and is not duplicated here.

Runner changes#

Tests (test_round12.py, 14, synthetic, with no assets or SDK)#

The fake-dotnet class is skipped on Windows.

Results (stale OPENTPW_PC_FIXTURE=/stale/nowhere.TPWI exported for every run)#

TargetCommandResult
This treeCI (no flags)OK, 290 tests, 31 skipped
This tree--mac-bin --pc-data --pc-fixture --dotnet SDK 8OK, 290 tests, 8 skipped (UI corpus). Review 152/152. --pc-fixture note: nothing here reads it
main 0d58bd4CIOK, 230 tests, 16 skipped. Scientist absent
main 0d58bd4--mac-bin --require-fixturesFAILED: UI 8 skips (UI_EVIDENCE_* not supplied). Everything else is 0 skips
main 0d58bd4--pc-data --pc-fixture --require-fixturesFAILED: nothing on main reads OPENTPW_PC_DATA or OPENTPW_PC_FIXTURE
ppc-economy 62c0a2e--pc-fixture --require-fixtures --dotnet SDK 8.0.425OK. Scientist 16/16 groups, 1,658 assertions with the actual fixture. Loans 25/25
ppc-economy 62c0a2e--require-fixtures --dotnet (no fixture)FAILED, as intended: scientist fixture-skipped
ppc-economy 62c0a2e--dotnet (no fixture)OK. Scientist passes its synthetic groups and reports NOT RUN
ppc-rides 84fe814--mac-bin --pc-fixture --require-fixturesOK, rides 24/24, 0 skipped

Not covered, listed honestly:

The scientist pass is a self-consistency check against one identified PC fixture. It is not evidence of original runtime restoration (both SourcePayloadRevalidated and CanRestoreRuntimeStaff remain false).

Handoff to the integration owner#

When the economy (62c0a2e) and rides (84fe814) lanes merge, take this runner as a whole. CI stays without fixture flags. The private command is:

UI_EVIDENCE_BIN_ROOT=… UI_EVIDENCE_MAC_UI=… UI_EVIDENCE_MAC_UITEXT=… \
UI_EVIDENCE_MAC_UIHELP=… UI_EVIDENCE_MAC_MBTOUNI=… UI_EVIDENCE_RESIDX=… UI_EVIDENCE_PC_UI=… \
python3 -I -B tools/ppc-analysis/run_evidence_checks.py --mac-bin $FERAL_BIN \
  --pc-data $TPW_DATA --pc-fixture $TPW_DATA/levels/jungle/Easymode.TPWI \
  --require-fixtures --dotnet $DOTNET8/dotnet

On today's main, leave out --pc-data and --pc-fixture: with --require-fixtures they correctly fail as unread.

Unresolved objections carried forward unchanged: no PC or Patch 2 runtime equivalence for Mac-derived rules; the formats per-channel clock source is unmodelled; SDT bank remap; TPI history blob qualification (section 38); Instant Action policy.

Review tests: 152 (133 pass and 19 skip without fixture variables; 152 pass with --mac-bin --pc-data).

49. Round 13: runner 0f4ae55 fixture trust, formats ab444e3, clock selector and snapshot state#

Scope: own files only (lanes/review/round13_evidence.py, test_round13.py and this section). No production, workflow or peer tree was written. The only original files read were the two supplied fixtures, each by stat and hash (SimThemePark.data 2,274,758 bytes; Easymode.TPWI 38,479 bytes, SHA-256 6d89303d…). No asset directory was listed. Root main is still 0d58bd4, and no integration commit after it exists, so the final integration snapshot is pending. Its checks below were run on 0d58bd4 and the lane heads. Native UI lifecycle work (mixed CD remnants, bounded GameFilesScreen, Dispose cancellation, manual path actions, busy-state typed actions) belongs to the Native UI reviewer and is not duplicated here.

Runner 0f4ae55: one MEDIUM, one LOW (latent), the rest holds#

MEDIUM: --require-fixtures passes with a fixture nothing consumed when --dotnet is omitted. fixture_consumers counts a present fixture-argument harness as a consumer, whether or not it runs. Probe: scratch git archive of ppc-economy 62c0a2e, stale OPENTPW_PC_FIXTURE exported, then --pc-fixture <actual> --require-fixtures with no --dotnet. Result: exit 0. The scientist harness is not-run no --dotnet, no Python source in that tree reads the variable, and unconsumed_fixtures is empty. With --dotnet the same tree is correct: the harness passes with --fixture (round 12), or fails as fixture-skipped. Fix options (runner owner's choice):

round13_evidence.vacuous_fixture_consumers(report, FIXTURE_ARGUMENTS) flags this case from a --json report. It flags OPENTPW_PC_FIXTURE for the 62c0a2e probe and nothing once a Python reader or a passing fixture run exists.

LOW (latent): linked harness items fail in the scratch copy. run_dotnet copies only project.parent. Rides 84fe814's unregistered controllers/ControllersWitness.csproj has None Include="../controller-contracts.json" with CopyToOutputDirectory. Probe: register it in memory only, then run it with SDK 8.0.425. Result: MSB3030 Could not copy … controller-contracts.json, classified as generic failed. This fails closed, but it is misleading. If the owner registers that witness, the copy must preserve the lane-relative layout, or the runner must report linked-outside-copy. Layer1Corpus (links source/… files) and CorpusWitness (references OpenTPW.Files) are NEEDS_CORPUS and never copied. linked_outside_copy was applied to every present SELF_TESTS project in 0d58bd4, 62c0a2e, 84fe814, 1d3b8d4 and 6d1b8d9: no include climbs out. A test pins this for the current checkout.

Holds under realistic absences:

Caller metadata and original-source reauthentication (economy 62c0a2e)#

PersistedOriginalScientistSnapshot.SourcePayloadRevalidated and CanRestoreRuntimeStaff are constant false. No JSON field can set them, and unknown members are rejected. So caller metadata cannot claim reauthentication through the wrapper. Round 10's LOW is fixed: the identified label now requires the exact 13-row prefix, scientist record and tail 215,879.

Residual qualification (not a blocker): under IdentifiedPcEasymodeFixture, Validate pins provenance and shape but not the scalars. GradeWord, RawStateWord, happiness/energy bits, ticks, PersonRecordSha256 and the inline name are not pinned. The name only has to match its own digest. So a caller envelope with altered scalars keeps the identified label on persisted.Snapshot.Provenance.Qualification. That inner object has the same type a direct reader produces. Consumers must gate on the wrapper, not on the inner label. This is a static finding: no SDK build was run for it. Since the label names one file, the cheap fix is to pin every scalar to the values that ActualFixture already asserts. The alternative is to downgrade the label on load.

Formats ab444e3 (per-animator rate): accepted with qualifications#

Clock selector1 correction: pending (not committed)#

ppc-clock is clean at 6d1b8d9. That commit still says "Both visible paths can reach saved-word/state reading". ApplyPostLoadHook(existing, saved, bases, 1) returns existing but takes saved words that a source early-success path would never read. Pending owner edits were not inspected or accepted. To accept the committed correction:

Integration snapshot checks (on 0d58bd4; final snapshot pending)#

Results#

TargetCommandResult
This treeCI (no flags, stale fixture exported)OK, 295 tests, 31 skipped; review 157 (19 skip)
This tree--mac-bin --pc-dataOK, 295 tests, 8 skipped (UI corpus); review 157/157
62c0a2e archive--pc-fixture --require-fixtures (no --dotnet)exit 0, vacuous_fixture_consumers = [OPENTPW_PC_FIXTURE] (MEDIUM)
84fe814 archiveControllersWitness in-memory registration, SDK 8.0.425failed (MSB3030 linked file) (LOW, latent)

Not run: a full codec rerun, a combined economy+rides+formats scratch merge build, the UI corpus, original runtime and PC/Patch 2 parity.

Unresolved objections carried forward unchanged:

Handoff#

  1. Runner owner: close the MEDIUM gap before relying on --require-fixtures --pc-fixture without --dotnet. Until then, always pass --dotnet $DOTNET8/dotnet with --pc-fixture. Take the round-12 runner whole when economy and rides merge, as before.

  2. Integration owner, after merging formats ab444e3:

    • resolve the ObjectAnimator.cs constructor conflict toward ab444e3;

    • run python3 tools/fidelity_register.py --write;

    • re-describe RIDES-001 as "30 in the Mac channel clock at speed 1.0; PC and clock selection unverified".

  3. Economy owner: optionally pin the identified-label scalars, or downgrade the label on load.

  4. Clock owner: commit the selector1 correction with the criteria above. Review will accept it only from a commit.

  5. Re-run this section's snapshot checks (asset blobs, aliases, fidelity_register.py --check) on the final integration commit.

Review tests: 157 (138 pass and 19 skip without fixture variables; 157 pass with --mac-bin --pc-data).

50. Round 14: runner fixture consumers closed, 34c75be host selection, final checkpoint containment#

Scope: the round-13 MEDIUM runner gap (this round the review lane owns run_evidence_checks.py), plus review tests and this section. No production, workflow or peer tree was written. No original asset was read: the actual fixture paths were not supplied this round, so every fixture probe used a zero-filled synthetic Easymode.TPWI of valid shape outside the checkout. No asset directory was listed and no filesystem-wide search was run.

Reviewed checkpoint: 46c5b6c (last executable snapshot, contains remote f4482c4) → 0b67f02 (only docs/reverse/APPROX-TRACE.md, +58) → 34c75be (Windows native-testhost fix; root main, pushed). Remote 255cc7b descends from 34c75be with 5 commits of parallel gameplay work (advisor, economy, research; 10 files). That is later source, not the reviewed checkpoint, and nothing below accepts it.

Runner: MEDIUM closed#

New test_round14.py (11 tests; a POSIX fake dotnet logs project, working directory, arguments and the inherited OPENTPW_PC_FIXTURE). Before the fix: 7 failures and 4 errors. After: all pass. They cover:

34c75be ChildStartForHost: accepted#

Final checkpoint containment (git objects only)#

Check46c5b6c0b67f0234c75be255cc7b (later, not reviewed)
Fixture blob prefixes 245a6743/816de5d1 in the object DBabsentabsentabsentabsent
Blob of size 2,274,758 or 38,479nonenonenonenone
Original-asset extension paths0000
Blobs > 1 MBupstream content/textures/test.png onlysamesamesame
[BIN: aliases in source/9, all STP-PPC9913, all STP-PPC
fidelity_register.py --check——exit 0, 136 APPROX IDsexit 0, 135

Every bracket label in source/ at 34c75be is APPROX, DATA, EXT, BIN:STP-PPC, or a C# [global::…]/[assembly:…] attribute. There is no undeclared alias (BINARIES = ("STP-PPC", "TPI-EXE")).

Carried, not proven#

Results#

TargetCommandResult
This treerun_evidence_checks.py (no flags)OK, 306 tests, 31 skipped; review 168 (19 skip)
This tree--dotnet $DOTNET8/dotnet (8.0.425)OK; 6 registered harnesses pass in scratch copies; scientist absent
62c0a2e archive + new runner--pc-fixture <synthetic> --require-fixtures, stale var exportedexit 1: FAIL --pc-fixture … nothing that ran … used it (was exit 0)
62c0a2e archive + new runnersame + --dotnet SDK 8exit 1: scientist rejects the synthetic file (15/16 groups) and is not counted; loans 25/25
84fe814 archive + new runner--dotnet SDK 8OK; ControllersWitness not-run … would lack None ../controller-contracts.json; AnimationWitness passes
84fe814ControllersWitness in-memory registration, run_dotnet SDK 8linked-outside-copy, no build (was MSB3030 failed)
34c75beCI run 37998226690success on all three OS

Not run: the actual-fixture positive path (--pc-fixture <actual> --dotnet), because no fixture path was supplied (round 12 recorded 16/16 with the actual file). Also not run: a codec rerun, UI corpus, original runtime and PC/Patch 2 parity.

Handoff#

  1. Integration: take run_evidence_checks.py from this lane whole. The round-13 advice to always pass --dotnet with --pc-fixture is no longer needed for correctness, but it is still the only way to get a consumer from the scientist harness.

  2. Rides owner: keep ControllersWitness unregistered until the runner's copy can carry ../controller-contracts.json. One option is to copy the lane directory and run the project at its relative path.

  3. Clock owner: settle the ECON-002 host-date seeding with a hash-pinned trace of FUN_100e3c90, or reject it.

  4. Re-review 255cc7b (or its successor) as a new checkpoint; it is not covered here.

51. Round 15: batch 2 partial integration, runner save-path variable, unmerged UI/rides/economy tips#

Scope: integration-batch2 as committed at ef6ff14 (base f635468; formats ab444e3 → 2175677, clock b52dcff → 5cb584c, economy 62c0a2e → 76e7700, rides 84fe814 → ef6ff14), plus unmerged tips UI f51cc05 and b7bead5, rides c6b0906 and economy 60d86de. The UI merge of 917eb36 was still in progress (four files with conflict markers: COMPATIBILITY.md, SignCanvas.cs, SignFile.cs, SignFileTests.cs), and review 4e173cb was not merged. Those resolutions are pending, not reviewed. The sign conflict audit belongs to the UI owner and is not repeated here. Every check ran on git archive copies under /tmp. Nothing was built or written in the batch-2 worktree.

Committed batch 2 resolutions#

MergeConflictVerdict
2175677 formatsObjectAnimator constructorCorrect. It keeps main's ticksPerSecond finite/positive validation and TicksPerSecond assignment, together with the format lane's keepsPoseOnClipChange parameter, field and RelativeAnimationFlag mask. OriginalObjectRuntime passes entry.IsFixedItem.
5cb584c clocknoneClean.
76e7700 economynoneClean. No lab reader (60d86de) or RNG ancestry. Scientist harness is 16 groups / 1,658 assertions here, not 22 / 8,305.
ef6ff14 ridesPPC-rides.md integration noteCorrect. The rewritten note says that the helper through 84fe814 includes the capacity correction. CoasterVehicleState.PlanAllowance is min(min(max(requested, globalMin), definition), train), and PassengerRing.QueryRoom floors by the global minimum, as the note says.

git diff --check f635468 ef6ff14 is clean. No later clock, RNG or lab commit is an ancestor of ef6ff14.

New finding R15-1 (corrected in this lane): clock real-save witnesses were never run by the runner#

Four clock tests (test_clock_epoch, test_calendar_epoch, test_save_phase, test_saved_script_graph) read the identified save as OPENTPW_PPC_SAVE_PATH. The runner neither set that variable from --pc-fixture nor stripped it from the environment. So on ef6ff14, the run with --pc-fixture <actual> skipped all four (69 ran, 4 skipped). With --require-fixtures the run would fail. If a stale shell value was present, the tests ran against whatever file it named. Run directly with the actual Easymode.TPWI, they pass: 69/69 with no skips. The witnesses were correct, but the runner never exercised them.

Fix: --pc-fixture now sets both OPENTPW_PC_FIXTURE and OPENTPW_PPC_SAVE_PATH from the one shape-checked path. Both are in FIXTURE_VARIABLES, so both are stripped when the flag is absent. Consumer accounting now credits clock. test_round15.py covers set, strip, the --require-fixtures skip failure and the mapping; it fails 4/4 against the 4e173cb runner. The two round-12 message assertions now name both variables. UI_EVIDENCE_* remains a documented pass-through and is unchanged.

Unmerged lane tips#

Freshness (committed ef6ff14 only; final batch commit pending)#

Checkef6ff14
Fixture blob prefixes 245a6743/816de5d1 in object DBabsent
Blob of size 2,274,758 or 38,479none
Original-asset extension paths0
Blobs > 1 MBupstream content/textures/test.png only
[BIN: aliases in source/29, all STP-PPC
fidelity_register.py --checkexit 1, stale (base f635468 exit 0, 129 IDs)

The stale register is line drift only. --write on a copy changes the RIDES-001…007, RIDES-016, RIDES-023 and .sam DATA row line numbers, which moved with ObjectAnimator.cs/OriginalObjectRuntime.cs in 2175677. The ID rows are identical, and --check then passes with 129 IDs. This is the same class as the earlier ab444e3 finding. origin/main has since moved to 0829614, which changes production ParkResearch/ParkEconomy and the CD UITEXT numbering. Batch 2 is based on f635468, so that drift must be merged or explicitly deferred.

ECON-002 host-date claim: source refutation present, correction pending#

ef6ff14 docs/reverse/APPROX-TRACE.md:289 still says the funny clock starts from host local time at FUN_100e3c90 and adds tick × 15000. The merged clock section "Calendar epoch reconciliation" (b52dcff) contradicts both claims:

FUN_100e3c90 is probably the same Mac constructor 0xe3c90 at a 0x10000000 image base. This is an inference and is not verified here. The planned APPROX-TRACE correction is not in ef6ff14. It is a blocker for the final batch commit, not a corrected finding. It covers the Mac PEF only. No PC or Patch 2 calendar claim follows from it.

Old findings status#

Results#

TargetCommandResult
ef6ff14 archivedotnet test SDK 10.0.401, filter Md2/ObjectVertexAnimation/ObjectCatalogbuild OK; 88 pass, 3 skip (ISO/bonus/GPU), 0 fail
ef6ff14 archive4e173cb runner, --mac-bin --pc-fixture <actual> --dotnet SDK 8exit 0; 6 harnesses pass, scientist 16/16 with fixture; clock 4 skipped
ef6ff14 archiveR15 runner, same + --require-fixtures, OPENTPW_PPC_SAVE_PATH=/nonexistent exportedclock 69/0 skip (stale value stripped); exit 1 only for UI's 8 private-corpus skips
ef6ff14 archivesame with SDK 10 --dotnetharnesses missing-runtime (net8.0); SDK 8 is required for lane harnesses
review lanetest_round12..1534 OK; test_round15 against 4e173cb runner: 4 failures
b7bead5, c6b0906, 60d86deas aboveUI native 26/0; rides 26 + Controllers 25; lab 22/8,305

Not run: the full codec or corpus reruns, the UI private corpus, the original runtime, PC/Patch 2 parity, and any filesystem or mount scan.

Handoff#

  1. Batch 2 integrator (nativeppc_guests): finish the 917eb36 merge under the UI owner's sign audit. Merge review with this round's runner taken whole. Run tools/fidelity_register.py --write after the last source merge. Land the ECON-002 APPROX-TRACE correction, limited to the Mac PEF. Then hand the final SHA back for the count/alias/register/containment rerun.

  2. Run the runner with --dotnet on SDK 8 (opentpw-dotnet), not SDK 10. Lane harnesses are net8.0.

  3. UI owner: either record the private UI paths needed for "zero skips", or qualify the claim as "with private extractions".

  4. Decide on merging or deferring origin/main 0829614 (production research cadence) before batch 2 is pushed.

52. Round 16: origin 7bc6c59 start-up movies, formats f443475 clock selector, scenarios 202fd60 profile snapshot#

Scope: the committed origin/main start-up movie delta (aa4674b, 0b8577f, 7bc6c59), and the unmerged lane tips formats f443475 and scenarios 202fd60. The owner merges 7bc6c59 as a separate checkpoint, so nothing here touches batch 2. Batch 2 final checks stay pending until its final SHA is supplied. The sign audit belongs to the UI owner and is not repeated. All checks ran on git archive copies under /tmp.

7bc6c59 start-up movies: control flow (no blocker)#

PathVerdict
Setup child IPCInstallationDiscovery.RunChild returns in Program.Main before Game.Run. No intro, no window.
Wizard closedResolveGameFolder returns null before any renderer or intro is created.
--play-movieHeadless and windowed both return before frontEndRun is computed. Intro never plays.
--front-end --smoke-test, plain --smoke-test, --sandbox, --load-original-level, --visit-park, --advisor-sayplayIntro is false. Unchanged behaviour.
Default and plain --front-endIntro plays, then the front end. --no-intro or any non-empty OPENTPW_NO_INTRO skips it (including 0; worth a line in RUNNING.md).
No Movies folder / missing .tgqDirectoryNotFoundException / FileNotFoundException are caught in TryOpen, logged, and the movie is skipped. The front end follows.
Window closed mid-introRender.Run returns. The intro (using) and flow are disposed. Completed never fires.
HandoffRender.OnUpdate is a delegate field, so removing and adding handlers inside Completed works on an invocation snapshot. DiscardHeldInput stops a held Esc, Space or click from reaching the lobby.
RegisterCode tag [APPROX:UI-035] matches the UiApproximations, UI.md and FIDELITY-REGISTER rows. 0b8577f moved the tag off the taken UI-033.

Findings:

Fidelity: the Mac order (bf, then day % 8 into an eight-entry table) is recorded as UI-035, with the PC order assumed. This round did not re-trace 0x101C0F40.

Formats f443475: channel clock selector#

format_witness.py exits 0 on the identified SimThemePark.data (04809cd4…). Lane tests test_clip_clock_reference and test_formats_witness pass 24/24. The new test_round16.py decodes the nine words at 0xa63e8..0xa63fc, 0xa7288..0xa729c and 0xa7070..0xa7084 with its own field split. It finds lwz rX,0(ch), then rlwinm. rX,rX,0,25,25 (0x40), then beq to the +16400 load (A), with a fall-through +16408 load (B) and a b over it. Both clocks load from the same base. Swapping the constants fails 3/3. The doc's wording holds:

Not independently re-checked: the claim that the advisor is the only use_b = 1 caller, the 252-byte instance copy, the pause wrapper callers, and the "channel 0 tested once per channel" quirk. These remain the witness's own. The b52 fixed-2000 epoch and the separate host session are unaffected. Actor graph, PC arithmetic and device equivalence stay qualified.

Scenarios 202fd60: synthetic gms.dat snapshot#

test_profile_snapshot passes 31/31 with OPENTPW_MAC_BIN. scenario_evidence.py exits 0. Synthetic probes:

The commit and the module make no real-gms or PC parser claim.

Results#

TargetCommandResult
7bc6c59 archivedotnet test SDK 10.0.401, filter IntroPlaylist/MoviePlayback/UiApproximation26 pass, 4 skip (original movies not supplied), 0 fail
f443475 archiveformat_witness.py <mac bin>; lane testsexit 0; 24/24
202fd60 archivescenario_evidence.py <mac bin>; test_profile_snapshotexit 0; 31/31
review lanetest_round12..16; test_round16 with OPENTPW_PPC_BIN_ROOTOK; 1/1, skipped without the variable

Not run: the full codec or corpus reruns, the original-movie headless tests, the runtime intro on a window, PC parity, and any filesystem scan.

Handoff#

  1. Origin owner: R16-1 before or with the 7bc6c59 checkpoint merge. R16-2 and R16-3 can follow.

  2. Scenarios owner: R16-5 wording. R16-4 and R16-6 are optional hardening.

  3. Formats f443475: no change needed from this review.

  4. Batch 2: pending its final SHA for the count/alias/register/containment rerun.

53. Round 17: batch 2 final 3f87c6b (intro lifecycle), scenarios 1dacb25 comparator and short reads, final containment#

Scope: the committed SHAs 3f87c6b (integration-batch2, parent 6ec5d28) and 1dacb25 (ppc-scenarios). Uncommitted scenarios edits for R16-4/5/6 were not read or run. Every run used a git archive copy under /tmp. The Mac bin is the identified SimThemePark.data (04809cd4…95f5). No PC save, original movie or filesystem scan was needed.

Merge blockers#

No other blocker was found.

3f87c6b against R16-1/2/3#

FindingStatusEvidence
R16-1 post-open decode failure aborts startupClosedUpdate now wraps Skip/Update/IsFinished in the same recoverable filter as opening (IOException, UnauthorizedAccessException, NotSupportedException, InvalidDataException, ArgumentException). It releases the current movie and moves on to the next one. Review probe: four header-valid synthetic 16x16 TGQs with corrupt bitstreams (empty, all-ones ×1, all-ones ×64, zero). Each opens, and then the real MoviePlayback.Update → DecodeVideoFrame throws InvalidDataException ("bitstream is truncated", "DC size code is invalid" ×2, "coefficient code is invalid"). IntroSequence disposes the broken movie once, plays and disposes the next one, and completes. Draw is not wrapped, but MovieScreen.Render only draws and does not decode.
R16-2 constructor audio leak / UnauthorizedAccessExceptionClosedCreatePlayback disposes the audio output if MoviePlayback construction (or the Gain initializer) throws, and the playback owns it after success. A MoviePresenter failure disposes the playback, which disposes the audio. UnauthorizedAccessException is in the filter. GPU allocation failure inside the presenter is not tested (the commit says so).
R16-3 --capture-world counted intro framesClosedIntroPlaylist.ShouldPlay returns false for --capture-world. WorldCapture is registered after playIntro is decided.
OPENTPW_NO_INTRO docsClosedRUNNING.md says any nonempty value, including 0, disables intros, and so does --capture-world. The Game.cs comment at line 192 still lists only smoke/--no-intro/env (nit).
DisposeCorrectSets completed, releases the current movie, restores world scaling, and does not raise Completed. Game.cs's using var intro scope matches.

Qualified: ArgumentException in the filter also covers ArgumentOutOfRangeException, which MoviePlayback.Update throws for a non-finite Time.Delta. That programming error would be logged as a movie failure, not surfaced. This is low severity, and the open path already filtered the same type before this commit. ProgrammingFailureIsNotHiddenAsAnUnreadableMovie covers only InvalidOperationException.

Scenarios 1dacb25#

Batch 2 final containment (3f87c6b, git objects only)#

Check3f87c6b
Commits ahead of origin/main 7bc6c5956 (origin/main, 0829614, review 4e173cb and 2bef824 are ancestors)
Fixture blob prefixes 245a6743/816de5d1 reachableabsent
Blob of size 2,274,758 or 38,479 reachablenone
Original-asset extension paths at tip0
Blobs > 1 MB introduced by batch 2 (^origin/main)none. Reachable from upstream history: content/textures/test.png, export.bin (deleted upstream in a108ee7), tools/tpi-compare/full-evidence.json (f81313a/18b09c5, already on origin/main)
[BIN: aliases in source/36, all STP-PPC; every bracket label is APPROX/DATA/EXT/BIN:STP-PPC
fidelity_register.py --checkexit 0, 129 unresolved APPROX IDs (the round-15 staleness is resolved)
ECON-002 host-date claimcorrected: APPROX-TRACE row is contradicted, with 2000-01-01 at +0 and 3,750 s per turn, and no "real local date" text is left
Line endings vs origin/mainone file changed: Game.cs CRLF→LF (R17-1)

Results#

TargetCommandResult
3f87c6b archiveSDK 10.0.401 dotnet test -c Release, filter IntroSequence/Round17 probe/MoviePlayback/IntroPlaylist35 pass, 4 inconclusive (original movie corpus not supplied), 0 fail. Includes the 5 commit regressions and 4 review probes
1dacb25 archivescenario_evidence.py; lane unittest discoverexit 0, 2,090 checks; 88/88
review lanetest_round12..17; test_round16 with OPENTPW_PPC_BIN_ROOT; test_round17 with OPENTPW_REVIEW_REPOOK (35 + 4); 1/1; 4/4

The C# probe is kept at tools/ppc-analysis/lanes/review/round17/Round17IntroDecodeProbeTests.cs. It is not compiled here, because it needs 3f87c6b's injected IntroSequence constructor. SDK 8 was not needed: no SDK 8 harness changed in 3f87c6b. Not run: runtime intro in a window, original-movie tests, presenter GPU allocation failure, and PC parity.

Handoff#

  1. Batch 2 owner: R17-1. Restore CRLF on Game.cs, keeping the one-line change, then re-run diff --ignore-cr-at-eol --stat (expect 1 line) before pushing. Optional: the Game.cs comment nit.

  2. Scenarios owner: R17-2 is optional, and so are R16-4/5/6 (in progress).

  3. After R17-1, the batch-2 containment above carries over if only Game.cs line endings change.

54. Round 18: batch 2 fix ba70ea5, formats 8f0e048 scene clock A and normals, scenarios ffa87c6 envelope v2#

Scope: the committed SHAs ba70ea5 (integration-batch2, parent 3f87c6b), 8f0e048 (ppc-formats) and ffa87c6 (ppc-scenarios). Every run used a git archive copy under /tmp. The Mac bin is the identified SimThemePark.data (04809cd4…95f5). Nothing original was executed, and no filesystem scan was run. The formats corpus counts were rerun with the lane's own corpus_check.py on the two documented PC Data paths. Those runs are a rerun of the lane's own check, not an independent decode.

Merge blockers#

None for batch 2 at ba70ea5. None of the findings below blocks the formats or scenarios lanes. Both are evidence/reference lanes with no runtime change.

Batch 2 ba70ea5: R17-1 resolved, merge-ready#

Containment at ba70ea5 (git objects only, 57 commits ahead of origin/main):

Checkba70ea5
Fixture blob prefixes 245a6743/816de5d1 reachableabsent (7,052 reachable objects)
Blob of size 2,274,758 or 38,479 reachablenone
Original-asset extension paths at tip0
Blobs > 1 MB introduced by batch 2 (^origin/main)none
[BIN: aliases in source/36, all STP-PPC (unchanged)
fidelity_register.py --checkexit 0, 129 unresolved APPROX IDs
SDK 10.0.401 dotnet test -c Release, filter IntroSequence/Round17/MoviePlayback/IntroPlaylist (with the round-17 probe copied in)35 pass, 4 skipped (original movies not supplied), 0 fail. Same as 3f87c6b

Verdict: batch 2 at ba70ea5 is merge-ready on the checks above. Not run: the full test suite, the native smoke test, and runtime intro in a window (no behaviour change since 3f87c6b).

Formats 8f0e048: scene clock A, hold, pause, normal routes#

Independent decode (test_round18.SceneClockAndNormals, 7 tests) uses its own field split. The clamp is checked by a small interpreter that executes the step routines' own words (lfd/fmul/fdiv/fcmpo/bc/b/fmr/stfd/blr).

Scenarios ffa87c6: envelope v2 (R16-4/5/6)#

Synthetic probes only (/tmp probe scripts plus test_round18.ScenarioEnvelopeV2, 6 tests):

Results#

TargetCommandResult
ba70ea5 archiveSDK 10.0.401 dotnet test -c Release, intro/movie filter35 pass, 4 skip, 0 fail
ba70ea5 archivefidelity_register.py --checkexit 0, 129
8f0e048 archiveformat_witness.py; lanes/formats unittest; shared tests; corpus_check.py ×2exit 0; 43 OK; 16 OK; counts as above
ffa87c6 archivelane unittest with / without bin; scenario_evidence.py98 OK; 85 + 13 skip; exit 0, 2,090
review laneunittest discover with all three env vars191 run, OK (3 skipped, 2 expected failures)
review laneunittest discover with no env vars191 run, OK (35 skipped)

Handoff#

  1. Batch 2: merge-ready at ba70ea5. Optional: reword "diff --check clean" in future commits to name cr-at-eol.

  2. Formats: R18-1. Make clamp_rate keep NaN (as the binary does) or refuse it, fix the NaN -> 0.25 witness text and the doc line, and flip the mutation test. Optional: label the 0x10000000 "one writer" as an immediate-operand scan.

  3. Scenarios: R18-3 (optional): restrict the failing member to values a short read can produce (u8 members reset; i32 low-order bytes reset; ticket arrays a prefix). R18-2 (optional): catch RecursionError in loads_envelope. R17-2 is still optional.

55. Advisor lane review A1: ppc-advisor a479cff..526e2bf (phases 6–10)#

Scope: the five commits 2b8e4bf, be46ebe, 00d5c9c, 1af929b and 526e2bf on ppc-advisor, with merge-base a479cff against integration. Every build and test used a git archive copy under /tmp. The Mac containers are the identified SimThemePark.data (04809cd4…95f5) and sound_shared.data (7132c2f1…b94f). The PC data is the supplied Data tree. The Mac data is the UI lane's existing read-only copy in /tmp/ppc-advisor-mac-Data. No original code was executed, no filesystem or mount was scanned, and the other worktrees were only read.

Merge blockers#

For the production port of OriginalAdvisorScoreQueue/LipDriver#

No defect was found in the recovered helper rules. The range does not modify OriginalAdvisorScoreQueue.cs, OriginalAdvisorLipDriver.cs or their tests. The only change is a Compile Remove="audio-events/**" line. The CMsgEvent → advice → response → speech mapping for events 0/2/3/4 and 10 checks out independently (see be46ebe below). There is one porting hazard. The queue returns ResponseId = FirstResponseId + variant, which is a stored ID. Native 0x6b7c resolves it by searching table 0x18ff4 on word 0 (stride 32, until sentinel 9999), not by row position. From row 393 on, 216 of the 610 rows have an ID that differs from their position. Events 0/2/3/4 use rows below 393, so they are unaffected. The event-0 mode-2 advice 323, however, gives first response 587, which resolves by ID to row 584: speech/LIP 606. Indexing by position would give row 587: response 590, speech 638, LIP 0. A port that indexes the response array directly would play the wrong clip for 323 and for any later response. test_advisor_a1.NativeAdvisor pins this.

Per-commit verdicts#

CommitVerdictIndependently decoded (sample)Reruns
2b8e4bf metadataCode correct, superseded: already on integration (A1-2). Out of lane.TryReadFrameFormat reuses Header.Parse and requires a complete first frame. The only constructor caller is SoundFile.GetFile. No production consumer reads MP2File.SampleRate: SpeechAudioPlayer uses decoded Mp2Audio.Focused MPEG/LIP/metadata filter with OPENTPW_GAME_PATH: 61 pass, 6 inconclusive (other-language tests outside the commit's filter). MP2FileMetadataTests, including both private clips: pass. Full OpenTPW.Tests on the 526e2bf tree: 791 pass, 54 skip, 0 fail (SDK 8.0.425).
be46ebe identitiesConfirmed. Blocker A1-1.CMsgEvent ctor 0x116540 stw r4,8(r3). Receiver 0xad40 lwz r4,8(r29) → bl 0x94dc. cmpli r4,10. TOC slot 0x2354 → data 0x1e0f4. Table: 0→0x9524, 2→0x98b0, 3→0x9a64, 4→0x9c18, 10→0x9dcc (loads a TOC object, adds 122 and calls 0xa90; the doc's earlier history-clear reading was not re-derived), other entries → 0x9e84. Literals 0/106/128/129 → bl 0xb6d8. Advice 323 at 0x9708 behind cmpi r0,2. Response rows 1 / 274–275 / 308–311 / 587 → speech 1 / 424–425 / 342–345 / 606 by ID.audio_event_evidence.py: exit 0. AudioEventAssets: 28 EventMaps. Corpus: 31 catalogs and 1,267 IDs, as stated.
00d5c9c bank ordinalsConfirmed.0x16af4 addi r0,r28,-1, lwz r3,44(r31), slwi 2, lwzx, sth r0,12(r25). 0x6fa4 addi r0,r4,-1. New bank 0x15b8c–0x15b94 increments +52. 0x15c24–0x15c30 stwx into vector +44.bank_remap_evidence.py: exit 0. 3,631 PC and 1,105 Mac choices resolved.
1af929b selectionConfirmed. Bounded: these are explicit-input algebra helpers, not a scheduler.Event chooser 0xff40: LCG 0x19660d/0x3c6ef35f, >>16, cmpl sum,draw + blt continues, so the first sum ≥ draw is chosen. Exhaustion 0x10130 stores the first event. Count-1 bypass. Anti-repeat cmpli count,2/ble skips, history +80. Sample chooser 0xfcb4: threshold +4, the same ≥ rule, exhaustion → null, history +81. Branch bounds 0x19364–0x19378 are inclusive. divwu by the eligible weight sum at 0x193c4. Parameter value mulhwu 0x51eb851f, >>5 = unsigned /100. Masks 0xf2e0: +24 → byte +5, +28 → byte +6. Differencing 0x16654–0x16660.sound_selection_evidence.py: exit 0. Counts as stated: 26/31 cumulative, 201/73 arrays below the draw domain, 0 nonmonotone.
526e2bf seed ownershipConfirmed. The qualification is correct.All nine addi rX,r2,0x42e4 sites match. A forward scan from each site to the first kill or branch finds only one store, the initializer's 0x118cc. Initializer 0x118b4 has a single caller at 0x3c. The neighbouring data exports are mChannelState at 0xc2d8, a 4-byte float at 0xc2e0, and mpSoundManager at 0xc2e8, so no adjacent object spans 0xc2e4.sound_seed_evidence.py: exit 0 over 16 identified containers.

All lane claims stay bounded. None asserts PC or whole-runtime parity. Weights come from the disk catalogs plus the native differencing rule. The seed is the clock value, and no sequence is invented. Phase 10 explicitly leaves external mutation of the exported seed open.

Lower-severity notes#

Results#

TargetCommandResult
526e2bf (worktree at HEAD, read-only)lane unittest discover with bin/PC/Mac fixtures; without fixtures73 OK, 0 skipped; 73 OK, 7 skipped
526e2bfshared toolkit unittest discover tools/ppc-analysis16 OK
526e2bfthe four evidence scriptsexit 0
526e2bf archive, SDK 8.0.425OriginalAdvisorLipDriver; AudioEventAssets build+run52/52; 28 EventMaps
merged copy, SDK 10.0.401AudioEventAssets as-is; with net10 + NU1901/NU1903 fixNU1201 fail; build OK, identical report
review lanetest_advisor_a1 with OPENTPW_PPC_BIN_ROOT and OPENTPW_REVIEW_REPO; without10 OK; 1 OK, 9 skipped

Not run: original audio or advisor runtime, PC executable comparison, Windows seed policy, and a real merge commit (only merge-tree was run).

Handoff#

  1. Advisor owner: fix A1-1 (TFM plus audit-warning carve-out, and the doc command). Resolve A1-2 by dropping 2b8e4bf and rebasing onto ba70ea5, then update phase 6's stale SoundFile sentence.

  2. Production port owner: resolve ResponseId by stored ID (native 0x6b7c), not by array index. Advice 323 is the in-range witness.

  3. Optional: A1-4 to A1-6.

Resolution on integration#

The range was rebased onto integration 6c58be0 as be46ebe, 00d5c9c, 1af929b and 526e2bf; 2b8e4bf was dropped, and integration's MP2File.cs is unchanged. On merge into main (after rounds 17 and 18 landed as sections 53 and 54) this section was renumbered from 54 to 55.

56. Advisor runtime review V1: production f8375b2 (automatic advisor)#

Scope: f8375b2 ("Let the advisor speak by itself …", parent be05bb1) from the advisor-runtime worktree, judged against fork main f51e874. The merge is clean (git merge-tree --write-tree f51e874 f8375b2 exits 0). Builds and tests used a git clone --shared scratch copy under /tmp with f8375b2 merged onto f51e874. The Mac container is the identified SimThemePark.data (04809cd4…95f5). The PC data is the supplied Data tree (Advisor/Advisor.sam, e905df3d…0df3). No original code was executed, no filesystem or mount was scanned, and the subject worktree was only read. test_advisor_v1.py pins every operand cited below.

Merge blockers#

Author's claims#

ClaimVerdictEvidence
Every park start raises 10 then 0 → advice 0 → response 1 → level bank sample 1Confirmed (mapping). The runtime glue raises them in AttachLevel.0x1c2104 li r4,10, 0x1c2108 → 0x116528; 0x1c216c li r4,0, 0x1c2174 → 0x116528. Descriptor 0: group 0, limit 1, first 1, count 1. advisor-responses.toml id 1 → sample 1, local.
Instant Action also gives advice 323 → 587 → global 606; 0x96F0 and 0x13781C read the same global, set to 2 for Instant ActionConfirmed.Both load TOC −30136 (0x94e8 into r25, 0x13782c into r29) → data 0x53d98. 0x96f0 lwz r0,0(r25), 0x96f4 cmpwi r0,2. The selector keeps 1 (online, 0x137954), otherwise reads mEasyModeUser (0x128f4c lbz r3,0x24(r3)) and stores 2 (0x1379b4) or 0 (0x1379e0) through 0x12bbf4 (stw r30,0(r29) at 0x12bc40). The port derives game type 2 from ParkGameMode.InstantAction, which rests on the existing UI-015. Descriptor 323: group 1, first 587, count 1. ID 587 → sample/LIP 606, while row 587 is ID 590 (sample 638).
Event 2 → 274/275 alternating "as in the original"Alternation confirmed. Producer equivalence remains ADVISOR-020.Mode word +40 is 2 for all 351 descriptors. 0x8974 lwz r3,0xe4 → 0x8978 +1. 0x89d4 count (0xd5ec) → 0x89d8–0x89e0 reset to 0. 0x8a3c stores the variant on success. Descriptor 106: first 274, count 2. Event 10 resets the variant, so each level starts with 274. The port's queue alternates correctly (BankruptcyCyclesThroughItsTwoResponses). In a live park, however, the economy raises Bankrupt once: the day loop stops at IsBankrupt (ParkEconomy.cs). So only 274 is said until a reload, and that reload's event 10 resets the variant again.
Events 3/4 → 308–311, but score 20 < minimum 25, so they never playConfirmed.Advisor.sam: ParkNowOpen.Score 20, ParkNowClosed.Score 20, MinScoreForConsideration 25. Selection needs strictly greater (AdvisorScoreQueue.SelectNext, native 0x8850). The records stay queued: duplicate limit 1 keeps one of each.
Responses are looked up by stored ID; regression test for 587Confirmed.AdvisorResponses.Table is a dictionary keyed by id, and the 610 rows have no duplicates. PrebuiltParkResolvesItsStoredResponseIdNotATableRow pins 587 versus row 590.

Checks#

  1. Queue port equals the reviewed helper. After normalization (comments, names, access modifiers, wrapping), every helper member is textually equal in the port. The port adds only IsAttemptOutstanding, HasDescriptor and ClearHistory (V1-3). A scratch differential harness compiled both classes into one assembly and ran identical random operation streams: 2,000 seeds × 400 steps = 800,000 operations, covering descriptors with wrap-edge intervals and slap limits, prior histories, overrides, tutorial flags, full queues, begin/complete with success and failure, and clocks at the busy boundary. Every result tuple, slot, history, busy flag and reservation matched. Sensitivity: each of the mutations < → <= (minimum scan), < → <= (busy) and variant +1 → +2 was caught within 360 steps. The 31 lane cases are kept in AdvisorScoreQueueTests.

  2. Operands decoded independently: 0x96f0/0x13781c (shared TOC −30136), event 10 (0x9dcc), the variant cycle, wrapper 0xba54, the player option gate (0x6bb4) and the main loop's 10/0. See above.

  3. APPROX coverage.

    • ADVISOR-015, 016, 018 and 020 are honest open questions.

    • ADVISOR-016's sum agrees with native: 0x6b7c adds 1000 at 0x7048 and the controller adds another 1000 at 0x8a10.

    • ADVISOR-017 (wall clock, not pause-aware) is correctly an approximation: neither the helper nor the lane traces the clock's freeze or compensation.

    • ADVISOR-019 is correctly an approximation, not a defect. The helper does not apply +24/+28. In a bounded scan, none of the 13 functions called with the balance object (0x53dc0, sole TOC slot −30116) in r3 loads +0x18/+0x1c, and neither does any direct TOC load of it within 600 instructions. Group intervals come from 0xd8f8 (+0x24 + 12·group). This does not prove that no reader exists elsewhere.

    • ADVISOR-021 is not an untraced behaviour (V1-2).

    • No invented threshold or timing was found. The game tick is the economy turn, world +0x1da70c, as in the register.

  4. Runtime safety.

    • Attach and detach follow StartLevel/TearDown (front end, load, reload) and Dispose.

    • ParkEconomyRuntime.Load re-subscribes ForwardEvent. Level.Park is set only in the constructor, so a loaded save stays connected.

    • Neither the queue nor the history is saved. Whether the original saves them (the record serializer is at 0xbc10) was not established here. They are not registered.

    • Precedence: --no-advisor, --advisor-say and --advisor-response each disable the automatic advisor (Game.cs:190). The manual paths are unchanged.

    • Missing Advisor.sam: TryCreate logs and disables. Missing speech: Play logs and fails (see V1-2 for the success semantics).

    • Muted: fails (V1-1).

    • Non-original sandbox levels (--sandbox, plain --smoke-test, and the sandbox load entry) also attach the advisor. Only visits are excluded. The welcome there is response 1 from the jungle level bank. Plain --smoke-test captures were not re-run here; the author ran only --load-original-level jungle.

    • Headless movie paths are unaffected.

  5. Build and tests (SDK 10.0.401, Release, merged copy):

    • Build: 0 errors.

    • OpenTPW.Tests without assets: 895 passed / 233 skipped / 0 failed, which is main's 853/232/0 plus 42 passed and 1 skipped.

    • With OPENTPW_GAME_PATH: 1065 passed / 63 skipped / 0 failed (8 min 25 s).

    • fidelity_register.py --check: 145 unresolved unique APPROX IDs, exit 0.

    • Evidence runner (--mac-bin, --pc-data, SDK 8 host for the net8 harnesses): OK, 9 Python suites, 536 tests, 34 skipped (review lane 214/6/0). With the SDK 10 host, the net8 harnesses report missing-runtime, as in section 52.

    • Line endings: git diff --stat equals --ignore-cr-at-eol --stat (16 files, +1440/−39). Advisor.cs, GameFlow.cs, ParkEconomyRuntime.cs, AdvisorTests.cs, GameOptions.cs and the docs are LF before and after. Game.cs stays CRLF. The five new C# files are CRLF.

    • The commit adds no Python, so the as_posix rule does not apply. The new review test builds no path strings for output.

Handoff#

  1. Runtime owner: fix V1-1, V1-2 and V1-3 as above, then re-run the advisor tests and fidelity_register.py --check.

  2. Optional: decide whether non-original sandbox levels should get the automatic advisor (an [EXT] choice), and run plain --smoke-test with assets.

  3. Open (not blocking): whether the original saves the advisor queue/history.

56.1 Round 2: fixes in a626cbf#

Scope: the stack efc090d..a626cbf. b0562dd is the cherry-pick of f8375b2, 99b23fc adds this review's round 1, and a626cbf holds the fixes. efc090d is fork main (origin/main) at review time, so a626cbf fast-forwards it, and git merge-tree --write-tree origin/main a626cbf exits 0. Builds and tests used git clone --shared scratch copies under /tmp at a626cbf. No original code was executed. test_advisor_v2.py pins the source witnesses below. The native operands behind the fixes are still pinned by test_advisor_v1.py.

Verdict: merge-ready. All three blockers are fixed. One fix has a test gap (V1-2b below), which is not a blocker.

Blockers#

FindingVerdictFix and evidenceMutation (fix reverted in a scratch copy)
V1-1 --muteFixedAdvisor.CreatePlayer (Advisor.cs:304): without a mixer, it opens a device only when GameAudio.Enabled && AudioMixer.Current == null. Native: --smoke-test --mute --load-original-level jungle logs clock: wall clock (no audio device) and no Sound: SDL line. Without --mute, the same run uses game mixer (SDL audio queue). In the full run, MutedSpeechKeepsTheWallClockWithoutOpeningADevice Passed, not Inconclusive.openDevice: AudioMixer.Current == null → that test fails
V1-2a wrapper successFixedAdvisorController.Update calls play unconditionally and completes with playbackSucceeded: true and span ?? 0. The unused 0xb7d8 revalidation is gone from the controller. RevalidatedPlaybackScoreAccepts stays on the queue, unchanged against the helper.span.HasValue → UnplayedResponseStillRecordsHistoryAndReservesTheMinimumAction fails
V1-2b Advisor option offFixed, untested in OpenTPW.TestsAutomaticAdvisor.Update: with the option off, it silences and then runs Controller.Update( …, _ => 0u ), matching 0x6bb4–0x6bc0 and 0xbbf0. ADVISOR-021 is narrowed to the object-identity question. AdvisorOptionOffConsumesTheAdviceSilently drives the controller with a 0-returning callback. It does not exercise AutomaticAdvisor.Deleting the Controller.Update( …, _ => 0u ) line leaves all tests green. test_advisor_v2.py now pins the line as a source witness.
V1-3 event 10FixedClearHistory resets the variant (−1), the played flag and the slap count, and keeps SavedGameTick. This matches the stores at +0xe4/+0xe8/+0xec and the absence of a store at +0xe0. The test now expects RepeatDelay after event 10, and Eligible one tick later. Docs reworded in PPC-advisor.md (61, 86, 1014) and LIPS.md:241.history.Clear() → RepeatIntervalUsesQuarterTicksAndEventTenKeepsTheSavedTick fails

The mutations ran against the Advisor|GameFlow|Sandbox test filter (98 tests). The [EXT:sandbox] restriction (original && in GameFlow.StartLevel) is also not covered by a unit test: removing it leaves the filter green. It is an extension choice, and the native sandbox smokes below show its effect.

Queue port regression#

The round-1 differential harness was rebuilt against the a626cbf port and the unchanged helper (f51e874, byte-identical). It ran 2,000 seeds × 400 steps = 800,000 operations, with one change: about 1 in 9 steps is now event 10. The port calls ClearHistory(). The helper side calls a review-only model of the 0x9dd8–0x9e80 loop, written independently: for every descriptor it sets (saved tick kept, −1, false, 0). All 800,000 operations matched. This covers every result tuple, slot, history entry, busy flag, reservation and revalidation answer. The V1-2 semantics change only the controller's argument to CompletePlaybackAttempt. The queue API is unchanged, so the harness still drives both success and failure. Sensitivity: putting history.Clear() back into the port fails at seed 0, step 2. The member diff (members() from test_advisor_v1.py) still shows every helper member textually equal in the port. The only additions remain ClearHistory, HasDescriptor and IsAttemptOutstanding.

Sandbox and the manual advisor#

Game.CreateAdvisor builds the manual --advisor-say/--advisor-response presentation from the arguments alone, outside GameFlow. The original flag does not reach it. Native results (macOS arm64, SDK 10, scripts/run.sh, scratch copy):

CommandResult
--smoke-test --advisor-say 1 (sandbox)Passed. sp_001, 4.23 s, game mixer. No automatic advisor lines.
--smoke-test --sandbox --advisor-response 1Passed. Response 1 → /levels/jungle/Speech/speechHD.SDT sample 1, 28.63 s.
--smoke-test --mute --sandbox and plain --smoke-testSandbox smoke passed. No Advisor scoring/game event/says lines.
--smoke-test --mute --load-original-level junglePassed. Event 0 → response 1, clock: wall clock (no audio device), no SDL audio.
--smoke-test --load-original-level junglePassed. Event 0 → response 1, game mixer (SDL audio queue).

Cherry-pick b0562dd#

f8375b2 and b0562dd touch the same 16 files. For every file except docs/FIDELITY-REGISTER.md, the changed lines are identical. git range-diff shows only register hunks: counts 140→147 instead of 138→145, COMPAT 15/16, and Game.cs line shifts from the TPI-FSH base. fidelity_register.py --check passes at b0562dd (147) and at a626cbf (148, with ADVISOR-022 added). The resolution is correct.

Checks (independent)#

Low notes#

Handoff#

  1. Merge a626cbf (fast-forward of efc090d) with this review commit on top.

  2. Optional: an AutomaticAdvisor test for the option-off path, and the stale LIPS rows.

57. Scenarios lane review S1: 9e47f37, cb8dca2, db3ae4f and the ffa87c6 merge onto ae886cf#

Subject: ppc-scenarios at ffa87c6, 13 commits not on main ae886cf. Earlier rounds covered b8602bd, 089ca5f, b093ee3 and bac3428 (section 34), 1d3b8d4 (section 48), 202fd60 (52), 1dacb25 (53) and ffa87c6 (54). No earlier round recorded 9e47f37, cb8dca2 or db3ae4f, and no round checked the range against main since it gained its own game-mode code (3286a6c). Mac static evidence only. Nothing original was executed. test_scenarios_s1.py decodes the sampled operands from the instruction words with its own field split, and runs git merge-tree read-only.

Merge blockers#

Per-commit verdicts#

Research claim behind S1-2 (lane side confirmed)#

0xf0df0, the research point sink, has exactly one direct caller: 0xf0788, inside 0xf0728. 0xf0728's only caller is 0xf02e4, the per-researcher cycle 0xf0284. Inside 0xf0728:

No relocation points at either routine. So there is no staffless call path on the Mac, as far as a direct-call and relocation scan shows. Main's ECON-019 is an approximation, and this result contradicts it as a staffless rule. It does not contradict it as a stand-in for the seed researcher.

Merged tree (scratch clone, review resolution)#

The resolution follows S1-1 items 1–6. It takes the lane's Load Park rule and leaves out the S1-2 stand-in. It is one possible resolution, not the lane owner's, and nothing was committed outside this worktree.

CheckResult
SDK 10.0.401 dotnet build -c Release0 errors (after S1-1 item 3; before it, CS0103)
OpenTPW.Tests, no assets858 pass, 234 skip, 0 fail (main ae886cf rerun here: 853/232/0; +7 tests)
OpenTPW.Tests, OPENTPW_GAME_PATH1029 pass, 63 skip, 0 fail (stated main baseline 1022/63/0; +7)
fidelity_register.py --checkmain 138; merged (after --write) 138, exit 0
diff --stat vs --ignore-cr-at-eol --stat, main → mergedidentical (35 files, +8204 −107); 21 CRLF .cs files on main and on the merged tree
Lane .cs line endingsevery .cs in ae886cf...ffa87c6 keeps its merge-base ending (LF)
Interaction with main's newer workautorun, Game Options pages, advisor responses and the intro gate do not overlap. Advisor code does not subscribe to economy events, and Game.cs is untouched. The mixer hook is in S1-1 item 1
Windows paths in lane Pythonno repo-relative str(Path). mac_data_compare.find splits POSIX strings, and profile_evidence echoes CLI paths only

Lane reruns on a ffa87c6 archive: lanes/scenarios unittest 98 OK with OPENTPW_MAC_BIN, and 85 run + 13 skipped without it. scenario_evidence.py exit 0, 2,090 instruction checks. These match round 18.

Open low findings#

ffa87c6 is the head round 18 reviewed, and none of these changed.

Results#

TargetCommandResult
review lanetest_scenarios_s1 with OPENTPW_PPC_BIN_ROOT, OPENTPW_REVIEW_REPO10/10
review laneunittest discover with all three env vars201 run, OK (3 skipped, 2 expected failures)
review laneunittest discover with no env vars201 run, OK (45 skipped)

Not run: the native front-end smoke run on the merged tree, the original program, and PC parity.

Handoff#

  1. Scenarios owner: S1-1. Merge ae886cf and resolve per items 1–6. Rebuild, then expect +7 tests over main and --check exit 0.

  2. Scenarios owner: S1-2. Pick the stand-in or the registered gap before the merge. Rerun the native front-end smoke run, because its Instant Action research assertion depends on that choice.

  3. Optional: S1-3, S1-4, R17-2, R18-2, R18-3.

57.1 Round 2: merge 5224418#

Subject: 5224418, the merge of ffa87c6 onto main efc090d, and 2902c7d (section 57 on top). origin/main is still efc090d. Mac static evidence only. Nothing original was executed. test_scenarios_s2.py decodes the UI-041 operands with its own field split and checks the merge against both parents read-only.

Verdict: merge-ready. No blocker remains. The open items below are low and optional.

S1-1: resolved#

Each prescribed resolution was checked against both parents (git show 5224418 combined diff, plus a scan for lines either parent added since the merge base that are missing from the merge):

  1. GameFlow.StartLevel keeps GameAudio.EnterPark( levelName ) under if ( original ) and then sets StartKind.

  2. LoadPark uses the lane's rule (reference start). It carries a new [APPROX:UI-041] (see below). Main's smoke steps were rewritten to check that Load Park after an Instant Action start gives the reference start. Main's Balance == 100000 check after the reload is gone, which follows from the rule change. GameModeSelectsBalanceLayersAndEasymodePark still checks the Instant Action balance of 100000.

  3. OriginalPark.Load uses if ( savePath != null ) and keeps BIN:STP-PPC:0x10137600. No includeEasymodePark is left in source/.

  4. ParkResearch.cs is byte-identical to main's. ParkEconomy keeps main's loan and upgrade BIN labels on !Features.Loans and !Features.Upgrades. It also keeps main's golden-ticket check, every 100 turns and only in Full Simulation, without the lane's month-end check. The Features.Challenges gate on Objectives.AdvanceDay is kept.

  5. Tests were checked line by line against both parents. The only removed lines are the ones replaced by the port: main's includeEasymodePark/ ParkGameMode calls, main's "Instant Action research is automatic" trio (now the stand-in case), and the lane's AdvanceDays( 1 ) (now TickOfTurn( TurnsPerResearch )). No assertion was weakened. The new assertions cover the stand-in flag for each start kind, a stand-in park that researches, and a save round trip.

  6. UI-015, the research row and FINDINGS.md "Instant Action rules traced so far" are reconciled. The register lists 141 IDs (+UI-041). The ParkEconomy.cs:169 and GameFlow.cs:147 locations are current.

The lane lines that are not in the merge are all superseded on purpose. They are the month-end ticket hunk, DailyPoints, the ECON-019 "unused leftover" text and the "research does not advance" smoke assertion. The main lines that are not in the merge are the gameMode/includeEasymodePark plumbing and the old UI-015 and ECON-019 texts.

S1-2: resolved, and the condition change is justified#

DoResearch adds one grade-2 ability when three things hold: no researcher is employed, SeedResearcherStandIn is set, and the mode is Instant Action. ParkEconomyRuntime sets the flag only when the seed was imported in an Instant Action start. Hallow, Full Simulation and the reference start get no stand-in, and tests check each one. Main's condition was "no researcher could research". "Employed" is the wording of the section 57 recommendation, and it fits a stand-in for a missing staff record. With "could research", a hired researcher in an excluded state (ECON-015) would also bring back the stand-in, so a real researcher and the stand-in would take turns. Do not revert.

Save compatibility#

SeedResearcherStandIn is a non-required init member. CurrentVersion stays 2, and UnmappedMemberHandling.Disallow only rejects unknown members. I checked this with a scratch program against the built OpenTPW.dll, which was not committed. A serialized Instant Action park with the flag set round-trips true. The same JSON with the member removed (the pre-merge format) loads, with the stand-in off and the mode Instant Action.

UI-041 evidence (bounded, holds)#

Decoded from the instruction words:

Bounds: indirect calls are not followed, and no store through another alias of the GameType object is excluded. A local scan near the 18 GameType TOC loads in that closure found no store through the loaded pointer, but this is not proof. I did not re-verify the "GameType is not saved with a park" half. UI-041 rests on the loader not applying a mode, and the bounded result supports that.

Low items from round 1#

S1-4 is fixed: PPC-scenarios.md line 226 now reads "the PC counterpart of the file the Mac Instant Action copy names". S1-3 cannot be fixed without rewriting cb8dca2, which is already part of the merged history, so it stays recorded. The merge commit itself has full trailers. S2-3 (trivial): its Tested trailer says 629 evidence tests, and the rerun here reports 639. R17-2, R18-2 and R18-3 are unchanged.

Results (this worktree, 2902c7d)#

CheckResult
SDK 10.0.401 (opentpw-dotnet10, non-symlinked path) build -c Release --no-incremental0 errors
OpenTPW.Tests, no assets869 pass, 242 skip, 0 fail (matches the author)
OpenTPW.Tests, OPENTPW_GAME_PATH1040 pass, 71 skip, 0 fail (matches)
fidelity_register.py --check141 IDs, exit 0
run_evidence_checks.py with the Mac binOK: 10 Python suites, 639 tests, 106 skipped; net8 harnesses not run
diff --stat vs --ignore-cr-at-eol --stat, efc090d→5224418identical (37 files, +8258 −107)
git diff --check efc090d 2902c7dclean
git merge-tree --write-tree origin/main 2902c7d (after fetch, origin/main = efc090d)exit 0, no conflicts
test_scenarios_s2 with OPENTPW_PPC_BIN_ROOT, OPENTPW_REVIEW_REPO7/7 (7 skipped without them)
review lane unittest discover, all three env vars / none226 run OK (14 skipped) / 226 run OK (66 skipped)

Not run: the native front-end smoke run (the author reports 338 frames), the original program, and PC parity.

Handoff#

  1. Merge 2902c7d (or 5224418 plus this review) onto main. It is a fast forward while main stays at efc090d.

  2. Optional: S2-1 (keep the stand-in alongside hired researchers), S2-2, R17-2, R18-2, R18-3.

Source: docs/reverse/PPC-review.md in the project repository.