Repository navigation
v0.9.0 — lifecycle reliability + delivery-path doctrine
v0.9 — the reliability release. Hard-won knowledge from a build-mode incident turned into guardrails and doctrine.
On 2026-07-07 a full day of churn hit the local lifecycle scripts — a teardown that silently ran as the management identity because account-id env vars weren't loaded; a background brew upgrade to OpenTofu 1.12 whose new resource-identity check broke cross-account destroy; and partial-apply orphans that quietly billed. None of it touched production traffic (that only changes through the CI/CD pipeline), but it showed how much day-to-day safety rode on an operator's shell being exactly right. v0.9 makes the scripts fail loud instead of failing wrong, and writes down why the scary day was a build-tool problem, not a production one.
Six threads (substance lands in platform; watch carries the decision + process):
- Pin the toolchain (
#46). OpenTofu pinned to 1.11.11 via repo-local.bin/tofu+.opentofu-version, single-sourced across the scripts and both CI workflows so they can't drift. - Fail-fast guardrails (
#43/#46).lib/preflight.shaborts before any mutation on a bad AWS identity, missing/malformed member account IDs, or a missing DNS token;lib/tofu.shrefuses a drifted toolchain.teardown.shnow loads.envunconditionally. - Drift detection + reviewed force-clean.
make doctor(#44) — cross-account orphan + ghost sweep.make nuke(#45) — dependency-ordered last-resort clean with a PERSIST allowlist + typed confirmation. - Doctrine — ADR-032. Two delivery paths, two guarantees: production rides the pipeline; the lifecycle scripts are a build-velocity tool, differently safe by design.
- Structural symmetry. Staging DNS split into
dns(API) +dns-status(CloudFront), mirroring prod — a CloudFront hold blocks only the status page, never the API by name. - Continuity. Written release process, a major-release checklist mandating an ADR/doc audit + aggressive dependency pinning, and a CLAUDE.md operating-mode section re-emitted by a SessionStart hook.
No application code or schema changed — latest migration stays 0017; 284 unit tests green. A pure reliability + doctrine bump on top of v0.8.
Full detail: docs/releases/v0.9.md · decision: ADR-032
🤖 Generated with Claude Code