review: Opus brief for static-markdown-twins, round 1
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
1 file changed,
+39
−0
docs/superpowers/reviews/OPUS-REVIEW-BRIEF-static-markdown-twins.md+39 −0
CI passed — run details
diff --git a/docs/superpowers/reviews/OPUS-REVIEW-BRIEF-static-markdown-twins.md b/docs/superpowers/reviews/OPUS-REVIEW-BRIEF-static-markdown-twins.md| new file mode 100644 |
| index 000000000..84b4ac65f |
| --- /dev/null |
| +++ b/docs/superpowers/reviews/OPUS-REVIEW-BRIEF-static-markdown-twins.md |
| @@ -0,0 +1,39 @@ |
| +# Review brief: branch static-markdown-twins (whole branch + census), round 1 of 3 |
| + |
| +Repo carlos/platform, branch `static-markdown-twins`, commit 70cab1d6 (code tip; 80912cf5 adds only a copy brief). |
| +Under review: the diff `a921b59b..70cab1d6` (three Codex-authored commits: feature, tests + draft docs, census overlay). |
| +Authorities: the plan `docs/superpowers/plans/2026-11-04-static-markdown-twins.md` (its Global Constraints and Review Focus 1-5 are binding; Paul approved it 2026-11-04) and AGENTS.md "The census: the reviewer decides". |
| + |
| +You are an independent reviewer from the other model family than the author. Read the plan, then the diff, and check every claim against the code. |
| + |
| +## Fixed: do not re-argue |
| + |
| +- The plan's design: negotiation only beside an already resolved HTML file; strict positive preference; HTML on ties; no 406 or User-Agent rules; no switch; explicit `.md` MIME policy unchanged. |
| +- Controller rulings: no release in this branch; docs prose in `docs/site/cli.md` is a draft that a separate copy pass rewrites (judge its facts, not its wording); local runs were targeted, CI runs the full gate. |
| +- Task 1 was reviewed READY in round 1 (`.superpowers/sdd/2026-11-04-static-markdown-twins/task-1-review.md`); its three P3s are listed in `.superpowers/sdd/2026-11-04-static-markdown-twins/progress.md`. Say whether any of them must be fixed before merge. |
| + |
| +## What to check |
| + |
| +1. Whole branch: Review Focus 4 and 5 (`TestStaticMarkdownDelivery`, `TestStaticMarkdownRelease`) through real `Edge.ServeHTTP`: alternating Accept and Accept-Encoding, HEAD/304/206, shared-cache isolation (wrong variant seeded, nothing stored), release advance and rollback adding/removing a twin. Do the tests prove what they claim and fail if the feature broke? |
| +2. Interaction across tasks: compression wrapper order, `_headers` Vary coexistence, tunnel-served static routes still bypass the shared cache. |
| +3. Docs facts in `docs/site/cli.md` match the code. |
| +4. Census: give a verdict (approve / reject, citing the lines you read) for each unit and the envelope in `docs/superpowers/notes/census-proposal-static-markdown-twins.md`: `staticSite.serveFile` (body), `staticSite.serveTree` (body), new `selectStaticRepresentation` (+file:Lstat, legacy accepted-legacy), envelope `internal/edge`. Apply AGENTS.md's rejection rules: reject if the change lets root (or the edge) 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, or if the diff cannot settle it. Note the edge runs as user carlos and serves tenant-shipped trees: the `.md` sibling is tenant-named content inside an extracted tree; judge whether the Lstat + regular-file check + hard-tier guard keeps it inside the existing boundary. |
| +5. The CLAIMS file sits at `testdata/static-markdown-twins-claims.tsv` (repo root); other branches keep theirs under `docs/superpowers/notes/`. Say if that matters. |
| + |
| +## 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.) |
| +- **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 |
| + |
| +Findings ranked P1, P2, P3. Each gives the location, the problem, the evidence (file:line, verified), the failure scenario, a concrete fix and the invariant or trust boundary it breaks (its fault family). Then the census verdict per unit and envelope. 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 subagents. Do not run the full test suites. |