Repository navigation
Releases
v1.0.0 — make live in one shot, a fenced provisioner, the operations service
Lockstep with watch v1.0.0 and watchtower v1.0.0, verified together on 2026-11-29: make bootstrap-image → make live → the full pipeline (build, staging blue/green, DAST, smoke) → prod approval → prod blue/green → make live-verify → make teardown, in a single-account estate.
Since v0.11.0
Identity and policy
- A fenced provisioner role replaces bootstrap-admin, and is the default identity everywhere, hub included; its four policy documents are the deliverable (ADR-044/045/046). The policy gate (
make policy-check) runs in pre-commit. - Nightly click-ops and drift report (ADR-046).
make live in one shot (single account is the front door)
make bootstrap-imagebuilds the boot image from source (ADR-047).- Real Lambda code is promoted before seeding; the worker is promoted with the app; prod ECS roles are passed in single-account (#60–#67, all proven, #67 through a real prod deploy).
live-verifychecks task age, not just running counts, and knows a not-yet-promoted service from a crash loop.
Watch 1.0 support
- Operations service (watch ADR-074):
watch-<env>-operationsrunsoperations_tick --loop, a singleton, deployed by the pipeline beside the worker and checked bylive-verify. - Staging canary: 50% for a minute under the rollback alarms, then 100%, keeping the old task set one minute (~6 min, was ~18). Prod keeps 10% a minute.
- Staging's AppConfig profile mirrors the local flag set; prod keeps the defaults.
WATCH_STATUS_PAGE_URLis passed to the app.- Escalation: tier timeouts from Watch's timer catalog (ADR-070),
caseId(ADR-069), flags via the AppConfig extension layer.
Dependencies: Dependabot fixes (x/crypto, xz, klauspost/compress).
Not yet done: a least-privilege IAM audit beyond the policy gate.
v0.11.0 — three deployment topologies, tested and gated
v0.11 — the three-topology contract: enabled, documented, tested, gated, and rehearsed live.
- Three topologies, one codebase: single account / two members of a new org / two members of an existing org. The contract stays tiny — zero or two member IDs (
.env) + an assumable role (WATCH_MEMBER_ROLE_NAME, now honored by terragrunt AND the xacct CLI path). Account vending stays permanently out of scope.docs/TOPOLOGIES.mdis the guide. member-access/: standalone module minting the hub-assumable role for invited accounts (bootstrap-style: local state, member credentials, workspace per member).- Terratest (
test/): the routing-contract matrix — 19 render-level assertions across all topologies + theWATCH_PROJECTrename knob, ~15s, read-only, fake member IDs — plus one real apply→assume→destroy test of member-access. First run caught a live drift bug (set-but-empty role name split terragrunt vs xacct behavior). - Gated everywhere: pre-commit hook (red = no commit) + a
topology-testPR job under the OIDC plan role.make topology-checkfor humans. - Rehearsed live (2026-07-12): all three topologies created → migrated/seeded → health-verified (both envs 200, TLS, postgres/valkey green) → torn down to clean doctor+sweep, in sequence, in one day — including the first fully-green CloudFront frontends. Fallout fixed: committed image pins removed from app stacks (broke any fresh account), AppConfig deletion-protection and SFN delete-race teardown gotchas documented with verified mitigations, fresh-account first-boot order documented.
Lockstep with watch v0.11.0 + watchtower v0.11.0 — the three ran together all release: app healthy on this estate in all three topologies, telemetry through Watchtower throughout.
🤖 Generated with Claude Code
v0.10.0 — estate cutover + AI-RCA cloud enablement
v0.10 — the estate cutover + AI-RCA cloud enablement (the substance this cycle).
Lockstep with watch v0.10. Platform carries two things.
Fallback-account cutover. New Org member accounts were held at account verification (CloudFront) and a 0-quota on CodeBuild, blocking the status-page frontend and CD. The whole estate was recreated in a pair of fallback member accounts (a clean exercise of the disposable-estate lifecycle + path-keyed, account-agnostic state). The cutover surfaced and fixed four latent pipeline bugs the long-standing CodeBuild hold had masked:
- the CodeBuild build role lacked
kms:Decrypton the artifact CMK; - DAST + Smoke roles had the same gap;
- the build promoted prod Lambdas cross-account (now staging-only, prod deferred);
- the Smoke stage used the intake secret for the checks webhook (401) — now the distinct
CHECKS_WEBHOOK_SECRETis injected from SSM.
CD then ran green Source → Build → DeployStaging → DAST → Smoke to the prod-approval gate. The GitHub-Actions CI plane (watch-ci-trigger / watch-ci-plan / github-oidc) was repointed to the new accounts and verified live. Added make portal (scripts/aws-portal.py) — a local access portal listing member accounts with per-account switch-role links. Teardown-to-non-billing re-verified clean via make doctor across both accounts (one wrinkle — AppConfig deletion protection — filed as #49).
AI-RCA cloud enablement (watch ADR-033/034). Least-privilege bedrock:InvokeModel on the app task role (scoped to Anthropic Claude foundation models + this account's inference profiles), plus the task env (RCA_AI_PROVIDER=bedrock, BEDROCK_REGION, configurable bedrock_model_id). Still inert until the per-account Bedrock model-access grant.
🤖 Generated with Claude Code
v0.9.0 — lifecycle reliability hardening (the substance this cycle)
Lockstep v0.9 — and this cycle the substance is here. Unlike a typical attestation tag, v0.9's real work landed in platform: the lifecycle-reliability hardening born from the 2026-07-07 build-mode incident.
- Toolchain pinned (
#46). OpenTofu 1.11.11 via repo-local.bin/tofu+.opentofu-version, single-sourced across the scripts and bothterragrunt-{plan,apply}CI workflows (which previously hardcoded the broken 1.12.2). - Fail-fast guardrails (
#43/#46).scripts/lib/preflight.shaborts before any mutation on a bad AWS identity / missing member account IDs / missing Cloudflare token;scripts/lib/tofu.shhard-fails on a drifted toolchain.teardown.shloads.envunconditionally. make doctor(#44) — read-only cross-account orphan + ghost drift detection;make nuke(#45) — reviewed, dependency-ordered force-clean with a PERSIST allowlist and typed confirmation.- Staging DNS split into
dns(API) +dns-status(CloudFront), mirroring prod (ADR-020); support-case docs for the two new-account activation holds.
Verified: make doctor clean across both member accounts; preflight / tofu-pin / nuke guardrails exercised; watch v0.9.0 (unchanged app) runs on this estate with 284 unit tests green.
Governing decision: ADR-032 (two delivery paths, two guarantees). Full notes: watch docs/releases/v0.9.md.
🤖 Generated with Claude Code
v0.8.0 — lockstep with watch v0.8 (compatibility attestation)
Lockstep v0.8 — compatibility attestation. No platform changes this cycle; this tag attests that the current platform (cross-account estate, delivery pipeline, observability plane) runs watch v0.8.0 unchanged.
watch v0.8 is app-side depth — the generic ops-record model (Problem/RCA/generic links, ADR-031), per-environment ops ingest + per-user credentials (ADR-028/029/030), and session/password hardening (ADR-008). No cross-repo contract changed.
Full detail: watch docs/releases/v0.8.md.
🤖 Generated with Claude Code
v0.7.0 — compatibility lockstep
Compatibility release — no platform changes this cycle. Minor version bumped in lockstep with the other repos to mark a compatible set (patch versions may still diverge per-repo).
Paired with watch v0.7.0 — public self-service report surface (ADR-027) + paging hardening: unguessable ntfy topics & a per-user subscription page (ADR-013). See the watch release for details.
Carry-forward follow-up landing here later: wire NTFY_TOPIC_SECRET as an SSM secret (like NTFY_TOKEN) so cloud paging topics are salted too — pending the current AWS holds.
Lockstep set: watch · platform · watchtower v0.7.0.
v0.6.0
Session Check trace store, live in AWS
- Staging Tempo wired (ADR-022): an SG rule (app/worker → Tempo
:3200, inline inmodules/tempo, gated) +trace_store_provider=tempo. Session Check's verdict flipsunavailable→clean, verified end-to-end. authenticatedtail-sampling policy: keep 100% of session-bearing traces (any span carryingsession.id), sample only unauthenticated noise — so a Session Check is never fooled by a session that was sampled away, and sessions stay reconstructable. Replaces the temporary blanket 100%.
Async worker enabled in prod (ADR-025)
- Prod SQS worker + cloud mode:
watch-prod-jobsqueue + DLQ +watch-prod-workerservice on the staging-proven digest (promote-by-digest, ADR-017); DB migrated, Lambdas promoted, cross-account CodeDeploy. Session Check drains and returnsindeterminate(prod's trace store is the deferred vendor impl, ADR-026); webhook delivery works fully.
Versioned in lockstep with watch + watchtower v0.6.0.
v0.5.0
Hands-off create despite the AWS holds
make live-finish— completes amake livethatcreate.shaborts on the CloudFront/CodeBuild holds: migrate → promote escalation Lambdas (before seed, so the demo incident's escalation succeeds and the deploy-gate alarm never trips) → seed → app DNS. Idempotent; retires itself once the holds lift.scripts/lambda-promote.sh— the pipeline's Lambda-promote step done locally (linux wheels via the watch venv), cross-account.make live-verify— read-only smoke check at the tail of live-finish: app + worker services running,/api/health+/api/status200, and the status-page SPAs 200 (skipped while CloudFront is held). Host zone read fromWATCH_ZONEin.env— no hardcoded domain.
Governance
- watchtower managed as code — new
github/watchtowerstack brings it to label/ruleset/setting parity with watch + platform; all three are now governed fromgithub/common.hcl. tech-debtlabel added to the canonical set (first use: #40 — clean up the hold-driven stopgaps once AWS lifts the holds)..env.example: documentedWATCH_ZONE.
Versioned in lockstep with watch + watchtower v0.5.0.