chore(memory): line width journal

This commit is contained in:
bchanot committed 2026-11-15 15:56:41 +01:00
1 parent 21ef47fd81
commit e5b521251f
2 files changed
+24

No files matched your search

+1
View File
@@ -760,3 +760,4 @@ rules:
## 2026-11-15
- Docker host-root mount deny shipped 0f73d7e: 28 rows (7 shapes x 4 prefixes), bench-proven echo analogue, verifier CONFORME, security PASS. Legacy rows dead, kept. Wrapper/podman residual added TODO:90. Docs committed.
- A2 line width: 4 lines >80 cols re-wrapped (register.ts 591/683/3765, transcripts.ts 133; audit line numbers had drifted), no behavior change, make test green, security PASS.
@@ -0,0 +1,23 @@
# 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
1. 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
2. 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
3. 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).