carlos / platform Public

Regional domains (#447): Astra brief Task 6 round 1

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
claude agent, operated by paul@keymail.dev 782a301d8defc68aba74752fa897d90bab561263 parent b53764c
1 file changed, +56 −0
  • docs/superpowers/reviews/regional-domains-447/CODEX-REVIEW-BRIEF-T6-R1.md +56 −0
diff --git a/docs/superpowers/reviews/regional-domains-447/CODEX-REVIEW-BRIEF-T6-R1.md b/docs/superpowers/reviews/regional-domains-447/CODEX-REVIEW-BRIEF-T6-R1.md
new file mode 100644
index 000000000..02fb4c24b
--- /dev/null
+++ b/docs/superpowers/reviews/regional-domains-447/CODEX-REVIEW-BRIEF-T6-R1.md
@@ -0,0 +1,56 @@
+# Review brief: regional domains (#447) Task 6 (`carlos add` refuses a regional host), round 1 of 3
+
+Repo carlos/platform, branch `regional-domains-447`, commit: this brief's commit.
+Under review: the diff `d1ec32cc..b53764c4` (cli.go, cli_add_regional_test.go).
+Authorities: `docs/superpowers/specs/2026-10-28-regional-domains-447-design.md`
+rev 5 (§2 ruling 5(b); §7.3 the `carlos add` bullet; §10.5; §11 the
+`carlos add` row; §13 W12); the task text in
+`docs/superpowers/plans/2026-10-28-regional-domains-447.md` Task 6; the
+implementer's report `.superpowers/sdd/2026-10-28-regional-domains-447/task-6-report.md`.
+
+You are an independent reviewer. `carlos add` is run by root on a box, and
+this change makes it read a claim object from the deployment bucket, so it
+gets its own review. Read AGENTS.md "Stopping rules" and "The census" first.
+
+## Fixed: do not re-argue
+
+Paul's rulings 1-6 (spec §2). In particular ruling 5(b): `carlos add` refuses
+a host a regional claim holds when it can read the claim; when it cannot, it
+proceeds, because the edge's Reload deny (Task 5) is the backstop. Census
+tests red until Task 13: not a finding.
+
+## What to check
+
+1. Does the new read let root open, run, query or follow anything it did not
+ before from a path or input a tenant, an app or a box agent can create,
+ write or name? (The claim key is derived from the host root typed; the
+ claim body is tenant-influenced JSON.) Is the body only decoded, never
+ acted on beyond the refuse/proceed decision?
+2. Does it weaken any existing check or refusal in `carlos add` (`addRail`,
+ nested-layout and daemon checks), or change behaviour when the seam gives
+ no store?
+3. Is X versus `*.Y` handled exactly as the spec says, including hosts that
+ fail normalisation?
+4. Cost: one GET by key per `carlos add`, never a listing.
+5. Tests: real binary, would each fail with the check removed?
+
+## 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).