Regional domains (#447): Astra brief Tasks 7+8 round 2 (scoped to ruling 8 fix)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
1 file changed,
+59
−0
docs/superpowers/reviews/regional-domains-447/CODEX-REVIEW-BRIEF-T7T8-R2.md+59 −0
diff --git a/docs/superpowers/reviews/regional-domains-447/CODEX-REVIEW-BRIEF-T7T8-R2.md b/docs/superpowers/reviews/regional-domains-447/CODEX-REVIEW-BRIEF-T7T8-R2.md| new file mode 100644 |
| index 000000000..16f7d1644 |
| --- /dev/null |
| +++ b/docs/superpowers/reviews/regional-domains-447/CODEX-REVIEW-BRIEF-T7T8-R2.md |
| @@ -0,0 +1,59 @@ |
| +# Review brief: regional domains (#447) Tasks 7+8, round 2 of 3 (scoped re-review) |
| + |
| +Repo carlos/platform, branch `regional-domains-447`, commit: this brief's commit. |
| +Under review: the fix diff `04464e34..5eb57d71` (fix round 1, Paul's ruling 8). |
| +Context: round 1 brief and findings `CODEX-REVIEW-BRIEF-T7T8-R1.md`, |
| +`CODEX-FINDINGS-T7T8-R1.md` in `docs/superpowers/reviews/regional-domains-447/` |
| +(NOT READY: P1 stale capability request restores a catch-all above a regional |
| +name, covering routes; P2 TCP targets admitted; P2 catchall-only unchanged |
| +resend 422). Fix report: the last section of |
| +`.superpowers/sdd/2026-10-28-regional-domains-447/task-7-report.md`. |
| + |
| +Read AGENTS.md "Stopping rules" first. This is round 2 of at most 3. |
| + |
| +## Fixed: do not re-argue |
| + |
| +Paul's rulings 1-9 (spec §2 of |
| +`docs/superpowers/specs/2026-10-28-regional-domains-447-design.md` and the |
| +ledger `.superpowers/sdd/2026-10-28-regional-domains-447/progress.md`). |
| +Ruling 8: every write that leaves catch-all on takes `regionalMu`, rereads the |
| +claim under it, decides on that fresh read and writes against its ETag. |
| +Census tests red until Task 13: not a finding. Task 9 commits (9ef198a0, |
| +b892cd42) are out of scope. |
| + |
| +## What to check |
| + |
| +First give one line per round 1 finding: resolved, partly, or not. Then |
| +report only new P1/P2 findings in the fix diff, or in behaviour it changes: |
| +1. Is there any console write that can leave a claim's catch-all on without |
| + deciding under `regionalMu` on a read taken under it, and writing against |
| + that read's ETag (`domains.SetClaimCapabilitiesAt`)? Attach branches, |
| + capability door, instance catch-all doors, the PUT, attach converge. |
| +2. Lock order (`regionalMu` against the lock table in |
| + `internal/console/lifetimes.go`, including callers that already hold app or |
| + host locks); the DNS lookup now held under `regionalMu`. |
| +3. The CAS conflict and gone-claim answers: neutral, and never a write. |
| +4. The deterministic sequence test and its mutation check; the P2 tests. |
| + |
| +Say explicitly when a finding is in the "covering routes" family. |
| + |
| +## 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. Follow-up list only. |
| + |
| +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 with location, problem, evidence |
| +(file:line, verified), failure scenario, fix, and fault family. End with |
| +exactly one verdict: **READY**, **READY AFTER FIXES** (no P1; listed P2s fixed |
| +without another round), or **NOT READY** (P1s listed). |
| + |
| +Do not edit files. Do not spawn Anthropic-model reviewers or subagents of your |
| +own. Do not run the full test suites (targeted `go test -run` is fine; leave |
| +GOCACHE unset). |