region-ha-p3b-build
Region HA P3b-1: group mode, dormant. Group mode is off by default, and fixed boxes behave as before apart from one additive edges capability (names-2).
Plan: docs/superpowers/plans/2026-11-04-region-ha-p3b-group.md rev 3 (final). Spec: 2026-10-26-region-ha-without-claims-design.md rev 6.2, which adds the N-HA14 exception to §12.1. Rulings: N-HA14 and N-HA19 (D1-D4). Build gate (agent manager 8a3d302, under Paul's delegation): merge dormant. The switch-on is the next quiet dev window after this merge, as a dated card.
What it adds:
- T1: admission closure changes who may serve a name, never who owns it, through one name-authority resolver. Adds the
names-2capability, the GroupReadersReady predicate, and a fixed-box systemLeg gate that refuses old-reader rollbacks while group names exist. - T2: OpenTofu group mode: a fixed-size ASG, an initial launch hook, least-authority group IAM, a separate group termination queue, and boot/ SSM parameters.
- T3: claim-free group boot (IMDS denial, chrony, OS auto-update off, root marker), launch-hook completion with a durable receipt that root never reads, and closed-member departure gating. The operator states the install floor.
- T4: one root restart guard. Every restart-capable root entry on a group box needs an operator permit in root-owned
/run/carlos-group-maintenance. Restart=no is set and the automatic update paths are masked. Includes a fake N-HA14 Standby transaction protocol. - T5: own-region hairpin. While admitted, root puts the ingress EIPs on a dummy interface behind one nft fence, so only TCP 80/443 to the EIPs is reachable, with a group-only #367 exemption. The client identity is the verified box public IPv4. This replaces the plan's DNAT design after two blocks (stopping rule 2; ruled by the agent manager).
- T6: group metrics and alarms, pool isolation, the region HA simulation (3,000 seeds, 0 violations), and the request budget.
Review and testing:
- Per-task Opus reviews: T1-T5 each had their own review (T1 two rounds); each closed with no P1. The whole-branch review was three Opus area reviewers in round 1 (1 P1, 2 P2) and a round 2 rated READY.
- Census region-ha-p3b: approved by Opus (author Astra), recorded on #280.
- Root runner (dev, throwaway EC2):
TestHairpinKernelAgentTenantSidecarpassed on the real kernel, including once under the production instance-control sandbox. - CI: green on the tip.
- Copy: one Luna pass, applied by delegation.
Not in this merge: P3b-2 (operator Standby roll, private repo), P3b-3 (G2 drills), any infra apply, release or live experiment. The dated card must cover:
CARLOS_HOST_METRICS=cloudwatchin the group SSM;- the
firstNames2Releasepin, because group edges files block fixed-box updates until it is set; - the floor field in the boot object;
- the readers inventory;
- the console version check;
- CI running the tofu and plan-gate tests;
- runbook items: no manual nftables restart; recovery always rolls back.
Commits
41
Discussions
0
0 open
Tasks
10/10
done
Discussions
- No discussions on this branch yet.
Tasks 10/10 done
- T1 retain every name while admission is closed (names-2, systemLeg gate) Done
- T2 fixed-size group and least-authority IAM Done
- T3 claim-free boot, hook and receipt Done
- T4 one root restart guard Done
- T5 own-region hairpin with a verified public source Done
Activity
- task updated: T6 group observability, pool isolation, simulation
- task updated: Merge (squash, -expect) and post on #421
- claude agent, operated by paul@keymail.dev pushed 2a0aeeb30 region HA P3b: refresh census after replicas plan 3 merge
- claude agent, operated by paul@keymail.dev pushed 6a7610933 region HA P3b: refresh name census and weight new host tests
- claude agent, operated by paul@keymail.dev pushed 4d982ed86 Merge remote-tracking branch 'origin/main' into region-ha-p3b-build
- task updated: Census region-ha-p3b (Opus reviewer, #280)
- claude agent, operated by paul@keymail.dev pushed c898eff73 region HA P3b: census refresh after F1
- claude agent, operated by paul@keymail.dev pushed fe9693950 region HA P3b: install floor must be stated by the operator (census F1)
- claude agent, operated by paul@keymail.dev pushed b68411f26 region HA P3b: refresh census after CI fixes
- claude agent, operated by paul@keymail.dev pushed 04ae3dfb4 region HA P3b: fix CI guards and test temp roots
- claude agent, operated by paul@keymail.dev pushed 6c365b15c region HA P3b: census proposal region-ha-p3b
- task updated: Whole-branch Opus review
- claude agent, operated by paul@keymail.dev pushed 50d1d7e69 region HA P3b: whole-branch review round 1 fixes
- task updated: Copy: one Luna pass
- claude agent, operated by paul@keymail.dev pushed a8ab65ea7 region HA P3b: apply the copy pass (Luna, approved by delegation)
- claude agent, operated by paul@keymail.dev pushed 6f8586ffc Merge remote-tracking branch 'origin/main' into region-ha-p3b-build
- task updated: T5 own-region hairpin with a verified public source
- claude agent, operated by paul@keymail.dev pushed ff79c58f0 region HA P3b T5: review fixes guard the unit fixture runtime
- claude agent, operated by paul@keymail.dev pushed 8728d35ba region HA P3b T5: review fixes for refresh, removal and sandbox witness
- claude agent, operated by paul@keymail.dev pushed 26ce863f6 region HA P3b T5: root-runner fixture: read empty IPv4 inventory
- claude agent, operated by paul@keymail.dev pushed 85a0c31bc region HA P3b T5: recognize empty dormant IPv4 inventory
- claude agent, operated by paul@keymail.dev pushed fa1fd2c17 region HA P3b T5: name hairpin configuration refusal causes
- claude agent, operated by paul@keymail.dev pushed 2a4afbc87 region HA P3b T5: root-runner fixture: guard slice configuration
- claude agent, operated by paul@keymail.dev pushed 7fb345659 region HA P3b T5: fix root-runner IMDS fixture syntax
- claude agent, operated by paul@keymail.dev pushed ad034a1f8 Merge branch 'region-ha-p3b-t5' into region-ha-p3b-build
- claude agent, operated by paul@keymail.dev pushed d77af518a region HA P3b T5: fence admitted local ingress EIPs
- task updated: T4 one root restart guard
- claude agent, operated by paul@keymail.dev pushed 2722ac0d3 region HA P3b T4: review fixes for bootstrap, permits and return
- claude agent, operated by paul@keymail.dev pushed 77a57e4dd region HA P3b T6: add group metrics, alarms and simulation
- claude agent, operated by paul@keymail.dev pushed 1e248348d Merge branch 'region-ha-p3b-t4' into region-ha-p3b-build