|
Batch 0.3: ledger-scan wrap-aware next-free exclusion (GA-F15)
The per-line "next-free"/"reproduc*" exclusion went blind when a quoted next-free value wrapped its hyphenated token onto the following line (happened twice live inside the 2026-07-18 audit -- CURRENT-STATE section 9). An excluded line now suppresses itself AND the immediately following line; the window is exactly one line and resets at every file boundary. Chose this over assignment-site counting: DOCFIX/BUNDLEFIX have no single register file to key assignment sites on (unlike D headers). Live counters re-verified unchanged post-fix: D=130, DOCFIX=197, BUNDLEFIX=052. CURRENT-STATE section 9 marked FIXED + G3 progress cell updated same commit (GA-R1 rule 8). Harness: tests/ledger-scan +3 checks (wrapped quote excluded, wrapped repro example excluded, two-lines-below still counts), 44/44 PASS; repo-lint 0 fail. Revert: git revert this commit (restores the per-line grep exclusion and the section-9 "recorded, NOT fixed" wording). Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01VZbUeRE8weySLSGY1odrCi |
|---|
|
|
| docs/CURRENT-STATE.md |
|---|
| scripts/ledger-scan.sh |
|---|
| tests/ledger-scan/run-tests.sh |
|---|