carlos / platform Public

docs: a legacy floor cannot be resumed into a drain

§25.9 names the population marker and says a transaction whose floor
predates it is ended, not resumed into a drain.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
claude agent, operated by paul@keymail.dev pushed by paul@keymail.dev ecd8ce649d167b9817707108a33baf2f68377346 parent 50f62cb
1 file changed, +1 −1
  • docs/superpowers/specs/2026-10-26-region-ha-without-claims-design.md +1 −1
diff --git a/docs/superpowers/specs/2026-10-26-region-ha-without-claims-design.md b/docs/superpowers/specs/2026-10-26-region-ha-without-claims-design.md
index 0d23803ab..b38b1f889 100644
--- a/docs/superpowers/specs/2026-10-26-region-ha-without-claims-design.md
+++ b/docs/superpowers/specs/2026-10-26-region-ha-without-claims-design.md
@@ -1201,7 +1201,7 @@ A drain is only safe when every box that may send A a request understands the ne
- `drain` refuses unless every box of the deployment publishes `ha_handover: 1`. Every box on a release with this section writes it, HA or not, with no setting: it says the binary understands the held-requests headers (`X-Carlos-Handover`, the replay mark) and the drain acknowledgement. Fixed forwarders such as adi count. A take still needs `ha_take: 1` and a box serving the pool (E13); `ha_handover` never makes a box a take candidate.
- The floor counts every edges file present in the deployment's `control/edges/` listing, whatever its age (E14). An age test would hide quiet live boxes: a box that is not HA publishes only on change, often hours apart, and could forward to the member on an old binary.
- The file is a hint, not proof of what the box runs now. A start does not always republish it: a writer that does not know `ha_handover` decodes the stored file into its own struct, drops the field, finds nothing changed and skips the write. So a box rolled back to an older binary keeps the newer binary's `ha_handover: 1`. The proof is the withdrawal's acknowledgement (§25.4 step 1, E15): every box with a file, capable or not, of any age, must answer it, and only a binary with held requests can. A box that cannot answer, rolled back or dead, fails the drain before any move, naming it, and the member returns as for any failed drain.
-- One population, read once, by the party that decides: the verb's listing of `control/edges/` for this floor is also the drain's acknowledgement population. The verb passes every box it counted, the member excluded, in the drain request, and the member asks every one of them, plus any box its own fold adds (E15). An empty list is valid only when the floor counted no other box. S3 LIST is strongly consistent, so a box whose file existed at the floor's read is on the list.
+- One population, read once, by the party that decides: the verb's listing of `control/edges/` for this floor is also the drain's acknowledgement population. The verb passes every box it counted, the member excluded, in the drain request, and the member asks every one of them, plus any box its own fold adds (E15). An empty list is valid only when the floor counted no other box. S3 LIST is strongly consistent, so a box whose file existed at the floor's read is on the list. The floor row records this rule as `"population": "all-files-v1"`, and the drain list is built only from a row with that marker and a `live` array of valid, distinct references. A transaction whose floor predates the marker, written by an older tool that kept only fresh files, cannot be resumed into a drain: the tool refuses and the operator ends it with abandon, return, cancel-drain or close-lost.
- The residual is a brand-new box that first publishes during the drain window: it is not on the list, and is asked only if the member's fold reads it in time. This is bounded. A group member cannot serve before it is admitted, and admission requires its own booting publication to have succeeded (`internal/host/group_admission.go:139-145, 170`; `internal/groupadmission/state.go:12`). New fixed boxes are added by the operator, so the operator does not add one while a transaction is running (one sentence for the runbook).
- A present file without the capability keeps DR-4, naming the box. A capable leftover file of a dead box passes the floor and fails the drain until departure removes a member's file or the operator removes a fixed box's (runbook, "A fixed box has been terminated").
- A fixed box can serve and forward with no edges file: its publisher runs beside the edge, and a first write that fails does not stop it serving. So the verb's config lists every fixed box of the deployment that may forward, in any region, as `fixed_boxes`, and a listed box with no file keeps DR-4, naming it. A deployment with no fixed boxes says so with `"no_fixed_boxes": true`. The config must have exactly one of a non-empty `fixed_boxes` and `"no_fixed_boxes": true`; neither (a missing or empty list with `no_fixed_boxes` false or absent), or both, refuses the transaction. Silence is never read as "no fixed boxes". No existing source gives the verb this set: the operator role reads only `control/edges/*` and no SSM parameter, and `CARLOS_HA_FIXED_BOX_IDENTITIES` lists only a region's fixed boxes, optionally, in host.env and SSM. Group members need no list: a member takes no traffic until it is admitted, and admission waits for its first booting publication to succeed (`internal/groupadmission/state.go:12`, `internal/host/group_admission.go:139-145, 170`).