mirror of
https://github.com/Druthulu/BFM-decomp
synced 2026-10-03 16:16:50 -04:00
f96af3e487
Not banked, and the agent said so itself: it solved the whole tail — instructions 32 to 489 of 490 byte-identical in plain C with the $4 pin gone — by hoisting one statement above two derived pointers, a COLOURING move rather than a scheduling one (the scheduler's RTL order is identical in both candidates, so the tree's header note blaming it describes the assembly, not the RTL). The head is a proven wall: find_best_addr (cse.c:2663-2665) folds the base to an absolute address because its only set is a symbol_ref, and its known-true control keeps its base in plain C only because both uses are at offset 0. It then labelled its two remaining improvements COMPENSATING ERRORS — a width change that deletes the target's real andi to cancel an extra instruction — and wrote 'nothing here is bankable' instead of handing back a 16 dressed as progress. Two pack defects fixed from its report: - neighbours.txt carried the @class/@stuck LINES but not the header comment they sit in, and that comment is an eight-point English explanation of every lever in the body, including the tail crack stated outright. The pack now ships the target's own header in full. A grep for tags is not a substitute for the paragraph it sits in. - history.txt's line numbers are relative to the evolving text, so reconstructing a path by hand lands elsewhere (b9 reached 51 where the engine reproduces 16 in one round). The pack now ships the best candidate's text as best_body.c.
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.DIGEST.md— the session-start digest: every phase's synopsis + every rule in full + the corrections to PROJECT_CONTEXT.md; appended at every PhaseEnd (P7).logs/Phase<N>.md— the archived in-phase worklogs (R19): NOT in the load order; consult on demand only.- Sessions read
PROJECT_CONTEXT.md, thenDIGEST.md, then the THREE most recentPhaseEnd_*.mdin numeric order, thenCURRENT_PHASE.md(if present), and replay its 🛑 SESSION CHECKPOINT block verbatim into the chat — every session (R64 candidate, 2026-09-05; ≈100k tokens + the checkpoint).