region HA: G3 fixes (steering, departures, edges readers, alerts topic)
Fixes from the first US HA window (2026-11-07), plus Paul's step-back items: - steering never targets pool-only boxes; one target per name and AWS region; a refused chunk is bisected and the rest applied - departures finalize under record churn and lease waits; members retire in minutes via a gated lock listing; late edges publications rebind safely - pooled apps auto-create in their HA region; startup record view retries - every control/edges reader audited (spec 24); console DNS advice, size door and status-row readers are member-aware - region-host takes an existing alerts topic (alerts_topic_arn) - flagship-shaped replay test; flaky console perf budget fixed Reviews: Opus task reviews, Fable whole-branch R1/R3, census approved (#280). Follow-ups: docs/superpowers/notes/2026-11-07-region-ha-g3-fixes-follow-ups.md Co-Authored-By: GPT-6 Astra <noreply@openai.com> Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Squashed from region-ha-g3-fixes into main.
docs/superpowers/notes/2026-11-07-region-ha-g3-fixes-follow-ups.md+34 −0docs/superpowers/notes/census-proposal-region-ha-g3-fixes.md+40 −0docs/superpowers/plans/2026-11-07-region-ha-g3-fixes.md+264 −0docs/superpowers/specs/2026-10-26-region-ha-without-claims-design.md+110 −0infra/modules/README.md+2 −1infra/modules/region-host/README.md+24 −0infra/modules/region-host/alert_publish.tf+5 −2infra/modules/region-host/group_alarms.tf+5 −5infra/modules/region-host/main.tf+9 −9infra/modules/region-host/outputs.tf+2 −2infra/modules/region-host/tests/alerts_topic.tftest.hcl+569 −0infra/modules/region-host/variables.tf+19 −1internal/console/alertsignals.go+9 −7internal/console/apiinstances.go+4 −4internal/console/apiinstances_test.go+35 −0internal/console/apiplacements.go+3 −1internal/console/apisystemgeoip.go+3 −0internal/console/apisystemupdate.go+7 −0internal/console/edgesdns.go+18 −0internal/console/edgesreaders_g3_test.go+270 −0internal/console/g3_replay_test.go+232 −0internal/console/hacreate_test.go+17 −0internal/console/layoutguard.go+2 −2internal/console/perfwrites_test.go+16 −12internal/console/policysize.go+61 −17internal/console/policysize_test.go+9 −9internal/console/regiondefault.go+3 −3internal/console/regiondefault_test.go+33 −0internal/console/seedmove.go+5 −0internal/console/server.go+23 −12internal/console/statusrows.go+67 −0internal/console/statusrows_g3_test.go+198 −0internal/edge/g3_replay_test.go+150 −0internal/host/aliasesread_e2e_test.go+2 −2internal/host/edgesfile_group_guard_test.go+66 −0internal/host/g3_replay_test.go+396 −0internal/host/group_departure_test.go+5 −0internal/host/hadepartures.go+2 −0internal/host/hadepartures_fix_test.go+4 −0internal/host/hadepartures_g3_test.go+800 −0internal/host/hadepartures_listing_test.go+429 −0internal/host/hadepartures_retained_test.go+5 −1internal/host/hadepartures_scan.go+218 −59internal/host/hadepartures_scan_test.go+39 −24internal/host/haingress.go+30 −3internal/host/haingress_g3_test.go+275 −0internal/host/steering_g3_test.go+297 −0internal/host/steering_loop.go+20 −5internal/host/testdata/g3-replay.json+707 −0internal/lease/ha.go+22 −2internal/lease/ha_list_test.go+55 −0internal/lease/locktest/fixture.go+23 −4internal/provision/plan9_b8_census_test.go+1 −2internal/provision/recordview.go+21 −3internal/provision/recordview_g3_test.go+125 −0internal/provision/testdata/plan14-root-reads-chain.tsv+1 −0internal/provision/testdata/plan14-root-reads-region-ha-g3-fixes.tsv+37 −0internal/registry/ha_scan.go+9 −0internal/steering/g3_test.go+354 −0internal/steering/route53.go+182 −58internal/steering/route53_test.go+42 −20internal/steering/steering.go+9 −4
CI passed — run details
docs/superpowers/notes/2026-11-07-region-ha-g3-fixes-follow-ups.mdLoading diff…
docs/superpowers/notes/census-proposal-region-ha-g3-fixes.mdLoading diff…
docs/superpowers/plans/2026-11-07-region-ha-g3-fixes.mdLoading diff…
docs/superpowers/specs/2026-10-26-region-ha-without-claims-design.mdLoading diff…
infra/modules/README.mdLoading diff…
infra/modules/region-host/README.mdLoading diff…
infra/modules/region-host/alert_publish.tfLoading diff…
infra/modules/region-host/group_alarms.tfLoading diff…
infra/modules/region-host/main.tfLoading diff…
infra/modules/region-host/outputs.tfLoading diff…
infra/modules/region-host/tests/alerts_topic.tftest.hclLoading diff…
infra/modules/region-host/variables.tfLoading diff…
internal/console/alertsignals.goLoading diff…
internal/console/apiinstances.goLoading diff…
internal/console/apiinstances_test.goLoading diff…
internal/console/apiplacements.goLoading diff…
internal/console/apisystemgeoip.goLoading diff…
internal/console/apisystemupdate.goLoading diff…
internal/console/edgesdns.goLoading diff…
internal/console/edgesreaders_g3_test.goLoading diff…
internal/console/g3_replay_test.goLoading diff…
internal/console/hacreate_test.goLoading diff…
internal/console/layoutguard.goLoading diff…
internal/console/perfwrites_test.goLoading diff…
internal/console/policysize.goLoading diff…
internal/console/policysize_test.goLoading diff…
internal/console/regiondefault.goLoading diff…
internal/console/regiondefault_test.goLoading diff…
internal/console/seedmove.goLoading diff…
internal/console/server.goLoading diff…
internal/console/statusrows.goLoading diff…
internal/console/statusrows_g3_test.goLoading diff…
internal/edge/g3_replay_test.goLoading diff…
internal/host/aliasesread_e2e_test.goLoading diff…
internal/host/edgesfile_group_guard_test.goLoading diff…
internal/host/g3_replay_test.goLoading diff…
internal/host/group_departure_test.goLoading diff…
internal/host/hadepartures.goLoading diff…
internal/host/hadepartures_fix_test.goLoading diff…
internal/host/hadepartures_g3_test.goLoading diff…
internal/host/hadepartures_listing_test.goLoading diff…
internal/host/hadepartures_retained_test.goLoading diff…
internal/host/hadepartures_scan.goLoading diff…
internal/host/hadepartures_scan_test.goLoading diff…
internal/host/haingress.goLoading diff…
internal/host/haingress_g3_test.goLoading diff…
internal/host/steering_g3_test.goLoading diff…
internal/host/steering_loop.goLoading diff…
internal/host/testdata/g3-replay.jsonLoading diff…
internal/lease/ha.goLoading diff…
internal/lease/ha_list_test.goLoading diff…
internal/lease/locktest/fixture.goLoading diff…
internal/provision/plan9_b8_census_test.goLoading diff…
internal/provision/recordview.goLoading diff…
internal/provision/recordview_g3_test.goLoading diff…
internal/provision/testdata/plan14-root-reads-chain.tsvLoading diff…
internal/provision/testdata/plan14-root-reads-region-ha-g3-fixes.tsvLoading diff…
internal/registry/ha_scan.goLoading diff…
internal/steering/g3_test.goLoading diff…
internal/steering/route53.goLoading diff…
internal/steering/route53_test.goLoading diff…
internal/steering/steering.goLoading diff…