SS129a: post-carve, rtu_match/match_one COUNT THE JUMP TABLE AS INSTRUCTIONS. For func_8013BD74 it reported `mine=198, target=226, 206 mismatched` — and 226-198=28 is exactly the table's entry count. A draft that verified cleanly BEFORE the carve reads as a total mismatch AFTER it, and the number looks like deep codegen trouble. SS81 says a jr fn's match_one MATCH is not a bank; SS129a says its post-carve DIFF is not a diff either. Let the whole-binary gate arbitrate. SS129b: NEVER commit a carve whose owner is still a stub. harvest_verify refuses a dirty tree (SS97) and the carve dirties config/, so committing the carve to get a clean tree is tempting — and it STRANDS the carve. jr_inventory refused instantly (R32: "carve ownership is not 1:1 ... UNOWNED 0x801d828c"), blocking every later jr operation on that overlay. Reverted; R22 140/140. The route for a jr fn is the INTEGRATED jtbl_family_bank (carve -> extract -> remap -> gate per sibling in ONE uncommitted transaction). The SS81 hand-chain is for diagnosis; as a banking path its two constraints contradict each other. Both were mine, both caught by oracles before any lasting damage, both now documented. Ledger: JTBL-PAD-SPEC-DRIFT (func_8013BD74, with the exact SS8e error) and CC1-FAIL-UNREAD (func_8013B83C — the diagnostic is genuinely unread; say so rather than guess). Fleet 93.21% fn-count / 89.1% instr / 80.4% distinct.
56 KiB
CURRENT PHASE — Phase 30: The Recovery & Concentration Campaign (overlays to their ceiling)
Opened: 2026-07-30 · Effort: Max (Fable 5; saved defaults) · Generation: Gen2 (22nd phase of the arc) ·
Baseline: PhaseEnd_Phase29 (v1.28.0) · Roadmap: docs/roadmap-to-100.md v2 §3 P30
Plan approved (P3 gate 1): 2026-07-30, in-session (Drew's explicit waiver of the fresh-session step at 28% context).
Full plan mirror: ~/.claude/plans/continue-dazzling-newt.md (out-of-repo; this file is the in-repo authority + crash-recovery log).
Fleet at open: 87.5% instr-weighted / 78.0% distinct-code / 92.00% fn-count · 140/140 byte-identical · 0 NON_MATCHING · dedup 1886/0 · tools-health RC=0.
Drew's Phase-Start decisions (2026-07-30):
- In-session start (fresh-session step waived at 28% context).
- The Ghidra-C prefetch batch pulled forward from P31 → T0.5 (tail + main's 1,034 stubs; headless, background).
- T2's primary path = the two-file atomic o0b substitution driver (the log's costed no-splat route); Arm-A splat research is the fallback only.
- ROI floor for T3: two consecutive sessions each < +0.3pp instr with all lanes exercised (Drew-adjustable).
⚠️ PRECONDITION (R6): Drew makes the milestone-close commit + push (PhaseEnd_Phase29.md +
phase-ends/logs/Phase29.md, both in the tree) before P30's first commit lands. P30 work
proceeds; the first P30 commit waits on it.
The numbers this phase must pin FIRST (T0 — do not consume until re-derived, R35/R14)
- family_hseq 29,961 vs progress.py 28,296 remaining instances — an unexplained R32 gap.
- The
-O0population: "10 families / ~1,287 raw distinct" (checkpoints) vs "123 families / 121,264 ins / 3,100 distinct" (the log's R14 correction) vs "129 distinct on the table" (the costed o0b route) — three numbers, one T0 job. - The zero-crack family list (map said 61 on 07-29) and the concentration table (top-20/top-100 shares).
Standing invariants (every task)
- Whole-binary byte-gate is the sole arbiter (G3/P9); match_one/closeness/masked = candidates (§52b).
- R22 clean-fleet per banked batch:
make clean && make extract-all && make check-all→ 140/140. make tools-healthgreen + fail-closed before matching (corpus · cdecl · audit-binaries(R36) · report/lint/dedup).- Blast-radius typing on every integration write (T0 draft-only / T1 binary-local / T2 fleet-shared ⇒ R22 mandatory).
- Probe before costing (R37-candidate discipline): probe one member before pricing a job; derive
attribution from
corpus.stubsbefore/after; diff the artifact to prove an edit ran (§120). - Flywheel: idioms → cookbook + tooling in-session (R16/R30); pivots → decision-log (R31).
- Effort/model transitions prompted, never assumed (R26/R27) — STOP + WAIT for the toggle.
- One commit per task/sub-repair after this file's update; Drew pushes (R6/R20). R23 no-op on db.*.gbf churn.
Task checklist (current-task pointer = ▶)
- T0 — Frontier regen + instrument repair [Max] ✅ (all six letters; see per-task log; frontier
report =
docs/frontier-p30.md, report point #1): (a)gate_stage.pysnapshot/restore (the ladder destroys good drafts) · (b)rtu_match.pysurface the real cc1 error in the verdict · (c) reconcile the family_hseq↔progress instance gap (R32) · (d) purge since-banked rows from the backlog ledger + still-a-stub filter fromcorpus.stubs(R33) · (e) refresh.run/autopsy/residuals.jsonl+ fix the 21-file absolute-include defect · (f) regenerate the frontier (report / family_hseq / worklist / fuel manifest) + pin the three contested populations → the one-page frontier report (report point #1). Verify: tools-health green; digests committed; velocity derives from digest git history (R33). - T0.5 — Fleet Ghidra-C prefetch batch [background] ✅ (SESSION-27: 124/124 programs, 7,716
files, 335 min unattended; 95.2% of crack-needing families seeded, main 2,001/2,002, resident
14/14. Was left unticked through S27 — corrected S28.) —
ImportOverlay.java(~130 missing programs) +DecompileFunctions.javaover every remaining distinct stub (overlay tail + main's 1,034; skip LINKED) →.run/ghidra_c/. R23 lock discipline (stop the hook-launched MCP server first or route through it). Verify viabuild_fuel_manifest.pycounters + 5 spot-reads. - T1 — Integration-recovery sweep [Ultracode — prompt at launch] — all close=0 stranded
drafts through
recover_integration.pytiers + §65b de-macroize + the snapshot-safe ladder; the 10 named SESSION-16 blocked drafts. Prior: 39% recovery. Report point #2. R22 per batch. - T2 — The
-O0cluster [Max, deep] ✅ ROUTE PROVEN, TOOLED, AND SWEPT FLEET-WIDE (S28). Report point #3 = this entry. DEVIATION from the phase-start plan, byte-justified — BOTH named routes were refuted: the PRIMARY "two-file atomic o0b substitution driver" mis-places by construction unless the target abuts the o0b object's END (the ×1 probe), and the FALLBACK premise was also wrong — the Arm-A splat%lo +0x20does not bite (a pure-O2sub-split of a jr object is byte-neutral, probe 1). The real constraint is §126: an address range is not an optimization region — it contains already-matched-O2bodies, so the bound is (range MINUS matched) and K islands ⇒ K+1 regions (probes 3–4). Shipped:tools/o0_subsplit.py· Makefile-O0glob_o0b→_o0?· cookbook §126/§126a. Swept: 135/135 overlays, 0 refusals; 140 new-O0region files;o0_sources()137→277; 0 invisible to the oracle; 2,200 open stubs now in a genuinely-O0TU. 6 fns banked (ov_SC03_014/015). R22 140/140; tools-health OK. Population correction (R14): my "275 stubs / 18 overlays" was an 8× under-count from a bareexceptswallowing R32 during a rebuild; truth 2,184 / 138, which vindicates the T0(f) "2,192" pin I had wrongly called stale (§126a). Handoff → T3: drafting the 2,200 is crack-wave work; seeds cached;match_one --o0. - T3 — The standing crack-wave loop [Ultracode waves; Max between] — lanes interleaved,
propagate behind every crack same-session:
A zero-crack (~61, propagation-only) · B top-mass fresh families (no size cap; jr via
jtbl_family_bank;gate_stagecall-site-casts, never bulk header edits) · C tail mass on prefetched seeds (local v3 ≤15 → GLM/Haiku ≤~50 → cheap-Opus mid) · D PINS (19) + W4 bounded diagnoses + permuter backlog via the T4-fixed grinder. Per-session checkpoint + velocity + 3 metrics. ROI floor: 2 consecutive sessions < +0.3pp instr each with all lanes exercised. - T4 — Carried-tool resolution [xHigh] ✅ (S28,
commit:1279). The 2 "Phase-22 grinder bugs" were struck as STALE in S27 (already fixed). This session:--fix-def-sigposture audited clean (defaults False, one consumer, no caller passes it) — and the audit found the live hazard the earlier pass missed:docs/decision-log.mdstill recommended making it default-on, which T84/§119 byte-refuted; struck in place with a superseding note (R31). Grinder ILS warm-restart WIRED —permuter_ils.pyhad sat unused besidegrinder.pysince Phase 24, so every grind was a COLD search; now--cycles(default 4) warm-restarts from the best byte-waypoint,--cycles 1= old behaviour. Justified by measurement before building (the lane looked dead: 0 banks since Phase 21) — 665 open near-misses in the permuter-tractable band, 157 at close 1–4, incl.func_8016BA68close=1 reach=134. ⚠️ Yield UNPROVEN on this backlog — wiring only; the ILS evidence is one Phase-24 fn. - T5 — Phase close [Max] — burn-down from digest history; P7 milestone walk; Roadmap delta; gate 2; PhaseEnd_Phase30.
Milestone: overlays at their measured ceiling — ≥95% instr fleet, or every remaining overlay stub on a named wall/behemoth/queue ledger — 140/140 byte-identical throughout.
Blockers
- (none) — the precondition (Drew's milestone-close commit) landed at
commit:1213.
🛑 SESSION-28 CHECKPOINT (2026-07-31 08:1x) — FRESH SESSION SAFE HERE
Supersedes SESSION-27 below. Nothing is running. Tree lock FREE. Tree clean but for the R23
db.*.gbfchurn (never stage). HEADcommit:1286+ (+ this doc commit). Effort: opened xHigh → Max for the jr re-measurement and the T2 probe ladder → back to xHigh for the driver + sweep.make tools-healthRC=0 at session open. R22 clean-fleet run FIVE times this session, 140/140 every time.
FLEET — R22 clean-fleet 140 passed / 0 failed (verified EIGHT times this session)
93.17% fn-count · 89.1% instr-weighted · 80.4% distinct-code (72,016 / 87,459 unique fns) · dedup 1905/0 · C1 240496/240496 · 0 NON_MATCHING linked. Phase opened at 92.00 / 87.5 / 78.0 ⇒ +1.17pp fn-count, +1.6pp instr, +2.4pp distinct this phase. Distinct-code crossed 80%.
🎯 THE -O0 HARVEST (the session's largest result, ZERO agent tokens)
Routing the cluster to -O0 unlocked functions already cracked in ov_SC01_077 that could not
be banked anywhere else because every destination file compiled -O2:
dedup_propagate --recover 0x8013C360(h_exact ×138) → 137 overlays byte-identicalfamily_sweep --hseq, 10 variant families → 1,227 banked / 133 failed (90%)- ⇒ 1,364 new banks, +1,162 unique fns.
--recoverwas load-bearing (§75): without it the tool takes its all-or-nothing branch — one failing overlay (the SOURCE) drops the whole function and it printsall candidates dropped, which reads exactly like a wall. Read the exclusion code, don't believe the message. The 2has_mid_jrfamilies are now DONE too — routed throughjtbl_family_bank(the §81 carve chain per sibling, ~7s each):func_8013C0F8137/137 andfunc_8013C414137/137, 0 failures, 274 members / ~66k ins. Neither was bankable before the-O0routing. ⇒ the cluster harvest totals 1,638 banks for ZERO agent tokens. Independent corroboration of §125:jtbl_family_bankis the SAME tool that returnedgate-failon every group-B (func_8017BEBC) probe. 137/137 here vs 0/4 there, same jr machinery ⇒ group B's failure really is its BODY, not the carve — which is what the body-free diagnostic said after I had first (wrongly) blamed the carve. Still queued in the cluster: the 133 sweep failures, and 3 addresses never cracked anywhere (0x8013B83C,0x8013BD74,0x8013C08C) — genuine drafting, now possible since their TU is-O0.
WHAT LANDED THIS SESSION
- Resume item 2 CLOSED — the "137 no matched unit" class: 137/137 banked, 0 failed (
commit:1261), behind a one-line-class tool fix (commit:1260). R22 140/140. Cookbook §124/§124a. - Resume item 3 CLOSED as 1-of-3 + group B 0/13, all ledgered with evidence (
commit:1263):func_80181CDC(769 ins) banked via the §81 chain, R22 140/140. - Resume item 1 RE-SCOPED (not banked) — see below; it is T2 work, and now T2's best ×1 probe.
⚠️ THE JR RESIDUE — RE-MEASURED AND LARGELY RETRACTED (Max pass; read this, not the first version)
I first ledgered all three jr refusals as tooling walls off a body-free carve probe. Re-measured by
SHA vs config/check.<ov>.sha from a clean tree, two of the three verdicts were FALSE. Verified:
| target | jr_isolate_all |
jtbl_carve |
true verdict |
|---|---|---|---|
func_8018057C / ov_SC01_009 (897) |
NEUTRAL | not reached | "isolate breaks bytes" was FALSE; original failure NOT reproducible |
func_80191C50 / ov_SC06_018 (710) |
NEUTRAL | DIVERGED (1b1667ea vs cbbc4f44) | REAL — the one true instrument failure |
func_8017BEBC / ov_SC04_004 (group B ×13) |
n/a | NEUTRAL | carve fine ⇒ failure is the BODY, the OPPOSITE of my first claim |
Root cause of my false verdicts (mine, not the tools'): a grep-of-the-build-log gate inside a
driver that did not revert on abort. config/overlays.mk is SHARED, so target 1's half-applied
isolate was still in the tree when target 3 was measured. Also reproduced the §42b stale-object trap
directly: git checkout -- config/ WITHOUT a re-extract turned a byte-identical overlay into
[FAIL] got 8f28aa77 / want 38a3d919. The tidy "two walls are one tooling problem" story was wrong
— they are two different problems and the third has no demonstrated problem at all.
§125 rewritten with the instrument rules (SHA not grep · re-extract after every change AND every
revert · revert-on-abort · verify the baseline against canonical too). Ledger classes corrected to
UNREPRODUCIBLE-RETEST-NEUTRAL / JTBL-CARVE-BREAKS-BYTES / BODY-TEMPLATE-GATE-FAIL.
✅ T2 — THE CARVE-WITHIN-A-CARVE IS PROVEN AND TOOLED (Max pass; the phase's biggest unblock)
The roadmap called T2 blocked on the Arm-A splat %lo +0x20 defect. It is not. Four probes,
one variable each, SHA vs canonical from a clean tree:
| probe | isolated | result |
|---|---|---|
| 1 | sub-split a jr object at arbitrary addrs, pure -O2 |
BYTE-NEUTRAL — Arm-A does not bite |
| 2 | same split, middle region → -O0 |
diverged (2 vars — inconclusive) |
| 3 | probe-1's name, -O0 flag only |
diverged ⇒ the FLAG, not the name |
| 4 | -O0 regions cut to EXCLUDE matched bodies |
BYTE-IDENTICAL — route proven |
THE LAW (cookbook §126): an address range is not an optimization region. A range selected by
address contains already-MATCHED bodies (DEFINE_func_*() from engine_core.h, compiled -O2);
flipping the FILE recompiles them and they stop matching. Bound = (range) MINUS (matched bodies);
K interleaved matched fns ⇒ K+1 -O0 sub-regions.
My own earlier "15 contiguous -O0 fns, clean cut" was an UNDER-COUNT — I derived it by scanning
asm/**/*.s for the fp-prologue, and a matched fn emits no .s, so the scan was blind to exactly
the bodies that break the flip (§124's shape, again).
Shipped: tools/o0_subsplit.py (derives bounds from SOURCE anchors, K+1 regions, _o0<letter>
naming, one-carve-per-region law, reuses jr_isolate_all verbatim) · Makefile -O0 glob widened
_o0b→_o0? (a missed rule is SILENT — the region would compile -O2 and every residual be a pure
artifact, §116; corpus.o0_sources() re-verified, 137 sources) · 6 fns banked (ov_SC03_014 +
ov_SC03_015 ×3 each; globals derived from each overlay's OWN asm, 6/6 --o0 MATCH, 6/6 gated).
The tool reproduced the hand-derived structure first try on the untouched sibling overlay.
THE SWEEP IS DONE — the cluster is ROUTED FLEET-WIDE (commit:1270): o0_subsplit applied to
135/135 overlays, 0 refusals; 140 new -O0 region files; corpus.o0_sources() 137 → 277;
0 of them invisible to the -O0 oracle (checked explicitly — a silent -O0 miss is §126's exact
failure mode); 2,200 open stubs now sit in a genuinely -O0 TU, having been un-bankable at any
effort before. R22 140/140; tools-health OK (corpus 0/0 · cdecl green · audit-binaries 140/140
citizens · dedup 1904/0 · C1 240359/240359). Gated by ONE clean-fleet R22 after a single-overlay
probe, since the transform is byte-neutral by construction.
⚠️ POPULATION CORRECTION (mine, R14): I first reported this cluster as "275 stubs / 18 overlays".
Wrong by 8×. That scan ran while extract-all was rebuilding AND wrapped corpus.stubs() in a
bare except: continue, swallowing the R32 coverage assertion. True: 2,184 stubs / 138 overlays —
which vindicates the T0(f) "2,192 open members" pin I had called stale. Cookbook §126a.
🌊 T3 WAVE 1 (Ultracode, 30 agents, 1.33M tok) — 15 drafted / 15 rtu-confirmed / 12 BANKED
Target: the population the -O0 routing made draftable. Every drafter self-checked with
match_one --o0 + rtu_match --o0; every MATCH was then re-run by an independent skeptic told to
default to REFUTED ⇒ 15/15 confirmed, 0 disputed. Whole-binary gate: 12/15 — textbook §52b.
The 3 failures are NAMED INTEGRATION classes, none a compiler wall:
func_8013BD74 CARVE-REFUSED (it is a jr fn — needs the §81 carve chain; reach 138) ·
func_8013B83C CC1-FAIL (real-TU compile, error not yet read; reach 138) ·
func_80184058 PLUMBING.
⚠️ func_8013C08C (reach 138) IS BANKED BUT NOT PROPAGATED. First sweep said "0 families" —
the map still listed it as a stub; regenerated per the crack-wave-sweep-map-regen path, then the
sweep found 137 candidates and banked 0/137. Per §94 a family 0/N is a TYPE-CARRY failure
until proven otherwise, and this body carries a §100 body-scoped typedef ⇒ lift its local types
transitively and re-sweep. Open, NOT a wall.
📉 ROI, honestly: 1.33M tokens bought 12 banks and +0.00pp headline (93.17/89.1/80.4 unchanged at displayed precision; distinct 72,016→72,028). The wave's real value is contingent — it rests on the three reach-138 functions, and all three are currently unpropagated or gate-failed. Fix the propagation before running wave 2: drafting more ×2-reach targets is not where the leverage is.
📓 Flywheel (R16), the uncomfortable number: the index fired on only 3/15. Agents independently
re-derived the same undocumented idiom, and two found their decisive levers in a SOURCE COMMENT in
ov_SC01_077_o0.c rather than in docs/. Distilled as §127 (the -O0 regime: the
CONSTANT-OFFSET FOLD p->f→lbu 3(r) vs p[i]→addiu;lw 0(r); spills are real named locals;
write plain C), §127a (§71 sibling-first is the strongest -O0 lever — read the banked fns in
the target's own _o0* file first), §127b (promote levers out of source comments).
🔎 §128 — 137 SOURCES WERE INVISIBLE TO GREP (found by accident; the session's sharpest catch)
grep -rn func_8013C08C src/ returned nothing for a function defined right there. The file held
a raw NUL inside a char literal (== '<NUL>' instead of == '\0'). It COMPILES — the fleet was
byte-identical — but file(1) calls it data and grep treats it as BINARY and prints nothing,
silently. The file vanishes from every grep-based audit and hand search.
Scope: 137 files — every _o0c/_o0e region created THIS session. A templated body carried the
NUL, so one defective source propagated it fleet-wide in an afternoon. All fixed; R22 140/140.
New oracle: tools/audit_text_sources.py + make audit-text-sources, in tools-health,
coverage-asserted over all 3,887 tracked .c/.h (R32). The byte-gate is structurally blind to this
(R34 — the bytes are correct), so it needed its own oracle. Same family as §124/§126a, one layer
lower: in the tool everyone reaches for first.
My error, recorded (§128a): the negative control corrupted the REAL tracked file and its restore
left '\\0' (a multi-char constant) — R22 caught it at 139/140 before any commit. A negative
control must mutate a scratch copy under .run/, never the artifact it validates.
🎯 THE THREE REACH-138 TARGETS — 1 banked, 2 ledgered with precise blockers
The wave's real leverage was three ×138 functions. Worked all three:
✅ func_8013C08C — 0/137 → 137/137 (commit:1286). §94 was right: a TYPE-CARRY failure.
E_13C08C was a multi-line typedef at FILE scope, and extract_unit's backscan walks back over
extern/comment/blank/typedef lines — a multi-line typedef presents its CLOSING line first, matching
none of them. Fix = §100 draft-local: the type moved into the body, where it is part of the unit
by construction. Byte-neutral, R22 140/140.
The diagnosis was redone from scratch (R35): the first pass ran on grep searches that were silently
skipping the file (§128), so none of it was trustworthy — it happened to point the right way.
Fresh trap found while fixing: my comment contained a literal } and extract_unit's brace-scan
does not strip comments → it TRUNCATED the unit. Caught only by verifying, not assuming.
⛔ func_8013BD74 (198 ins ×138) — ledgered JTBL-PAD-SPEC-DRIFT. Carve applies byte-identical;
splicing the draft then fails cc1 with jtbl_rodata_pads: more rodata .align directives than pad specs (2) — table-count drift vs the carve (§8e's filter failing LOUD, by design). Real §8e work.
Two tooling traps found en route → §129: (a) post-carve, rtu_match counts the jtbl's 28 data
words as INSTRUCTIONS (target=226 for a 198-ins fn) so its DIFF is meaningless — let the
whole-binary gate arbitrate; (b) never commit a carve whose owner is still a stub — I did, it
stranded the carve, jr_inventory refused (R32, UNOWNED 0x801d828c), reverted, R22 140/140. The
route for a jr fn is the INTEGRATED jtbl_family_bank (one uncommitted transaction), not the §81
hand-chain, whose two constraints (carve-before-bank vs clean-tree-to-bank) contradict.
⛔ func_8013B83C (272 ins ×138) — ledgered CC1-FAIL-UNREAD. The cc1 diagnostic has NOT been
read yet. Read it first (§125 rule 1); do not infer.
▶ RESUME HERE (nothing blocked except where noted)
- [T3, breadth] DRAFT the 2,200 newly-
-O0-routed stubs — 16 distinct addresses × ~137 overlays, cached Ghidra-C seeds confirmed present,match_one --o0is the per-fn check. Crack one exemplar per address then template. This is the largest single draftable population in the phase. Breadth ⇒ prompt Drew for/effort ultracodeand WAIT (R26/R27). - [REAL, and now correctly scoped]
jtbl_carvediverges on ov_SC06_018 after a neutral isolate — the ONE confirmed instrument failure (blocks the 710-insfunc_80191C50). Compare againstov_SC05_010, whose full chain succeeded this session; §8e's interior-pad law +JTBL_PADSand the--orderinterleave are the suspects. Note a carve run WITHOUT the isolate refuses loudly (non-contiguous.rodata0xab9f4/0xaba4c) — that is the documented §81/§8b step-1 instruction, not a divergence. 1b. group Bfunc_8017BEBC×13 is a BODY problem — diff the remapped body against the sibling TU; stop re-probing the carve. 4 gate-fails incl. one from a verified-clean tree. 1c.func_8018057C/ ov_SC01_009 — just re-run the full isolate→carve→bank chain under the §125 instrument rules; its blocker was never demonstrated. - T2
-O0carve-within-a-carve. Open with the ×1 probe on the 4th region (below) — smaller blast radius than the plannedov_SC07_007and it is the Arm-A%lo +0x20shift oracle. - Next wave: 3,873 fresh cached cores across 119 binaries (
.run/p30w4_pool.json), dealt ACROSS binaries so the gate fans out. Breadth ⇒ prompt Drew for/effort ultracodeand WAIT (R26/R27). - T1 remainder (10 named S16 drafts + route the ~90 to REDRAFT lanes), T4, T5.
📌 THE 4th -O0 REGION — verified, sized, and correctly BLOCKED (do not re-litigate)
My own byte scan (not the agent's claim — R14/R37) over all 156 fns of ov_SC03_014_jr_8017EB7C:
the -O0 frame-pointer prologue covers exactly the contiguous run 0x80183CF0..0x80184868
(15 fns), with -O2 neighbours 0x80183A54 below and 0x80184920 above — a clean cut.
Prize: 30 fn-instances / 1,504 ins — the region is h_exact-identical in ov_SC03_014 +
ov_SC03_015 ONLY; the 3 other overlays holding a func_801846E4 (SC03_090, SC04_005, SC05_018)
are DIFFERENT code at the same VA (overlays share VAs — the §-index warning, live).
Blocked structurally: all 15 live in an -O2 split (corpus.o0_sources confirms), and the
append-to-_o0b route fails BY CONSTRUCTION (the existing _o0b covers the whale at file
0x1CA44..0x1D64C; this region is far above it, so appended bytes land at the wrong VA — the same
reasoning that killed the T2 ×1 append probe). ⇒ needs the re-carve; it IS T2.
⚠️ TWO CORRECTIONS TO THE SESSION-27 CHECKPOINT (mine, R14)
- The 137 were SKIPS, not failures. S27 folded them into the 401 gate-failures;
137+22+10 = 169 ≠ 401. They are a separateskipped{}bucket. - The cause was NOT "the exemplar banked in a different binary." It is banked in
ov_SC01_077under the §37/§73 asm-label alias (int aF8016191C(...) __asm__("func_8016191C")), andextract_unitonly matched a head literally namedfunc_<ADDR>. One exemplar × 137 same-address members — a tool lookup miss, the 4th consecutive "structural" residual to resolve to our own tooling (R35). Fixed T0-only; the alternative (widenengine_core.h, drop the alias) was REJECTED — it fixes only §73's RETURN axis while the decl/body also disagree on PARAMS, and it is a T2 fleet-shared edit. §124.
🧪 A METHOD NOTE WORTH KEEPING (cost me one probe this session)
I ran a corpus.stubs probe while make extract-all was mid-flight and got 4 binaries' worth of
garbage. corpus.py's R32 coverage assertion caught it and refused to answer instead of returning a
wrong stub set — the assertion earning its keep. A measurement taken during a rebuild is not a
measurement (SESSION-27's law, re-earned). Re-derive after the campaign exits.
🛑 (superseded) SESSION-27 CHECKPOINT (2026-07-31 01:25)
Supersedes SESSION-26 below. Nothing is running. Tree lock FREE. Tree clean but for the R23
db.*.gbfchurn (never stage). HEADcommit:1258.
FLEET — R22 clean-fleet 140 passed / 0 failed (verified at HEAD)
92.67% fn-count · 88.3% instr-weighted · 78.7% distinct-code (70,590 / 87,459 unique fns). Phase opened at 87.5 / 78.0 / 92.00 → +0.8pp instr, +0.7pp distinct, +0.67pp fn-count so far.
WHAT LANDED THIS SESSION (all committed, all R22-verified)
- T0 instrument repair (a–f), 6 commits — incl.
gate_stagestage-0 (§122) and thefix_arity_callersper-edit journal undo. - T0.5 fleet Ghidra-C prefetch COMPLETE — 124/124 programs, 7,716 files, 335 min unattended. 95.2% of the 6,070 crack-needing families are seeded; main 2,001/2,002; resident 14/14.
- T3 waves 1–4 + behemoths: wave1 8/14 · wave2 15/19 · wave3 48/48 · wave4 69/70 banked (70/70 drafted) · 7 behemoths CONFIRMED at 700–970 ins (4 banked; 3 jr deferred).
- Propagation: 548 + 911 members via
family_sweep --hseq; h_exact leg 14 propagated / 42 benign skips / 0 failures. - New instruments:
tools/treelock.sh·tools/prefetch_fleet.py·tools/cookbook_index.pydocs/cookbook-index.md(324 sections, symptom-keyed, intools-health).
- Cookbook §122, §123.
▶ RESUME HERE (nothing blocked, nothing in flight)
func_801846E4(ov_SC03_014) — the 1 of 10 resumed drafts that did NOT bank (agent reported MATCH; gate refused). Draft at.run/drafts-p30w4/ov_SC03_014/func_801846E4.c. Its agent flagged it as the -O0 class (SIZE-MISMATCH/short + frame-pointer prologue) — likely needs--o0.- The 137 "no matched unit for func" sweep-routing gap —
family_sweeplooks for the exemplar's banked unit in the wrong binary. Cheap, worth ~137 members. - 3 jr behemoths (
func_80191C50,func_8018057C,func_80181CDC; staged in.run/beh-gate/<binary>/) + group B's carve (13-member IMM/jr @952, 103 already matched →jtbl_family_bank.py). Both runmake extract— run ALONE undertools/treelock.sh. - T2
-O0carve-within-a-carve (13 families / 1,746 members). Newly cheaper: wave-4 agents documented thematch_one --o0flag AND found a 4th -O0 region beyond the 3 known ones. - Next wave: 3,873 fresh cached cores across 119 binaries remain (
.run/p30w4_pool.json); deal them ACROSS binaries so the gate fans out.
🔁 THE LOOP THAT WORKS (proven 4 waves running)
draft (agents, .run/ only) → --no-propagate gate, per-binary IN PARALLEL → sig+map regen →
propagate per-function, routed by tier (§123) → one R22 → commit. Wrap every tree-writing
campaign in tools/treelock.sh.
⚠️ THE THREE LAWS THIS SESSION COST US (all mine, all now mechanised)
- Guard the CAMPAIGN, not the process — a
pgreppoll cannot see a campaign made of sequential processes; mine started in a gap → 63/140 broke. →treelock.sh. - A killed process performs no undo — a fixed 3600s propagation timeout killed the driver mid-fleet-write. → timeout scales with bank count AND is caught.
- A measurement taken during corruption is not a measurement — I reported a "per-binary bank-rate
cliff" and theorised a cause; re-gated clean it was 6/6 everywhere.
Both incidents cost build cycles and ZERO work, because agents only ever write
.run/.
📊 THE MEASURED FINDING WORTH KEEPING
Bank rate by wave: 57% (no index) → 79% → 100% → 99% (index-first). Same models, same gate. The
bottleneck was discoverability of our own knowledge, not the compiler. Agents also self-report
index_hit/index_gap, and their gap reports are now curated symptom lines — the flywheel is
closing on itself.
🛑 (superseded) SESSION-26 CHECKPOINT (2026-07-30 23:05)
Supersedes the in-flight block below. Paused for the 5h usage limit; a one-shot cron is set for 00:47 (2026-07-31) to resume — but cron is SESSION-ONLY and dies with this session, so if the session ended, just follow "RESUME HERE" manually.
HEAD commit:1254. Fleet at last verified point: 92.59% fn-count · 88.2% instr · 78.7%
distinct · R22 140/140 (commit commit:1252).
⏳ RUNNING AT PAUSE (check these FIRST)
w4-gateundertools/treelock.sh(pid at pause 1313761): gating wave-4's 68 drafts across 14 binaries in parallel, then sig+map regen, then R22. Log:.run/w4gate_run.log+.run/w4gate/<binary>.log. If it did not finish:tools/treelock.sh w4-gate bash .run/p30w4_gate.sh. Nothing from it is committed yet — commit only after R22 shows 140/140.- Tree carries Lane A's 15 banks (sweep finished: 15 banked / 712 failed / 910 already-not-stub — the population was largely consumed by the earlier sweep, so Lane A is now nearly spent).
▶ RESUME HERE (in order)
- Finish/verify the w4-gate → R22 140/140 → commit.
- RESUME THE 12 UNFINISHED AGENTS (
.run/p30w4_remaining.json) — Drew's explicit instruction, cron799f00d8set for 00:49 on 2026-07-31. Wave 4 launched 70, 58 returned (ALL 58 match_one MATCH), 12 were killed mid-run:func_8017EA1C(SC02_041) ·func_8018A150(SC02_027) ·func_80185680(SC02_017) ·func_8017D900,func_801846E4(SC03_014) ·func_80187940,func_80185B5C,func_801885C0(SC04_011) ·func_801832D4,func_80183CBC,func_80183258,func_8017D7A4(SC02_035). Workflow scriptPath/tmp/claude-1000/-home-musashi-bfm-decomp/f1a9b030-5924-4b17-b102-3de2ca684a6f/scratchpad/p30w4.js, args = the 12 targets as an ARRAY (a JSON string breakspipeline()). ⚠️ 10 of the 12 have a PARTIAL draft on disk from the killed run — a starting point, NOT a verified result; re-verify withmatch_onebefore any MATCH claim. (Counting note, R14: my first count said "2 remaining" because I measured draft-FILE existence. An agent writes its draft early and then iterates, so a file proves nothing about completion — the journal'sresultrecords are the truth. Drew's "12" was right and my measure was wrong.) - The h_exact propagation leg that halted at
0x801466F0(rc=1, stopped by design). - The 137 "no matched unit for func" sweep-routing gap — the exemplar banked in a DIFFERENT
binary than
family_sweeplooks in. Likely cheap and worth ~137 members. - 3 jr behemoths (
func_80191C50,func_8018057C,func_80181CDC, staged in.run/beh-gate/<binary>/) + group B's carve (13-member IMM/jr family @952, 103 already matched →jtbl_family_bank). Both runmake extract— run them ALONE under the lock. - T2's
-O0carve-within-a-carve (13 families / 1,746 members walled) — the deep arc.
⚠️ THE TWO LAWS THIS SESSION COST US (both self-inflicted, both now mechanised)
- Guard the CAMPAIGN, not the process (
tools/treelock.sh). Apgreppoll cannot see a campaign made of sequential processes; mine started in a gap and 63/140 binaries broke. - Gate with
--no-propagate, then propagate PER FUNCTION, routed by tier (§123). A fixed 3600s propagation timeout killed the driver mid-fleet-write; a killed process performs no undo. - Corollary proven twice: agents must only ever write
.run/— that is why both incidents cost build cycles and zero work.
📓 NEW THIS SESSION
Cookbook §122 (gate raw before transforming; undo belongs to the writer as a per-edit journal),
§123 (propagate a family with the tool its TIER needs + routing table), docs/cookbook-index.md
(226→324 sections, symptom-keyed, in tools-health), tools/treelock.sh, tools/prefetch_fleet.py,
tools/cookbook_index.py.
🛑 (superseded) SESSION CHECKPOINT (2026-07-30, in-flight)
Written while two background campaigns run; REFRESH before any pause (the stale-checkpoint trap).
Running in background: (1) T0.5 full prefetch batch (prefetch_fleet.py, 126 programs —
imports ~3 min each + define+decompile; cache was 3,680 at launch; task baw61zyz6; resumable —
re-run the same command if interrupted). (2) T1a recovery sweep (.run/recover/t1a_runner.py
→ .run/recover/t1a.log; 108 autopsy-MATCH fns / 50 binaries; driver commits banks per binary via
gate_stage's scoped add; OWED AFTER IT LANDS: a config sweep-up commit — jr-bank preps edit
config/overlays.mk + splat yamls which gate_stage --commit does NOT stage — then R22 clean-fleet
- report point #2).
HEAD at checkpoint: commit:1223. Fleet: 87.5 / 78.0 / 92.00 (pre-T1a-banks). Tree: T1a's
in-flight src/config edits (theirs); .run/ artifacts.
**T0 ✅ (6 commits) · T0.5 ▶ (batch running; main+3 overlays done: +2,241 cached) · T1a ▶ · T2 ▶ (two probes done, arc re-scoped — see log; NEXT session opener: sub-split carve + shift-diff
- symbol-pin probe on ov_SC07_007) · T3/T4/T5 pending.**
If resuming fresh: read docs/frontier-p30.md (report point #1, with the T2 R14 correction) +
the T2 log entries; check both background tasks' outcomes first (git log for t6-recover commits;
ls .run/ghidra_c | wc -l); the Ultracode prompt for T3's first wave is still OWED to Drew
(R26/R27) — T1b agent-residue wave folds into it.
Per-task log
✅ T0.5 COMPLETE — the fleet Ghidra-C prefetch: 124/124 programs, 7,716 files, 335 min, unattended
Zero-token, headless, resumable; imported ~120 overlay programs on demand and ran the
DefineFunctions completion pass per program (raw-blob auto-analysis only finds the reachable
subset — the Phase-10 finding, now automated). Coverage measured, not assumed:
- 5,777 of 6,070 families needing a fresh crack (95.2%) have a cached seed
- main 2,001/2,002 (100%) · resident 14/14 (100%) · 1 residue (one main addr with no fn)
What this changes: the drafting surface is now fully fueled with NO MCP dependency, so waves can
run unattended against any part of the fleet — the precondition Drew asked about. It also un-blocks
P31's main-EXE campaign early (its 1,034 game-code stubs are all cached), though that stays P31
scope. tools/prefetch_fleet.py is committed and re-runnable; the Ghidra programs are
script-reproducible, so only the tool is tracked, not the DB bulk.
✅ REDO UNDER LOCK — 52 cores + 911 members banked; R22 140/140; the "cliff" was an artifact
Re-ran the whole banking sequence serially under treelock.sh: parallel 8-binary gate → non-jr
behemoth gate → sig+map regen (a bank invalidates the map) → tier-routed propagation (§123) →
one R22 over everything.
- Wave 3: 48/48 banked through 8 PARALLEL per-binary gates (the throughput unlock, proven).
- Wave 2: 15/19. Behemoths: 4 non-jr confirmed (incl.
func_8017E120884 ins ×14). family_sweep --hseq: 911 members banked / 401 failed across 137 overlays, 49 families.- Fleet: 92.59% fn-count · 88.2% instr · 78.7% distinct (70,506 unique fns) · R22 140/140.
R14 CORRECTION, on my own earlier claim. I reported a "per-binary bank-rate cliff" (SC03_014 1/6, SC04_018 1/6, SC06_018 2/6) and theorised a cause — canonical-decl maturity per binary. It was an artifact: those gates ran against a tree that propagation was concurrently rewriting. Re-gated clean, every binary banked 6/6. A measurement taken during corruption is not a measurement, and I theorised before re-running. Same failure shape as the phantom 91.4% in the same incident.
Carried, honestly: the h_seq sweep's 401 failures split as 137 "no matched unit for func"
(the exemplar banked in a DIFFERENT binary than the sweep expects — a routing gap, likely cheap),
22 unresolved-immediates, 10 STRUCT (refused by design). One dedup_propagate run stopped the
h_exact leg early (0x801466F0 rc=1) — the loop halted as designed rather than risking a partial
write; the h_exact leg is unfinished and owed.
⚠️ INCIDENT 2 (mine) — a POLL is not a MUTEX: concurrent tree writers broke 63/140; reverted clean
What I did. Wave-3 gated 8 binaries in parallel (correct — the byte-gate IS per-binary) while
wave-2's propagation loop was still running, then I ran make clean (deleting asm/) on top of
both. check-all → 77/140, and the corpus denominator itself moved (353,720 → 353,691), so the
apparent "91.4% instr" was an artifact of a half-written tree, not a gain.
Root cause — the guard was structurally unsound, not merely unlucky. My gate waited on
while pgrep -f dedup_propagate; do sleep; done. But a CAMPAIGN is a loop of short-lived
processes — 15 sequential dedup_propagate invocations — so between every pair there is a window
with no matching process. The poll sampled one of those gaps, read "clear", and started. Presence-
of-a-process is a sampling test on a gappy signal; it cannot express "a campaign owns the tree."
Recovery (clean, nothing lost that mattered). Killed the writers; git checkout -- src/ config/
back to commit:1245 (the last R22-verified 140/140 commit); all 58 drafts survive untouched in
.run/ because agents never write the tree — the discipline that made this cheap. Re-verifying
baseline, then re-gating and re-propagating serially under the lock.
Fix shipped: tools/treelock.sh — an flock(1) mutex held for the WHOLE campaign, released by
the kernel on exit or kill, with --status. Both drivers now refuse to run unlocked.
The general law (worth a rule at close): guard the CAMPAIGN, not the process.
Corollary, the second time this session a killed writer hurt: a killed process performs no undo,
so a fleet-tier write needs a lock ABOVE it, not cleanup inside it.
T3 BEHEMOTH WAVE (10 agents, 3.23M tok) — 7/10 CONFIRMED byte-matches at 700–970 ins, 0 disputed
Drew asked for up to 10 agents on the behemoths; grouping analysis first showed the ≥700-ins band is
structured, not 29 singletons: one 16-member family @947, one 14-member @884, a 5-member @793, a
3-member @710, a 2-member @728, 5 true singletons — plus two groups that are TOOL jobs, not agent
jobs (the 13-member IMM/jr @952 with 103 already matched → jtbl_family_bank carve; two
134-matched families with 4 stragglers each → sweep). All 10 agents therefore went to genuinely
uncracked families/singletons, and each MATCH claim was adversarially re-verified by a second agent.
CONFIRMED (7): func_8017E120 884×14 · func_80191C50 710×3 · func_8017FA5C 728×2 ·
func_8018057C 897 · func_80181CDC 769 · func_8017CAD4 755 · func_8017E35C 719.
NEAR (3), all with byte-grounded residuals: func_8017EF68 969 ins at closeness 2 — two
transposed instructions, sched2 rank_for_schedule LUID tie-break, everything else (frame 0x228,
spill map, every register) byte-exact · func_8017D174 793 at 82 (allocno tie + pin damage, length
EXACT) · func_8017C974 947×16 at 812 (a pure regalloc cascade from ONE extra reserved reload reg;
598/957 regions already exact, no shape errors) — the last is the biggest family left and now has a
full structural map + the exact gcc mechanism written down.
MY ERROR (recorded): I hand-typed the asm paths into the workflow args instead of passing the
ones I had already DERIVED from corpus.asm_path in the same session — so several task cards named
a split that does not exist (_jr_8017AE2C where the truth was _jr_8017C8D0 / _jr_8017C294).
The agents located the real paths themselves and reported the discrepancy. Deriving then discarding
the derivation is worse than never deriving it: it looks authoritative. Pass the artifact, never a
retyped copy of it.
Gating plan (the jr/non-jr split matters): 4 confirmed are non-jr → gate freely. 3 are jr →
their jtbl carve runs make extract, which rewrites asm/ under the 48 running wave-3 agents, so
they are DEFERRED until wave 3 lands. Staged per-binary in .run/beh-gate/<binary>/ for parallel
gating (7 distinct binaries).
T4 (partial) ✅ — the two "Phase-22 grinder bugs" are STALE carry items; the real fixes were elsewhere
Verified against the code, not the list (R14 on our own defect ledger):
- "split-file-blind lookup" — ALREADY FIXED.
asm_subdir_forglobsnonmatchings/*/which matches every split; verified on a_jr_fn, an_o0fn, and an absent fn. Struck. - "churn-without-blacklist" — ALREADY FIXED. The blind
tried.clear()was replaced by input-signature gating in the T5 targeting work (re-open only fns whose draft mtime/closeness changed), and the blacklist exists. Struck. - Real fix taken instead (R33):
asm_subdir_forwas a PARALLEL implementation ofcorpus.asm_paththat silently tookg[0]on multiple matches — now derived from the oracle. --fix-def-sigposture: flag correctly defaults OFF, but its help still advertised "Byte-neutral; gate arbitrates" — the exact claim T84 refuted (it imposed a signedness-wrong header decl over a byte-correct draft,slti/sltiu, and held 137 members at 0 until DROPPED). Help now carries the §119 warning. The posture was right; the documentation was the defect. Lesson for the phase close: the carried-defect list had 2 of its entries already fixed. A defect ledger nobody re-verifies decays into busywork — verify before scheduling (R35's sequencing applied to the backlog of our own bugs).
T3 wave 1 (Ultracode, 14 agents, 1.20M tok) — 14/14 match_one MATCH → 8/14 BANKED; the gate's propagation TIMEOUT left the fleet half-written (caught, reverted, tool fixed)
The wave: 14 fresh reach-138 cores in ov_SC01_077 (117,162 gain-ins in play), one agent each,
drafting against the §31 map + cookbook with match_one/rtu_match self-verification. All 14
returned closeness 0, most cross-verified in the real TU. Whole-binary gate (the arbiter,
§52b): 8 banked — func_80175820 (×276!) · func_8012E014 · func_80133298 · func_8015FBE0 ·
func_8016E9EC · func_80151C54 · func_8012F49C · func_80151B98. Bank truth derived from
source (INCLUDE_ASM presence), never the gate report (§55b trap 4). 57% conversion = the §52b law
holding exactly; the 6 rejects are all declaration/integration work their agents had already named.
THE INCIDENT (recorded, not buried). gate_stage hardcoded timeout=3600 on
dedup_propagate. Ample for one bank; with EIGHT (each rewriting ~138 overlays) it blew, and
TimeoutExpired propagated out and killed the driver mid-write: 313 files modified
(alphabetically ov_SC01_000..ov_SC03_013 — it died partway through the fleet),
config/dedup.us.yaml never updated, engine_core.h half-edited. check-all 124/140.
Caught by running the oracle before trusting the state; git checkout -- src/ reverted all of
it (§61 — and note a KILLED process performs no undo at all, so the driver's own restore logic
was never reached). Nothing was committed at any point; zero contamination.
Fix shipped: timeout now SCALES with bank count (1800 + 1800×banks, capped 6h) AND is
CAUGHT — on expiry the driver reports TREE DIRTY, REVERT REQUIRED and returns cleanly instead of
dying with the fleet open. Recovery path (also the new standing practice for multi-bank waves):
re-gate --no-propagate, then propagate PER FUNCTION via dedup_propagate --addr — bounded,
resumable, verifiable between steps — rather than one monolithic fleet write.
Three byte-grounded idioms to distill (R16/R30, owed): (1) void→s32 return is NOT
byte-neutral — an s32 return keeps $v0 live-out and stops dbr stealing an addiu into the
loop-back delay slot; this CORRECTS cookbook §3a-1's neutrality claim (func_8016EC0C).
(2) The asm-label alias extern s32 SYM_w __asm__("SYM") — reads a u8-declared shared global
as a word WITHOUT *(s32*)&SYM, which force_regs the address and drags 3 extra la pseudos across
calls; found independently by two agents; a general unblock for the u8-vs-s32 loose-typing
collisions (func_8012E014, func_80133298). (3) Zero-byte __asm__("") as a delay-slot
fence — reorg.c stop_search_p halts the eager filler on an asm insn (func_8015FBE0).
T1a ✅ — the deterministic recovery sweep: +18 banked; the stored-draft question CLOSED (report point #2)
Population: the 108 fresh autopsy-MATCH strandeds (+ the 012 abort re-run, 0/3) across 50 binaries,
47 min, 17 driver commits. Metric truth (R14, derived): fn-count +18 instances / distinct +12
unique fns (commit messages summed 19 — gate-report double-list; the metric wins). R22
clean-fleet 140/140 after the sweep + residue revert. Fleet: 87.5 / 78.0 / 92.00 (+384 w-ins).
The honest read: the S16 "39%" prior did NOT generalize — it was measured on FRESH same-wave
drafts; this stored-backlog population is the class decision-log A10 already byte-proved
non-bankable by plain re-gate (0/958). The driver's reconcile/demacroize lifted 18 of ~111
(≈16%) over A10's 0% — a real but bounded delta. The stored-draft recovery question is now
CLOSED both ways: cheap wins taken; the ~90 not-banked stay match_one-MATCH but their drafts are
integration-decayed — they route to T3's REDRAFT lanes (A10's "fresh re-drafts only"), not another
recovery pass. §61 residue class found + reverted (2 orphan carve .c + overlays.mk/yaml edits from
FAILED jr attempts). Two live gaps for T3 pre-work: (1) gate_stage --commit add-scope cannot
stage NEW carve files / overlays.mk / yaml — moot at 0 jr banks here, live the moment a T3 wave
banks a jr fn through it; (2) my own checkpoint edit mid-sweep tripped the driver's blast-radius
assert (012's abort) — tracked-file writes and a tree-writing campaign cannot share a repo; queue
docs until the campaign exits.
T2 finding 2 — the Arm-A reproduction target has MOVED: the fleet is jr-carved now (2026-07-30)
rollout_o0_cluster.py ov_SC07_007 → SKIP ("cluster fns not in base .c"): since Arm A (07-16),
the P29 jr campaign carved every overlay (007 now: 16 _jr_*.c splits) and the -O0 range
(0x8013B568..) sits INSIDE <ov>_jr_80135D20.c (23 stubs there in 007). The Arm-A tool's
single-file premise is stale fleet-wide — the rollout is now the predicted carve-within-a-carve:
sub-split _jr_80135D20.c (pre / o0 / post) per overlay + the Makefile -O0 wildcard for the new
class + the +0x20 shift-diff at the NEW seam. Next concrete steps (deep arc, next session's opener):
(1) extend the carve tool to sub-split jr files; (2) probe on ov_SC07_007 (zero T1a collision;
baseline %lo/%hi inventory saved: .run/t2_007_baseline_syms.txt, 951 operands); (3) on shift:
diff the generated asm symbol inventory → pin the drifted D_ symbols at pre-carve addresses in
the overlay symbol file → re-extract → per-binary sha (the config-only fix hypothesis); (4) the
R31 whale-shape hypothesis (no INCLUDE_ASM in the -O0 split) as fallback. ov_SC07_010's carve is
still in-tree + byte-neutral (the Arm-A keeper) — the 010-vs-007 asm diff is a free shift oracle.
T2 ▶ driver generalized; ×1 probe REFUTED the append route for the remaining cluster (2026-07-30)
tools/rollout_o0.py (generalizes T85's rollout_801457a4_o0.py): map-derived members
(cross-address-safe), stub located in any non-_o0 split, jr+o0 composites routed out loudly,
atomic two-file + per-binary SHA gate + restore-both. ×1 probe (0x8013b6a0@ov_SC01_000):
gate-reject — and the diagnosis corrects the frontier report (R14 on my own doc): T85's family
banked by APPEND because 0x801457A4 abuts the o0b object's END; the remaining 18 families
(0x8013Bxxx–0x8013Cxxx, below the whale) mis-place on append by construction, and per-fn
isolation IS the Arm-A re-carve. o0b-bearing ≠ o0b-adjacent — my "the wall never has to fall"
inference was wrong; caught at 1 build instead of 2,131. T2's real substance = the Arm-A +0x20
defect. First probe: identify WHICH symbol shifts on a failing overlay's re-carve; hypothesis:
splat re-GUESSES a data-symbol boundary the carve moves → pin it in config symbols and re-probe.
T0.5 ▶ launched + probed (2026-07-30)
tools/prefetch_fleet.py (committed commit:1220): 126 programs / 7,966 uncached representatives.
Probe 1 (main): +1,525/2,002 cached in <1 min — the decompile leg is CHEAP; 477 main addrs
have no defined function in the program (main's 06-14 auto-analysis gap) → follow-up: a
DefineFunctions.java completion pass over main from splat entries (the Phase-10 mechanism), then
re-run (resumable). Probe 2 (import leg): FAILED then FIXED — my missing-program matcher
checked "not exist"/"NOT_FOUND"; Ghidra's actual phrase is "Requested project program file(s)
not found" → the self-healing import never fired (+0/371, +0/315). One-line trigger broadening;
re-probe running. T1a (deterministic recovery sweep, 108 fns / 50 binaries, driver-committed banks,
no-propagate — reach≥2 winners ride T3 Lane A) launched concurrently; commit-scope interaction
VERIFIED safe (driver delegates to gate_stage's scoped git add -u src/ — ghidra/ churn cannot
leak into bank commits).
T0(e2)+(f) ✅ — autopsy refreshed; frontier regenerated + the three populations PINNED (2026-07-30)
- Autopsy (
collect -j12+report): 1,349 rows — 1,178 near / 63 nobuild / 108 match_one-MATCH (T1's stranded-draft fuel, 3× the S16 sample), 0 classifier errors, second-oracle agree.docs/autopsy.mdregenerated. - Worklist/manifest regen: 101 live stubs / 261,789 gain-ins (stale 160/583k gone); R14 checks inside the manifest: 28/28 giants verified reach-138.
- THE
-O0PIN (headline): 18 families / 2,192 open members — 2,131 o0b-route-eligible / 61 SC07-no-o0b; 15/18 exemplar-matched. The "WALLED ~1,287" framing dissolves: the bulk never needs the Arm-A splat fix — T2 = generalize the provenrollout_801457a4_o0.py(130/130). Composites flagged:0x8013c414/0x8013c0f8are jr+o0 (carve inside the o0b TU — probe ×1 first). - Zero-crack roster: 114 families / 3,166 open members / ~204k weighted ins (28 substantial); its head IS the -O0 set (T2 and Lane A open together).
- Concentration: top-20 = 24.0% / top-100 = 44.8% of open family weight (head consumed vs S13's 53% — expected post-campaign flattening).
- Report point #1:
docs/frontier-p30.md(all numbers same-tree at one HEAD, post-repair — R35).
T0(e) — part 1 ✅: the 21-file absolute-include defect fixed (2026-07-30)
All 21 carriers were jr-carve split files including engine_types.h by absolute path
(/home/musashi/bfm-decomp/..., some twice); swapped to the house-relative
#include "../shared/engine_types.h". grep -rln /home/musashi src/ include/ → 0.
R22 clean-fleet from a genuinely clean tree: 140 passed, 0 failed of 140. Part 2 (autopsy
refresh) next.
T0(d) ✅ — backlog ledger: already clean; the scanner deleted (R33) (2026-07-30)
Findings, byte-verified: (1) the still-a-stub filter already existed (load_best drop +
prune, built 07-24) and the tracked jsonl was already compacted — the tree's pre-existing
uncommitted .run/backlog.jsonl edit was late-S25's un-committed prune output; prune today:
1350 → 1350, dropped 0. (2) The stale rows I'd flagged (func_80151944 etc.) live in worklist.md
(regen at T0(f)), not backlog. (3) _open_stubs (private regex) vs corpus.stubs (the oracle):
0 divergence across all 131 ledger binaries — after fixing MY probe, which compared names
against int vram addrs (R35 pointed at my own instrument). Hardening: _open_stubs now derives
from corpus.stubs (STUB_RE deleted — R33's "best outcome is a deleted scanner"); hex-case
canonicalized on both sides of the membership test (a lower-hex record can't silently drop, R32);
count parity proven post-change (load_best 1350 == 1350). §83's doctrinal caveat (backlog ≠ work
queue; worklist is the queue) STANDS — that's classification quality, not staleness.
T0(c) ✅ — family_hseq↔progress gap: ZERO definitional gap; stamped against recurrence (2026-07-30)
Same-tree regeneration of BOTH digests: family_hseq (overlays) 27,248 instances == progress fleet
stubs 28,296 − main 1,034 − resident 14 = 27,248 — EXACT. The carried "29,961 vs 28,296" was a
cross-date, cross-scope misread: the 07-29 map snapshot was SESSION-25's open state, and
29,961 − 27,248 = 2,713 = exactly the session's banked total. The tools were never in
disagreement — both already derive from corpus.stubs (the Phase 26-A conversion, family_hseq:42).
Hardening: the family-hseq digest header now stamps scope ("138 OVERLAYS only") + generation
HEAD + the shared-oracle note ("compare digests only at the same HEAD") — a stale or
scope-mismatched comparison is now self-announcing. Roadmap v2 D-bucket corrected.
Fresh frontier readings from the regen (full pinning still at T0(f)): 478 substantial families /
678,404 templatable ins · 28 zero-crack (was 61 on 07-29 — S25 consumed 33) · 3,626 PURE / 40
IMM / 6 STRUCT · overlays 27,248 instances / 17,629 distinct / 1,587,311 ins.
T0(b) ✅ — rtu_match surfaces the real cc1 error in the verdict (2026-07-30)
_diagnostics() filter (the SESSION-25 recipe, in-tool): drop warning:/In function/At top level/###/blank lines from the failing stage's stderr and print the FIRST 15 survivors — gcc-2.7.2
hard errors carry no error: prefix and the old [-2000:] tail was all warnings. Raw-tail fallback
if the filter empties (ICE/signal formats) — never prints less than before. Applied to all four
stages (CPP/CC1/MASPSX/AS). Verified on a real deliberate CC1 failure: the verdict now leads with
t.c:3116: 'nonexistent_var' undeclared instead of a 2 KB warning tail. --stderr-out unchanged
(full dump). Docstring updated.
T0(a) ✅ — gate_stage stage-0 + fix_arity_callers journal undo (2026-07-30)
The carried defect pair closed structurally, not by root-causing:
gate_stage.py: stage 0 gates the RAW drafts before any transform (GATE_NO_STAGE0to disable) — the destroyed-good-draft mode (SESSION-22 reproduction:_o0pair +func_80138C60, ladder-FAILED / bare-VERIFIED) is now impossible by construction; the canon/cast/rc ladder + arity pre-pass run only on stage-0 failures. Root-cause hypothesis recorded in-code (transforms are batch---src-fileTU-blind where the gate is per-draft TU-aware) — open, now harmless.fix_arity_callers.py:--journal(per-edit literal before/after) +--undo-journal [--keep <banked>]— the exact undo now lives in the WRITER, shared by ladder AND bare workflows (the 17-TU residue class). Replaces gate_stage's two-special-case file snapshot; undo moved to after stage 2 (closes the latent stage-2 parity gap: a stage-2 bank used to lose its arity edit before its own gate attempt). Stale-journal guard (_arity_rc is not None).- Verification: negative control apply→undo → byte-identical tree;
--keepretains exactly the kept edit; in-process flow test.run/t0a_flowtest/driver.py7/7 PASS (stage-0-first, s1in = failures-only, accumulation, undo-guard, src/ untouched). Real-tree at-scale proof lands with T1's first sweep (R22-bracketed there). Cookbook §122.