carlos / platform Public

group-roll-verb

Port of scripts/region-group-roll.py and region-group-probe.py into carlos system group (spec docs/superpowers/specs/2026-11-09-group-roll-verb-design.md, approved by Paul 2026-11-09; plan docs/superpowers/plans/2026-11-09-group-roll-verb.md).

  • Verb: plan, roll, replace, remove, rollback, resume, return, status, abandon, close-lost, cancel-drain, and probe start|resume|status|abandon|close-lost. It runs from one unprivileged operator account per deployment. It refuses root, carlos boxes and Windows, and never touches the console.
  • Code: core internal/grouproll (no AWS SDK) and adapter internal/grouprollaws (Auto Scaling, ELB, EC2, and Session Manager through the plugin). The token is passed by environment, the environment is rebuilt from an allow-list, and only profiles with a stable caller identity are accepted. The signed SHA-to-release lookup is internal/release/systemlookup.go.
  • Parity: - golden decider fixtures from the script (3000 seeds); - a Go port of the seeded simulation, extended to replace and remove with H4/H5 audits and mutants; - byte-identical box commands; - a 293-row parity ledger. Deviations V1-V12 are in spec §7; V10-V12 fix script defects the reviews found.
  • Reviews: per-task (Astra on the risky tasks), then the branch review (Astra + Fable). Round 1 found 2 P1s, fixed and re-checked, ending READY AFTER FIXES with those fixes applied. The census was approved by both and recorded on #280.
  • Docs: docs/site/cli.md and docs/region-ha-runbook.md, including the one-time switch per group. The script carries a SUPERSEDED header.
  • Not yet done: inert until a release (8a3d302 schedules it). Then dev witnesses W1-W5 with the Go verb, then the retirement branch.
Human

carlos system group: the region group roll tool as a Go verb (replaces scripts/region-group-roll.py). Reviewed, census approved, CI green.

Commits 57
Discussions 0 0 open
Tasks 13/13 done

Activity