review: brief for region HA P2b-1 branch R1
1 file changed,
+81
−0
docs/superpowers/reviews/REVIEW-BRIEF-REGION-HA-P2B1-BRANCH-R1.md+81 −0
CI failed — run details
Intent
Attributed to this commit: 47.3 g CO₂e (5,688,416 tokens). This is an attribution, not a measurement — usage counted from this commit's own marker forward to the next one on region-ha-p2b-build, 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/REVIEW-BRIEF-REGION-HA-P2B1-BRANCH-R1.md b/docs/superpowers/reviews/REVIEW-BRIEF-REGION-HA-P2B1-BRANCH-R1.md| new file mode 100644 |
| index 000000000..f085cb287 |
| --- /dev/null |
| +++ b/docs/superpowers/reviews/REVIEW-BRIEF-REGION-HA-P2B1-BRANCH-R1.md |
| @@ -0,0 +1,81 @@ |
| +# Review brief: region HA P2b-1 build branch, round 1 of 3 |
| + |
| +Repo carlos/platform, branch `region-ha-p2b-build`, commit 14c6a0e58cfce3c1e1d413035fabc16e1c4ce6ef. |
| +Under review: the diff `6209ce43..14c6a0e5` (main merge base to tip). |
| +Package: `.superpowers/sdd/2026-11-04-region-ha-p2b-console/review-6209ce43..14c6a0e5.diff` |
| +in the worktree `.claude/worktrees/region-ha-p2b-build` (git-ignored; read it there). |
| +It includes the merged plan docs; the code is T0-T4 plus one merge fix. |
| +Authorities: `docs/superpowers/plans/2026-11-04-region-ha-p2b-console.md` |
| +(rev 2 FINAL, review closed; its binding P2b-1 extract is |
| +`.superpowers/sdd/2026-11-04-region-ha-p2b-console/p2b1-design.md`), |
| +`docs/superpowers/specs/2026-10-26-region-ha-without-claims-design.md`, |
| +AGENTS.md, discussion #421 (N-HA1 to N-HA19, Q1). |
| + |
| +You are an independent reviewer. Read the diff, then the code it names, |
| +and check every claim against that code. |
| + |
| +## Fixed: do not re-argue |
| + |
| +- Paul's rulings N-HA1 to N-HA19 and the Q1 pool-evidence ruling (#421). |
| +- The plan's decisions D1-D6 and invariants I1-I8 (plan, "Rulings and |
| + decisions" and "Named invariants"). |
| +- Controller rulings R1-R10 in |
| + `.superpowers/sdd/2026-11-04-region-ha-p2b-console/ledger-minors-rulings.md` |
| + (R7: malformed identity = unknown; R8: null named_pools = missing (C10); |
| + R10: domain-purchase capacity refusals are transient). Report only |
| + mechanisms that fail to honour them. |
| +- Approved copy is `.superpowers/sdd/2026-11-04-region-ha-p2b-console/copy-approved.md` |
| + (applied verbatim by delegation); do not re-word it. |
| +- P2b-2 (role door) and P2b-3 (display) are NOT in this branch. |
| + |
| +## What to check |
| + |
| +1. I5 end to end: every create door in an HA region (instance plain, |
| + --from/seeded, binary/address/rootfs shapes, standalone sidecar, |
| + first-domain API and browser, domain-purchase apex) refuses before |
| + any protected write; non-create doors are untouched (I1). |
| +2. I2/I4: no path turns unknown, malformed, capped or failed evidence |
| + into a complete zero, a page or a metric datum; a positive witness |
| + admits only with membership plus accepts_inbound. |
| +3. I3: one observer loop per console (with and without HostClaim, HA |
| + regions, metrics); no S3 on the request path; 60 s / 45 s / 120 s |
| + timing; one-attempt clients; bounded LISTs and bodies. |
| +4. Identity binding: fixed pins, g- derivation, account/region, |
| + instance uniqueness; file-controlled values never pick an AWS region, |
| + bucket or CloudWatch destination. |
| +5. T0 publication: named_pools from the reconciler's one parse, |
| + additive, old readers unaffected; census overlay |
| + `internal/provision/testdata/plan14-root-reads-region-ha-p2b.tsv`. |
| +6. The merge fix 479c4031 (keyed doorRefusal literals in main's |
| + appcopies.go/copiespublication.go) changes no behaviour. |
| +7. Triage the deferred minors in ledger-minors-rulings.md: which, if any, |
| + must be fixed before merge (as P2 with reasons), which stay follow-ups. |
| + |
| +## 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 section or task, the problem, |
| +the evidence (file:line, verified), the failure scenario, a concrete |
| +fix and the invariant or trust boundary it breaks (that is 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. |