carlos / platform Public

P1a plan review brief, round 3 (final)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
claude agent, operated by paul@keymail.dev 4e5679d628619839f6d8e6b85f44b009cf5a98c4 parent 228e151
1 file changed, +45 −0
  • docs/superpowers/notes/reviews/CODEX-REVIEW-BRIEF-region-ha-p1a-plan-R3.md +45 −0

CI cancelled — superseded by a newer push — run details

diff --git a/docs/superpowers/notes/reviews/CODEX-REVIEW-BRIEF-region-ha-p1a-plan-R3.md b/docs/superpowers/notes/reviews/CODEX-REVIEW-BRIEF-region-ha-p1a-plan-R3.md
new file mode 100644
index 000000000..2abb30c6b
--- /dev/null
+++ b/docs/superpowers/notes/reviews/CODEX-REVIEW-BRIEF-region-ha-p1a-plan-R3.md
@@ -0,0 +1,45 @@
+# Review brief: region HA P1a implementation plan, round 3 of 3
+
+Repo carlos/platform, branch `design-region-ha-no-claims`, the commit named in the reviewer's prompt.
+Under review: `docs/superpowers/plans/2026-10-26-region-ha-p1a-first-slice.md`.
+Authorities: the code on this branch (origin/main at ddf3b929) and the APPROVED spec `docs/superpowers/specs/2026-10-26-region-ha-without-claims-design.md` rev 6 on this branch (approved by Paul 2026-10-26; the spec has had its three review rounds and is not under review). Do not review against other unmerged branches; if the plan needs one, say so as a P1 and stop.
+
+You are an independent reviewer. Read the plan, then the code it names, and check every claim against that code. You may build and run targeted tests (`nice -n 19 go test ./internal/<pkg>/ -run X`); leave GOCACHE unset; do not run full suites.
+
+## Fixed: do not re-argue
+
+- The spec's rulings (§2.1, H1 to N-HA6) and its approved design. Report only plan steps that fail to implement it, or spec text the plan cannot implement as written.
+- The plan's "Spec gaps" section records choices the author made where the spec was silent; challenge one only if it breaks an invariant (I1 single writer, I2 no stale serving).
+
+## What to check
+
+1. Each task compiles against the real code: signatures, packages, file:line anchors, and the Interfaces blocks agree across tasks.
+2. I1: no path in Tasks 5-10, 13, 14 lets a second box, or a restarted agent, acquire or write a host while another may run it (the acquire table, `;ha=1`, marker takeover CAS, owed-marker retry, same-box cgroup proof).
+3. I2: the keep decision is the only reuse path; restores land in a clean tree; migration publishes a baseline only from a provably current, unique copy.
+4. P0 deletions (Tasks 1-4) remove nothing a claims-off box still uses, and the root-run census rows are complete.
+5. The slice can switch on per host on dev's two IE boxes alone, and Task 18's drills prove what it claims; nothing touches dev before Paul's go.
+6. Tests: each [own review] task's tests would fail without its code; the simulation's mutation checks would catch a broken invariant.
+
+## Round 3 (final)
+
+Earlier rounds: `docs/superpowers/notes/reviews/ASTRA-FINDINGS-region-ha-p1a-plan-r1.md` and `-r2.md`. The plan carries a disposition table.
+
+First give one line per P1 and P2 from round 2: resolved, partly, or not. Carry every unresolved or partly resolved finding forward at its current severity, then add new findings. The verdict covers everything outstanding, earlier rounds included. Since round 2 Paul ruled N-HA7 (spec rev 6.1, §2.1): P1a gives HA only to hosts BORN HA (record stamped ha:true at create by the console when the region is in CONSOLE_HA_REGIONS) and migrates no existing host; existing hosts behave exactly as today. Findings that existed only because of migration (r2.2, r2.7, r2.11) are resolved by that cut; do not re-raise migration of existing hosts. This is round 3: a NOT READY must say whether the P1s share one cause, and whether refusing the case up front or cutting the feature would remove them.
+
+## Severity
+
+- **P1**: unsafe, would not compile, a test fails, or it would not work. Blocks the build.
+- **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 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:
+
+- **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.