carlos / platform Public

Regional domains (#447) Task 13: census overlays and card

Census reviewer brief (Astra) for the root-read card and the record-write
inventory. Gate run once: go build, go vet, gofmt -l, darwin/windows/
linux-arm64 cross-builds, census tests: all clean.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
claude agent, operated by paul@keymail.dev f7c3e30d9b55d30eb225b1bf02836f4f1d1433c4 parent 3754f33
1 file changed, +92 −0
  • docs/superpowers/reviews/regional-domains-447/CODEX-REVIEW-BRIEF-T13-CENSUS-R1.md +92 −0

CI cancelled — superseded by a newer push — run details

diff --git a/docs/superpowers/reviews/regional-domains-447/CODEX-REVIEW-BRIEF-T13-CENSUS-R1.md b/docs/superpowers/reviews/regional-domains-447/CODEX-REVIEW-BRIEF-T13-CENSUS-R1.md
new file mode 100644
index 000000000..8803c362a
--- /dev/null
+++ b/docs/superpowers/reviews/regional-domains-447/CODEX-REVIEW-BRIEF-T13-CENSUS-R1.md
@@ -0,0 +1,92 @@
+# Review brief: census for branch regional-domains-447 (#447), round 1 of 3
+
+Repo carlos/platform, branch `regional-domains-447`, commit: the commit that
+adds this file (the controller names it in your prompt).
+Under review: the census card
+`docs/superpowers/notes/census-proposal-regional-domains-447.md` (with its
+CLAIMS beside it, `docs/superpowers/notes/census-regional-domains-447-claims.md`,
+and its overlay `internal/provision/testdata/plan14-root-reads-regional-domains-447.tsv`),
+and the record-write inventory
+`internal/provision/regional_domains_447_census_test.go`, against the diff
+`origin/main...regional-domains-447` (origin is amadan.net).
+Authorities: AGENTS.md "The census: the reviewer decides" on main; the
+design `docs/superpowers/specs/2026-10-28-regional-domains-447-design.md`
+(rev 5.3, on this branch: it is the branch's own spec, read it for intent
+only).
+
+You are the census reviewer (AGENTS.md "The census", step 4): you are from
+the other model family than the author. Read the card, then the diff of
+every unit and every re-pinned envelope it names, and give a verdict for
+each one, citing the lines you read.
+
+## Fixed: do not re-argue
+
+- Paul's rulings 1-9 for #447 (design §2 and
+ `.superpowers/sdd/2026-10-28-regional-domains-447/progress.md`). Report
+ only mechanisms that fail to honour them.
+- The census owner no longer rules (#280, 2026-10-26): you decide every
+ class, including `new` and `reads`. Nothing escalates to Paul.
+- `internal/console` is out of the root-read census's scope; its record
+ writes are in the record-write census only.
+
+## What to check
+
+1. Root-read card, every unit (body, sites, reads, new) and every re-pinned
+ envelope (`.`, `internal/domains`, `internal/edge`, `internal/host`,
+ `internal/provision`, `internal/registry`, `internal/release`,
+ `internal/status`): reject if the change lets 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; if it weakens a check,
+ refusal, validation, argument or environment root relies on; if a new
+ disposition (`legacy`, `accepted-legacy`) is wrong for the unit's reads;
+ or if the diff cannot settle any of these.
+2. `cli.go` `runAdd` / `addRegionalCheck`: the one new read in a verb root
+ may run. Confirm it is one `domains.GetClaim` by key through
+ `deploymentReadSeam`'s store, read only, that the key cannot escape the
+ store (`release.DirStore.path`), and that the result can only add a
+ refusal.
+3. The new `regional_domains` table: written only by the agent's alias
+ pass (`writeRegional`, `Registry.ReplaceRegionalSet`), read only by the
+ edge (`Edge.Reload`, `foldRegional`) and the pass itself. Confirm no root
+ pass reads it, and that the registry schema change (`other`, `@fields`)
+ is only that table.
+4. The card's "Branch context" section: check every factual claim in it
+ against the diff.
+5. Record-write inventory: for each entry (three new, seven re-pinned, one
+ removed), confirm the class against the unit's source and that no
+ record key is written outside `provision.WriteRecord` or the typed
+ writers. In particular: `claimRawSetClaimPlacements` and
+ `setClaimCapabilitiesAt` write only `ClaimKey` (nonrecord); the removed
+ `claimRawSetClaimCapabilities` entry has no Put of its own;
+ `RecordHostDeclared` writes nothing (key-site).
+
+## 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
+
+First a table: every unit and envelope on the card, and every record-write
+inventory entry changed, with APPROVE or REJECT and the lines you read.
+Then findings ranked P1, P2, P3. Each gives the unit, the problem, the
+evidence (file:line, verified), the failure scenario, a concrete fix and
+the invariant or trust boundary it breaks (that is its fault family). End
+with exactly one verdict:
+
+- **READY**: no P1 and no P2.
+- **READY AFTER FIXES**: no P1. The listed P2s are fixed without another
+ round.
+- **NOT READY**: one or more P1s, listed.
+
+Do not edit files. Do not spawn Anthropic-model reviewers or subagents of
+your own. Do not run the full test suites.