Build Log
The ForgeKit Necessity Audit — from a real doubt to four shipped fixes
July 31, 2026
Zeb asked whether ForgeKit's ceremony was earning its keep after MedinaCHF shipped fast without touching the shared packages. What followed was a multi-round adversarial design process, a real 254-instance evidence-based audit of 9 control objectives, and four concrete OS fixes shipped and tested the same session.
Timeline
What shipped
forgekit-os/scripts/check-env-precedence.mjs — new script, redacted connection-string comparison across .env* files, tested against 3 real scenarios
.claude/hooks/pre-commit-check.mjs — added concurrent-HEAD-move detection (snapshot HEAD before and after the check plan runs, block on mismatch)
.claude/hooks/tests/commit-gate.test.mjs — added 4 new tests, including a real non-mocked git race
.claude/rules/gates.md — Environment & Config Gate checklist item + Deploy Gate checklist item + 2 updated 'what this prevents' entries citing real audit evidence
“keep going”