review: branch review brief for group-roll-verb, round 1
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
docs/superpowers/reviews/BRANCH-REVIEW-BRIEF-group-roll-verb.md+66 −0
CI failed — run details
Intent
<task-notification> <task-id>adc428f2d302ff941</task-id> <tool-use-id>toolu_01J9ib5UrbXMFrLKZavZ21vE</tool-use-id> <output-file>/home/paulca/.cache/tmp/claude-1001/-home-paulca-amadan-net-carlos-platform/669506ff-23ec-45f1-9035-1d29593f2c37/tasks/adc428f2d302ff941.output</output-file> <status>completed</status> <summary>Agent "Pre-review batch: gate + script header" finished</summary> <note>A task-notification fires each time this agent stops with no live background children of its own. The user can send it another message and resume it, so the same task-id may notify more than once.</note> <result>I re-proposed the census on top of main's chain and committed it as `cb0f00fd` ("census: re-propose group-roll-verb after merging main"). Nothing is pushed. - **Chain:** our `plan14-root-reads-group-roll-verb.tsv` line is last again, after main's last entry, with seal `2702ed0f3d78011fe689ea03d0cdf77c4e2473cee84ebc6be49ab2170dead1d8`. The overlay file itself didn't change, and the proposal note is regenerated. - **Claims file:** I had deleted my earlier copy, so I rebuilt it from the overlay and committed it at `docs/superpowers/notes/census-claims-group-roll-verb.tsv` (24 lines, next to the other branches' claims). - **Tests:** all passed. - `go test ./internal/provision -run Census` - `go test ./internal/grouproll/... ./internal/grouprollaws/... ./internal/release ./internal/parity` - `go test . -run 'TestCLIProjection|TestRegionHA'` - **Report:** appended to `.superpowers/sdd/2026-11-09-group-roll-verb/task-14-batch-report.md`. - **Not mine:** `docs/superpowers/reviews/BRANCH-REVIEW-BRIEF-group-roll-verb.md` is untracked and I left it alone.</result> <usage><subagent_tokens>75518</subagent_tokens><tool_uses>27</tool_uses><duration_ms>985401</duration_ms></usage> </task-notification>
Attributed to this commit: 65.2 g CO₂e (8,406,429 tokens). This is an attribution, not a measurement — usage counted from this commit's own marker forward to the next one on 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/BRANCH-REVIEW-BRIEF-group-roll-verb.md b/docs/superpowers/reviews/BRANCH-REVIEW-BRIEF-group-roll-verb.md| new file mode 100644 |
| index 000000000..3307b4d92 |
| --- /dev/null |
| +++ b/docs/superpowers/reviews/BRANCH-REVIEW-BRIEF-group-roll-verb.md |
| @@ -0,0 +1,66 @@ |
| +# Review brief: branch `group-roll-verb` (the roll tool as `carlos system group`), round 1 of 3 |
| + |
| +Repo carlos/platform, branch `group-roll-verb`, commit named in the reviewer's prompt. |
| +Under review: the diff `$(git merge-base origin/main <commit>)..<commit>`, i.e. everything the branch adds over main |
| +(new packages internal/grouproll and internal/grouprollaws, internal/release/systemlookup.go, the CLI leaves in |
| +system_group.go / system_roles.go, docs/site/cli.md, parity and census files, scripts/grouproll-golden/, the CI step |
| +.amadan/ci.d/30-minio-contract, and a comment header on scripts/region-group-roll.py). |
| +Authorities (merged on main or on this branch as the approved spec): docs/superpowers/specs/2026-11-09-group-roll-verb-design.md |
| +(rev 3.1 APPROVED by Paul 2026-11-09, plus V10/V11 and §11 updates recorded on this branch at agent manager 8a3d302's |
| +direction), docs/superpowers/specs/2026-10-26-region-ha-without-claims-design.md §25 (incl. §25.15), and the plan |
| +docs/superpowers/plans/2026-11-09-group-roll-verb.md. The parity target is scripts/region-group-roll.py and |
| +scripts/region-group-probe.py; for the SHA-pinned floor, the parked branch origin/held-floor-sha-map (e17a74d3), whose |
| +signed pointer fixtures Paul named parity fixtures (copied into internal/release/testdata). |
| + |
| +You are an independent reviewer. Read the spec, then the code, and check every claim against the code. |
| + |
| +## Fixed: do not re-argue |
| + |
| +- Paul's approval of spec rev 3.1 (§13 answers: the cross-machine claim is cut, serialize as the script does; Go |
| + witnesses; refuse Windows). No fourth spec round: this branch review checks the two round-3 spec fixes (one switch per |
| + group via a root migration check, §11 step 5; the typed shared-config loader option). |
| +- Deviations V1-V11 in spec §7 are decided. Report only a mechanism that fails to honour one, or a deviation that is not |
| + in the table. |
| +- Controller rulings recorded in the build ledger (summarised): pointer reads give the TOOL verdict on the 29 diff |
| + fixtures; the journal encodes finite floats canonically (integral → integer), refuses non-canonical rows on read; |
| + ha_take counts only as the JSON integer 1; a failed StartSession API call is Uncertain(api); the plugin floor is |
| + strictly greater than 1.2.497.0; credentials are loaded with SDK middleware (not WithHTTPClient) to keep |
| + AWS_CA_BUNDLE; Instance's malformed-collection error is Refusal(api). |
| + |
| +## What to check |
| + |
| +1. Termination and capacity safety (H4, H5): any path to Terminate without this transaction's finished drain, present |
| + fence, proven stopped edge (MainPID 0) and an empty second lock sweep; any path that lowers desired other than Park of |
| + the member, or raises desired outside the replace restore; V10/V11 behaviour. |
| +2. The r2 uncertain-drain cut: ExitStandby after a failed drain only when status proves no move of this transaction runs. |
| +3. Decision parity: Classify and TerminateDecision and the executors against the script; the golden fixtures and the |
| + simulation's ability to catch a real divergence; test seams that could alter production behaviour. |
| +4. Credentials and transport: environment allow-list and AWS_IGNORE_CONFIGURED_ENDPOINT_URLS; stable caller identity |
| + rule over the whole source_profile chain; the token never in argv, logs or the journal; process-group kill before |
| + reap; 2 s read bounds and 4 MiB caps on every client including credential clients. |
| +5. The floor: signature/root-key/channel checks, the conservative pre-check, never guessing a version, never falling |
| + back to DR-4 on doubt. |
| +6. State and journal: ownership and permission checks, journal integrity (hash chain, canonical rows), lock semantics. |
| +7. The CLI: refusal order (Windows, root, carlos box, flags), never touching console code, the registry/parity/docs. |
| +8. Census: every unit in docs/superpowers/notes/census-proposal-group-roll-verb.md — is root on a box ever made to read, |
| + run or follow something new? (This code runs on operator machines; the verb refuses on a carlos box and as root.) |
| + |
| +## 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. (The census, and review of any newly changed security, |
| + root, termination or production-storage behaviour, still check the fix; see AGENTS.md, "Stopping rules".) |
| +- **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 area, 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: |
| + |
| +- **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 reviewers or subagents of your own. Do not run the full test suites (focused tests only). |