design-zero-downtime-deploys
Human
Zero-downtime deploys spec (rev 13, accepted by Astra round 13, awaiting Paul's review): overlap swaps on two generation sockets with the edge switching after the health check; hold per app or per release; paced per-app per-box rollout with a canary; first-wake canary with fallback to the last good build by direct exec; failure records; native sidecar adoption leg. Instance update settings (manual/pin/major/in-app) split into a separate draft spec with six open Astra findings and a threat-model question for Paul.
Commits
59
Files changed
44
+53475 −0
Discussions
0
0 open
Tasks
0/0
done
Discussions
- No discussions on this branch yet.
Tasks
- No tasks yet.
Activity
- claude agent, operated by paul@keymail.dev pushed 684068837 spec rev 18: points at the approved amendment on main (ba52d5e)
- claude agent, operated by paul@keymail.dev pushed 007d5ed41 index: plan 2 rulings P2-7/8/9/13/14/15 folded into plan 3's execution
- claude agent, operated by paul@keymail.dev pushed 91c3ada68 index: plan 6 copy review adds a member-safe wake reason for ErrBuildNotPublished (plan 4 R22)
- claude agent, operated by paul@keymail.dev pushed 3739ca8cb index: generations file contract revised by plan 4 R19 (seq intent, complete, paths; sweep reads it)
- claude agent, operated by paul@keymail.dev pushed fbf15cca6 index: plan 4 now provides flag-independent worker pin publication; plan 5 extends it (R17)
- claude agent, operated by paul@keymail.dev pushed 9f334b4d2 plans: Astra P6 fixed (ownership gate on every exec, sidecar cgroup proof, failure before worker publication, claims-on graceful retire, incarnation-gated attempts, flag-independent worker pins)
- claude agent, operated by paul@keymail.dev pushed 33cb11d7d settings plans: Astra I3 fixed (flag-off held-wake admission, refusing hook on build-state init failure, per-route identity, marker-gated resign, requests resolved before pins, atomic require, console clearing)
- claude agent, operated by paul@keymail.dev pushed 1dc151631 Astra review P6 of the zero-downtime plans (REJECT: 3 partial, 8 new)
- claude agent, operated by paul@keymail.dev pushed a00dfd6ea plans: Astra P5 fixed structurally (typed gate verdict, retain-until-proven, failure-first publication, incarnation-conditional serving writes)
- claude agent, operated by paul@keymail.dev pushed cc9e17782 Astra review I3 of the instance-settings plans (REJECT: 1 partial, 8 new)
- claude agent, operated by paul@keymail.dev pushed b027eef35 Astra review P5 of the zero-downtime plans (REJECT: 5 partial, 4 new)
- claude agent, operated by paul@keymail.dev pushed 90b20761f settings plans: Astra I2 fixed (shared ratchet, single-identity wake for nested/claimed/cold, failure-aware held wake, host coverage before pruning, proof gate on the selected build)
- claude agent, operated by paul@keymail.dev pushed fd261a6af plans: Astra P4 fixed (claims-on paths through the helpers, worker host-cgroup proof, config activation order, flag-off serving identity)
- claude agent, operated by paul@keymail.dev pushed fd741a714 Astra review I2 of the instance-settings plans (REJECT: 4 partial, 9 new)
- claude agent, operated by paul@keymail.dev pushed fe9b6f3a2 settings plans: all 12 Astra I1 findings fixed
- claude agent, operated by paul@keymail.dev pushed 64fc05c21 Astra review P4 of the zero-downtime plans (REJECT: 5 partial, 4 new)
- claude agent, operated by paul@keymail.dev pushed 36faee8e3 plans: Astra P3 fixed (4 partials completed, 6 new) with one helper per concern: attempt gate, outcome classifier, termination proof
- claude agent, operated by paul@keymail.dev pushed 84cd5b34e Astra review I1 of the instance-settings plans (REJECT, 12 findings)
- claude agent, operated by paul@keymail.dev pushed 27525e667 settings plans updated for spec rev 11 (56 tasks): retention from box reports, moves carry build state, held stage authorized, no default pin
- claude agent, operated by paul@keymail.dev pushed 24604dbc2 WIP: settings plans partly updated for spec rev 11 (writer hit the usage limit)
- claude agent, operated by paul@keymail.dev pushed 1eb734b75 Astra review P3 of the zero-downtime plan set (REJECT: 4 partial, 6 new)
- claude agent, operated by paul@keymail.dev pushed 01637cbad settings plans (index + 5 plans, 54 tasks); settings spec rev 11 resolves planning questions Q1, Q2, Q5, Q7, Q9
- claude agent, operated by paul@keymail.dev pushed 7f6b20835 plans: Astra P2 findings fixed (3 partials completed, 8 new)
- claude agent, operated by paul@keymail.dev pushed 13ab01a13 Astra review P2 of the zero-downtime plan set (REJECT: 3 partial, 8 new)
- claude agent, operated by paul@keymail.dev pushed cf29e6153 plans: all 16 Astra P1 findings fixed; spec rev 17 clarifications (per-request generation dial, foreign rows hold)
- claude agent, operated by paul@keymail.dev pushed bcecbb3c2 WIP: plan 3 partly fixed for P1 findings; settings plan index started (both writers hit the usage limit)
- claude agent, operated by paul@keymail.dev pushed 632daf0ab Astra review P1 of the zero-downtime plan set (REJECT, 16 findings)
- claude agent, operated by paul@keymail.dev pushed 6aee9edfd plans reconciled across the set (cross-plan interface ledger in the index); spec rev 16: sleepers acked at delivery with the hibernating marker
- claude agent, operated by paul@keymail.dev pushed 024b629da plan 5 (scheduler) complete: 17 tasks
- claude agent, operated by paul@keymail.dev pushed 775d8f087 plans 3, 5, 6: work in progress, saved when the writers hit the usage limit (plan 5 incomplete)