plans: P3a review brief, round 1
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
1 file changed,
+80
−0
docs/superpowers/plans/REVIEW-BRIEF-REGION-HA-P3-R1.md+80 −0
Intent
Attributed to this commit: 16.8 g CO₂e (2,156,972 tokens). This is an attribution, not a measurement — usage counted from this commit's own marker forward to the next one on region-ha-p3-group, 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/plans/REVIEW-BRIEF-REGION-HA-P3-R1.md b/docs/superpowers/plans/REVIEW-BRIEF-REGION-HA-P3-R1.md| new file mode 100644 |
| index 000000000..7b50fa99d |
| --- /dev/null |
| +++ b/docs/superpowers/plans/REVIEW-BRIEF-REGION-HA-P3-R1.md |
| @@ -0,0 +1,80 @@ |
| +# Review brief: region HA P3a plan (group infrastructure, dev NLB ingress), round 1 of 3 |
| + |
| +Repo carlos/platform, branch `region-ha-p3-group`. Read the commit named |
| +in your prompt. |
| + |
| +**Under review:** `docs/superpowers/plans/2026-11-01-region-ha-p3-group.md`, |
| +the P3a executable tasks. P3b and every "after P1b-3a / P2a" section are |
| +outlines and are NOT under review; flag only what in them would force P3a |
| +to change. |
| + |
| +**Authorities**, all merged on main: |
| +- `docs/superpowers/specs/2026-10-26-region-ha-without-claims-design.md` |
| + (rev 6.1 plus §19's finish line note); |
| +- discussion #421, rulings N-HA1 to N-HA13; |
| +- the code and infra at current origin/main. |
| + |
| +The P1b-3a and P2a plans (branches `region-ha-p1b3-placement` and |
| +`region-ha-p2-console`) are final but UNMERGED, and both are being built. |
| +P3a must not depend on them (stopping rule 4). If it does, that is a P1. |
| + |
| +You are an independent reviewer. Read the plan, then the code and tofu it |
| +cites, and check every claim and file:line. |
| + |
| +## Fixed: do not re-argue |
| + |
| +- The spec's rulings and #421's N-HA1 to N-HA13. |
| +- Finish line G3, end goal G5. |
| +- AGENTS.md stopping rules. No new per-box polling. The core is |
| + provider-neutral, and AWS is an adapter. |
| + |
| +## What to check |
| + |
| +1. **Admission and serving (astra-3.2, §10).** Can a box serve or take a |
| + tenant lease, forwarded requests included, before it is admitted on |
| + the full health predicate? Is the serving latch correct on loss and on |
| + restart? Is the role (serve, drain, platform) honoured everywhere it |
| + must be? |
| +2. **One writer (I1).** Does anything in P3a let two boxes write one host, |
| + or take a lease without the existing HA acquire? |
| +3. **Infra.** Is it correct and safe? |
| + - group mode, the NLB and its security group, and target groups; |
| + - IAM least privilege (no wildcard deletes; the existing store Deny, |
| + #478 drift); |
| + - the boot script, and the #446 fresh-box fixes; |
| + - hairpin (§12.4). |
| + Can a plan or apply by mistake change flagship's existing single-box |
| + regions? That would be a P1. |
| +4. **Provider neutrality.** Does any core package import AWS? |
| +5. **Budget and cost.** Check the AWS API, S3 and request budget (no new |
| + polling) and the per-region cost line. |
| +6. **Witnesses.** Are they production-wired? Is the dev drill runnable, |
| + and is its rollback stated? |
| +7. **Copy and census.** Is the copy deck complete and are the census notes |
| + right? |
| + |
| +## 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. |
| + |
| +A P1 states its failure scenario and evidence (file:line). Name the |
| +invariant beside each finding. |
| + |
| +## Output |
| + |
| +Findings ranked P1, P2, P3. Each gives: |
| +- the task; |
| +- the problem; |
| +- the evidence; |
| +- the failure scenario; |
| +- the fix; |
| +- the invariant. |
| + |
| +End with exactly one verdict: **READY**, **READY AFTER FIXES**, or |
| +**NOT READY**. |
| + |
| +Do not edit files. Do not spawn reviewers or subagents. Do not run tests, |
| +`tofu plan` or `tofu apply`. |