region HA P3b-2: attended operator Standby rolls (N-HA14)
Group members install the SSM agent at boot. The region-host module
outputs a least-privilege operator IAM policy. New root verbs
carlos system group-maintenance {status|permit|revoke|prepare|apply|
rollback} serve the merged Task 4 guard unchanged.
scripts/region-group-roll.py runs one serialized N-HA14 Standby
transaction per group: journaled, locked, Session Manager only, with one
classify() decider. It never terminates, never raises desired and never
completes a lifecycle action (Paul's 2026-11-05 ruling, #421).
Fake-provider tests, a 3000-seed simulation and mutation checks pass.
Whole-branch Opus review READY AFTER FIXES (0 P1). Census approved on
#280. No release, apply or drill.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Squashed from region-ha-p3b2-build into main.
29 files changed,
+7,159
−31
docs/superpowers/notes/2026-11-05-region-ha-p3b2-followups.md+56 −0docs/superpowers/notes/2026-11-05-region-ha-p3b2-operator.md+193 −0docs/superpowers/notes/2026-11-05-region-ha-p3b2-standby-witness.md+382 −0docs/superpowers/notes/census-proposal-region-ha-p3b2.md+49 −0docs/superpowers/plans/2026-11-04-region-ha-p3b-group.md+1 −0infra/modules/region-host/README.md+37 −0infra/modules/region-host/group-init.sh.tftpl+10 −1infra/modules/region-host/group_operator.tf+111 −0infra/modules/region-host/tests/fixed_state_unchanged.tftest.hcl+4 −0infra/modules/region-host/tests/group_operator.tftest.hcl+236 −0infra/modules/region-host/tests/group_user_data.tftest.hcl+10 −0internal/host/group_maintenance.go+44 −21internal/host/group_maintenance_clock.go+97 −0internal/host/group_maintenance_prepare.go+347 −0internal/host/group_maintenance_prepare_test.go+501 −0internal/host/group_maintenance_round1_test.go+359 −0internal/host/group_maintenance_verbs.go+377 −0internal/host/group_maintenance_verbs_linux.go+213 −0internal/host/group_maintenance_verbs_other.go+19 −0internal/host/group_maintenance_verbs_test.go+597 −0internal/host/systemapply.go+27 −8internal/host/systemleg.go+6 −0internal/provision/testdata/plan14-root-reads-chain.tsv+1 −0internal/provision/testdata/plan14-root-reads-region-ha-p3b2.tsv+44 −0scripts/region-group-roll.py+1,413 −0scripts/region_group_roll_test.py+1,944 −0scripts/region_group_ssm_boot_test.py+69 −0system.go+3 −1system_test.go+9 −0
CI passed — run details
docs/superpowers/notes/2026-11-05-region-ha-p3b2-followups.mdLoading diff…
docs/superpowers/notes/2026-11-05-region-ha-p3b2-operator.mdLoading diff…
docs/superpowers/notes/2026-11-05-region-ha-p3b2-standby-witness.mdLoading diff…
docs/superpowers/notes/census-proposal-region-ha-p3b2.mdLoading diff…
docs/superpowers/plans/2026-11-04-region-ha-p3b-group.mdLoading diff…
infra/modules/region-host/README.mdLoading diff…
infra/modules/region-host/group-init.sh.tftplLoading diff…
infra/modules/region-host/group_operator.tfLoading diff…
infra/modules/region-host/tests/fixed_state_unchanged.tftest.hclLoading diff…
infra/modules/region-host/tests/group_operator.tftest.hclLoading diff…
infra/modules/region-host/tests/group_user_data.tftest.hclLoading diff…
internal/host/group_maintenance.goLoading diff…
internal/host/group_maintenance_clock.goLoading diff…
internal/host/group_maintenance_prepare.goLoading diff…
internal/host/group_maintenance_prepare_test.goLoading diff…
internal/host/group_maintenance_round1_test.goLoading diff…
internal/host/group_maintenance_verbs.goLoading diff…
internal/host/group_maintenance_verbs_linux.goLoading diff…
internal/host/group_maintenance_verbs_other.goLoading diff…
internal/host/group_maintenance_verbs_test.goLoading diff…
internal/host/systemapply.goLoading diff…
internal/host/systemleg.goLoading diff…
internal/provision/testdata/plan14-root-reads-chain.tsvLoading diff…
internal/provision/testdata/plan14-root-reads-region-ha-p3b2.tsvLoading diff…
scripts/region-group-roll.pyLoading diff…
scripts/region_group_roll_test.pyLoading diff…
scripts/region_group_ssm_boot_test.pyLoading diff…
system.goLoading diff…
system_test.goLoading diff…