docs: record region HA G2 rerun settings and findings
Document required regional wildcard parents and serve-only member diagnostics. Record W1-W5 implementation commits and the remaining ruling and design work.
Implemented-by: Astra (codex)
docs/region-ha-runbook.md+12 −0docs/superpowers/notes/2026-11-06-region-ha-g2-follow-ups.md+52 −0
Intent
<task-notification> <task-id>bwqu3hpuk</task-id> <tool-use-id>toolu_015peWY3VLF2AptH7XYr35PH</tool-use-id> <output-file>/home/paulca/.cache/tmp/claude-1001/-home-paulca-amadan-net-carlos-platform/87a21814-5655-4016-9e7e-41935ee8e96e/tasks/bwqu3hpuk.output</output-file> <status>completed</status> <summary>Background command "W=/home/paulca/amadan.net/carlos/platform/.claude/worktrees/g2r-fixes/.superpowers/sdd/2026-11-06-region-ha-g2r-fixes; for i in $(seq 1 340); do [ -f $W/t5.done ] && break; sleep 10; done; cat $W/t5.done 2>/dev/null; tail -1 $W/t5.log" completed (exit code 0)</summary> </task-notification>
Attributed to this commit: 10.6 g CO₂e (1,301,456 tokens). This is an attribution, not a measurement — usage counted from this commit's own marker forward to the next one on region-ha-g2r-fixes, never backward from it. A turn that produced more than one commit books all of its tokens to the last one, and a concurrent session on this branch can add to the same figure. Some of it was priced using the shared default rate, because no model-specific factor row exists yet for at least one model involved. The Carbon view has the repo total, which is never derived from this attribution.
diff --git a/docs/region-ha-runbook.md b/docs/region-ha-runbook.md| index 422361a9d..45c0a1f19 100644 |
| --- a/docs/region-ha-runbook.md |
| +++ b/docs/region-ha-runbook.md |
| @@ -39,6 +39,18 @@ CARLOS_HA_FIXED_BOX_IDENTITIES='{"box-a":"i-0123456789abcdef0","box-b":"i-0fedcb |
| To roll back, restore the previous host.env and restart `carlos-edge.service`. |
| +### Group members: regional SSM settings |
| + |
| +Set `/carlos/<env>/<region>/CARLOS_WILDCARD_DOMAINS` for group members to the same value as the region's fixed boxes. This is a required regional SSM parameter for serving their mirrored wildcards. It is not derived because no allowed source lists the region's static wildcard parents without bypassing the current-set bound. |
| + |
| +Once this branch is released, group members need neither `CARLOS_DNS_PROVIDER` nor a DNS token to serve the mirrored wildcard. Ordering stays with the issuer. In a member's `carlos-edge` journal, look for the serve-only line from `internal/edge/wildcard.go`. Its exact format is: |
| + |
| +```text |
| +edge: wildcard certs on, serve only (%s); this box cannot order wildcards |
| +``` |
| + |
| +With neither provider nor token configured, `%s` is `CARLOS_DNSIMPLE_TOKEN missing`. |
| + |
| ## A fixed box has been terminated: remove its edges file |
| When a fixed box is terminated, a surviving box recovers its duties. It takes over the box's hosts, timers and due wakes. It does not delete the departed box's edges file (`control/edges/<box>.json`) because the platform cannot prove which instance of a fixed box an edges file belongs to. |
diff --git a/docs/superpowers/notes/2026-11-06-region-ha-g2-follow-ups.md b/docs/superpowers/notes/2026-11-06-region-ha-g2-follow-ups.md| index ba484de9d..ee7eb3997 100644 |
| --- a/docs/superpowers/notes/2026-11-06-region-ha-g2-follow-ups.md |
| +++ b/docs/superpowers/notes/2026-11-06-region-ha-g2-follow-ups.md |
| @@ -159,3 +159,55 @@ simulation does not reopen a closed review round. |
| It re-reads the local registry once per completed job. The cost is small. |
| Finish: measure the cost and reduce repeated reads if needed while |
| preserving the completion checks. |
| + |
| +## G2 rerun findings (W1-W5) |
| + |
| +1. **W1: withdrawal cause and retry backoff.** |
| + Status: built in `b5ff2d50`. A pending withdrawal proof logs its |
| + underlying cause when available. Retry backoff starts at 30 s, doubles |
| + to a 5 min cap per host, and resets on success. Follow-up 12, |
| + instancectl re-probing after a failed startup probe, remains open. |
| + |
| +2. **W2a: serve-only wildcards.** |
| + Status: built in `c7b1df8f`. Group members can serve mirrored wildcards |
| + without a DNS provider or token. Ordering stays with the issuer. |
| + |
| +3. **W2b: group members as housekeeper candidates.** |
| + Status: awaiting Paul's ruling. Plan commit: `15118be9`, Task 7. |
| + Excluding group members from the housekeeper election would amend |
| + spec §7.2 and §17. No election change is built. |
| + |
| +4. **W2c: regional wildcard parents.** |
| + Status: documented in `docs/region-ha-runbook.md`, not derived. |
| + Investigation commit: `15118be9`. Group members require regional |
| + `CARLOS_WILDCARD_DOMAINS` with the same value as the region's fixed |
| + boxes. No allowed source lists those static parents without bypassing |
| + the current-set bound. |
| + |
| +5. **W3: departure inventory and connect-failure fallback.** |
| + Status: inventory nudge built in `68082f7b`, corrected in `a5ecbe76`. |
| + A departure waiting for fresh inventory requests an early full record |
| + walk through the backstop loop. Departures share at most three early |
| + attempts for a fixed evidence window, spaced at least 60 s apart. |
| + Connect-failure fallback is on this branch as Task 3, still being |
| + built. Plan commit: `15118be9`. Before any request byte is written, |
| + try one other eligible box in the same region view. Prefer another |
| + eligible claim for 60 s after a failed connect, without dropping the |
| + only claim. Do not retry after connecting. |
| + |
| +6. **W4: cross-region holder follow and memory.** |
| + Status: built in `445e881d`, corrected in `5ee6d6ae`. |
| + Under spec §6.5, a cross-region caller follows a named holder once |
| + after a 503 for a bodyless GET or HEAD, or a bodyless upgrade that has |
| + not switched protocols. The holder must pass the destination region's |
| + view checks. Bounded per-host memory keeps the holder for 10 min so |
| + later requests, including POST, dial it first. The holder's own 503 |
| + is relayed without a third hop. |
| + |
| +7. **W5: lease loss after a brief S3 failure.** |
| + Status: recorded for later design, not built. Since `98c43eea`, an |
| + S3 blip of about 30 s overlapping a lease renewal latches lease loss. |
| + The observed result is an unclean release and re-acquisition on the |
| + same box, with 20-40 s of 503s per host and no data loss. The open |
| + design question is whether one missed renewal well inside the TTL |
| + should latch lease loss. |