billing-success: copy comment updated; review brief, round 1 of 3
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2 files changed,
+29
−1
docs/superpowers/reviews/CODEX-REVIEW-BRIEF-billing-success.md+28 −0internal/console/billingpage_copy.go+1 −1
CI passed — run details
Intent
diff --git a/docs/superpowers/reviews/CODEX-REVIEW-BRIEF-billing-success.md b/docs/superpowers/reviews/CODEX-REVIEW-BRIEF-billing-success.md| new file mode 100644 |
| index 000000000..5d640a1b7 |
| --- /dev/null |
| +++ b/docs/superpowers/reviews/CODEX-REVIEW-BRIEF-billing-success.md |
| @@ -0,0 +1,28 @@ |
| +# Review brief: branch billing-success, round 1 of 3 |
| + |
| +Repo carlos/platform, branch `billing-success`, the commit that adds this brief (named in your prompt). |
| +Under review: the diff `origin/main...HEAD`: a full-page success screen on the console billing page after a purchase (?done=checkout|upgrade|packs, templates/billing_done.html), replacing the thank-you panel; charging changes (pack raise, upgrade) that the provider applied redirect with a marker; reductions, renewal changes, pending/declined/uncertain payments keep their flashes; "1 member" plural. Copy approved by Paul on 2026-10-29. |
| + |
| +## Fixed: do not re-argue |
| + |
| +- The design and the approved copy. |
| + |
| +## What to check |
| + |
| +1. The success screen renders only for an owner whose subscription is live and paid with nothing pending or ending; a member, a stale or hand-typed marker on any other account state, or an unknown marker value gets the normal billing page. The screen has no forms and acts on no billing state. |
| +2. Each redirect: the marker is set only after a definite applied charge (opApplied) of the matching kind, never after a pending, declined, uncertain, refused or reduction outcome; no open redirect (the target is the account's own billing page). |
| +3. The fallback flash and the screen never both show; a failed refresh after the change falls back to the generic flash. |
| +4. The billing page's existing invariants: currency/prices guard, action order, CSRF on every POST form, member/owner differences, billing lints. |
| +5. Anchors (#packs-title, #upgrade) exist on the billing page when their buttons show; Upgrade hidden on the top plan, Add packs when there are no packs. |
| + |
| +## 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. |
| + |
| +## Output |
| + |
| +Findings ranked P1, P2, P3 with file:line, failure scenario and fix. End with exactly one verdict: **READY**, **READY AFTER FIXES**, or **NOT READY**. |
| + |
| +Do not edit files. Do not spawn Anthropic-model reviewers or subagents of your own. Do not run the full test suites. |
diff --git a/internal/console/billingpage_copy.go b/internal/console/billingpage_copy.go| index 8699e94c1..be796d5f0 100644 |
| --- a/internal/console/billingpage_copy.go |
| +++ b/internal/console/billingpage_copy.go |
| @@ -156,7 +156,7 @@ var billingCopy = map[string]string{ |
| // The success screen after an upgrade or a pack raise the provider |
| // applied (2026-10-29): its heading and line, and the flash the change |
| - // leaves in case the page can't show the screen. DRAFTS for copy review. |
| + // leaves in case the page can't show the screen. copy approved by Paul 2026-10-29. |
| "done.upgrade.title": "You're now on %s", |
| "done.upgrade.lede": "The new limits for %s are ready to use.", |
| "done.upgrade.flash": "You're now on %s.", |