review brief: console mockup kit, round 1
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
1 file changed,
+57
−0
docs/superpowers/reviews/CODEX-REVIEW-BRIEF-console-mockup-kit.md+57 −0
CI cancelled — superseded by a newer push — run details
Intent
Attributed to this commit: 57.2 g CO₂e (5,610,702 tokens). This is an attribution, not a measurement — usage counted from this commit's own marker forward to the next one on console-mockup-kit, never backward from it. A turn that produced more than one commit books all of its tokens to the last one, and a concurrent session on this branch can add to the same figure. Some of it was priced using the shared default rate, because no model-specific factor row exists yet for at least one model involved. The Carbon view has the repo total, which is never derived from this attribution.
diff --git a/docs/superpowers/reviews/CODEX-REVIEW-BRIEF-console-mockup-kit.md b/docs/superpowers/reviews/CODEX-REVIEW-BRIEF-console-mockup-kit.md| new file mode 100644 |
| index 000000000..39c74a877 |
| --- /dev/null |
| +++ b/docs/superpowers/reviews/CODEX-REVIEW-BRIEF-console-mockup-kit.md |
| @@ -0,0 +1,57 @@ |
| +# Review brief: console mockup kit branch, round 1 of 3 |
| + |
| +Repo carlos/platform, branch `console-mockup-kit`, commit 41c082f2f9d41fa047e92f43ef98a9880c7b53d0. |
| +Under review: the diff `3d0729b9129be2387347a0adb805c0aed19f3bf1..41c082f2f9d41fa047e92f43ef98a9880c7b53d0` (excluding this brief). |
| +Authorities: `docs/superpowers/specs/2026-11-08-console-mockup-kit-design.md` |
| +(on this branch, approved by Paul 2026-11-08) and AGENTS.md. |
| + |
| +You are an independent reviewer. Read the spec, then the diff, and check |
| +every claim against the code. |
| + |
| +## Fixed: do not re-argue |
| + |
| +- Scope (spec "Non-goals"): no /styleguide route, no new design system, no |
| + console CSS changes. Shell regeneration is manual (`make console-mockup-kit`); |
| + only the guide has an automated drift check. |
| + |
| +## What to check |
| + |
| +1. `internal/console/mockupkit_test.go`: renders a signed-in non-ops account |
| + page through the real templates with neutral fixture data; inlines every |
| + stylesheet; exactly one slot in <main>; deterministic output. Skipped |
| + without the env var, so it never runs (or writes into the repo) in CI. |
| +2. `internal/console/styleguide_test.go`: does the class extraction really |
| + cover every snippet class, and does the CSS side avoid false positives |
| + (comments, template comments, prose)? Could it pass vacuously? Is the |
| + relative path to docs/ robust under `make test` sharding? |
| +3. `docs/console-styleguide.md`: is each snippet faithful to how the real |
| + templates use the component (console_chrome.html, fiesta.html, the page |
| + templates)? Any guidance that contradicts the CSS or existing pages? |
| + House rules match the spec? No em/en dashes. |
| +4. `docs/console-mockup-kit/README.md`, Makefile target, AGENTS.md section: |
| + correct commands, safe (no 0.0.0.0, scratch outside the repo). |
| + |
| +## 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 |
| + |
| +Findings ranked P1, P2, P3. Each gives the section or task, the problem, |
| +the evidence (file:line, verified), the failure scenario, a concrete |
| +fix and the invariant 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. |