mirror of
https://github.com/Druthulu/BFM-decomp
synced 2026-09-28 06:49:47 -04:00
1d94f9ec96
- tools/canon_draft_decls.py: rewrites a quarantined harvest draft's extern/data declarations to the banked-consistent set (functions from engine_core.h DEFINE bodies / extern decls / inline defs; data from existing `extern <type> D_XXXX;`), so a draft whose BODY is byte-correct (passes match_one) but whose DECLARATION collided with already-banked code can re-gate cleanly. The whole-binary harvest_verify byte-gate stays the sole arbiter — a semantics-changing canonicalization just fails and reverts. - recovered 19 of the 90 match_one-MATCH-but-conflicting quarantined failures (no API — immune to the rate limiting), propagated fleet-wide, all 134 overlays byte-identical; dedup 776 -> 795 groups, 0 failed. - fleet byte-identical 30.48% -> 31.22%; ov_SC01_077 1574 -> 1535 stubs. - R22 clean rebuild: 136/136 byte-identical, 0 extract failures. - the remaining ~70 match_one-MATCH residual needs definition-widening (§14c(d), narrow-return) or true data-type resolution — queued for the next pass, with the un-started medium band (430) and the 54 genuine instruction-misses (permuter/§3a).