carlos / platform Public

operator-pages: branch review brief, round 1

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
claude agent, operated by paul@keymail.dev 435d6e44a0d4d6cd6ee8a802856ad1f3705d186d parent 092a9b5
1 file changed, +42 −0
  • docs/superpowers/reviews/CODEX-REVIEW-BRIEF-operator-pages.md +42 −0

CI failed — run details

diff --git a/docs/superpowers/reviews/CODEX-REVIEW-BRIEF-operator-pages.md b/docs/superpowers/reviews/CODEX-REVIEW-BRIEF-operator-pages.md
new file mode 100644
index 000000000..ba272b05f
--- /dev/null
+++ b/docs/superpowers/reviews/CODEX-REVIEW-BRIEF-operator-pages.md
@@ -0,0 +1,42 @@
+# Review brief: branch operator-pages, round 1 of 3
+
+Repo carlos/platform, branch `operator-pages`, commit named in the reviewer's prompt.
+Under review: the diff `origin/main...<tip>` (the branch has origin/main merged in).
+Authorities: the plan `docs/superpowers/plans/2026-10-25-operator-pages.md` (its Global Constraints, Review Focus and Decisions), the spec `docs/superpowers/specs/2026-10-25-console-ux-perf-design.md` Part 3, and AGENTS.md on main (Stopping rules; census section).
+
+You are an independent reviewer. Read the plan's Global Constraints, Review Focus and Decisions, then the code, and check every claim against the code.
+
+## Fixed: do not re-argue
+
+- Paul's rulings (2026-10-25/26, in chat): operator pages (`/fleet/*`) use the Rastrillo design system; customer console pages do not change design. The approved mockup is the target. Operator pages are seldom viewed and carry no cache: `/fleet` and `/fleet/boxes` keep honest `over:` perf records (plan "Decisions").
+- Per-task reviews already ran and their findings are fixed or ruled on, with the record in `.superpowers/sdd/2026-10-25-operator-pages/progress.md`: Tasks 4, 5, 7 with 7A, 8, 9, 10, 11 and 12. The rulings: `jobs.Run` returns the pass's own error, not a recorded swallowed failure; the jobs grid uses `co-cols="jobs"`, not a `.co-jobs` class; OperatorCounts has a 100 ms allowance; `/fleet` showed Boxes between Tasks 8 and 9; the Task 5 missing-user test accepts the row that `SetLastAccount` recreates.
+- Moved pages keep their strings verbatim, including existing em dashes (plan "Decisions"). Copy is Luna-approved; do not review wording except for factual errors.
+- Known P3 follow-ups (do not raise again): the jobPassFuncs census's switch-case and conditional false negatives; the economics selector test that checks tokens rather than whole selectors; the "1 pending applications" grammar on the store page.
+
+## What to check
+
+1. The plan's Review Focus items 1 to 5 (stale asset hash, SQL-shaped search, job error notes, missing and deleted accounts, garbage paging parameters): each behaves as stated, through the code path a browser hits.
+2. The gate: every `/fleet/*` route (and `/static/{hash}/...` being public) answers a non-operator exactly as before, with `operatorOnly` first and no read before it.
+3. Background jobs: every registered worker reports through `s.jobs.Run`; no pass changes behaviour beyond reporting (same errors returned, same logs, same retries); a panicking pass is recovered without taking the console down.
+4. The dashboard tells the truth. The callout is never all clear when the box reports, the fleet summary or the alert projection can't be read. Box status follows the plan's status rule. The alert projection reads nothing extra from S3.
+5. No new S3 reads on any customer page, and no new per-box polling. The perf walk and `perf-budgets.txt` match the code (the `over:` records name what each page reads).
+6. Census: `make census-card` names nothing (the branch touches only the console binary's packages, a root copy-gate test and docs; C2 scope). If it names a unit, report it.
+7. The shell markup against the mockup (`/home/paulca/.cache/tmp/console-ux-perf/.superpowers/brainstorm/2160157-1792951277/content/fleet-dashboard.html`): one `<h1>` per page, rail `aria-current`, no inline styles, nothing fetched from another origin.
+
+## 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 area, 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.