Commit Graph

894 Commits

Author SHA1 Message Date
Drew T 9c96b47ce0 docs(phase-31): S68 progress — whale carve (6 fns/2,547 ins), the main-layout bug class, gater hardening 2026-08-31 16:46:57 -06:00
Drew T ed53a68f18 feat(p31 s68): deferred propagation done honestly (2 banked) + seed_ref was offering DEAD TEXT
The S67 FINAL-3 OPEN item, plus the two defects found while doing it.

* fix(dedup_propagate): the tool could not run AT ALL. S67's -j patch wrote
  `os.environ` at module level in the one module that imports `os as _os`, so
  every invocation died with NameError before doing any work. Propagation was
  not deferred, it was impossible. Import-checked the other 7 -j-patched tools.

* propagation, honestly scoped: the real closable set is 11, not 32, derived two
  independent ways that agree (seed_ref exact+same_addr, and a direct corpus
  derivation). The 3,161-entry --auto-from plan over 53 overlays is dedup
  hygiene over already-matched code and closes almost no open stub.
  Applied: 2 banked byte-green (ov_SC04_018 func_80181270, func_80182AF8);
  3 gate-refused and cleanly reverted; 6 blocked with named blockers
  (3 CARRY-FIXABLE, 3 func_80144B9C not-inline-def -> needs the o0 whale carve).
  R22 clean fleet: extract 212/212, check 213 passed 0 failed of 213, rc 0/0/0.
  Frontier 453 -> 451.

* fix(seed_ref): REFUSE targets in LINKED subsegs. The playbook calls this tool
  "the fleet-wide answer" and it reported 82 open stubs with a banked twin --
  43 of them main stubs whose TUs the linker script never references. Any C
  written there compiles, links and leaves the SHA1 green WHETHER OR NOT IT IS
  CORRECT, so a mechanical twin lane fed from that list could have minted up to
  43 gate-green FALSE matches the byte gate cannot see. draw_waves has refused
  these since S66; this oracle did not. The refusal is counted and printed, not
  silent. NC: guarded 39 subset of raw 82, all 43 dropped are main, the non-main
  population is identical.

* wave drawn: .run/S68o1 (24 opus 187-770 ins) + .run/S68m1 (30 main), cards +
  packs + wave_args asserted, queue of 53. Drafting opened at concurrency 5.
2026-08-31 15:59:01 -06:00
Drew T 746a7cf656 docs(phase-31): S67 FINAL-3 — 77 closed (530 -> 453), fleet 213/213, jtbl parallelised (both halves), propagation deferred 2026-08-31 15:23:25 -06:00
Drew T b8a4eae41a docs(phase-31): S67 FINAL-2 — 29 closed (530 -> 501), fleet 213/213, wave 20/20 MATCH, gate_wave.py replaces the serial loop 2026-08-31 12:48:46 -06:00
Drew T b2256e3700 docs(phase-31): S67 FINAL checkpoint — 4 closed (530 -> 526), fleet 213/213, propagation found unverified 2026-08-31 09:45:55 -06:00
Drew T b4d8f06363 docs(phase-31): S66 FINAL checkpoint — 416 fns closed (946 -> 530), fleet 213/213, 99.2% weighted
Written after the last harvest, per the rule that the checkpoint is always last. Supersedes the
interim S66 block. Machine quiesced, tree clean at commit:3350.

Leads with the three things a fresh session must not re-learn: main is ~94 open not 1,099 (and
drafting into a LINKED subseg would gate GREEN while wrong); the family era is over so integration
is the whole game (147 of 591 open fns already had byte-correct drafts stranded on four blockers);
and 'independent' means a different INSTRUMENT — two refusals from parallel_gate were one instrument
twice, after which the serial gate banked 16/32 of that class.

