carlos / platform Public

domains 2a: copy brief for the Luna pass

Task 11 step 1 of Plan 2a: 152 draft keys (console, CLI, cli.md), the
facts that must stay true, build notes, merge points with Plan 1's
approved copy, and the excluded list.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
claude agent, operated by paul@keymail.dev pushed by paul@keymail.dev 26af5647c55c5f0cc18a8512c64fb09d4df04393 parent b85f64b
1 file changed, +436 −0
  • docs/superpowers/specs/LUNA-COPY-BRIEF-DOMAINS-2A.md +436 −0
diff --git a/docs/superpowers/specs/LUNA-COPY-BRIEF-DOMAINS-2A.md b/docs/superpowers/specs/LUNA-COPY-BRIEF-DOMAINS-2A.md
new file mode 100644
index 000000000..93dc002b5
--- /dev/null
+++ b/docs/superpowers/specs/LUNA-COPY-BRIEF-DOMAINS-2A.md
@@ -0,0 +1,436 @@
+You are the copy-review gate itself for this set. Paul delegated copy review to you on 2026-10-25; your verdicts ARE the review. Do NOT run the copy-review skill or start any server. You are writing a review report into a scratch file.
+
+# Copy pass brief: domains at the account level (domains 2a)
+
+This is the brief for Task 11 of domain registration Plan 2a. Domains move from an app's Settings to the account: a Domains page, a page per domain, a three-step buy with a “Not yet” choice, saved contacts, pointing a bought domain at an app, and the matching `carlos domains` verbs. The strings below are the build's drafts. Replace them where you can say it better and keep them where they are fine. Do not edit any file in the repository; write your answer only to the scratch file the controller names. A later step applies your table verbatim.
+
+## Who reads what
+
+- `browser.*` strings are console text. Members of an account see the Domains page, a domain's page and its addresses. Owners also see buying, saved contacts, the purchase card and the controls that attach, detach and point. Sentence case; full stops on sentences, none on titles, headings, buttons, chips or short labels.
+- `cli.*` strings are `carlos domains` output, help and refusals. Readers use a terminal but cannot see the platform's infrastructure. Lower case, no final full stop (prompts keep their trailing space; output lines keep their final line break).
+- `door.*` strings are refusals from shared console/API doors. They can reach the browser and the CLI. Lower case, no final full stop.
+- `docs.cli.*` is prose on the public CLI reference page, `docs/site/cli.md`, section “carlos domains”.
+
+## House rules
+
+- Plain short words. Lead with the state, then what to do.
+- No em dashes or en dashes. End the sentence and start another.
+- Curly quotes and apostrophes in prose (browser and docs). Keep straight characters inside commands, flags and code.
+- `cli.` and `door.` keys: lower case, no final full stop. Exception: `cli.contactsHeader` is a table header row, upper case by the CLI's table convention.
+- No exclamation marks. No marketing tone.
+- Keep every placeholder, the same number of each and in the same order. `%s` and `%w` are Go formats (`%w` wraps an error; never turn it into `%s`). `{domain}`, `{app}`, `{account}`, `{price}`, `{n}`, `{live}`, `{total}`, `{host}` are filled by the page. Values filled at runtime are not reviewed.
+- Keep command names, flags, `<id>`, `<app>`, `contact.json`, `[y/N]`, `16 KiB` and `www` exactly as written.
+- Where a string names a button, field or command, the name must match that button, field or command in this brief.
+- Do not promise a feature the build does not supply, and do not add new strings to the table. If one is needed, describe it under Flags.
+
+Table encoding: `<br>` is a line break, `&#32;` is a significant space, `\t` is a tab, `&lt;` and `&gt;` are literal angle brackets, `\|` is a literal pipe. CLI help and usage are given as fenced blocks instead, exact to the character.
+
+## Facts that must stay true
+
+- the customer is the registrant
+- editing a saved contact changes future purchases only
+- nothing renews yet (no "renew/renews" wording)
+- "Not yet" means paid and registered but not serving any app
+- moving a domain means detaching it from its app first
+- addresses other than the domain and www are not offered yet
+- no registrar or DNS host name anywhere
+- an account can't be deleted while it holds domains it registered or is buying
+
+Authority: `docs/superpowers/specs/2026-11-01-domain-registration-design.md` rev 4, §11. Plan 1's approved strings are in `docs/superpowers/specs/LUNA-COPY-RESULT-DOMAINS-1.md` and stay approved; they are not in this table unless a merge point below names them.
+
+## How the strings appear
+
+Kit mockups are under `docs/superpowers/mockups/domains-account-kit/`; the “kit” column names the file. The build is close to the kit but not identical; where they differ, the build's draft is what is reviewed (see note 7).
+
+- **Domains page** (`internal/console/templates/account_domains.html`, kit `overview.html`, `contacts.html`). Tiles across the top (“Addresses live”, “Next expiry”), a count heading with the owner's Buy a domain button, one card per domain: the domain, a chip (Bought here, Being bought or Registered elsewhere), for a bought domain the line `Expires 2 Mar 2027 · next year £9`, then its addresses (host, app, state chip). An owner sees “Add a domain you own” (a hostname plus a button per app) and, when buying is on or contacts exist, Saved contacts with an edit form per contact and “Add a new contact”.
+- **A domain's page** (`account_domain.html`, kit `domain-bought.html`, `domain-elsewhere.html`). Chips, tiles (Expires and next year's price for a bought domain; Addresses live for one registered elsewhere), the addresses with Detach for owners, “Point at an app” when a bought domain serves nothing, “Registered to” (name for members; email and country for owners), and either a managed-DNS note (bought here) or the DNS records to set (registered elsewhere).
+- **Buying** (`account_domain_buy.html`, kit `buy-name.html`, `buy-app.html`, `buy-pay.html`). Three steps shown as chips: Name, App, Details and pay. Step 1 asks for the domain, and a country only when nothing else sets the currency. Step 2 lists the account's apps and “Not yet”. Step 3 shows Price and Points at tiles, then “Registered to”: a radio list of saved contacts (filterable above five) plus “Add a new contact”, and Continue to payment.
+- **Purchase card** (`domain_buy.html`, kit `purchase-card.html`). Plan 1's card is approved. New here is the no-app card, for “Not yet” or an app that went away before it was pointed: two steps (Payment received, Registering your domain), then “{domain} is yours” with a Point at an app button. The card's status text also appears on the Domains page card while a purchase is under way.
+- **An app's Settings, Domains & TLS tab** (`app_settings.html`, not in the kit). Gains an “All domains” link. Pointing a domain from its page lands here with a flash.
+- **Account Settings** (not in the kit). Deleting an account that holds domains is refused with a flash.
+- **CLI.** `carlos domains buy <name> --not-yet`, `--contact <id>`, `carlos domains list --all` (and `list` with no app), `carlos domains point <domain> --app <a>`, `carlos domains contacts [list | add | edit | remove]`. `list --all` prints one line per domain and its addresses indented under it, for example:
+
+ ```
+ example.com bought here, expires 2027-11-04
+ example.com shop live
+ www.example.com shop live
+ example.net bought here, expires 2027-11-12
+ not pointed at an app. point it with: carlos domains point example.net --app <app>
+ example.org registered elsewhere
+ docs.example.org docs pending-dns
+ ```
+
+ The address states and purchase states the CLI prints (`live`, `pending-dns`, `awaiting_payment` and so on) are runtime values, not reviewed.
+
+## Notes from the build
+
+Questions for the pass. They do not prescribe an answer.
+
+1. **“Ready” before it is ready.** On the no-app card, the `readying` stage (registered, payment not yet taken) shows Plan 1's “Setting up {domain}” with `browser.buy.ReadyLede`, “It’s registered and ready to point at an app.” Pointing is refused until the purchase finishes (`door.point.Buying`). Can `ReadyLede` serve both stages truthfully, or is a separate readying lede needed? If so, describe it under Flags.
+2. **Renewal implication.** `browser.domains.TilePrice` (“Next year’s price”), `NextYearLine` (“next year”) and `ChangeCard` (“Change card”, a link beside that price) sit next to the expiry date. Nothing renews yet. Do these imply the domain will renew or the card will be charged? Keep the price if it can be said without that implication.
+3. **Plurals.** `InDays` (“in {n} days”) is used for 0 to 13 days, so it can read “in 1 days” or “in 0 days”. Flag the fix you want (code can pick a singular or “today”).
+4. **Whose domain.** `browser.buy.RegisteredNote` (“The domain is legally theirs.”) sits under “Registered to” above the chosen contact. The customer is the registrant. Does “theirs” read as the customer? Plan 1's approved card line is “It's registered in your name, so it's yours to keep or take elsewhere.”
+5. **Moving.** No string tells an owner that moving a domain to another app means detaching it first; “Point at an app” only appears when a bought domain serves nothing, and `carlos domains point` on an attached domain gets the attach door's refusal. Is a line needed (for example beside Detach or in `cli.help.account`)? Describe it under Flags rather than adding it.
+6. **Mixed audience.** `browser.domains.Unread` is sentence case but is also the API error the CLI prints for `list --all` and contacts. `door.chooseApp` says “or not yet” in lower case for the “Not yet” choice; it reaches API callers that send neither `app` nor `not_yet` (the CLI checks first).
+7. **Kit drift.** The kit has “Changes apply to future purchases. Domains already bought keep their details.” and “Only owners see saved contacts.” (build: `ContactsNote` only, shorter); “An app answers at” (build `PointNote`: “The app answers at”); “The records for shop's addresses are managed for you.” (build `DNSManaged`: “these addresses”); “1 waiting for DNS” (build `TileNotLive`: “{n} not live yet”). Choose freely; say so in why.
+8. **Same fact, two voices.** `browser.point.Waiting` ends “Point it again then to finish.” and `cli.pointWaiting` ends “run this again then to finish”. Both mean: once the records show, point again.
+9. **Help fragment.** `cli.help.buyNotYet` ends “with neither contact flag, the one used last”, which is not a sentence.
+10. **Examples.** `AddHostPlaceholder` and `tpl.buy.namePlaceholder` are example values (`www.example.com`, `example.com`).
+11. **`browser.delete.Named`** lists every domain, comma separated; an account with many domains gets a long flash.
+
+## Strings
+
+### Domains page
+
+Source: `internal/console/accountdomains_copy.go`, `domainsPageCopy`; drawn by `account_domains.html` and `accountdomainspage.go`.
+
+| key | where it appears | kit | placeholders | current draft |
+|---|---|---|---|---|
+| `browser.domains.Title` | Domains page title and heading; account nav label (desktop and phone); phone back link on a domain's page and the buy page | overview.html (nav on every file) | none | Domains |
+| `browser.domains.Eyebrow` | Eyebrow above the Domains heading | overview.html | {account} = account name | Account · {account} |
+| `browser.domains.TileLive` | Tile label, counting addresses not in Trash | overview.html, domain-elsewhere.html | none | Addresses live |
+| `browser.domains.TileLiveValue` | Tile value | overview.html | {live}, {total} | {live} of {total} |
+| `browser.domains.TileNotLive` | Tile detail when some addresses are not live (tile turns amber) | overview.html | {n} | {n} not live yet |
+| `browser.domains.TileNextExpiry` | Tile label; value is the earliest expiry date of a bought domain, detail is that domain | overview.html | none | Next expiry |
+| `browser.domains.CountOne` | Heading above the cards, one domain | overview.html | none | 1 domain |
+| `browser.domains.CountMany` | Same, any other number | overview.html | {n} | {n} domains |
+| `browser.domains.Buy` | Owner button beside the count heading or the empty heading; opens step 1 | overview.html | none | Buy a domain |
+| `browser.domains.AddOwn` | Owner's collapsible row that attaches a domain registered elsewhere | overview.html | none | Add a domain you own |
+| `browser.domains.Add` | Toggle on a closed row (Add a domain you own, Add a new contact) | overview.html, contacts.html | none | Add |
+| `browser.domains.Close` | Toggle on an open row (also Detach rows and contact Edit rows) | overview.html, contacts.html, domain-bought.html | none | Close |
+| `browser.domains.AddHost` | Field label in the add form | not drawn | none | Domain |
+| `browser.domains.AddHostPlaceholder` | Field placeholder in the add form | not drawn | none | www.example.com |
+| `browser.domains.AttachTo` | Text before one button per app in the add form | not drawn | none | Attach it to |
+| `browser.domains.AttachToApp` | Accessible label on each app button | not drawn | {app} | Attach to {app} |
+| `browser.domains.NoApps` | Add panel when no app can take a domain | not drawn | none | Create an app first. |
+| `browser.domains.EmptyTitle` | Heading when the account has no domains | not drawn | none | No domains yet |
+| `browser.domains.EmptyLede` | Under it, for an owner when buying is on | not drawn | none | Buy one here, or add one you already own. |
+| `browser.domains.EmptyLedeAdd` | Under it, for an owner when buying is off | not drawn | none | Add one you already own. |
+| `browser.domains.BoughtHere` | Chip on a card and on the domain's page | overview.html, domain-bought.html | none | Bought here |
+| `browser.domains.Elsewhere` | Chip for a domain attached here but registered elsewhere | overview.html, domain-elsewhere.html | none | Registered elsewhere |
+| `browser.domains.Buying` | Chip while a purchase is under way | not drawn | none | Being bought |
+| `browser.domains.NotPointed` | Row label on a card, and chip on the domain's page, for a bought domain serving no app | overview.html, domain-bought.html (example.net) | none | Not pointed at an app |
+| `browser.domains.ExpiresLine` | Card head, followed by the date: `Expires 2 Mar 2027 · next year £9` | overview.html | none | Expires |
+| `browser.domains.NextYearLine` | Same line, before the catalog price | overview.html | none | next year |
+| `browser.domains.FollowPurchase` | Link to the purchase card, after the purchase's status, on a card and on the domain's page (owners) | not drawn | none | See the purchase |
+| `browser.domains.PointAtApp` | Card button for an unpointed bought domain; heading of the point section on the domain's page; button on the finished no-app purchase card | overview.html, domain-bought.html, purchase-card.html | none | Point at an app |
+| `browser.domains.InTrash` | Address chip when its app is in Trash | overview.html | none | In Trash |
+| `browser.domains.Contacts` | Saved contacts heading (owners) | overview.html, contacts.html | none | Saved contacts |
+| `browser.domains.ContactsNote` | Under the heading when contacts exist | overview.html, contacts.html | none | Changes apply to future purchases only. |
+| `browser.domains.ContactsEmpty` | Under the heading when none exist | not drawn | none | No saved contacts yet. |
+| `browser.domains.Unread` | Error page body when the Domains page or a domain's page cannot be read; also the API error the CLI prints for `list --all` and `contacts` | not drawn | none | Could not read your domains. Try again. |
+
+### A domain's page
+
+Source: `domainsPageCopy`; drawn by `account_domain.html`.
+
+| key | where it appears | kit | placeholders | current draft |
+|---|---|---|---|---|
+| `browser.domains.PageEyebrow` | Eyebrow on a domain's page and on every buy step | domain-bought.html, buy-*.html | {account} | Domains · {account} |
+| `browser.domains.NotFound` | 404 page body for a domain the account does not use (title is the shared “Not found”) | not drawn | none | No such domain here. |
+| `browser.domains.Addresses` | Heading above the address rows | domain-bought.html | none | Addresses |
+| `browser.domains.Detach` | Row toggle and the confirm button (owners) | domain-bought.html | none | Detach |
+| `browser.domains.DetachLabel` | Hidden label of the confirm field | domain-bought.html | {host} | Type {host} to confirm detaching it |
+| `browser.domains.DetachPlaceholder` | Placeholder of the confirm field | domain-bought.html | {host} | type {host} to confirm |
+| `browser.domains.TileExpires` | Tile label; value is the expiry date | domain-bought.html | none | Expires |
+| `browser.domains.TileExpired` | Tile detail once the date has passed (tile turns amber) | not drawn | none | expired |
+| `browser.domains.InDays` | Tile detail, under 14 days left (see note 3) | not drawn | {n} | in {n} days |
+| `browser.domains.InWeeks` | Tile detail, 14 days or more | domain-bought.html | {n} | in {n} weeks |
+| `browser.domains.TilePrice` | Tile label; value is the catalog price for another year (see note 2) | domain-bought.html | none | Next year’s price |
+| `browser.domains.ChangeCard` | Link in that tile to the billing page (owners, buying on) | not drawn | none | Change card |
+| `browser.domains.PointTo` | Text before one button per app in the point section | domain-bought.html (kit has a select) | none | Point it at |
+| `browser.domains.PointToApp` | Accessible label on each app button | not drawn | {app} | Point at {app} |
+| `browser.domains.PointNote` | Under the point buttons; also under the app choices in buy step 2 | domain-bought.html, buy-app.html | {domain} twice | The app answers at {domain} and www.{domain}. |
+| `browser.domains.RegisteredTo` | Heading above the registrant's details; also the heading of buy step 3's contact section | domain-bought.html, buy-pay.html | none | Registered to |
+| `browser.domains.Name` | Registrant row label (everyone) | domain-bought.html | none | Name |
+| `browser.domains.Email` | Registrant row label (owners) | domain-bought.html | none | Email |
+| `browser.domains.Country` | Registrant row label (owners); value is the country's name | domain-bought.html | none | Country |
+| `browser.domains.DNS` | Heading for a bought domain with addresses | domain-bought.html | none | DNS |
+| `browser.domains.DNSManaged` | Under it | domain-bought.html | none | The records for these addresses are managed for you. |
+| `browser.domains.RecordsToSet` | Heading for a domain registered elsewhere | domain-elsewhere.html | none | DNS records to set |
+| `browser.domains.RecordsNote` | Under it | domain-elsewhere.html | {domain} | Add these where {domain} is registered. Checks run every few minutes. |
+| `browser.domains.Or` | Before the first record of an alternative set in the table | not drawn | none | or |
+| `browser.domains.RecordName` | Records table column | domain-elsewhere.html | none | Name |
+| `browser.domains.RecordType` | Records table column | domain-elsewhere.html | none | Type |
+| `browser.domains.RecordValue` | Records table column | domain-elsewhere.html | none | Value |
+
+### Address state chips
+
+Source: `accountdomains_copy.go`, `domainStateChips` (words only; the class is not copy). Shown beside each address on the Domains page and a domain's page. An empty or unknown state shows Checking.
+
+| key | where it appears | kit | placeholders | current draft |
+|---|---|---|---|---|
+| `browser.chip.live` | Address serving over HTTPS | overview.html, domain-bought.html | none | Live |
+| `browser.chip.pending-dns` | DNS does not point here yet | overview.html, domain-elsewhere.html | none | Waiting for DNS |
+| `browser.chip.misdirected` | DNS points somewhere else | not drawn | none | DNS points elsewhere |
+| `browser.chip.unverified` | Waiting for the proof-of-control TXT record | not drawn | none | Waiting for proof |
+| `browser.chip.unknown` | The DNS check could not finish | not drawn | none | Could not check |
+| `browser.chip.failed` | Certificate or setup failed | not drawn | none | Not working |
+| `browser.chip.issuing-cert` | Getting a certificate | not drawn | none | Getting a certificate |
+| `browser.chip.regional` | A regional domain, served per region | not drawn | none | Per region |
+| `browser.chip.checking` | Not checked yet, or the state could not be read | not drawn | none | Checking |
+
+### An app's Domains & TLS tab
+
+Sources: `domainsPageCopy.AllDomains`; `internal/console/domainbuy_copy.go`, `domainPointCopy` (flashes after pointing from a domain's page, which lands on the app's tab).
+
+| key | where it appears | kit | placeholders | current draft |
+|---|---|---|---|---|
+| `browser.domains.AllDomains` | Link at the top of the tab to the account's Domains page | not drawn | none | All domains |
+| `browser.point.Pointed` | Flash after pointing, when both addresses attached | not drawn | {domain}, {app} | {domain} now points at {app}. |
+| `browser.point.Waiting` | Flash after pointing, when an attach is waiting for its proof (see note 8) | not drawn | {domain}, {app} | Saved {domain} for {app}, but it is not live yet. Its DNS records can take a few minutes to show. Point it again then to finish. |
+
+### Buying: steps 1 to 3
+
+Source: `accountdomains_copy.go`, `accountBuyCopy`; drawn by `account_domain_buy.html` and `accountdomainbuy.go`. The page title and heading are Plan 1's approved “Buy a domain”; the domain field label and Check availability button are approved too.
+
+| key | where it appears | kit | placeholders | current draft |
+|---|---|---|---|---|
+| `browser.buy.Steps` | Accessible label of the step chips | buy-*.html | none | Steps |
+| `browser.buy.StepName` | Step chip 1 | buy-*.html | none | Name |
+| `browser.buy.StepApp` | Step chip 2 | buy-*.html | none | App |
+| `browser.buy.StepPay` | Step chip 3 | buy-*.html | none | Details and pay |
+| `tpl.buy.namePlaceholder` | Placeholder of the domain field, step 1 (literal in the template) | buy-name.html | none | example.com |
+| `browser.buy.Country` | Label of the country select in step 1 (asked only when nothing else sets the currency) and of the Country field in every contact form, replacing Plan 1's “Country (two uppercase letters)” now that it is a list | buy-name.html, buy-pay.html, contacts.html | none | Country |
+| `browser.buy.Choose` | Empty first option of both country selects | buy-name.html, buy-pay.html | none | Choose |
+| `browser.buy.PerYear` | Step 2, after the domain: `example.com · £12 a year` | buy-app.html | {price} = formatted amount | {price} a year |
+| `browser.buy.PointAt` | Accessible label of step 2's choices | buy-app.html | none | Point it at |
+| `browser.buy.NotYet` | Step 2 choice; also the Points at tile value in step 3 | buy-app.html, buy-pay.html | none | Not yet |
+| `browser.buy.NotYetNote` | Under the Not yet choice | buy-app.html | none | Point it at an app later. |
+| `browser.buy.ChooseApp` | Alert on step 2 when step 3 was asked for with no choice | not drawn | none | Choose an app, or Not yet. |
+| `browser.buy.Back` | Secondary button, steps 2 and 3 | buy-app.html, buy-pay.html | none | Back |
+| `browser.buy.Next` | Submit, step 2 | buy-app.html | none | Next |
+| `browser.buy.TilePrice` | Step 3 tile label; value is the price | buy-pay.html | none | Price |
+| `browser.buy.PriceDetail` | Its detail | buy-pay.html | {domain} | {domain} for one year |
+| `browser.buy.TilePointsAt` | Step 3 tile label; value is the app, or Not yet | buy-pay.html | none | Points at |
+| `browser.buy.PointsAtDetail` | Its detail when an app was chosen | buy-pay.html | {domain} | {domain} and www |
+| `browser.buy.NotYetDetail` | Its detail for Not yet | buy-pay.html | none | not pointed at an app yet |
+| `browser.buy.Order` | Accessible label of step 3's tiles | buy-pay.html | none | Your order |
+| `browser.buy.OrderNotYet` | Same, for Not yet | buy-pay.html | none | Your order, not pointed at an app |
+| `browser.buy.RegisteredNote` | Under the “Registered to” heading in step 3 (see note 4) | buy-pay.html | none | The domain is legally theirs. |
+| `browser.buy.FindContact` | Hidden label and placeholder of the contact filter (more than five saved contacts) | buy-pay.html | none | Find a contact |
+| `browser.buy.AddContact` | Last radio in step 3's contact list; also the add row on the Domains page | buy-pay.html, contacts.html | none | Add a new contact |
+| `browser.buy.SavedForNext` | Under the new contact's fields in step 3 | buy-pay.html | none | Saved for next time. |
+| `browser.buy.Pay` | Step 3 submit; opens checkout | buy-pay.html | none | Continue to payment |
+
+### Purchase card with no app
+
+Source: `accountBuyCopy`, mapped onto the card's stages in `internal/console/appdomainbuy.go` (`purchaseCardCopy`). Titles of the in-progress stages reuse Plan 1's approved “Setting up {domain}”; step labels reuse the approved “Payment received” and “Registering your domain”.
+
+| key | where it appears | kit | placeholders | current draft |
+|---|---|---|---|---|
+| `browser.buy.NoAppProgressLede` | Card lede while paying and registering, no app | purchase-card.html (third state) | none | Payment received, thanks. We’re registering your domain. It usually takes a minute or two, and you can leave this page. |
+| `browser.buy.ReadyTitle` | Card title when finished with no app; also the screen-reader status | purchase-card.html (fourth state) | {domain} | {domain} is yours |
+| `browser.buy.ReadyLede` | Card lede when finished with no app, and while registered but not yet paid (see note 1) | purchase-card.html (fourth state) | none | It’s registered and ready to point at an app. |
+
+### Saved contacts on the Domains page
+
+Source: `accountBuyCopy`. Owners only. Field labels are Plan 1's approved labels, except Country (above).
+
+| key | where it appears | kit | placeholders | current draft |
+|---|---|---|---|---|
+| `browser.buy.Edit` | Toggle on a closed contact row | contacts.html | none | Edit |
+| `browser.buy.Save` | Submit in a contact's edit form | contacts.html | none | Save |
+| `browser.buy.Remove` | Remove button in a contact's edit form | contacts.html | none | Remove |
+| `browser.buy.SaveContact` | Submit in the add form | contacts.html | none | Save contact |
+| `browser.buy.ContactSaved` | Flash after an edit | not drawn | none | Contact saved. |
+| `browser.buy.ContactAdded` | Flash after an add | not drawn | none | Contact added. |
+| `browser.buy.ContactRemoved` | Flash after a removal | not drawn | none | Contact removed. |
+| `browser.buy.ContactFailed` | Flash, or error page body, when contacts cannot be read or saved | not drawn | none | Could not save your contacts. Try again. |
+
+### Refusals from the account doors
+
+Sources: `accountdomains_copy.go` `domainAPICopy`; `domainbuy_copy.go` `domainPointCopy`.
+
+| key | where it appears | kit | placeholders | current draft |
+|---|---|---|---|---|
+| `door.chooseApp` | Purchase API refusal when neither an app nor Not yet was chosen (see note 6) | not drawn | none | choose an app to point the domain at, or not yet |
+| `door.point.Buying` | Point refusal (browser page and CLI) while the domain's purchase is still under way | not drawn | none | this domain is still being bought. point it once the purchase has finished |
+| `door.point.Unavailable` | Point refusal (browser page and CLI) when the point cannot be done now | not drawn | none | could not point this domain right now. try again in a minute |
+
+### Deleting an account
+
+Source: `domainbuy_copy.go`, `accountDomainsCopy`; flashes on the account's Settings page, used by `internal/console/ownership.go`.
+
+| key | where it appears | kit | placeholders | current draft |
+|---|---|---|---|---|
+| `browser.delete.Named` | Refusal naming the domains (see note 11) | not drawn | %s = domains, comma separated | This account can't be deleted while it holds domains it registered or is buying: %s. |
+| `browser.delete.Count` | Same refusal from the store's re-check, which knows only that there are some | not drawn | none | This account can't be deleted while it holds domains it registered or is buying. |
+| `browser.delete.Unreadable` | When the check itself fails | not drawn | none | Could not check whether this account holds domains. Nothing was deleted. |
+
+### CLI: `carlos domains buy` (new flags and output)
+
+Source: `domains_buy_copy.go`, `domainsAccountCopy`; used by `domains_buy_cli.go` and `domains_account_cli.go`.
+
+| key | where it appears | placeholders | current draft |
+|---|---|---|---|
+| `cli.notYetFlag` | Help for `--not-yet` | none | buy the domain without pointing it at an app yet |
+| `cli.contactFlag` | Help for `--contact` | none | saved contact to register the domain to (carlos domains contacts lists them) |
+| `cli.contactUnknown` | Refusal when `--contact <id>` names no saved contact | %s = id | no saved contact %s. carlos domains contacts lists them |
+| `cli.confirmContact` | Confirmation prompt when a saved contact is used (replaces the plain prompt); keep `[y/N]` and the trailing space | %s = “First Last (email)” | buy this domain registered to %s? [y/N]&#32; |
+| `cli.contactUsed` | Printed instead of the prompt with `--yes` and a saved contact | %s = “First Last (email)” | registered to %s<br> |
+| `cli.notPointed` | End of a purchase bought with `--not-yet` | %s = domain, %s = domain | %s is yours and not pointed at an app yet. point it with: carlos domains point %s --app &lt;app&gt; |
+| `cli.appGone` | End of a purchase whose app went away before it could be pointed | %s = app, %s = domain, %s = domain | %s went away before %s could point at it. the domain is yours and not pointed at an app. point it with: carlos domains point %s --app &lt;app&gt; |
+
+### CLI: `carlos domains list` (account-wide)
+
+| key | where it appears | placeholders | current draft |
+|---|---|---|---|
+| `cli.allFlag` | Help for `--all` | none | list every domain the account uses, not one app's |
+| `cli.noDomains` | Output when the account has no domains | none | no domains yet. buy one with carlos domains buy, or attach one to an app with carlos domains attach |
+| `cli.bought` | After the domain, bought here with a known expiry | %s = date, YYYY-MM-DD | bought here, expires %s |
+| `cli.boughtNoDate` | Same, expiry unknown | none | bought here |
+| `cli.elsewhere` | After the domain, registered elsewhere | none | registered elsewhere |
+| `cli.buying` | After the domain, purchase under way | %s = raw purchase state | being bought: %s |
+| `cli.inTrash` | In the app column for an address whose app is in Trash | %s = app | %s (in Trash) |
+| `cli.unpointed` | Indented under a bought domain with no addresses | %s = domain | not pointed at an app. point it with: carlos domains point %s --app &lt;app&gt; |
+
+### CLI: `carlos domains point`
+
+| key | where it appears | placeholders | current draft |
+|---|---|---|---|
+| `cli.pointAppFlag` | Help for `--app` on point | none | app to point the domain at |
+| `cli.pointed` | Output after pointing | %s = domain, %s = app | %s now points at %s |
+| `cli.pointWaiting` | Warning when an attach is waiting for its proof (see note 8) | %s = domain, %s = app | saved %s for %s, but it is not live yet. its DNS records can take a few minutes to show. run this again then to finish |
+
+### CLI: `carlos domains contacts`
+
+| key | where it appears | placeholders | current draft |
+|---|---|---|---|
+| `cli.fileFlag` | Help for `--file` on add and edit | none | JSON file containing the contact details |
+| `cli.noContacts` | Output of list when none are saved | none | no saved contacts. add one with: carlos domains contacts add --file contact.json |
+| `cli.contactsHeader` | Table header of list (upper case by convention) | none | ID\tNAME\tEMAIL\tCOUNTRY |
+| `cli.contactAdded` | Output of add | %s = new id | added contact %s<br> |
+| `cli.contactSaved` | Output of edit | %s = id | saved contact %s<br> |
+| `cli.contactRemoved` | Output of remove | %s = id | removed contact %s<br> |
+| `cli.fileJSON` | Refusal for a file that is not one contact object | none | --file must contain one contact JSON object |
+| `cli.fileSize` | Refusal for a file over 16 KiB | none | --file is too large (maximum 16 KiB) |
+
+### CLI help and usage
+
+Sources: `domains_buy_copy.go` (`domainsBuyNotYetHelp`, `domainsBuyNotYetUsage`, `domainsAccountHelp`, `domainsListUsage`, `domainsPointUsage`, `domainsContactsUsage`) and `domains_cli.go` (`domainsUsage`, first line only). Indentation is 2 spaces before a verb and 18 before its description; keep it. Blocks are exact, including the final blank line where shown.
+
+`cli.usage.domains`: first line of `carlos domains` help; only the verb list changed (point and contacts added).
+
+```
+usage: carlos domains <check|buy|attach|verify|detach|list|point|contacts|paths|placements> [flags]
+```
+
+`cli.help.buyNotYet`: printed in `carlos domains` help straight after Plan 1's approved `check` and `buy --app` entries (see merge point 1). Ends with a blank line.
+
+```
+ buy <name> --not-yet [--contact <id> | --contact-file contact.json] [--yes] [--no-wait] [flags]
+ buy a domain and point it at no app yet. buy needs one of
+ --app and --not-yet. --contact <id> registers it to that
+ saved contact; with neither contact flag, the one used
+ last
+
+```
+
+`cli.usage.buyNotYet`: printed under Plan 1's approved `usage: carlos domains buy ...` line in `carlos domains buy -h` and on a usage error (see merge point 2). The first line's leading spaces align it under “carlos”.
+
+```
+ carlos domains buy <name> --not-yet [--contact <id> | --contact-file contact.json] [--yes] [--no-wait] [--account <a>] [--account-id <id>] [--console <origin>]
+buy needs one of --app and --not-yet. either takes --contact <id> in place of --contact-file
+```
+
+`cli.help.account`: the list, point and contacts entries in `carlos domains` help, after `detach`. The first two description lines of `list` are the old wording, moved.
+
+```
+ list [--app <a> | --all] [flags]
+ an app's hostname claims, joined to the fleet's own
+ readings sweep (DNS/CERT-EXPIRES/WILDCARD/CATCHALL/DELEGATION).
+ without --app, the configured app or the account's only
+ app. with --all, or when no app is found, every domain
+ the account uses: bought here, being bought, or
+ registered elsewhere, each with its addresses
+ point <domain> --app <a> [flags]
+ point a domain bought here at an app: the domain and its
+ www serve the app. owners only
+ contacts [list | add --file contact.json | edit <id> --file contact.json | remove <id>] [flags]
+ the contacts saved for registering domains. owners only
+```
+
+`cli.usage.list`: `carlos domains list -h` and usage errors.
+
+```
+usage: carlos domains list [--app <a> | --all] [--account <a>] [--account-id <id>] [--console <origin>]
+```
+
+`cli.usage.point`:
+
+```
+usage: carlos domains point <domain> --app <a> [--account <a>] [--account-id <id>] [--console <origin>]
+```
+
+`cli.usage.contacts`:
+
+```
+usage: carlos domains contacts [list | add --file contact.json | edit <id> --file contact.json | remove <id>] [--account <a>] [--account-id <id>] [--console <origin>]
+```
+
+### Docs: `docs/site/cli.md`, “carlos domains”
+
+The section opens with this example block (commands, not reviewed; three lines are new):
+
+```sh
+carlos domains check shop.example
+carlos domains buy shop.example --app shop
+carlos domains buy shop.example --not-yet
+carlos domains point shop.example --app shop
+carlos domains list --all
+```
+
+Then three new paragraphs, then the existing attach text (see merge point 10).
+
+| key | where it appears | placeholders | current draft |
+|---|---|---|---|
+| `docs.cli.buyAppOrNotYet` | First paragraph after the examples | none | `buy` needs either `--app`, to point the new domain at that app, or `--not-yet`, to buy it without pointing it anywhere. Point it later with `point`, which sets up the domain and its `www` for the app. Buying, pointing and saved contacts are for the account’s owners. |
+| `docs.cli.contacts` | Second paragraph | none | A domain is registered to a contact you save once and reuse. With no contact flag, `buy` uses the one you used last and names it before you confirm. `--contact <id>` picks another, and `--contact-file contact.json` uses new details and saves them. `carlos domains contacts` lists the saved contacts, and `contacts add --file`, `contacts edit <id> --file` and `contacts remove <id>` change them. |
+| `docs.cli.listAll` | Third paragraph | none | `carlos domains list --all` shows every domain the account uses, whether bought here, still being bought or registered elsewhere, with each address under its domain. Any member of the account can run it. Without `--all`, `list` shows one app’s hostnames, as below: the app you name with `--app`, else your configured app or the account’s only app. When there is no app to show, it lists every domain, as `--all` does. |
+| `docs.cli.listApp` | Changed sentence in the existing attach paragraph (was “The `list` verb joins…”) | none | `list --app` joins the claims to the fleet's own readings sweep, so DNS state, certificate expiry and delegation are readable without leaving the terminal. |
+
+## Merge points with approved or existing text
+
+These drafts sit next to strings that are already approved (Plan 1) or already shipped. Review the new text so the pair reads as one; flag any change you think the approved neighbour needs rather than rewriting it here.
+
+1. **`carlos domains` help shows `buy` twice.** Approved `domainsBuyHelp` prints `buy <name> --app <a> [--contact-file contact.json] [--yes] [--no-wait] [flags]` / “buy a domain and wait for it to serve the app”, then `cli.help.buyNotYet` prints the `--not-yet` form. The approved `--app` entry does not mention `--contact`.
+2. **`carlos domains buy -h` usage.** Approved `domainsBuyUsage` (the `--app` line) is followed by `cli.usage.buyNotYet` (the `--not-yet` line and the rule line).
+3. **Two “Buy a domain” keys.** `browser.domains.Buy` and approved `title` (the buy page's title and heading, and the buy link on an app's tab) should stay identical.
+4. **Two payment buttons.** `browser.buy.Pay` (“Continue to payment”) matches approved `continuePayment` on the purchase card. Approved `pay` (“Continue to checkout”) is no longer shown in the console.
+5. **Country label.** `browser.buy.Country` replaces approved `Country` (“Country (two uppercase letters)”) on every contact form now that the field is a list of countries.
+6. **Ownership lines.** `browser.domains.RegisteredTo` and `browser.buy.RegisteredNote` replace, on step 3, approved `contact` (“Your contact details”) and `ownership` (“The domain is registered in your name, so it is yours to keep or move.”), which are no longer shown. The purchase card still shows approved `cardOwnership`. Also no longer shown: approved `quote`, `paymentDetails` and `timing`.
+7. **No-app card next to the approved card.** `browser.buy.NoAppProgressLede` is approved `progressLede` without “and connecting it to {app}”. `browser.buy.ReadyTitle` sits beside approved `liveTitle` (“{domain} is live”) and `unpaidTitle` (“{domain} is yours, but the payment didn't go through”).
+8. **Point flash and the attach notice.** `browser.point.Waiting` opens as the attach door's existing pending notice does (“Saved {host}, but it is not live yet. …”).
+9. **Contact file errors.** `cli.fileFlag`, `cli.fileJSON` and `cli.fileSize` (contacts' `--file`) mirror approved `contactFileFlag` (“JSON file containing your contact details”), `contactJSON` and `contactSize` (buy's `--contact-file`). Point and contacts reuse the approved `--account`, `--account-id` and `--console` flag help unchanged.
+10. **cli.md ordering.** The new paragraphs sit between the check/buy examples and the existing “Attaches a customer's own hostname to one of the app's routes, detaches it, or lists what is claimed.” That sentence now overlaps `docs.cli.listAll`, and the section moves from buying to attaching without a break. Say under Flags if the order or that sentence should change.
+11. **Account deletion.** `browser.delete.*` flashes appear where the existing “This account still holds apps. Move or retire them first — deleting an account never deletes an app.” does (shipped earlier, outside this pass, with an em dash).
+12. **App's Domains & TLS tab.** `browser.domains.AllDomains` sits above the existing “No domains yet — the first shipped route brings one.” (shipped earlier, outside this pass, with an em dash).
+
+## Answer
+
+Return one Markdown table with columns `key | new text | why` for every key in the tables above, plus the seven `cli.usage.*` and `cli.help.*` keys (152 keys in all). Where a string is fine, repeat it as `new text` and write `keep` as `why`. Use the same encoding as the tables. For the seven help and usage keys, write `see block` in `new text` and give each new text in a fenced block under `## Help blocks`, keyed by its name, exact to the character.
+
+Then a `## Flags` section: fact conflicts (a string that cannot stay true to the facts above in the place it appears), unclear placeholders, any string you think is missing, and any change an approved neighbour needs. If there is nothing, write `None.`
+
+## Excluded (for the record)
+
+Not reviewed in this pass, because they are not text a person reads in normal use, or are unchanged:
+
+1. `cli.unreadableList`, `cli.unreadableContacts`, `cli.unreadablePoint` (“domains …: unreadable response: %w”): diagnostics for a malformed console answer.
+2. `cli.fileRead` (“read --file: %w”): a prefix wrapping a file-system or JSON error, as approved `contactFile`.
+3. `cli.hostState`, `cli.hostStateDetail` (“%s: %s”, “%s: %s (%s)”): formats around runtime values.
+4. Boot log line “console: domain buying is off; CARLOS_HOST_CLAIM is on” (`cmd/console/domains.go`).
+5. Operator alert reason “release of {host} from {app} failed: {msg}” (`internal/console/domainbuy.go`, `purchaseAlert`).
+6. Internal errors: “console: the account holds domains”, “console: this account has %d domain(s) registered or being bought: %w”, “console: domain buy: the account is gone or being deleted”, “console: saved contact not found”, “domain claim %s could not be read” and the other `fmt.Errorf` wrappers in `internal/console/accountdomains.go` and `domainstore.go` (logged; the pages show `Unread`, `delete.Count` or a 404).
+7. Every `log.Printf` line added on this branch.
+8. JSON field names and codes (`pointed`, `pending`, `not_yet`, `contact_id`, `in_trash`, `"code": "app"`, `"code": "contact"` and the rest).
+9. Raw runtime values the CLI prints: address states and purchase states.
+10. `parity/parity.tsv` notes and the generated `docs/parity.md` (contributor docs).
+11. Spec and plan edits under `docs/superpowers/`.
+12. Code comments, CSS comments in `console_chrome.html` and the kit's `shell.html`, and “Mockup: …” annotations in the kit.
+13. Shared literals reused unchanged on new screens: page titles “Error”, “Not found”, “Refused”, and “Cross-site request blocked.” on the point form (`domainpoint.go`, the same literal as `ownership.go`; Plan 1's approved buy pages use “This request was blocked.”).
+14. “not attached to this app” (`domainattach.go`): moved into `domainNotAttached`, wording unchanged.
+15. Plan 1 approved strings reused unchanged, including `title`, `name`, `check`, `back`, `rate`, `csrf`, `refused`, `unavailable`, `currency`, `contactError`, `nameError`, `notOffered`, `premium`, `progressTitle`, the step labels, `cardOwnership`, `visit`, the contact field labels, and the CLI's `accountFlag`, `accountIDFlag`, `consoleFlag`, `contactFileFlag`, `confirm`, `expired` and `unpaid`.
+16. Existing text with em dashes next to new drafts, outside this pass (merge points 11 and 12, and “— otherwise --route is required” in the attach help).
+17. The `domains list` flag help that was already there (“app whose hostname claims to list”, and the `--account` and `--account-id` help with “ONLY” and an em dash).