plans: P1b-3a review brief, round 2
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
docs/superpowers/plans/REVIEW-BRIEF-REGION-HA-P1B3-R2.md+106 −0
Intent
<task-notification> <task-id>b0zfdbhzc</task-id> <tool-use-id>toolu_018pA3SgFDn9AeudWZ1bcqhg</tool-use-id> <output-file>/home/paulca/.cache/tmp/claude-1001/-home-paulca-amadan-net-carlos-platform/aab63774-dfe6-44a4-9cd9-230e6f4c3d13/tasks/b0zfdbhzc.output</output-file> <status>completed</status> <summary>Background command "Commit R1 findings and have Astra write rev 2" completed (exit code 0)</summary> </task-notification>
Attributed to this commit: 13.0 g CO₂e (1,677,324 tokens). This is an attribution, not a measurement — usage counted from this commit's own marker forward to the next one on region-ha-p1b3-placement, 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-P1B3-R2.md b/docs/superpowers/plans/REVIEW-BRIEF-REGION-HA-P1B3-R2.md| new file mode 100644 |
| index 000000000..d73d4d374 |
| --- /dev/null |
| +++ b/docs/superpowers/plans/REVIEW-BRIEF-REGION-HA-P1B3-R2.md |
| @@ -0,0 +1,106 @@ |
| +# Review brief: region HA P1b-3a plan (cold-wake placement), round 2 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? |
| + |
| +- N-HA11 (Paul, 2026-11-01): P1b-3b uses a small SQS consumer on the |
| + existing termination queue, with the view-age check as the fallback. |
| + It's in the plan's Rulings; do not re-argue it. |
| + |
| +## Round 2 |
| + |
| +Earlier round: round 1, `REVIEW-REGION-HA-P1B3-R1.md` (Opus, against |
| +0cd04be9): NOT READY, 3 P1 and 4 P2. Rev 2 is eac3ee76, which has a |
| +dispositions table. |
| + |
| +First give one line per P1 and P2 from round 1: 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. |
| + |
| +Look hardest at the applicability rule rev 2 introduced. Is it |
| +enforced in one place? Does every case outside it behave exactly as |
| +main does? Those cases are: |
| +- the switch off; |
| +- an expired owner; |
| +- a suspect target; |
| +- self adoption; |
| +- a missing view. |
| + |
| +Name the fault family (the invariant) beside each finding, because the |
| +stopping rules count families across rounds. |
| + |
| +## 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. |