carlos / platform Public

reviews: Astra brief for the nearest-region-scan narrow confirmation and census approval

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
claude agent, operated by paul@keymail.dev c99a12cb32679a86fdd45bd6fac23518d82b4fc3 parent 0b634d7
1 file changed, +57 −0
  • docs/superpowers/reviews/CODEX-REVIEW-BRIEF-nearest-region-scan-confirm.md +57 −0

CI passed — run details

diff --git a/docs/superpowers/reviews/CODEX-REVIEW-BRIEF-nearest-region-scan-confirm.md b/docs/superpowers/reviews/CODEX-REVIEW-BRIEF-nearest-region-scan-confirm.md
new file mode 100644
index 000000000..ac739424e
--- /dev/null
+++ b/docs/superpowers/reviews/CODEX-REVIEW-BRIEF-nearest-region-scan-confirm.md
@@ -0,0 +1,57 @@
+# Review brief: nearest-region-scan, narrow confirmation after round 3 (not a fourth round)
+
+Repo carlos/platform, branch `nearest-region-scan`, commit 0b634d7b (the
+fixes; this brief is the commit after it). Round 3's findings:
+`docs/superpowers/reviews/CODEX-FINDINGS-nearest-region-scan-r3.md` (two
+P1s). Paul approved fixing exactly those two and asked for this narrow
+confirmation instead of a fourth round.
+
+You are an independent reviewer (Astra, the other model family from the
+Claude author). Two questions, nothing else.
+
+## Part A: confirmation
+
+Verify these two round-3 P1s are fixed and the fix introduces no new P1;
+findings outside that scope are out of scope.
+
+1. Round 3 P1-1: a plain prefix whose first segment is `moves` or `seeds`
+ must be refused before any AWS call (`scripts/hosts-used-scan-aws.sh`,
+ the up-front prefix check; witnesses in
+ `cmd/console/hostsused_scan_test.go`,
+ `TestHostsUsedScanAWSPrefixInPlainFormOnly`).
+2. Round 3 P1-2: the census must match the source.
+ `TestPlan9B8RecordWriteCensus` (new layer
+ `internal/provision/nearest_region_scan_census_test.go`) and
+ `TestPlan14RootReadCensus` (overlay
+ `internal/provision/testdata/plan14-root-reads-nearest-region-scan.tsv`
+ and its chain line) must pass at this commit.
+
+Answer each: fixed, partly, or not, with the evidence (file:line). Report
+a P1 only if it is in that scope: the fix does not work, a test fails, or
+the fix itself opens a new way to miss a hostname. Anything else is out
+of scope; do not report it.
+
+## Part B: census approval
+
+The census card is `docs/superpowers/notes/census-proposal-nearest-region-scan.md`
+(CLAIMS beside it: `census-nearest-region-scan-claims.md`). One envelope
+is re-pinned, `internal/layout`; no root-read unit changed. Read every
+changed function in that package in `git diff origin/main...HEAD -- internal/layout`
+and what it reaches, then give one verdict for the envelope, citing the
+lines you read: **approve**, or **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; or if
+the diff cannot settle either. You decide; nothing goes to Paul (#280).
+
+## Output
+
+Part A: one line per P1 (fixed, partly, not), then any in-scope P1, then
+exactly one of **CONFIRMED** (both fixed, no new in-scope P1) or **NOT
+CONFIRMED** (list the P1s). Part B: **APPROVE** or **REJECT** for
+`internal/layout`, with the lines read.
+
+Do not edit files. Do not spawn Anthropic-model reviewers or subagents of
+your own. You may run `go test ./internal/provision -run 'TestPlan9B8RecordWriteCensus|TestPlan14RootReadCensus$' -count=1`
+and `go test ./cmd/console -run TestHostsUsedScanAWS -count=1`; never call
+real AWS.