reviews: Astra confirmation for nearest-region-scan (census APPROVE; P1-1 fixed, P1-2 fingerprints match, tests not runnable in its sandbox)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
1 file changed,
+14
−0
docs/superpowers/reviews/CODEX-FINDINGS-nearest-region-scan-confirm.md+14 −0
diff --git a/docs/superpowers/reviews/CODEX-FINDINGS-nearest-region-scan-confirm.md b/docs/superpowers/reviews/CODEX-FINDINGS-nearest-region-scan-confirm.md| new file mode 100644 |
| index 000000000..2387a93d9 |
| --- /dev/null |
| +++ b/docs/superpowers/reviews/CODEX-FINDINGS-nearest-region-scan-confirm.md |
| @@ -0,0 +1,14 @@ |
| +## Part A |
| + |
| +- **P1-1: fixed.** The [prefix gate](/home/paulca/amadan.net/carlos/platform/.claude/worktrees/nearest-region-scan/scripts/hosts-used-scan-aws.sh:76) rejects first segments `moves` and `seeds` and exits before AWS calls. Direct execution of its jq predicate confirmed both roots and nested forms are refused; `moves-archive` remains accepted. [Witnesses](/home/paulca/amadan.net/carlos/platform/.claude/worktrees/nearest-region-scan/cmd/console/hostsused_scan_test.go:611) assert exit 2, no output, and zero AWS calls. |
| +- **P1-2: partly.** Independently recomputed fingerprints match the [record-write replacement](/home/paulca/amadan.net/carlos/platform/.claude/worktrees/nearest-region-scan/internal/provision/nearest_region_scan_census_test.go:15) and [layout envelope](/home/paulca/amadan.net/carlos/platform/.claude/worktrees/nearest-region-scan/internal/provision/testdata/plan14-root-reads-nearest-region-scan.tsv:3). The [inventory selection](/home/paulca/amadan.net/carlos/platform/.claude/worktrees/nearest-region-scan/internal/provision/plan9_b8_census_test.go:369) and [chain entry](/home/paulca/amadan.net/carlos/platform/.claude/worktrees/nearest-region-scan/internal/provision/testdata/plan14-root-reads-chain.tsv:16) are connected. Required test passes remain unverified: both permitted commands stopped before running tests because Go’s work-directory creation failed with `read-only file system`. |
| + |
| +No new in-scope P1 found. |
| + |
| +**NOT CONFIRMED** — P1-2’s required test execution remains unverified; this is an environment limitation, not an observed census assertion failure. |
| + |
| +## Part B |
| + |
| +**APPROVE — `internal/layout`.** The change skips only the exact reserved `_probe` directory. It adds no I/O or root authority and weakens no check root relies on. Valid hostnames cannot equal `_probe`; hashed instance identifiers cannot equal it either. |
| + |
| +Read the changed mapper and its helpers at [hostsused.go:37–167](/home/paulca/amadan.net/carlos/platform/.claude/worktrees/nearest-region-scan/internal/layout/hostsused.go:37), the changed [test:153–168](/home/paulca/amadan.net/carlos/platform/.claude/worktrees/nearest-region-scan/internal/layout/hostsused_test.go:153), and their dependencies: [probe constant:590–593](/home/paulca/amadan.net/carlos/platform/.claude/worktrees/nearest-region-scan/internal/instancectl/names.go:590), [hostname validation:9–28](/home/paulca/amadan.net/carlos/platform/.claude/worktrees/nearest-region-scan/launchctx/controlname/names.go:9), [InstanceID:3154–3173](/home/paulca/amadan.net/carlos/platform/.claude/worktrees/nearest-region-scan/internal/provision/provision.go:3154), and [SortedKeys:73–80](/home/paulca/amadan.net/carlos/platform/.claude/worktrees/nearest-region-scan/internal/provision/hostsused_map.go:73). The sole production caller is [console activation:390–400](/home/paulca/amadan.net/carlos/platform/.claude/worktrees/nearest-region-scan/internal/console/hostsused_activate.go:390). |
| \ No newline at end of file |