review: Astra branch round 1 findings (READY AFTER FIXES, P2s applied)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
1 file changed,
+17
−0
docs/superpowers/reviews/CODEX-FINDINGS-first-run-next-steps-branch-R1.md+17 −0
CI cancelled — superseded by a newer push — run details
Intent
Attributed to this commit: 127 g CO₂e (13,712,365 tokens). This is an attribution, not a measurement — usage counted from this commit's own marker forward to the next one on design-first-run-next-steps, 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-FINDINGS-first-run-next-steps-branch-R1.md b/docs/superpowers/reviews/CODEX-FINDINGS-first-run-next-steps-branch-R1.md| new file mode 100644 |
| index 000000000..8b6b3194d |
| --- /dev/null |
| +++ b/docs/superpowers/reviews/CODEX-FINDINGS-first-run-next-steps-branch-R1.md |
| @@ -0,0 +1,17 @@ |
| +No P1 findings. Three P2 findings: |
| + |
| +1. **P2 — Deployment: a static app can tick done before any route exists.** |
| + [remoteRoute:472](/home/paulca/amadan.net/carlos/platform/.claude/worktrees/design-first-run-next-steps/internal/console/remoteinstances.go:472) creates a `pending` static row when complete reports confirm no box serves the host. [summarize:7021](/home/paulca/amadan.net/carlos/platform/.claude/worktrees/design-first-run-next-steps/internal/console/server.go:7021) nevertheless assigns `ok`, and [appIsLive:42](/home/paulca/amadan.net/carlos/platform/.claude/worktrees/design-first-run-next-steps/internal/console/gettingstarted.go:42) accepts its channel pointer. A published version awaiting provisioning therefore completes step 2, potentially storing permanent completion. |
| + **Fix:** exclude pending static rows from the predicate and add a regression covering an unprovisioned static record with a valid pointer. **Fault family:** deployment intent must not count as observed deployment. |
| + |
| +2. **P2 — Completion: an in-flight GET can undo Show.** |
| + [fillGettingStarted:143](/home/paulca/amadan.net/carlos/platform/.claude/worktrees/design-first-run-next-steps/internal/console/gettingstarted.go:143) reads marks separately from its completion write at line 159. [SetGettingStartedMark:68](/home/paulca/amadan.net/carlos/platform/.claude/worktrees/design-first-run-next-steps/internal/console/gettingstarted_store.go:68) inserts unconditionally. Two GETs can read satisfied steps; the first completes, the person presses Show, and the second restores `completed` after Show deleted every mark. The card stays hidden despite steps 3–4 being reset. Reproduced using the implementation’s SQL in an in-memory database. |
| + **Fix:** make completion insertion atomically conditional on both manual steps still being satisfied, or compare a reset generation. Add a deterministic interleaving test. **Fault family:** stale reads must not overwrite a person’s reset. |
| + |
| +3. **P2 — Deployment: valid custom channels never complete static-only apps.** |
| + [appIsLive:38](/home/paulca/amadan.net/carlos/platform/.claude/worktrees/design-first-run-next-steps/internal/console/gettingstarted.go:38) requires `release.Rung`, which rejects names outside the legacy ladder. However, [pipeline validation:269](/home/paulca/amadan.net/carlos/platform/.claude/worktrees/design-first-run-next-steps/internal/release/pipeline.go:269) permits custom channels such as `production`. A deployed static site following that channel remains incomplete despite an `ok` verdict and a valid matching pointer. |
| + **Fix:** remove the legacy-rung restriction; retain nonempty channel validation and the exact matching, error-free pointer check. Add a custom-channel regression. **Fault family:** liveness must support the platform’s valid channel vocabulary. |
| + |
| +Targeted Go tests could not start because the read-only sandbox prevents creating Go’s build directory. Cross-compilation remains unverified. No files changed; no full suites ran. |
| + |
| +**READY AFTER FIXES** |
| \ No newline at end of file |