plans: P3a review brief, round 2
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
1 file changed,
+104
−0
docs/superpowers/plans/REVIEW-BRIEF-REGION-HA-P3-R2.md+104 −0
diff --git a/docs/superpowers/plans/REVIEW-BRIEF-REGION-HA-P3-R2.md b/docs/superpowers/plans/REVIEW-BRIEF-REGION-HA-P3-R2.md| new file mode 100644 |
| index 000000000..0e2d0d9a3 |
| --- /dev/null |
| +++ b/docs/superpowers/plans/REVIEW-BRIEF-REGION-HA-P3-R2.md |
| @@ -0,0 +1,104 @@ |
| +# Review brief: region HA P3a plan (group infrastructure, dev NLB ingress), round 2 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? |
| + |
| +- The proposed spec §12.1 maintenance exception (ASG Standby for rolls) |
| + is pending Paul's ruling. It gates P3b only. Review whether P3a's own |
| + restart behaviour on the fixed pair holds without it. |
| + |
| +## Round 2 |
| + |
| +Earlier round: round 1, `REVIEW-REGION-HA-P3-R1.md` (Opus): NOT READY, |
| +2 P1 and 10 P2. Rev 2 is 830eb8f1, with dispositions and citations |
| +against origin/main ceee7a67. |
| + |
| +First give one line per round-1 P1 and P2: resolved, partly, or not. |
| +Carry every unresolved or partly resolved finding forward, then add new |
| +ones. |
| + |
| +Look hardest at: |
| +- the admission switch `CARLOS_GROUP_ADMISSION` and flagship being |
| + unchanged without it; |
| +- the role re-read gate and its budget; |
| +- dev apply safety: the store-Deny fix, the read-plan and -target, and the |
| + widened JSON gate; |
| +- the rollback. |
| + |
| +Name the invariant beside each finding. |
| + |
| +## 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`. |