design: review brief for the group roll verb, round 1
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
1 file changed,
+71
−0
docs/superpowers/reviews/CODEX-REVIEW-BRIEF-group-roll-verb.md+71 −0
CI passed — run details
Intent
Attributed to this commit: 37.6 g CO₂e (3,487,779 tokens). This is an attribution, not a measurement — usage counted from this commit's own marker forward to the next one on design-group-roll-verb, never backward from it. A turn that produced more than one commit books all of its tokens to the last one, and a concurrent session on this branch can add to the same figure. Some of it was priced using the shared default rate, because no model-specific factor row exists yet for at least one model involved. The Carbon view has the repo total, which is never derived from this attribution.
diff --git a/docs/superpowers/reviews/CODEX-REVIEW-BRIEF-group-roll-verb.md b/docs/superpowers/reviews/CODEX-REVIEW-BRIEF-group-roll-verb.md| new file mode 100644 |
| index 000000000..faa081daa |
| --- /dev/null |
| +++ b/docs/superpowers/reviews/CODEX-REVIEW-BRIEF-group-roll-verb.md |
| @@ -0,0 +1,71 @@ |
| +# Review brief: `carlos system group` roll tool port, spec + plan, round 1 of 3 |
| + |
| +Repo carlos/platform, branch `design-group-roll-verb`, commit named in the reviewer's prompt. |
| +Under review: `docs/superpowers/specs/2026-11-09-group-roll-verb-design.md` (spec) and |
| +`docs/superpowers/plans/2026-11-09-group-roll-verb.md` (plan). Give separate verdicts for each; |
| +they have separate round budgets. |
| +Authorities: `docs/superpowers/specs/2026-10-26-region-ha-without-claims-design.md` (§7.5, §9.9, |
| +§12, §25 incl. §25.15) and the code on main: `scripts/region-group-roll.py`, |
| +`scripts/region-group-probe.py`, their tests, `internal/host/group_maintenance*.go`, |
| +`internal/host/hadrain.go`, `infra/modules/region-host/group_operator.tf`, |
| +`infra/modules/region-group-operator-document/`, `internal/release/systempointer.go`, |
| +`internal/rootaws/`, `region_ha_boundary_test.go`, `system_roles.go`, `system.go`. |
| + |
| +You are an independent reviewer. Read the documents, then the code they name, and check every |
| +claim against that code. |
| + |
| +## Fixed: do not re-argue |
| + |
| +- Paul (2026-11-09, via agent manager 8a3d302): port the script into the carlos binary; |
| + provider-neutral core with an AWS adapter; exact behaviour parity; no root unless proven |
| + necessary; no extra packages; parity proven by fixtures, the simulation and the fault tests; |
| + rollout ends with the script retired; the census covers the port. |
| +- §25 rulings are binding (§25.15 r4; the r2 uncertain-drain cut: after a failed drain, exit |
| + Standby only on proof no move runs). Report only mechanisms that fail to honour them. |
| +- The unmerged branch `held-floor-sha-map` (SHA-pinned floor) is a declared dependency: the spec |
| + §9 says the floor task waits for its merge and follows it (stopping rule 4). Do not raise |
| + "depends on unmerged work" as a P1; do check that §9 as written is safe on its own. |
| + |
| +## What to check |
| + |
| +1. Parity: does anything in spec §6 misstate what the script does? Is any script behaviour |
| + missing from §6 that is not a declared deviation in §7? Pay attention to H4, H5, the |
| + failed-drain return, divergence/hold, terminate recovery, abandon/close-lost conditions. |
| +2. The deviations V1-V7: is each one safe? In particular V1 (no root, per-user state), V3/V4 |
| + (journal format 2 and the overlap rule with the script), V6. |
| +3. The claim (§8): can two machines both run a transaction on one group? Can a claim be lost |
| + or forced while a transaction is in flight? Is the at-rest force check sufficient? |
| +4. The provider boundary (§5): is the Phase mapping lossless for every distinction |
| + classify()/terminate_decision() make? Does anything in the "core" column actually need AWS? |
| +5. The Session Manager transport (§5.3): is calling StartSession via the SDK and then running |
| + session-manager-plugin equivalent to the CLI path the cards verified (interruption, session |
| + id capture, TerminateSession permissions under the OwnSessions statement)? |
| +6. Credentials (§4): does the described loading actually ignore ambient keys and endpoints with |
| + aws-sdk-go-v2, and is the "never as root / never on a box" refusal sound? |
| +7. The floor (§9): any way to guess a version, or fall back to DR-4 on an unreadable floor? |
| +8. Parity proof (§10): are the golden fixtures, simulation port, byte-identical commands and the |
| + ledger enough to catch a divergent port? What would slip through? |
| +9. The plan: do tasks cover the spec? Wrong file paths, signatures that do not fit the code, |
| + tests that cannot be written as described, ordering problems (stopping rules 4 and 6). |
| + |
| +## Severity |
| + |
| +- **P1**: unsafe, would not compile, a test fails, or it would not work. Blocks merge. |
| +- **P2**: wrong or missing. Fixed without reopening this review. |
| +- **P3**: clarity or polish. Goes on a follow-up list; never a reason for another round. |
| + |
| +A P1 states its failure scenario and the evidence (file:line). Do not raise a P2 to P1 to keep the |
| +review open. |
| + |
| +## Output |
| + |
| +Findings ranked P1, P2, P3. Each gives the section or task, the problem, the evidence (file:line, |
| +verified), the failure scenario, a concrete fix and the invariant or trust boundary it breaks (its |
| +fault family). End with exactly one verdict for the spec and one for the plan: |
| + |
| +- **READY**: no P1 and no P2. |
| +- **READY AFTER FIXES**: no P1. The listed P2s are fixed without another round. |
| +- **NOT READY**: one or more P1s, listed. |
| + |
| +Do not edit files. Do not spawn Anthropic-model reviewers or subagents of your own. Do not run the |
| +full test suites. |