Also records that ~56 of the 416 banks came from ZERO drafting agents, purely from work already on
disk, and Drew's binding harvest-then-toolify-before-the-next-wave rule.
2026-08-31 00:01:43 -06:00
Drew T 3a2533c602 docs(phase-31): S66 checkpoint — 390 fns closed (946 -> 556), fleet 213/213, 99.2% weighted
Written for a fresh session. Headlines: main is ~100 open not 1,099 (960 stubs are LINKED dead text,
and drafting into them would gate GREEN while wrong); families are spent (84-93% singletons, twin
pool dry); integration is now the whole game (147 of 591 open fns already had byte-correct drafts
stranded on four blockers). Records Drew's binding rule — harvest, then toolify, BEFORE the next
wave — and the F18 retraction: two refusals from parallel_gate were one instrument twice, not two
independent tests; the serial gate then banked 16/32 of that class.
2026-08-30 22:34:34 -06:00
Drew T a9dd3518d8 docs(phase-31): point a fresh session at the LAST checkpoint block
CURRENT_PHASE.md now holds 27 checkpoint blocks and several older ones say 'supersedes every earlier
block' — true when written, false now. The S64 FINAL block sits ~370 lines above the live S65 FINAL-4
one and makes the same claim, so a fresh session reading top-down could anchor on a state the tree has
moved past by 647 banked functions. Banner at the top states the rule: the LAST block is the live one.
2026-08-29 20:50:55 -06:00
Drew T 130c000b59 docs(phase-31): S65 FINAL-4 fresh-session checkpoint — written AFTER the harvest (the rule I broke earlier); 647 closed / 213-213 green, the tier map, the loop, the 69-item recovery queue, 7 tool fixes, the two wave-closing steps I skipped all session 2026-08-29 20:44:39 -06:00
Drew T b519fd0d6f docs(phase-31): S65 FINAL-3 — 647 stubs closed (44% of the overlay frontier), the TIER MAP (twin-remap drained; leveraged reps mint but bank at 40%; cheap singletons bank at 98% and mint nothing), parallel_gate + twin_sweep, 7 tool fixes, my errors fully accounted 2026-08-29 20:10:58 -06:00
Drew T 1ef355d38d docs(phase-31): S65 FINAL-2 checkpoint — 562 stubs closed (39% of the overlay frontier), the twin-enumeration finding that re-opens the family lever at h_exact/h_norm, parallel_gate at 10.4x, 6 tool fixes, my own -P4 corruption + the monitoring lessons 2026-08-29 19:01:08 -06:00
Drew T f84e8272ef docs(phase-31): S65 FINAL checkpoint — 42 banked (t5s 24 + t5t 13 + 5 recovery), 213/213 green, 5 tool defects fixed, the 1x15 cap, my own -P4 corruption + repair, the distill's 2-of-3 refutation, next-4-steps 2026-08-29 16:11:51 -06:00
Drew T d50cd66401 docs(phase-31): S65 checkpoint — 27 banked (t5s 24 + 3 recovery), 4 tool defects fixed with negative controls, the 1x15 wave cap, the JTBL_PADS class, next-4-steps 2026-08-29 13:43:27 -06:00
Drew T 18812211ca docs(phase-31): S64 FINAL CHECKPOINT for a fresh session — fleet 1,616 stubs / 213-213 GREEN / 98.8%-97.4%, the committed recipe, next-4-steps, 258 K+L remaining, T6 wall ledger with 21 diagnosed residues, standing hazards + rule candidates (P31 S64) 2026-08-29 11:52:19 -06:00
Drew T a51c0785cf docs(phase-31): S64 results — 11 waves, 2,380->1,616 stubs across S63+S64 (764 closed), 98.8%/97.4%; the R14 self-correction on func_8017BEBC; fix_decl_mirror's honest 0-of-17 verdict + its R39 saves; killed-gate adjudication 2026-08-29 11:51:45 -06:00
Drew T f25b890480 docs(phase-31): S63 FINAL checkpoint — 412 stubs closed (2,380->1,968), 98.6%/97.1%, 213/213 GREEN, cookbook 917; t5j pre-packed for resume; 5 proven findings + 2 rule candidates; machine quiesced for reboot 2026-08-27 11:32:45 -06:00
Drew T 963519799d docs(phase-31): S63 SESSION CHECKPOINT — fleet 2,068 stubs / 213-213 GREEN, the committed wave recipe, 690 K+L remaining, next-step order (P31 S63) 2026-08-27 09:44:58 -06:00
Drew T bd472c5fc9 docs(phase-31): S63 T5.6 results — 312 stubs closed (2,380->2,068), fleet 213/213 after every batch, 98.6%/97.1%; falsifier dead 6x; residue-on-Opus proven; A-prop lane DRAINING (23->3 on more exemplars); card (binary,fn) defect + fixes; rule candidates 2026-08-27 09:44:26 -06:00
Drew T 01d60955c7 docs(phase-31): S63 T5.5/T5.6 — t5a distill (§164-55 addendum, 913 sections); wave t5d 42/48; 5 of 6 misses were INTEGRATION not codegen; residue-on-Opus 4/4 2026-08-26 21:13:42 -06:00
Drew T 99ae0afe17 docs(phase-31): S63 T5.2/T5.3 — lane G 23 banked free; wave t5a 43/48 (89.6%) incl. 2 recovered; the (binary,fn) card defect measured at 48/48 and fixed; falsifier cleared 6x 2026-08-26 20:21:07 -06:00
Drew T f8cc4c77d3 feat(tools): T5 wave draw/bank halves — t5_targets.py (routed, ledgered, band-stratified draw) + t5_bank.sh (judge → R22 sweep → commit); claude_wave_draft.js generalized; packs/judge refuse duplicate fn names (R43/R48); sweep #8 213/213 (P31 S63 T5.1) 2026-08-26 19:35:54 -06:00
Drew T 20e7005855 docs(phase-31): S62 FINAL checkpoint — no-DeepSeek decision, T5 first-wave recipe on the promoted harness, residue ledger, rule candidates 2026-08-26 19:18:23 -06:00
Drew T 44f062a978 docs(phase-31): S62 checkpoint refresh at the T4/T5 boundary 2026-08-26 18:32:51 -06:00
Drew T 194cce7570 docs(phase-31): T4 DONE — routing rule (<=50: Sonnet+DeepSeek parallel, Opus residue; 51-120: Sonnet, Opus escalation; >120: Opus; haiku retired; M-extend-tell -> wall); frontier-s61 Addendum 5; judge artifacts (P31 S62) 2026-08-26 18:32:51 -06:00
Drew T 02c5d757c2 docs(phase-31): T4 Claude-arm table (haiku 8 / sonnet 14 / opus 17 of 20 at the whole-binary gate), the warm-start homonym confound, distill yield (P31 S62) 2026-08-26 18:14:48 -06:00
Drew T 1392bf6c93 docs(phase-31): checkpoint — fleet sweep #7 213/213 GREEN at T3 close 2026-08-26 16:02:20 -06:00
Drew T e8549eaf10 docs(phase-31): S62 session checkpoint — T0–T3+T5pre done, paused at the R27 gate for T4 2026-08-26 16:00:43 -06:00
Drew T 16d1d01b56 docs(phase-31): T3 log (75 banks; six carve-lane defect classes fixed; residue named) + frontier-s61 Addendum 4 (P31 S62) 2026-08-26 15:57:18 -06:00
Drew T dfd42d4586 docs: cookbook §304 (self-defining rodata) + T3 log incl. fleet sweep #3 = 213/213 (P31 S62) 2026-08-26 14:56:06 -06:00
Drew T df8f369eea fix(tools): jtbl_rodata_pads --derive — empty spec when the TU has no C tables (never refuses what it need not pad), sub-4-byte all-zero gaps before an anchor accepted as assembler alignment, .float/.double sized; 70/70 module binaries byte-identical through the derive stage; T3a log (P31 S62) 2026-08-26 14:50:12 -06:00
Drew T d718cecf9d docs(phase-31): S62 log — clean fleet sweep found 6 hidden failures (5 healed, md_SC07_003 re-measured); R60 candidate (carve-state files); SETUP: interleave_check --fix 2026-08-26 14:35:06 -06:00
Drew T b3e879a95e feat(decomp): ov_SC04_018 — 18 resolver-held drafts banked after the T2d surgery; re-verified byte-identical from a clean rebuild; T2d/T2e log — red list EMPTY (P31 S62) 2026-08-26 14:28:24 -06:00
Drew T 48a42b9ed3 feat(decomp): ov_SC06_022 — 9 resolver-held drafts banked after the T2c surgery; re-verified byte-identical from a clean rebuild; T2c log (P31 S62) 2026-08-26 14:21:24 -06:00
Drew T 0060dfd976 feat(decomp): ov_SC03_024 — 4 resolver-held drafts banked after the T2b surgery (func_8017D890, func_801812C4, func_801826E8, func_801848F4); re-verified byte-identical from a clean rebuild; T2b log (P31 S62) 2026-08-26 14:14:39 -06:00
Drew T c50e9578ba feat(decomp): ov_SC03_015 — 7 resolver-held drafts banked after the T2a surgery (func_8017C104, func_8017D890, func_8017DCC0, func_80180638, func_80180CF8, func_80188FB4, func_801893BC); gate-time §8a carve (yaml+mk) re-verified byte-identical from a clean rebuild; T2a log (P31 S62) 2026-08-26 14:11:20 -06:00
Drew T 3a5caa65b1 feat(tools)+docs(phase-31): T1 — resolver declfix wiring; masked_diff/rtu_match compare internal-j targets (jrel; §195 premise refuted, cookbook §301); diff_autopsy.sh + stub_invariant_audit.py promoted; frontier-s61 Addendum 2 (step-1 falsifier fired: 54 carve-refused, 2 DIFF autopsied+banked, 1 plumbing); S62 log 2026-08-26 14:04:54 -06:00
Drew T d79cee5f9c docs(phase-31): handoff item 2 done — cookbook distill committed, planner notified 2026-08-26 12:52:28 -06:00
Drew T c94fbe0d17 docs(phase-31): handoff item 1 done — frontier doc verified and committed 2026-08-26 12:45:16 -06:00
Drew T fa475da0f8 docs(phase-31): S61 FINAL-2 checkpoint — machine quiesced, 401+ banked today, ox era closed, budget-unconstrained finish directive recorded, two closing agents' handoff protocol for the fresh session 2026-08-26 12:31:35 -06:00
Drew T 5c4d090537 docs(phase-31): DeepSeek push paused by the key's $60 lifetime cap at $60.21 (account credit remains); resume script staged; theories corrected (R40) 2026-08-26 10:31:01 -06:00
Drew T 3fce1c76e8 docs(phase-31): ov_SC02_005 verdict — two stacked defects (older extract rot + the 05:38 shift); 5 byte-checked attempts, stable at HEAD, day-session surgery; attribution corrected (R40) 2026-08-26 09:44:04 -06:00
Drew T b46fc5488b docs(phase-31): morning red-set verification — 5 verified (4 known + ov_SC02_005 fresh drift); ov_SC05_010 self-healed by the maintenance lane 2026-08-26 09:34:52 -06:00
Drew T 04e685e8dc docs(phase-31): correction — true morning fleet numbers 98.4% iw / 96.6% dc / 2,540 stubs (the earlier line quoted a stale file; --fleet was required) 2026-08-26 09:06:46 -06:00
Drew T 96847afcf0 docs(phase-31): S61 overnight close — 378+ net stubs; gen0 goal beaten (392/421 drafted, 196 banked); ox window closed 07:55; fleet regenerated 2026-08-26 09:05:05 -06:00
Drew T 7fd61c8060 docs(phase-31): THE OX WINDOW CLOSED 07:55 — gen0 goal beaten before the door: overlays 196/196, main 196/225 drafted; remaining value is pre-paid drafts + zero-token lanes 2026-08-26 07:58:34 -06:00
Drew T 3b42747491 docs(phase-31): CORRECTION — ABCD judge had an R53 false-green hole; corrected table 8k 6 · 16k 7 · 24k 5 · 32k 3 (ordering stands, winner flips by one fn); fleet_red.txt reconciled 2026-08-26 03:09:14 -06:00
Drew T 80aad51098 docs(phase-31): S61-6 ABCD verdict — 8k/16k 10/10 beat 24k/32k 8/10; overlays sweep at MAXTOK=8000; gen0 sweep launched 2026-08-26 03:06:32 -06:00
Drew T daecc94ef0 docs(phase-31): S61 FINAL checkpoint — wave machine measured finished (17/~5,000 pre-paid), inversion closed NO (0/92 clean), residual classes named, 4 REDs documented, record corrections logged 2026-08-26 01:07:51 -06:00
Drew T eb132b719a docs(phase-31): S61 interim checkpoint + cookbook §293 (the sibling law decomposed: the baseline, not the siblings) + decision-log entries + accelerator #12
R30/R31 capture while hot: the resolver pivot (63 zero-token banks of 245 staged of 424 judged of
1,352 nominated), the RED-fleet finding (15/214 baseline-RED refusing 174/182 doubly-verified
drafts), the three byte-proven repairs so far, and rule candidates R56–R58.
2026-08-26 00:32:08 -06:00
Drew T 605a4b77c8 docs(phase-31): record the 8k-vs-16k question as UNRESOLVED, with the A/B that settles it
Drew asked whether waves cracked better before MAXTOK went 8000 -> 16000. Recording both halves
of the answer so next session does not relitigate it from memory:

