1.3 KiB
1.3 KiB
CONTRACT — line-width-80 (BDR-125 gap audit A2)
- date: 2026-11-15 | flow: hotfix | branch: bugfix/line-width-80 (off develop)
- status: active
REQUEST (verbatim — IMMUTABLE)
A2 (BDR-125 gap audit): two lines over the 80-column limit in our code. mods/model-router/hooks/register.ts:976 (86 columns) and lib/memory-feedback/transcripts.ts:133 (over 80). Wrap each to ≤80 columns with no behavior change; type-check and the related test suites stay green.
CLARIFICATIONS
- [internal 2026-11-15] register.ts line numbers drifted since the audit; today 3 lines exceed 80 there (591, 683, 3765), transcripts.ts 1 (133). All four in scope: same two files, same intent.
ACCEPTANCE CRITERIA
- No line over 80 columns in either file. CHECK: cd /home/bchanot/Documents/claude && awk 'length>80' mods/model-router/hooks/register.ts lib/memory-feedback/transcripts.ts | wc -l EXPECT: 0 EVIDENCE: PENDING
- Full test suite green. CHECK: cd /home/bchanot/Documents/claude && PATH=$HOME/.bun/bin:$PATH make test </dev/null 2>&1 | tail -1 EXPECT: all suites green EVIDENCE: PENDING
- No behavior change: the diff only re-wraps lines (manual).
FILE SCOPE
mods/model-router/hooks/register.ts (lines 591, 683, 3765), lib/memory-feedback/transcripts.ts (line 133).