Commit Graph

407 Commits

Author SHA1 Message Date
Drew T 8e8521da22 fix+docs: make every consumer aware of main's new TU layout (R36)
The split created two new TUs and a shared header; four consumers still described main's
game code as one file:

* tools/reconcile_slate.py — HARDCODED open('src/800.c'), so after the split it saw a
  THIRD of main's typedefs while reporting success (silently-narrowed scope, R32).
  Measured: 133 visible before the fix, 187 after, 0 lost. Now globs
  corpus.src_files('main') + src/800_shared.h, so a future split is already handled.
* docs/wave-playbook.md 1c — still said spans B/C/D were NOT drawable and that drawing
  one is an R45 violation. That is now false and would have STOPPED a future session
  from drawing the very targets this work unlocked.
* cookbook §426 — its 'the remaining spans need src/800.c split' paragraph now records
  that it was done the same session, and points at §431 for the method.
* config/dedup.us.yaml + src/shared/clearTbl40.h — both said dedup group I0 is
  instantiated 'at both sites in src/800.c'; both sites are above 0x80035270 and are now
  in src/800_c.c.

Byte-neutral: dedup.us.yaml parses, gate_main --assert-baseline BYTE-IDENTICAL.
SETUP.md gains a row describing the layout and the rule it implies: never hardcode
src/800.c, glob corpus.src_files('main').
2026-09-02 13:48:00 -06:00
Drew T cb7a28551c chore(integration): §378 chain applied to 25 fresh closeness-0 candidates (pre-gate) 2026-09-01 03:57:19 -06:00
Drew T c6f6f668ba feat(decomp): main/func_80036D58 — the narrow-param decl-sync completes the §378 chain
A no-proto decl is ILLEGAL against a definition whose parameter is affected by
the default argument promotions (s16 here): C89 requires the parameter types be
promotion-stable when one declaration has no prototype. So fix_arity_callers'
--any-proto cannot reach this case (it skips it as 'narrow-param').

With the call sites already cast (§378) the decls emit no code, so syncing them
to the draft's exact signature is byte-neutral: 3 decls in src/800.c rewritten to
extern void func_80036D58(s16). Byte-identical, main.
2026-08-31 23:51:19 -06:00
Drew T 6cca1e3ea0 feat(decomp): main in-tree gate — 0 fn(s) 2026-08-31 23:00:25 -06:00
Drew T 96f4e0ed5d feat(decomp): S67-wave-jtbl gate — +1 fns x2 propagated (fleet 99.2%) 2026-08-31 12:23:50 -06:00
Drew T 4ced908c08 feat(decomp): S67-wave gate — +1 fns x7 propagated (fleet 99.2%) 2026-08-31 11:25:39 -06:00
Drew T e23492e3bc feat(decomp): S67-wave gate — +1 fns x6 propagated (fleet 99.2%) 2026-08-31 11:22:50 -06:00
Drew T 098cb932ef feat(decomp): S67-wave gate — +2 fns x0 propagated (fleet 99.2%) 2026-08-31 11:20:02 -06:00
Drew T 274057d132 feat(decomp): S67-wave gate — +2 fns x8 propagated (fleet 99.2%) 2026-08-31 10:34:40 -06:00
Drew T 257b9d8a3b feat(decomp): S67-wave gate — +2 fns x1 propagated (fleet 99.2%) 2026-08-31 10:31:15 -06:00
Drew T 9dfc91ba6d feat(decomp): S67-wave gate — +1 fns x1 propagated (fleet 99.2%) 2026-08-31 10:22:41 -06:00
Drew T 1c21f0a1e2 feat(decomp): S67-cc1 gate — +1 fns x3 propagated (fleet 99.2%) 2026-08-31 04:10:27 -06:00
Drew T 29cb504546 feat(decomp): S67-cc1 gate — +1 fns x4 propagated (fleet 99.2%) 2026-08-31 03:53:22 -06:00
Drew T 4daf41702a feat(decomp): S67-cc1 gate — +1 fns x19 propagated (fleet 99.2%) 2026-08-31 03:40:23 -06:00
Drew T 91197e1b51 feat(decomp): S67-cc1 gate — +1 fns x2 propagated (fleet 99.2%) 2026-08-31 02:02:48 -06:00
Drew T f2026bbfc8 feat(decomp): family-remap-hnorm gate — +9 fns x0 propagated (fleet 98.8%) 2026-08-29 17:33:18 -06:00
Drew T 422bc3b50d feat(decomp): family-remap gate — +23 fns x0 propagated (fleet 98.8%) 2026-08-29 17:04:19 -06:00
Drew T cbd89e1924 feat(decomp): t6-recover gate — +1 fns x0 propagated (fleet 98.8%) 2026-08-29 13:21:46 -06:00
Drew T dcbe05cabe refactor(types): lift Block4, Blk4_E960, Rec80182744, MATRIX_80188114, D80190448_t into src/shared/engine_types.h (lift_types --apply; 12 local defs stripped, the divergent Block4 in ov_SC02_011 kept local) — the naming types jr_isolate_all could not carry for 10 staged drafts; fleet clean sweep 213/213 (P31 S62 T3) 2026-08-26 15:25:58 -06:00
Drew T ca5fd2e225 feat(decomp): ox wave di overlays — 81 banked
Committed before the main batch: gate_main reverts on failure and would take these with it.
2026-08-25 12:13:33 -06:00
Drew T 82b4cd5b55 feat(decomp): ox wave ch overlays — 88 banked
Committed before the main batch: gate_main reverts on failure and would take these with it.
2026-08-25 02:36:04 -06:00
Drew T 488e009bd1 feat(decomp): ox wave cd overlays — 18 banked
Committed before the main batch: gate_main reverts on failure and would take these with it.
2026-08-24 23:00:38 -06:00
Drew T cbce26e272 feat(decomp): A-prop lane S59 sweep 1 — 38 banked of 80 staged, zero model tokens
The population that banked 0/117 on three consecutive passes banks 38/80 with
the S59 fixes, attributed against the 21:04 baseline classes:
  29  the closeness-2 ordinal cluster (value/offset swap -> candidate pairing
      adjudicated by match_one at draft time)
   4  the near-0 TU-integration class (K&R definitions + the arity pre-pass;
      func_80162CCC x3 overlays among them — 42 engine_core.h caller decls
      kept no-proto for the banked set, byte-neutral for empty calls)
   5  drafts the old pipeline refused or mis-staged
