region HA P3a: dev NLB ingress, plan gate, box roles, opt-in admission
Adds the regional NLB ingress module with health alarms, a JSON plan gate that refuses any change touching a fixed box identity, desired box roles read through the change index, and fixed-box opt-in admission (CARLOS_GROUP_ADMISSION=1): a box starts closed and serves tenants only after its four startup facts. Switch-off boxes are byte-identical. Namespace withdrawal was cut under stopping rule 2 (#421). Opus reviewed tasks and branch (R1 READY); census approved on #280. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Squashed from region-ha-p3-group into main. Squashed from region-ha-p3-group into main.
docs/superpowers/notes/census-proposal-region-ha-p3a.md+111 −0docs/superpowers/notes/census-region-ha-p3a-claims.tsv+60 −0docs/superpowers/plans/2026-11-01-region-ha-p3-group.md+405 −0docs/superpowers/plans/REVIEW-BRIEF-REGION-HA-P3-R1.md+80 −0docs/superpowers/plans/REVIEW-BRIEF-REGION-HA-P3-R2.md+104 −0docs/superpowers/plans/REVIEW-REGION-HA-P3-R1.md+107 −0docs/superpowers/plans/REVIEW-REGION-HA-P3-R2.md+118 −0docs/superpowers/reviews/REVIEW-BRIEF-REGION-HA-P3A-BRANCH.md+61 −0docs/superpowers/reviews/REVIEW-REGION-HA-P3A-BRANCH-R1.md+177 −0infra/modules/region-host/group_alarms.tf+24 −0infra/modules/region-host/ingress/alarms.tf+89 −0infra/modules/region-host/ingress/main.tf+127 −0infra/modules/region-host/ingress/outputs.tf+19 −0infra/modules/region-host/ingress/tests/fixed-targets/main.tf+33 −0infra/modules/region-host/ingress/tests/fixed-targets/tests/targets.tftest.hcl+61 −0infra/modules/region-host/ingress/tests/fixed-targets/variables.tf+56 −0infra/modules/region-host/ingress/tests/fixed-targets/versions.tf+9 −0infra/modules/region-host/ingress/tests/group_ingress.tftest.hcl+282 −0infra/modules/region-host/ingress/variables.tf+79 −0infra/modules/region-host/ingress/versions.tf+9 −0infra/modules/region-host/tests/fixed_state_unchanged.tftest.hcl+97 −0infra/modules/region-host/tests/group_alarms.tftest.hcl+106 −0internal/activator/activator.go+57 −2internal/activator/backend_exec.go+28 −0internal/activator/backend_rootfs.go+2 −0internal/activator/claimwake.go+1 −1internal/activator/cmd.go+3 −0internal/activator/cmdunit.go+7 −0internal/activator/containment.go+1 −0internal/activator/genbackend.go+4 −1internal/activator/genservice.go+6 −0internal/activator/group_admission.go+80 −0internal/activator/group_admission_test.go+138 −0internal/activator/hawake.go+3 −0internal/activator/rootfsworkers.go+2 −2internal/activator/swapadmit.go+1 −1internal/activator/wakeplan.go+1 −1internal/activator/workerbuild.go+3 −0internal/boxroles/roles.go+136 −0internal/boxroles/roles_test.go+82 −0internal/console/apiplacements.go+1 −1internal/console/boxroles_test.go+48 −0internal/console/instancesplacement.go+4 −1internal/edge/admission_exact_test.go+126 −0internal/edge/admission_export_test.go+112 −0internal/edge/boxroles_test.go+62 −0internal/edge/edge.go+19 −2internal/edge/group_admission.go+52 −0internal/edge/group_admission_external_test.go+50 −0internal/edge/homemap.go+10 −4internal/edge/lbhealth.go+10 −0internal/edge/wakeplacement.go+1 −1internal/edge/wakeplacement_test.go+6 −1internal/edgesfile/admission.go+27 −0internal/edgesfile/admission_test.go+45 −0internal/edgesfile/edgesfile.go+1 −0internal/edgesfile/homeelect.go+3 −2internal/edgesfile/snapshot.go+2 −1internal/groupadmission/observation.go+10 −0internal/groupadmission/state.go+101 −0internal/groupadmission/state_test.go+141 −0internal/host/agent.go+29 −11internal/host/booting_publication_test.go+128 −0internal/host/boxroles.go+148 −0internal/host/boxroles_config.go+39 −0internal/host/boxroles_config_linux.go+32 −0internal/host/boxroles_config_other.go+9 −0internal/host/boxroles_config_test.go+55 −0internal/host/boxroles_test.go+559 −0internal/host/edgesfile.go+31 −10internal/host/group_admission.go+246 −0internal/host/group_admission_fix_test.go+300 −0internal/host/group_admission_test.go+362 −0internal/host/group_metrics.go+128 −0internal/host/group_metrics_test.go+234 −0internal/host/memwatch.go+25 −4internal/host/schedule_wiring.go+17 −6internal/host/startup_largebox_linux_test.go+12 −2internal/hostenv/boxroles_test.go+9 −0internal/hostenv/hostenv.go+2 −0internal/provision/testdata/plan14-root-reads-chain.tsv+1 −0internal/provision/testdata/plan14-root-reads-region-ha-p3a.tsv+128 −0internal/release/boxroles_test.go+11 −0internal/release/changeindex.go+1 −1scripts/check-region-group-plan.py+425 −0scripts/check_region_group_plan_test.py+390 −0scripts/group_alarm_plan_test.py+72 −0scripts/testdata/region-group-plan/fixed-eip-reassociation.json+25 −0scripts/testdata/region-group-plan/fixed-identities.json+74 −0scripts/testdata/region-group-plan/fixed-identity-probes.json+191 −0scripts/testdata/region-group-plan/new-ingress.json+26 −0scripts/testdata/region-group-plan/regional-alarms.json+477 −0scripts/testdata/region-group-plan/targeted-fixed-user-data.json+41 −0scripts/testdata/region-group-plan/unchanged-move.json+26 −0
CI passed — run details
docs/superpowers/notes/census-proposal-region-ha-p3a.mdLoading diff…
docs/superpowers/notes/census-region-ha-p3a-claims.tsvLoading diff…
docs/superpowers/plans/2026-11-01-region-ha-p3-group.mdLoading diff…
docs/superpowers/plans/REVIEW-BRIEF-REGION-HA-P3-R1.mdLoading diff…
docs/superpowers/plans/REVIEW-BRIEF-REGION-HA-P3-R2.mdLoading diff…
docs/superpowers/plans/REVIEW-REGION-HA-P3-R1.mdLoading diff…
docs/superpowers/plans/REVIEW-REGION-HA-P3-R2.mdLoading diff…
docs/superpowers/reviews/REVIEW-BRIEF-REGION-HA-P3A-BRANCH.mdLoading diff…
docs/superpowers/reviews/REVIEW-REGION-HA-P3A-BRANCH-R1.mdLoading diff…
infra/modules/region-host/group_alarms.tfLoading diff…
infra/modules/region-host/ingress/alarms.tfLoading diff…
infra/modules/region-host/ingress/main.tfLoading diff…
infra/modules/region-host/ingress/outputs.tfLoading diff…
infra/modules/region-host/ingress/tests/fixed-targets/main.tfLoading diff…
infra/modules/region-host/ingress/tests/fixed-targets/tests/targets.tftest.hclLoading diff…
infra/modules/region-host/ingress/tests/fixed-targets/variables.tfLoading diff…
infra/modules/region-host/ingress/tests/fixed-targets/versions.tfLoading diff…
infra/modules/region-host/ingress/tests/group_ingress.tftest.hclLoading diff…
infra/modules/region-host/ingress/variables.tfLoading diff…
infra/modules/region-host/ingress/versions.tfLoading diff…
infra/modules/region-host/tests/fixed_state_unchanged.tftest.hclLoading diff…
infra/modules/region-host/tests/group_alarms.tftest.hclLoading diff…
internal/activator/activator.goLoading diff…
internal/activator/backend_exec.goLoading diff…
internal/activator/backend_rootfs.goLoading diff…
internal/activator/claimwake.goLoading diff…
internal/activator/cmd.goLoading diff…
internal/activator/cmdunit.goLoading diff…
internal/activator/containment.goLoading diff…
internal/activator/genbackend.goLoading diff…
internal/activator/genservice.goLoading diff…
internal/activator/group_admission.goLoading diff…
internal/activator/group_admission_test.goLoading diff…
internal/activator/hawake.goLoading diff…
internal/activator/rootfsworkers.goLoading diff…
internal/activator/swapadmit.goLoading diff…
internal/activator/wakeplan.goLoading diff…
internal/activator/workerbuild.goLoading diff…
internal/boxroles/roles.goLoading diff…
internal/boxroles/roles_test.goLoading diff…
internal/console/apiplacements.goLoading diff…
internal/console/boxroles_test.goLoading diff…
internal/console/instancesplacement.goLoading diff…
internal/edge/admission_exact_test.goLoading diff…
internal/edge/admission_export_test.goLoading diff…
internal/edge/boxroles_test.goLoading diff…
internal/edge/edge.goLoading diff…
internal/edge/group_admission.goLoading diff…
internal/edge/group_admission_external_test.goLoading diff…
internal/edge/homemap.goLoading diff…
internal/edge/lbhealth.goLoading diff…
internal/edge/wakeplacement.goLoading diff…
internal/edge/wakeplacement_test.goLoading diff…
internal/edgesfile/admission.goLoading diff…
internal/edgesfile/admission_test.goLoading diff…
internal/edgesfile/edgesfile.goLoading diff…
internal/edgesfile/homeelect.goLoading diff…
internal/edgesfile/snapshot.goLoading diff…
internal/groupadmission/observation.goLoading diff…
internal/groupadmission/state.goLoading diff…
internal/groupadmission/state_test.goLoading diff…
internal/host/agent.goLoading diff…
internal/host/booting_publication_test.goLoading diff…
internal/host/boxroles.goLoading diff…
internal/host/boxroles_config.goLoading diff…
internal/host/boxroles_config_linux.goLoading diff…
internal/host/boxroles_config_other.goLoading diff…
internal/host/boxroles_config_test.goLoading diff…
internal/host/boxroles_test.goLoading diff…
internal/host/edgesfile.goLoading diff…
internal/host/group_admission.goLoading diff…
internal/host/group_admission_fix_test.goLoading diff…
internal/host/group_admission_test.goLoading diff…
internal/host/group_metrics.goLoading diff…
internal/host/group_metrics_test.goLoading diff…
internal/host/memwatch.goLoading diff…
internal/host/schedule_wiring.goLoading diff…
internal/host/startup_largebox_linux_test.goLoading diff…
internal/hostenv/boxroles_test.goLoading diff…
internal/hostenv/hostenv.goLoading diff…
internal/provision/testdata/plan14-root-reads-chain.tsvLoading diff…
internal/provision/testdata/plan14-root-reads-region-ha-p3a.tsvLoading diff…
internal/release/boxroles_test.goLoading diff…
internal/release/changeindex.goLoading diff…
scripts/check-region-group-plan.pyLoading diff…
scripts/check_region_group_plan_test.pyLoading diff…
scripts/group_alarm_plan_test.pyLoading diff…
scripts/testdata/region-group-plan/fixed-eip-reassociation.jsonLoading diff…
scripts/testdata/region-group-plan/fixed-identities.jsonLoading diff…
scripts/testdata/region-group-plan/fixed-identity-probes.jsonLoading diff…
scripts/testdata/region-group-plan/new-ingress.jsonLoading diff…
scripts/testdata/region-group-plan/regional-alarms.jsonLoading diff…
scripts/testdata/region-group-plan/targeted-fixed-user-data.jsonLoading diff…
scripts/testdata/region-group-plan/unchanged-move.jsonLoading diff…