From bb6268d9de5ec250dd056802ddefd0c0accf963f Mon Sep 17 00:00:00 2001 From: Drew T <50529377+Druthulu@users.noreply.github.com> Date: Fri, 24 Jul 2026 11:40:04 -0600 Subject: [PATCH] =?UTF-8?q?docs(phase-29):=20SESSION-15=20checkpoint=20?= =?UTF-8?q?=E2=80=94=20waves+permuter=20(+28=20distinct-code),=20backlog?= =?UTF-8?q?=20pruned,=20efficiency=20audit;=20next=20=3D=20integration-rec?= =?UTF-8?q?overy=20tool?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- phase-ends/CURRENT_PHASE.md | 45 +++++++++++++++++++++++++++++++++++++ 1 file changed, 45 insertions(+) diff --git a/phase-ends/CURRENT_PHASE.md b/phase-ends/CURRENT_PHASE.md index 011a97e36a..b75940a447 100644 --- a/phase-ends/CURRENT_PHASE.md +++ b/phase-ends/CURRENT_PHASE.md @@ -2037,3 +2037,48 @@ conditional) Β· main-EXE/B9 + GLM/B6 + resident's 14 walls (P30) Β· behemoths B7 (6,824 fns = 45% of remaining ins) via per-overlay Ghidra-C prefetch (needs /mcp, R23/R29). **GRINDER RUNNING (Task 11):** `.run/grinder_s14.log`; banks+commits byte-verified matches autonomously (gate_stage commit=True, fail-closed, winning C persisted pre-bank). Let it run; STOP + it's already committed. + +> **πŸ›‘ SESSION-15 CHECKPOINT (2026-07-24) β€” supersedes all earlier SESSION-14/15 blocks. Fresh session safe here.** +> Tree clean (only R23 db churn). **R22 clean-fleet 140/140 byte-identical** (verified many times); 0 +> NON_MATCHING (G4); dedup 1879/0. **Drew pushes** (R6/R20). HEAD `commit:0914`. +> **Fleet: 79.6% instr Β· 67.7% distinct (count 64,860) Β· 88.86% fn-count.** +> +> **WHAT LANDED THIS SESSION (all byte-gated, committed):** +> 1. **s14 + s15 fresh-crack waves** (ov_SC07_006 reach-138 families): 12 cores banked, 6 propagated Γ—138. +> All 24 s15 winners persisted to the canonical path β€” the drafter-prompt copy-back fix HELD at scale +> (vs s14's 3/24 recovered from transcripts). match_one isolation (per-pid --work) confirmed clean. +> 2. **Permuter overnight harvest**: ran to EXHAUSTION (75 permuter-shaped candidates), banked **29 distinct +> fns** (39% conversion), ALL low-reach overlay-unique (0x8017-0x8018). The high-reach near-misses are +> NOT permuter-shaped (redraft/structural) β€” permuter can't reach them. +> 3. **distinct-code 64,832 β†’ 64,860 (+28 unique fns)** β€” the FIRST real distinct-code movement in many +> sessions (waves +11, permuter +17). Every de-dup lever this session moved it 0. +> 4. **PsyQ MATRIX hazard FIXED** (Task 9): the true 32B PsyQ layout now owns `MATRIX`; the 48B invention is +> `MATRIX_L48`; oracle-sourced ground-truth block in engine_types.h. VECTOR (12B vs PsyQ 16B, 1 live use) +> left for its own commit. +> 5. **Backlog pruned + kept-current** (Drew's ask): `backlog.py prune` (6,867 β†’ 1,704 open), wired into +> `make report`. The backlog was 98% already-banked noise. +> +> **THE HEADLINE FINDING (efficiency audit β†’ decision-log): the crack-wave bottleneck is INTEGRATION, not +> idioms.** Byte-verified: ~92% of drafts are byte-correct (match_one MATCH) but only ~27% bank whole-binary; +> the non-banks are byte-correct bodies stranded by def-side-sig / data-extern / unshared-struct plumbing β€” +> NOT a missing codegen idiom (only ~2/wave are a genuine residual, the phantom-frame schedule class). We +> strand ~16 paid-for correct functions per 2.6M-token wave. **A fleet-safe integration-recovery pass would +> ~3.7Γ— every wave's yield for ZERO new drafting tokens** β€” saving ~40M+ tokens over the 153 shared cores. +> +> **β–Ά NEXT TASK (Tier-1, plan-mode/Max β€” the approved direction): BUILD THE INTEGRATION-RECOVERY PASS, SCOPED.** +> - Start with the ONE fleet-safe transform already built + hardened this session: **auto-struct-lift via +> `lift_types.py`** (Β§64/Β§64a) as a POST-GATE recovery step, with **MANDATORY R22 self-validation** (the +> fix_header_decl lesson: a per-binary gate is necessary-not-sufficient for shared-state edits β€” proven +> again by a 139/140 probe break this session). +> - **Consume the FRESH per-wave stranded drafts** (in the wave dir), NOT the backlog. The backlog's +> `closeness` field is UNRELIABLE (byte-correct drafts logged closeness>0) and its drafts are +> overlay-specific (per-location symbols) β†’ a messy recovery source. The wave-dir strandeds are matched to +> the right overlay. Live test set: the s15 nears in `.run/drafts-s15/` (16 byte-correct, gate-rejected). +> - Measure the recovered fraction on that set BEFORE adding the riskier def-side-sig / data-extern +> reconciles (probe-before-scaling). Do NOT use `fix_header_decl` (fleet-blind, Β§63 UPDATE). +> - Then resume waves at ~3Γ— efficiency. **Waves HELD until Drew re-authorizes** (breadth β†’ prompt for +> ultracode). The endgame map: 153 reachβ‰₯100 shared cores left (the wave lever), then a 9,084-fn +> overlay-unique tail (Γ—1, hand-crack, no shortcut). +> **CARRIED:** the 16 s15 nears + 18 s14 nears (byte-correct, integration-blocked) in the wave dirs β€” the +> recovery tool's first fuel. The 2 s15 genuine nears (func_80175820/func_801758FC, phantom-frame) β†’ permuter. +> **DO NOT close P29 on ROI** β€” burn-down floor undetermined.