Every bank is whole-binary SHA-verified by gate_stage/harvest_verify (G3/P9).
2026-08-24 22:42:53 -06:00
Drew T 1cbe3004f8 feat(decomp): ox wave bt overlays — 44 banked
Committed before the main batch: gate_main reverts on failure and would take these with it.
2026-08-24 17:31:22 -06:00
Drew T c0466cb171 feat(decomp): free A-prop sibling lane (maintenance pass) — zero model tokens 2026-08-24 08:29:45 -06:00
Drew T 7f70a9f42f feat(decomp): ox wave ba overlays — 287 banked
Committed before the main batch: gate_main reverts on failure and would take these with it.
2026-08-24 07:28:26 -06:00
Drew T 01c152c985 feat(decomp): ox wave au overlays — 37 banked
Committed before the main batch: gate_main reverts on failure and would take these with it.
2026-08-24 04:18:21 -06:00
Drew T a13fd38ee1 feat(decomp): ox wave an overlays — 421 banked
Committed before the main batch: gate_main reverts on failure and would take these with it.
2026-08-23 23:05:05 -06:00
Drew T 7d4ab202b7 chore(decomp): commit in-tree banked work before the next gate
Uncommitted src/ changes found at gate entry. These are banked functions from a lane that gates with commit=False, not residue — preserved, not reverted.
2026-08-23 22:52:37 -06:00
Drew T 4bfb94cc8e feat(decomp): ox wave ae — 177 banked\n\nCard-fuelled ox drafts, reloc_identity pre-filtered, gated via sweep_parallel.\nfunc_8017D684 func_8017DAA8 func_8017DF5C func_8017E1D8 func_8017E400 func_8017E424 func_8017E568 func_8017E59C func_8017E5C0 func_8017ED18 func_8017EE90 func_8017EF34 func_8017FBA0 func_801800A4 func_801800F4 func_80180580 func_801805C4 func_80180730 func_80180A48 func_80180B38 func_80180C6C func_80180CE8 func_80180D5C func_80180E74 func_80180EC8 func_80180F38 func_80181280 func_80181384 func_801813A8 func_801813CC func_8018141C func_8018144C func_80181470 func_80181494 func_80181730 func_801817D0 func_80181960 func_80181AA8 func_80181B28 func_80181DFC … 2026-08-23 07:09:48 -06:00
Drew T a572979857 feat(decomp): ox wave ab — 94 banked\n\nCard-fuelled ox drafts, reloc_identity pre-filtered, gated via sweep_parallel.\nfunc_80181F04 func_80181F70 func_80181FA8 func_801821C8 func_801827A8 func_80182810 func_80182E04 func_80182F78 func_80182FAC func_8018300C func_80183174 func_801831A4 func_801834C8 func_80183C7C func_801840E8 func_801844D4 func_80184C20 func_80184CA4 func_80184E30 func_801853CC func_8018548C func_80185D6C func_80185D84 func_80185E54 func_801860F4 func_80186144 func_80186C70 func_80186CA8 func_80186D74 func_801871E4 func_80187348 func_80187508 func_801876B0 func_801877FC func_80187A8C func_80187B0C func_80187C14 func_80187D0C func_80187D4C func_80187DCC … 2026-08-23 05:39:57 -06:00
Drew T 5d8d497c48 feat(decomp): free A-prop remap lane — 390 banked, zero model tokens
aprop_autodraft over regenerated A-prop cards (582 mechanical drafts), reloc_identity
pre-filter (509/582 AGREE), sweep_parallel gate across 107 binaries in 54m35s.
Result: 390 banked of 511 gated (76.3%).

