Build Log
From pattern-capture to compounding — fixing the reuse mechanism
July 16, 2026
Found a false 'done, used by two apps' claim with zero real imports, traced it to a structural gap (statuses written from memory, no forced check-before-build), rebuilt the model with Zeb's correction (two dimensions, not one contradictory status), and a full duplication sweep found six more real, uncatalogued instances of the same defect class.
Timeline
What shipped
Two-dimension Pattern Registry status model in forgekit-os/patterns.md (pattern maturity vs. adoption evidence, COMPOUNDING derived not assigned)
forgekit-os/scripts/verify-reuse.mjs — a real, working script that checks patterns.md claims against actual files (not a spec, ran it repeatedly, fixed its own bugs)
REUSE RESOLUTION step in ignition.md §3.1 — fires per capability touched, not per build-size threshold
Evidence requirement added to Extraction Gate in gates.md — no CANONICAL/COMPOUNDING status without a pasted grep result
forgekit-testing actually wired into Forge (products/forge/tests/helpers/seed-test-db.ts now imports createTestDb from the package)
products/forge added to root package.json workspaces (was silently missing, blocking all forgekit-* imports into Forge)
cn() de-duplicated in Forge and Leashline — both now re-export from forgekit-ui instead of carrying a local copy
Fixed products/forge/tsconfig.json — tests/** was excluded from the TS project, breaking @/ alias resolution in 5 of 9 test files
Corrected two false claims in CLAUDE.md and extraction-backlog.md (forgekit-testing 'used by Forge and Leashline' with zero real imports)
Corrected a stale path in patterns.md (experiments/medina-navigator → experiments/medina-square, caught by verify-reuse.mjs's first real run)
Regenerated docs/aalok/manifest.json + cheat-sheet.md to reflect the real gate-enforcement mechanism (found a real PreToolUse hook exists — .claude/hooks/gate-check.mjs — that the deck previously said didn't exist) and the corrected reuse model
Full duplication sweep (2 background agents) — 6 real findings written into patterns.md/extraction-backlog.md with independently-verified evidence, not just trusted from the agents
“It is both, and the discipline problem is more important... The registry records the past. It does not reliably influence the future.”