carlos / platform Public

plans: P1b-3a review brief, round 1

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Paul Campbell pushed by claude agent, operated by paul@keymail.dev 0cd04be960974998c53d7b627a28a6b067cdf20c parent a3f48f9
1 file changed, +79 −0
  • docs/superpowers/plans/REVIEW-BRIEF-REGION-HA-P1B3-R1.md +79 −0
diff --git a/docs/superpowers/plans/REVIEW-BRIEF-REGION-HA-P1B3-R1.md b/docs/superpowers/plans/REVIEW-BRIEF-REGION-HA-P1B3-R1.md
new file mode 100644
index 000000000..e6cd1f014
--- /dev/null
+++ b/docs/superpowers/plans/REVIEW-BRIEF-REGION-HA-P1B3-R1.md
@@ -0,0 +1,79 @@
+# Review brief: region HA P1b-3a plan (cold-wake placement), round 1 of 3
+
+Repo carlos/platform, branch `region-ha-p1b3-placement`. Read the commit
+named in your prompt.
+
+**Under review:** `docs/superpowers/plans/2026-11-01-region-ha-p1b3-placement.md`,
+the P1b-3a executable tasks (Tasks 1-5). The P1b-3b outline is NOT under
+review; flag only what in it would force 3a to change.
+
+**Authorities**, all on main:
+- `docs/superpowers/specs/2026-10-26-region-ha-without-claims-design.md`
+ (rev 6.1 plus §19's finish line note);
+- the merged P1b-1 and P1b-2 plans, as interface precedent;
+- the code at 44d810d0, which is P1a, P1b-1, P1b-2, dead-holder backoff
+ and durability 3a.
+
+You are an independent reviewer. Read the plan, then the code it cites,
+and check every claim and file:line against that code.
+
+## Fixed: do not re-argue
+
+- Paul's rulings in the spec (N-HA1 to N-HA10), especially:
+ - N-HA8: P1b-3 is placement and duties. Roles, latch, hook and hairpin
+ go to P3.
+ - N-HA9: no takeover faster than the lease, and no storage fencing yet.
+ - N-HA10: forward at the front.
+- Paul's 2026-11-01 finish line: G3 now, G5 later.
+- No duty-file transfer (it was cut in spec rev 6).
+- AGENTS.md stopping rules. S3 requests cost money: no new per-box
+ polling.
+
+## What to check
+
+1. **One writer.** Can placement ever make two boxes wake the same host,
+ or a box wake one it must forward? Cover races between the cached
+ placement snapshot and a lease acquire, a stale view, a missing app
+ count, and the chosen box disappearing. Is `lease.AcquireHA` still the
+ only authority?
+2. **Front-door exclusions.** Do P1b-2's exclusions hold for every new
+ path, with per-request steps running once on the serving box? The
+ exclusions are legacy hosts, regional names, doors, tunnels, static
+ routes and verified hops.
+3. **Inputs.** Is every missing, stale or future-dated input answered
+ safely? Inputs are headroom, app counts, view age and the clean-releaser
+ marker. Is A20 honoured, so low headroom never refuses an existing host
+ when a compatible box exists?
+4. **Budget.** Is the request and pass S3 budget exact, with no new
+ polling? Verify the edges-publication and fold claims against the code.
+5. **Witnesses.** Are the witnesses production-wired, and does each named
+ mutation fail without its fix? Is the dev drill (Task 5A) runnable on
+ sophie and leo in pool hapair?
+6. **Rollout.** Is a mixed-version roll safe, with additive wire fields
+ and old files decoding? Does any task need census or copy work it
+ doesn't list?
+
+## 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 the evidence (file:line).
+
+## Output
+
+Findings ranked P1, P2, P3. Each gives:
+- the task;
+- the problem;
+- the evidence (file:line, verified);
+- the failure scenario;
+- a concrete fix;
+- the invariant it breaks.
+
+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 the full
+test suites.