This lane was invisible until the atlas KeyError fix earlier this session: member_lever
emitted the confidence value 'aprop-pure' that _CONF_RANK never contained, so atlas.py
died on the first group carrying such a vote and could not produce an atlas at all.
With it fixed the remap lever shows 235 groups / 812 instances / 46,240 instructions.
2026-08-23 02:27:15 -06:00
Drew T cd3d38782e feat(decomp): propagate func_80184460 (gate lane) 2026-08-18 14:32:26 -06:00
Drew T e4d1b95781 feat(decomp): propagate func_80180D38 (gate lane) 2026-08-18 14:31:28 -06:00
Drew T 7c82413959 feat(decomp): propagate func_80185D10 (gate lane) 2026-08-18 10:26:34 -06:00
Drew T b6992adeab feat(decomp): propagate func_8017D4F0 (gate lane) 2026-08-18 04:19:26 -06:00
Drew T 6f2c053372 feat(decomp): propagate func_8017ED5C (gate lane) 2026-08-18 04:18:43 -06:00
Drew T 1731aaf201 feat(decomp): propagate func_801812FC (gate lane) 2026-08-18 04:18:28 -06:00
Drew T 6e73f738fb feat(decomp): propagate func_8017F154 (gate lane) 2026-08-18 04:14:34 -06:00
Drew T cafedeb572 feat(decomp): propagate func_8018048C (gate lane) 2026-08-18 04:13:57 -06:00
Drew T 4bf5951f03 feat(decomp): propagate func_8017E024 (gate lane) 2026-08-17 21:00:48 -06:00
Drew T c308986c25 feat(decomp): propagate func_8017D484 (gate lane) 2026-08-17 21:00:11 -06:00
Drew T aca487291d feat(decomp): propagate func_8018178C (gate lane) 2026-08-17 20:49:52 -06:00
Drew T dce9b8f9fc feat(decomp): propagate func_80181E58 (gate lane) 2026-08-17 20:44:37 -06:00
Drew T 853a97ae57 feat(decomp): propagate func_80184B94 (gate lane) 2026-08-17 20:43:57 -06:00
Drew T cbf9c3faae feat(decomp): propagate func_801860C0 (gate lane) 2026-08-17 14:07:04 -06:00
Drew T b87c179290 feat(decomp): propagate func_8018655C (gate lane) 2026-08-17 12:13:52 -06:00
Drew T edcb200d4b feat(decomp): propagate func_80188670 (gate lane) 2026-08-17 12:13:37 -06:00
Drew T 99687da19d feat(decomp): propagate func_80187090 (gate lane) 2026-08-17 12:13:23 -06:00
Drew T a8f15a58cd feat(decomp): propagate func_801867F8 (gate lane) 2026-08-17 12:12:56 -06:00