A single engineer has no code review by default. So I built the friction.
An engineering constitution as a foundational governance document. Session-based development, where every working session runs read-only discovery first, then a hard sign-off gate, then bounded execution increments — no drive-by changes, strictly scoped. A technical debt register as a first-class tracked artifact. Nine CI jobs on every pull request. Branch sequencing discipline, one thing merged before the next branches. And local gates forced to match CI exactly, after repeated CI failures traced to a weaker local check.
The operating principle underneath is worth stating directly, because it came from being wrong repeatedly: every defect of real consequence lives in a seam — repo versus production schema, test database versus deployed database, script versus actual cloud state, config versus code. Which is why "live" is defined strictly as traffic is flowing, not that a code path exists and would work if someone provisioned it.
That definition earned itself. A production schema fork dating to April 2026 — ten hand-seeded migration files that had never actually been executed against the live database — sat undetected because the repository and the deployment each looked internally consistent.
The same discipline covers merging. A merge to main is a production deploy, so every pull request is re-verified against current main before it merges, not against main as it was when its checks last ran.