review brief: first-run next steps branch, round 1
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
1 file changed,
+44
−0
docs/superpowers/reviews/CODEX-REVIEW-BRIEF-first-run-next-steps-branch.md+44 −0
CI failed — run details
diff --git a/docs/superpowers/reviews/CODEX-REVIEW-BRIEF-first-run-next-steps-branch.md b/docs/superpowers/reviews/CODEX-REVIEW-BRIEF-first-run-next-steps-branch.md| new file mode 100644 |
| index 000000000..ece498baa |
| --- /dev/null |
| +++ b/docs/superpowers/reviews/CODEX-REVIEW-BRIEF-first-run-next-steps-branch.md |
| @@ -0,0 +1,44 @@ |
| +# Review brief: branch design-first-run-next-steps (slice 1, first-run next steps), round 1 of 3 |
| + |
| +Repo carlos/platform, branch `design-first-run-next-steps`, commit d81386a3f03e082377adafb50e6a96d01435d029. |
| +Under review: the code diff `3d0729b9..d81386a3f03e082377adafb50e6a96d01435d029` (internal/console only; ignore docs/). |
| +Authorities: the approved spec on this same branch, |
| +`docs/superpowers/specs/2026-11-08-first-run-next-steps-design.md` (rev 2.1, |
| +Paul approved 2026-11-08; Astra spec rounds 1-2 done), and the plan |
| +`docs/superpowers/plans/2026-11-08-first-run-next-steps.md`. AGENTS.md on main. |
| + |
| +You are an independent reviewer. Read the spec, then the diff, and check every claim against the code. |
| + |
| +## Fixed: do not re-argue |
| + |
| +- Spec calls 1-6 (steps 3 and 4 person-ticked; one liveness predicate; person tokens only; who sees what; completion remembered; handler shape). Report only mechanisms that fail to honour them. |
| +- Copy strings are final (delegated copy pass); review wording only for house-rule breaks (em/en dashes, literal brand, tenant names). |
| +- Demo accounts may set marks (personal prefs, no demo refusal). |
| + |
| +## What to check |
| + |
| +1. Wrong ticks: can step 1 or 2 show done when it isn't? `personConnected`, `appIsLive` (internal/console/gettingstarted.go) against `summarize`, `observedDeployment`, `assembleChannels`, static-route channel resolution. |
| +2. The `completed` mark written on GET in `handleAccountHome`: can it be written from any state that is not all four satisfied, including read-error paths and concurrent Show? |
| +3. The four POST handlers (gettingstarted_handlers.go): session, membership, CSRF double-submit, person from session only, step allow-list; route registration; the claim-invariant fixtures/probes added. |
| +4. Cleanup: marks deleted on member removal, account reap, account deletion (ownership.go), demo member paths; store-gate classification. |
| +5. No new S3 reads on the apps page; read errors never fail the page. |
| +6. Template: JS-off behaviour, role gating (create link owner+member; domain link owner only), script allow-list change in icons_test.go, any XSS or URL-building risk (app names in hrefs). |
| +7. Cross-compile safety (darwin/windows) of anything touched. |
| + |
| +## 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 (its fault family). 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. |