Regional domains (#447): Astra whole-branch review brief, round 1
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
1 file changed,
+80
−0
docs/superpowers/reviews/regional-domains-447/CODEX-REVIEW-BRIEF-BRANCH-R1.md+80 −0
CI failed — run details
Intent
Attributed to this commit: 2.91 g CO₂e (382,330 tokens). This is an attribution, not a measurement — usage counted from this commit's own marker forward to the next one on regional-domains-447, 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/reviews/regional-domains-447/CODEX-REVIEW-BRIEF-BRANCH-R1.md b/docs/superpowers/reviews/regional-domains-447/CODEX-REVIEW-BRIEF-BRANCH-R1.md| new file mode 100644 |
| index 000000000..04ba12e36 |
| --- /dev/null |
| +++ b/docs/superpowers/reviews/regional-domains-447/CODEX-REVIEW-BRIEF-BRANCH-R1.md |
| @@ -0,0 +1,80 @@ |
| +# Review brief: regional domains (#447) whole branch, round 1 of 3 |
| + |
| +Repo carlos/platform, branch `regional-domains-447`, commit: this brief's commit. |
| +Under review: the whole branch, `git diff origin/main...regional-domains-447` |
| +(merge base 1c5db50e0fa69fa2c25f0329db751aed34f42313; origin is amadan.net). Runtime code and tests are the |
| +subject; review artefacts under docs/superpowers/reviews/ are history. |
| +Authorities: the design `docs/superpowers/specs/2026-10-28-regional-domains-447-design.md` |
| +(rev 5.3; Paul's rulings 1-9: §2 and the ledger |
| +`.superpowers/sdd/2026-10-28-regional-domains-447/progress.md`, which also |
| +holds every controller ruling, parked item and deferred minor); the plan |
| +`docs/superpowers/plans/2026-10-28-regional-domains-447.md`; AGENTS.md. |
| + |
| +You are an independent reviewer of the finished branch before merge. Every |
| +task touching a security gate, the edge's routing decision, certificates, root |
| +or the release floor already had its own Astra review (findings files in |
| +`docs/superpowers/reviews/regional-domains-447/`). This review covers what |
| +those could not: the whole feature end to end, the seams between tasks, and |
| +Tasks 1, 9, 11 and 12 (reviewed only by a Claude task reviewer). Read AGENTS.md |
| +"Stopping rules" first. |
| + |
| +## The core invariant |
| + |
| +A regional name is never served from, or backhauled to, another region, |
| +including after a restart, an unreadable claim, or a rollback, within §10.5's |
| +accepted limit (boxes on an old binary, or that have not successfully derived |
| +the claim). Do not raise the limit itself. |
| + |
| +## Fixed: do not re-argue |
| + |
| +Paul's rulings 1-9. Findings already resolved in the per-task rounds stay |
| +resolved unless you show new evidence. The census is reviewed separately |
| +(`CODEX-REVIEW-BRIEF-T13-CENSUS-R1.md`): not in scope here. Copy wording was |
| +approved through Luna (`docs/superpowers/plans/LUNA-COPY-REVIEW-REGIONAL-DOMAINS.md`): |
| +raise wording only where it is wrong about behaviour. |
| + |
| +## What to check |
| + |
| +1. End to end: claim create (PUT) -> box derivation -> edge serving -> GET |
| + readiness -> CLI. Does each step consume exactly what the previous one |
| + produces (names, JSON keys, row shapes, the region code, the floor)? |
| +2. The invariant across seams: anything one task assumed another enforces |
| + that nothing enforces. |
| +3. Tasks 1, 9, 11, 12 in full: the GET (budget, tenancy, team scope, |
| + readiness, `counted`), the CLI write and its error handling, the copy gate, |
| + the floor pin. The deferred minors in the ledger: say which must be fixed |
| + before merge. |
| +4. Failure and restart paths: console restart mid-PUT, box restart, registry |
| + remote path, a release rollback with regional claims present. |
| +5. Cross-compile and test hygiene: linux-only code guarded; tests bind |
| + 127.0.0.1; no tenant names added; no test depends on another top-level |
| + test having run (the gate shards tests across processes). |
| +6. Request budget (§11) and provider boundary (§12) as built. |
| + |
| +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. (The census, |
| + and review of any newly changed security, root, termination or |
| + production-storage behaviour, still check the fix; see AGENTS.md, "Stopping |
| + rules".) |
| +- **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 with location, problem, evidence |
| +(file:line, verified), failure scenario, concrete 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; say whether they |
| +share one cause and whether refusing up front or a cut would remove them). |
| + |
| +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). |