census: review brief for edge-asset-cache-3 after the C2 re-merge (asset cache plan 3, before merge)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
1 file changed,
+38
−0
docs/superpowers/notes/CODEX-REVIEW-BRIEF-census-edge-asset-cache-3.md+38 −0
CI failed — run details
diff --git a/docs/superpowers/notes/CODEX-REVIEW-BRIEF-census-edge-asset-cache-3.md b/docs/superpowers/notes/CODEX-REVIEW-BRIEF-census-edge-asset-cache-3.md| new file mode 100644 |
| index 000000000..520fcc9e3 |
| --- /dev/null |
| +++ b/docs/superpowers/notes/CODEX-REVIEW-BRIEF-census-edge-asset-cache-3.md |
| @@ -0,0 +1,38 @@ |
| +# Review brief: census card for branch edge-asset-cache-3 (C2 re-propose), round 1 of 3 |
| + |
| +Repo carlos/platform, branch `edge-asset-cache-3`, commit db7fdbdcfe7b03e954a9c2a03ccfb17c84c123cb. |
| +Under review: `docs/superpowers/notes/census-proposal-edge-asset-cache-3.md` and the branch's diff `origin/main...db7fdbdcfe7b03e954a9c2a03ccfb17c84c123cb`, read as the card's "Review:" paragraph says. |
| +Authorities: AGENTS.md "The census: the reviewer decides" and "Stopping rules" on main; the C2 re-base (7c9e9d6a) on main; spec `docs/superpowers/specs/2026-10-24-edge-asset-cache-design.md` (on this branch, plans 1-2 merged on main). |
| + |
| +You are an independent reviewer and, under C2, you decide every census class: body, sites, reads, new, removed. Nothing escalates to Paul. Read the card, then the code each unit names, and check every claim against that code. |
| + |
| +## Fixed: do not re-argue |
| + |
| +- Branch behaviour is settled. The whole-branch review ran to its budget and the remaining recording gaps are on amadan #414. Report only census-relevant issues: what root (the root carlos binary) can now open, run, query or follow, and from which input. |
| +- Before C2, Astra approved this branch's census at five tips (last at 401e8847, final seal fc75c6e7) with the same units, and Paul accepted the then-decision rows. Under C2 the card is re-proposed from scratch, so judge it fresh. The earlier verdicts are in `.superpowers/sdd/2026-10-24-edge-asset-cache-plan-3-serve/census-recheck*.md` and `final-rereview4.md`. |
| + |
| +## What to check |
| + |
| +1. Each of the 5 changed units: does the claim match the diff, and is the kept disposition still right? |
| +2. Each of the 23 new units: the 7 plan-3 edge and host units, plus 16 internal/assetcache units that enter scope only through plan 3's imports. Is the proposed class right? Are they run as the agent (User=carlos), not root? Does any read a path or input a tenant, app or box agent can create, write or name, in a way root would act on? |
| +3. The 2 reads units (runAgent +file:Statfs, assetPolicy.decide +whole:Route x2): are the bases honest? |
| +4. The 5 re-pinned envelopes: read every changed function. |
| +5. The record-write layer `internal/provision/edge_asset_cache_3_census_test.go`, now based on nearestRegionAWriteCensusInventory: does it re-pin handleAPIAssetsStatus with unchanged class and kinds? |
| + |
| +## 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. 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 |
| + |
| +A verdict per unit and envelope (APPROVE or REJECT, with one line of reason). Then findings ranked P1, P2, P3. Each gives the problem, the evidence (file:line, verified), the failure scenario, a concrete fix and the invariant or trust boundary it breaks. 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. |