carlos / platform Public

review: round 4 (final, Paul-approved) and census round 3 briefs

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
claude agent, operated by paul@keymail.dev 1690cc11a9c9ea95b6d6010dd12da5370e8615f9 parent f9ad96e
2 files changed, +32 −0
  • docs/superpowers/reviews/CODEX-REVIEW-BRIEF-census-named-unit-delivery-114-R3.md +9 −0
  • docs/superpowers/reviews/CODEX-REVIEW-BRIEF-named-unit-delivery-114-R4.md +23 −0

CI passed — run details

diff --git a/docs/superpowers/reviews/CODEX-REVIEW-BRIEF-census-named-unit-delivery-114-R3.md b/docs/superpowers/reviews/CODEX-REVIEW-BRIEF-census-named-unit-delivery-114-R3.md
new file mode 100644
index 000000000..3079b0a5d
--- /dev/null
+++ b/docs/superpowers/reviews/CODEX-REVIEW-BRIEF-census-named-unit-delivery-114-R3.md
@@ -0,0 +1,9 @@
+# Census review brief: named-unit-delivery-114, round 3
+
+Repo carlos/platform, branch `named-unit-delivery-114`, code tip f9ad96e47ae4a22a37f567e8b9fd4b81180eb21c (main 9bcbab0f).
+
+Same role and instructions as round 1 (`docs/superpowers/reviews/CODEX-REVIEW-BRIEF-census-named-unit-delivery-114.md`). Your round 2 verdict, ESCALATED 10 (E1 Backing=unit bypass, E2 env reaper, E3 directory provenance), is `docs/superpowers/reviews/CODEX-FINDINGS-census-named-unit-delivery-114-R2.md`. Commit 975a38fa closed each by refusal: declared hosts only through the declaration-gated writer, declared hosts kept by the reaper and no reap when declarations are unreadable or changed, declaration re-read before every mutation, and every root read through `rootstate`'s descriptor walk (`OpenTrustedFileFrom`, anchored at `/` with uid 0 in production). The card and claims were regenerated: `docs/superpowers/notes/census-proposal-named-unit-delivery-114.md`, `docs/superpowers/notes/census-named-unit-delivery-114-claims.md`; the `internal/rootstate` envelope is newly re-pinned.
+
+First one line per round 2 escalation: resolved or not. Then do exactly what the card's "Review" paragraph says against `git diff origin/main...f9ad96e47ae4a22a37f567e8b9fd4b81180eb21c`: approve or escalate per unit and per re-pinned envelope, one-line reason. End with APPROVED or ESCALATED (n).
+
+Do not edit files. Do not spawn Anthropic-model reviewers or subagents. Do not run the full test suites. Leave GOCACHE unset.
diff --git a/docs/superpowers/reviews/CODEX-REVIEW-BRIEF-named-unit-delivery-114-R4.md b/docs/superpowers/reviews/CODEX-REVIEW-BRIEF-named-unit-delivery-114-R4.md
new file mode 100644
index 000000000..73500fc23
--- /dev/null
+++ b/docs/superpowers/reviews/CODEX-REVIEW-BRIEF-named-unit-delivery-114-R4.md
@@ -0,0 +1,23 @@
+# Review brief: named-unit config delivery (#114) on current main, round 4 (Paul-approved, final)
+
+Repo carlos/platform, branch `named-unit-delivery-114`, commit f9ad96e47ae4a22a37f567e8b9fd4b81180eb21c.
+Under review: the diff `origin/main...f9ad96e47ae4a22a37f567e8b9fd4b81180eb21c`, and specifically the round-4 commit 975a38fa (`git diff 0db1966b..975a38fa`).
+Authorities, rulings and deferrals: as in round 3's brief, `docs/superpowers/reviews/CODEX-REVIEW-BRIEF-named-unit-delivery-114-R3.md`, all still binding.
+
+Paul approved one round 4 after round 3 (amadan discussion #114), **limited to verifying the round-3 fixes**. Each round-3 finding was closed by refusing the case up front. Do not open new areas of the branch that rounds 1 to 3 already passed; report only:
+(a) whether each round-3 P1 and P2 (`docs/superpowers/reviews/CODEX-FINDINGS-named-unit-delivery-114-r3.md`) and census E1-E3 (`docs/superpowers/reviews/CODEX-FINDINGS-census-named-unit-delivery-114-R2.md`) is resolved, partly, or not, one line each;
+(b) defects the round-4 changes themselves introduced. In particular: the new `rootstate.OpenTrustedDirFrom` / `OpenTrustedFileFrom` (`internal/rootstate/file_linux.go`), which reuse `Open`'s descend walk from a caller-held anchor: is production anchored at `/` with uid 0 so the chain is exactly `OpenTrustedFile`'s, and can any caller pass an anchor or owner that weakens it? `declaredHostRefusal` placement before either writer; `declGuard` at each mutation; the ASCII-only base grammar; the reaper's declared-host retention and its skip when declarations are unreadable or changed.
+
+## 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
+
+Part (a), then findings ranked P1, P2, P3, each with section, 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, saying whether they share one cause and whether refusing up front or cutting the feature removes them).
+
+Do not edit files. Do not spawn Anthropic-model reviewers or subagents. Do not run the full test suites. Leave GOCACHE unset.