mirror of
https://github.com/Druthulu/BFM-decomp
synced 2026-09-27 05:56:00 -04:00
0375cd529b
- cookbook §28: the 4-way triage of a close=0 gate-rejected giant (pure-extern plumbing / masked-residual / struct-walled / regressed-draft) + the canonical-extern recovery (the NEW lever that banked func_8015126C, which Phase-21 left as a close=0 wall) + the coalescing pin (register __asm__ + lazy in-&& assign). §28a: PS1-applicable decomp.wiki GCC patterns (negative-offset loops, branch-duplication, load-coalescing, div-magic table, slti-0) - tools/recover_giant.py: canonicalize a draft's engine_core.h-callee externs to def-sigs + move all externs block-scope (validated func_8015126C -> MATCH) - R14: close=0-giant fan-out NOT uniformly near-free — only func_8015126C was pure-extern; the rest are struct-walled / masked-residual / regressed -> genuine per-giant hand-work
phase-ends/ — the living record
PhaseEnd_Phase[N].md— written at each phase boundary (format defined inPROJECT_CONTEXT.md). Append-only history: build log, deviations, commit message, rules added, changelog. Never deleted.CURRENT_PHASE.md— the in-phase autonomous log: approved phase plan, per-task checkboxes, current task pointer, blockers. Created at phase start, updated after every task, absorbed into the PhaseEnd file and deleted at phase close. This is the crash/compaction recovery point.- Sessions read
PROJECT_CONTEXT.md, then everyPhaseEnd_*.mdin numeric order, thenCURRENT_PHASE.md(if present) — in that order, every session.