plans 6b: Luna copy brief
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
1 file changed,
+196
−0
docs/superpowers/specs/LUNA-COPY-BRIEF-PLANS-6B.md+196 −0
diff --git a/docs/superpowers/specs/LUNA-COPY-BRIEF-PLANS-6B.md b/docs/superpowers/specs/LUNA-COPY-BRIEF-PLANS-6B.md| new file mode 100644 |
| index 000000000..edc6605a5 |
| --- /dev/null |
| +++ b/docs/superpowers/specs/LUNA-COPY-BRIEF-PLANS-6B.md |
| @@ -0,0 +1,196 @@ |
| +# Copy pass brief: checkout, team plans and the billing page (plans 6b) |
| + |
| +Reviewer: gpt-5.6-luna via codex, reasoning medium. |
| + |
| +You are reviewing user-facing strings for a hosting console (the carlos platform). Paul, the owner, delegated this review to you. Apply his house rules and return improved strings. These are the build's drafts. Replace them where you can say it better, and keep them where they are fine. |
| + |
| +## Who reads what |
| + |
| +The two audiences differ. Write each string for its own reader. |
| + |
| +- Customers read the keys in "Strings for customers". They are the owners and members of an account, and they are not technical. They see these on the billing page (as a notice above the plan facts, as a button label, as a plan fact), in the flash banner after they press a button, on the confirm page, on the /upgrade pages, and on the invite and join pages. Write for someone who wants to know whether they have been charged and what happens next. Sentence case, with full stops. Do not use words such as subscription, invoice line, proration, webhook or idempotent. The words Stripe, plan, pack, seat, renewal and "Payment and invoices" (the name of the portal button) are fine. |
| +- Operators read the keys in "Strings for operators". They run the console and the `carlos` command line. Their strings are `door.*` (the console's answer, which the CLI prints after `billing: `), `cli.*` (what the CLI prints, including flag help) and `usage.billing`. Operators know what Stripe, a subscription and a request log are. |
| + |
| +## House rules |
| + |
| +- No em dashes or en dashes used as dashes. Where you would use one, end the sentence with a full stop and start a new one. |
| +- Plain words, short sentences, no jargon, no marketing tone, no exclamation marks. |
| +- Strings whose key starts `cli.` or `door.` (and the CLI constants, which are the `cli.` rows here) are entirely lower case, with no full stop at the very end. Variable names, flag names and command names keep their own spelling. A string with a line break keeps its line breaks. `usage.billing` follows the same lower case style. |
| +- Customer strings (every other key) are sentence case. Ordinary sentences end with a full stop. Button labels, titles and short labels have none. |
| +- Keep every placeholder (`%s`, `%d`, `%q`) and its order. The same number of each. |
| +- Do not name the product. Naming Stripe, the billing provider, is fine. |
| +- Leave flag names (`-id`, `-note`, `-all`, `-account`, `-on`, `-off`), command names (`carlos billing problems`, `carlos billing close`, `carlos billing house`), variable names, the words `problems | close | house` in the usage text, the button name "Payment and invoices" and the currency codes `usd`, `eur`, `gbp` exactly as they are. Where one customer string names a button (for example "Confirm now", "Payment and invoices", "Buy"), the name must match the button's own string below. |
| +- Human text only. This brief leaves out error fragments, log lines, diagnostics and JSON keys, and so should your answers. |
| + |
| +## Facts that must stay true |
| + |
| +- Nothing is charged without the owner's button or a stored seat authorisation. |
| +- Reductions keep their limits until renewal. |
| +- A join waits for payment. |
| +- The currency is fixed after the first purchase. |
| +- The portal ("Payment and invoices") is for cards and invoices only. |
| +- Deletion needs renewal stopped and payments settled. |
| +- An unclear change is confirmed with Stripe, never charged twice. |
| +- Buying back is refused within a day of renewal. |
| + |
| +Also, for operators: the house mark makes an account's checkout free, and `-note` is required and kept as the record. A problem can be closed only once the subscription is no longer live at Stripe, and the note says what the operator did there. |
| + |
| +If a string you would like to change cannot keep one of these true, leave it and put it under Flags. |
| + |
| +## How the strings appear |
| + |
| +Customer side. Examples use realistic values. |
| + |
| +- A page notice is a banner above the plan facts on the billing page. `notice.ending` renders as `Your plan ends on 2 January 2027. After that the account moves to the free plan.` `notice.seat_drift` renders as `Your next renewal bills 10 seats for 12 members.` Under the banner the plan facts are a list: `Plan: Team`, `Packs: 2 Storage`, `Pays in EUR`, `Renews on 2 January 2027`, `12 members, paid for 10`. |
| +- Buttons are the labels on the page's forms: `Confirm now`, `Continue to payment`, `Start over`, `Match seats to members`, `Payment and invoices`, `Change`, `Upgrade to Team`, `Stop renewal`, `Turn renewal back on`. `buy.title` ("Choose a plan") heads the buy form, whose submit button is `buy.button`. Prices render as `€50.00 a year` (`plan.price`) and `€5.00 a year each` (`pack.price`); `team.price` renders as `€50.00 per member a year, for at least 3 members`. |
| +- The confirm page has a title, one line with a formatted amount, and a button. For example: title `Pay for this change?`, line `You'll pay about $24.00 now for the rest of the year, plus any tax.`, button `Pay now`. When Stripe cannot give an estimate the line is `change.no_estimate` instead. The invite confirm page (when an owner invites a member to a team plan) uses the same title and button, with `seats.invite_line` as its line: `When sam@example.com joins, the account pays about $24.00 now for the rest of the year, plus any tax.` |
| +- Flashes appear as a banner at the top of the billing page after a POST, green for success and red for a refusal. For example: after stopping renewal, `Renewal stopped. Your plan ends on 2 January 2027.`; after a card failure, `Your card was declined, so nothing changed.`; after checkout, `You're on Team.`; when the plan has just renewed, `Your plan just renewed. Try again in a minute.` |
| +- The /upgrade not-owner page is a message page with a title, a body and a link under it: title `Only owners can upgrade`, body `Only an owner of an account can upgrade it. Create an account of your own to choose a plan.`, link `Create an account`. The page for a person with several accounts is headed `Which account?` over a list of account names with creation dates. |
| +- The invite and join message pages show a title and one paragraph. When a person follows an invite link and the account cannot take them yet, the title is `Not yet` and the paragraph is one of the `seats.join_*` strings, for example `This account renews within a day. Try the link again after it renews.` The delete page for an account refuses with one of the `delete.*` strings, for example `This account renews on 2 January 2027. Stop renewal first, then you can delete it.` |
| +- The cap refusals (`browser.cap.*`) show when a person tries to create or add something their plan does not allow, for example `This plan has room for 3 members. Move to a team plan to add more.` |
| +- `currency.refused` renders as `We don't sell in "jpy". Choose usd, eur or gbp.` and `currency.fixed` as `This account pays in EUR. To change that, ask an operator.` |
| + |
| +Operator side. |
| + |
| +- Door strings come back from the console and the CLI prints them after `billing: `. Example: `billing: the account still has more members than paid seats. remove members first`. |
| +- `cli.house_on` is printed on success by `carlos billing house -account bab -on -note "founder account"`: `account bab is now the house: its checkout is free`. `cli.house_off` is the same command with `-off`: `account bab pays like everyone else`. |
| +- `cli.house_on_off`, `cli.house_account` and `cli.house_note_required` are the usage errors the command prints before it calls the console. |
| +- `cli.cap.*` strings are what `carlos` prints when a deploy or an add is refused by the account's plan. `cli.cap.members` renders as `this plan has room for 3 members. move to a team plan to add more`. |
| +- `cli.usage` is the usage line of `carlos billing`. `usage.billing` is one line in `carlos help`, after a 16-character command column: ` billing billing problems and house accounts: problems | close | house`. Keep the part after the column under 60 characters. (The current text is 61.) |
| +- Flag help (`cli.flag_*`) prints under the flag in `carlos billing house -h`. |
| + |
| +## Notes from the build |
| + |
| +Questions the build could not settle. Answer them with your best wording, and put what you cannot settle under Flags. These do not prescribe an answer. |
| + |
| +1. `checkout.uncertain` says "Use Confirm now". When the uncertainty is an unanswered customer create at Stripe, the page offers the buy form (its button reads "Continue to payment") and not "Confirm now". How should `checkout.uncertain` read so it is true in both cases? Is one wording enough, or does it need two strings? (If you think it needs two, say so under Flags.) |
| +2. The invite confirm page reuses `confirm.title` ("Pay for this change?") and `confirm.button` ("Pay now"), but nothing is charged until the person joins. Is the reuse right for that page? If not, what should the title and button say, keeping the facts true? |
| +3. `seats.join_busy` covers two cases: another change is in flight on the account, and an open billing problem at the moment of a join. Does one string serve both, given that the person following the link can only try again? |
| + |
| +## Strings |
| + |
| +Keys are the build's own names, and `current` is the text as it stands now. Placeholders are shown as written. A `\|` is a literal pipe character, and `<br>` is a line break. |
| + |
| +### Strings for customers |
| + |
| +Sources: `internal/console/billingpage_copy.go` (the billing page, flashes, confirm pages, /upgrade pages, invite and join pages, the delete refusals), and the changed or new `browser.cap.*` rows of `internal/console/plancaps_copy.go`. `browser.cap.free_account` is a rewrite of an existing string. Left out on purpose: `refused.title` and `refused.csrf` (a cross-site refusal, a diagnostic). |
| + |
| +| key | current | |
| +|---|---| |
| +| `change.done` | Done. Your new limits apply now. | |
| +| `change.pending` | Your card didn't go through, so nothing changed. Pay from Payment and invoices to finish. | |
| +| `change.declined` | Your card was declined, so nothing changed. | |
| +| `change.uncertain` | We couldn't confirm that change yet. Use Confirm now. Nothing more will be charged. | |
| +| `change.failed` | We couldn't make that change. Try again in a minute. | |
| +| `change.retry` | Your plan just renewed. Try again in a minute. | |
| +| `change.clock` | We can't make that change right now. Try again in a few minutes. | |
| +| `confirm.title` | Pay for this change? | |
| +| `confirm.line` | You'll pay about %s now for the rest of the year, plus any tax. | |
| +| `change.no_estimate` | Stripe charges the difference for the rest of the year. | |
| +| `confirm.button` | Pay now | |
| +| `change.outstanding` | Another change is still being confirmed or paid for. Finish or wait for it first. | |
| +| `change.none` | That's already your plan. | |
| +| `change.book` | This change isn't available on your current prices. An operator can make it at renewal. | |
| +| `change.near_renewal` | Your plan renews within a day. Try again after it renews; the pack will then be a normal purchase. | |
| +| `renewal.stopped` | Renewal stopped. Your plan ends on %s. | |
| +| `renewal.resumed` | Renewal is back on. | |
| +| `portal.none` | This account hasn't bought anything yet. | |
| +| `portal.failed` | We couldn't open Payment and invoices. Try again in a minute. | |
| +| `seats.invite_line` | When %s joins, the account pays about %s now for the rest of the year, plus any tax. | |
| +| `seats.join_wait_title` | Not yet | |
| +| `seats.join_wait` | This account can't add you yet because its payment didn't go through. Its owners can see this on their billing page. Try the link again later. | |
| +| `seats.join_consent` | This invitation doesn't cover a new paid seat. Ask an owner to invite you again. | |
| +| `seats.join_busy` | This account is in the middle of another change. Try the link again in a minute. | |
| +| `seats.join_uncertain` | We couldn't confirm the account's payment for your seat. Try the link again in a few minutes. | |
| +| `seats.join_near_renewal` | This account renews within a day. Try the link again after it renews. | |
| +| `seats.revoke_wait` | This person's payment is still going through. Try again in a minute. | |
| +| `checkout.already` | This account already has a paid plan, or a payment is finishing. Check back in a minute. | |
| +| `checkout.failed` | We couldn't start the payment. Try again in a minute. | |
| +| `checkout.uncertain` | We couldn't confirm the payment page was created. Use Confirm now, or try again in a few minutes. | |
| +| `checkout.done` | You're on %s. | |
| +| `checkout.expired` | That payment page has expired. Start again. | |
| +| `billing.retiring` | This account is being deleted. | |
| +| `delete.renewing` | This account renews on %s. Stop renewal first, then you can delete it. | |
| +| `delete.collecting` | A payment for this account is still being collected. Settle it in Payment and invoices first. | |
| +| `delete.pending` | A change is still being confirmed or paid for. Finish it first. | |
| +| `delete.checkout` | A payment for this account is finishing. Try again in a few minutes. | |
| +| `delete.unverified` | We couldn't check every subscription for this account. Try again later, or ask an operator. | |
| +| `page.title` | Billing | |
| +| `notice.not_ready` | Billing isn't available right now. Try again in a few minutes. | |
| +| `notice.retiring` | This account is being deleted, so nothing can be bought or changed. | |
| +| `notice.problem` | We're checking this purchase. Your plan hasn't changed yet, and nothing more will be charged. | |
| +| `notice.seats_unpaid` | This account has more members than it pays for. Remove members, or ask an operator. | |
| +| `notice.unresolved` | We couldn't confirm a recent change, and someone is checking it. Nothing more will be charged. | |
| +| `notice.operator_plan` | An operator set this account's plan, so there's nothing to buy here. | |
| +| `notice.confirming` | We're confirming a recent change. Nothing more will be charged. | |
| +| `notice.settling` | We're confirming your payment. This page shows your new plan once it's done. | |
| +| `notice.pending_payment` | A change is waiting for payment. Pay it from Payment and invoices, or it's dropped after a day. | |
| +| `notice.checkout_open` | Your payment page is still open. | |
| +| `notice.collecting` | Your last payment didn't go through. Update your card in Payment and invoices. Your plan stays while we retry. | |
| +| `notice.ending` | Your plan ends on %s. After that the account moves to the free plan. | |
| +| `notice.seat_drift` | Your next renewal bills %d seats for %d members. | |
| +| `notice.owners_only` | Only an owner of this account can change its plan. | |
| +| `currency.refused` | We don't sell in %q. Choose usd, eur or gbp. | |
| +| `currency.refused_unshown` | We don't sell in that currency. Choose usd, eur or gbp. | |
| +| `currency.fixed` | This account pays in %s. To change that, ask an operator. | |
| +| `buy.title` | Choose a plan | |
| +| `buy.button` | Continue to payment | |
| +| `team.price` | %s per member a year, for at least %d members | |
| +| `team.members` | %d members, paid for %d | |
| +| `renews` | Renews on %s | |
| +| `button.confirm` | Confirm now | |
| +| `button.continue` | Continue to payment | |
| +| `button.start_over` | Start over | |
| +| `button.match_seats` | Match seats to members | |
| +| `button.portal` | Payment and invoices | |
| +| `upgrade.not_owner_title` | Only owners can upgrade | |
| +| `upgrade.not_owner` | Only an owner of an account can upgrade it. Create an account of your own to choose a plan. | |
| +| `pick.title` | Which account? | |
| +| `fact.plan` | Plan: %s | |
| +| `fact.packs` | Packs: %s | |
| +| `fact.currency` | Pays in %s | |
| +| `plan.price` | %s a year | |
| +| `pack.price` | %s a year each | |
| +| `team.total` | Today that's %s a year. | |
| +| `currency.legend` | Currency | |
| +| `button.change` | Change | |
| +| `button.upgrade` | Upgrade to %s | |
| +| `button.stop` | Stop renewal | |
| +| `button.resume` | Turn renewal back on | |
| +| `page.eyebrow` | Account · %s | |
| +| `upgrade.new_account` | Create an account | |
| +| `error.title` | Error | |
| +| `page.read_failed` | Could not read billing. Please try again. | |
| +| `upgrade.read_failed` | Could not read your accounts. Please try again. | |
| +| `browser.cap.free_account` | You already own a free account, and each person can own one. Upgrade that account to create another, or ask an operator. | |
| +| `browser.cap.members` | This plan has room for %d members. Move to a team plan to add more. | |
| +| `browser.cap.members_join` | This account is full on its plan. Ask an owner to move it to a team plan. | |
| + |
| +### Strings for operators |
| + |
| +Sources: `internal/console/apibilling_copy.go` (the `door.*` rows), `billing_cli_copy.go` (the `cli.*` rows, with `cli.usage` changed to add `house`), the changed or new `cli.cap.*` rows of `internal/console/plancaps_copy.go` (`cli.cap.free_account` is a rewrite of an existing string), and the `carlos help` line in `main.go` (`usage.billing`, changed to mention house accounts). |
| + |
| +| key | current | |
| +|---|---| |
| +| `door.op_evidence` | start -note with executed or not-executed, from the request log in the stripe dashboard | |
| +| `door.op_executed_unseen` | the request log says it executed, but the subscription does not show it. put the subscription right in stripe first, then close | |
| +| `door.seats_still_over` | the account still has more members than paid seats. remove members first | |
| +| `door.house_note` | say why with -note | |
| +| `cli.usage` | usage: carlos billing problems [-all] \| close -id N -note "..." \| house -account A -on\|-off -note "..." | |
| +| `cli.house_on` | account %s is now the house: its checkout is free | |
| +| `cli.house_off` | account %s pays like everyone else | |
| +| `cli.house_on_off` | say -on or -off, one of them | |
| +| `cli.house_account` | say which account with -account | |
| +| `cli.house_note_required` | say why this account is the house with -note | |
| +| `cli.flag_account` | account to mark or clear | |
| +| `cli.flag_on` | make the account a house account | |
| +| `cli.flag_off` | clear the house mark | |
| +| `cli.flag_house_note` | why. this note is kept in the console log | |
| +| `cli.cap.free_account` | you already own a free account, and each person can own one. upgrade that account to create another, or ask an operator | |
| +| `cli.cap.members` | this plan has room for %d members. move to a team plan to add more | |
| +| `cli.cap.members_join` | this account is full on its plan. ask an owner to move it to a team plan | |
| +| `usage.billing` | billing problems and house accounts: problems \| close \| house | |
| + |
| +## Answer |
| + |
| +Return one Markdown table with columns `key`, `new`, `why` for every key above (106 in all), `new` equal to `current` where no change is needed. Write `<br>` for a line break and `\|` for a literal pipe. Then a section `## Flags` listing only the strings Paul must decide: a fact you cannot keep true in a better wording, or a meaning you are not sure of. If there is nothing, write `None.` Do not edit any files. |