CLEAN: raising to 16k did cause a real regression — draft completion 84-89% (8k) -> 41% on wave
bt, 69% on bu — but the cause was a harness interaction, not the model. A 16k generation runs
~530 s at ~30 tok/s while STRAGGLER_GRACE was 120 s, so agents were cut off mid-thought with no
draft. Grace at 700 s fixed it; completion has run 97-99% since.

CONFOUNDED: on banks per draft the 8k era looks better (S59: 1,335 of 2,996 = 44.6%; today's best
16k waves dd 34.7%, de 29.7%) — but the populations differ completely. 8k waves had never-drafted
work; today's draw from skeletons that refused six times. Budget and exhaustion moved together, so
neither figure isolates the other. Neither should be cited as evidence about the budget.

AGAINST the simple story: truncated-turn rate is INVERSELY correlated with bank rate (cx 8.7%
trunc/43.9% bank, dd 8.3%/51.4% vs dl 1.3%/0.5%, ej 0.6%/0%). Budget exhaustion driving the
decline would produce the opposite relationship.

THE A/B: split ONE wave's card pool — half the shards at 8k, half at 16k, same generation mix,
same binaries, same gate, same tree, grace 700 s in both arms. Compare banks per DRAFT and per
GATE MINUTE. Holding the population constant is the whole point; every historical comparison
fails exactly there. If 8k matches 16k, the cheaper budget also buys more agents per unit time.
2026-08-25 23:01:53 -06:00