carlos / platform Public

domains: approved copy (Luna pass DOMAINS-2A)

Applies LUNA-COPY-RESULT-DOMAINS-2A.md row for row and the five flag
strings, with the controller's rulings: a readying lede on the no-app
card, "in 1 day" and "today" on the expiry tile, a lower-case CLI twin of
Unread, the move hint beside Detach, no Change card link until renewals
exist, buy help and usage that name --contact <id> with one buy entry,
and the attach sentence in cli.md no longer overlapping list --all.
Pins every string in approved_account_domains_copy_test.go; the golden
corpus carries the new help.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
claude agent, operated by paul@keymail.dev pushed by paul@keymail.dev 32db6b9976b1ec62d2dc6c8ca1456f8ebcb97e21 parent 26af564
20 files changed, +688 −150
  • approved_account_domains_copy_test.go +207 −0
  • approved_domains_buy_copy_test.go +4 −2
  • docs/site/cli.md +19 −17
  • docs/superpowers/specs/LUNA-COPY-RESULT-DOMAINS-2A-FLAGS.md +7 −0
  • docs/superpowers/specs/LUNA-COPY-RESULT-DOMAINS-2A.md +227 −0
  • domains_buy_cli.go +1 −1
  • domains_buy_cli_test.go +1 −1
  • domains_buy_copy.go +29 −26
  • domains_cli.go +1 −1
  • internal/console/accountdomainbuy_test.go +13 −2
  • internal/console/accountdomains_copy.go +37 −21
  • internal/console/accountdomainspage.go +27 −20
  • internal/console/accountdomainspage_test.go +34 −6
  • internal/console/apidomainbuy.go +1 −1
  • internal/console/apidomainbuy_test.go +25 −0
  • internal/console/appdomainbuy.go +1 −1
  • internal/console/domainbuy_copy.go +13 −9
  • internal/console/templates/account_domain.html +1 −1
  • internal/console/templates/account_domains.html +0 −1
  • testdata/clireg-golden.jsonl +40 −40

CI cancelled — superseded by a newer push — run details

diff --git a/approved_account_domains_copy_test.go b/approved_account_domains_copy_test.go
new file mode 100644
index 000000000..efed4fd60
--- /dev/null
+++ b/approved_account_domains_copy_test.go
@@ -0,0 +1,207 @@
+package main
+
+import (
+ "os"
+ "strings"
+ "testing"
+)
+
+// Approved by delegation (Luna), 2026-11-19:
+// docs/superpowers/specs/LUNA-COPY-RESULT-DOMAINS-2A.md and
+// LUNA-COPY-RESULT-DOMAINS-2A-FLAGS.md, with the controller's rulings on
+// its flags. Domains at the account level (Plan 2a): the Domains page, a
+// domain's page, the three-step buy, saved contacts, pointing, and the
+// account-wide carlos domains verbs. Go literals are compared byte for byte
+// (approved_copy_test.go's goLiteralMatches).
+func TestApprovedAccountDomainsCopy(t *testing.T) {
+ rows := []struct{ key, path, want string }{
+ {"browser.domains.Title", "internal/console/accountdomains_copy.go", "Domains"},
+ {"browser.domains.Eyebrow", "internal/console/accountdomains_copy.go", "Account · {account}"},
+ {"browser.domains.TileLive", "internal/console/accountdomains_copy.go", "Addresses live"},
+ {"browser.domains.TileLiveValue", "internal/console/accountdomains_copy.go", "{live} of {total}"},
+ {"browser.domains.TileNotLive", "internal/console/accountdomains_copy.go", "{n} not live yet"},
+ {"browser.domains.TileNextExpiry", "internal/console/accountdomains_copy.go", "Next expiry"},
+ {"browser.domains.CountOne", "internal/console/accountdomains_copy.go", "1 domain"},
+ {"browser.domains.CountMany", "internal/console/accountdomains_copy.go", "{n} domains"},
+ {"browser.domains.Buy", "internal/console/accountdomains_copy.go", "Buy a domain"},
+ {"browser.domains.AddOwn", "internal/console/accountdomains_copy.go", "Add a domain you own"},
+ {"browser.domains.Add", "internal/console/accountdomains_copy.go", "Add"},
+ {"browser.domains.Close", "internal/console/accountdomains_copy.go", "Close"},
+ {"browser.domains.AddHost", "internal/console/accountdomains_copy.go", "Domain"},
+ {"browser.domains.AddHostPlaceholder", "internal/console/accountdomains_copy.go", "www.example.com"},
+ {"browser.domains.AttachTo", "internal/console/accountdomains_copy.go", "Attach to"},
+ {"browser.domains.AttachToApp", "internal/console/accountdomains_copy.go", "Attach to {app}"},
+ {"browser.domains.NoApps", "internal/console/accountdomains_copy.go", "Create an app first."},
+ {"browser.domains.EmptyTitle", "internal/console/accountdomains_copy.go", "No domains yet"},
+ {"browser.domains.EmptyLede", "internal/console/accountdomains_copy.go", "Buy one here, or add one you already own."},
+ {"browser.domains.EmptyLedeAdd", "internal/console/accountdomains_copy.go", "Add one you already own."},
+ {"browser.domains.BoughtHere", "internal/console/accountdomains_copy.go", "Bought here"},
+ {"browser.domains.Elsewhere", "internal/console/accountdomains_copy.go", "Registered elsewhere"},
+ {"browser.domains.Buying", "internal/console/accountdomains_copy.go", "Being bought"},
+ {"browser.domains.NotPointed", "internal/console/accountdomains_copy.go", "Not pointed at an app"},
+ {"browser.domains.ExpiresLine", "internal/console/accountdomains_copy.go", "Expires"},
+ {"browser.domains.NextYearLine", "internal/console/accountdomains_copy.go", "for another year"},
+ {"browser.domains.FollowPurchase", "internal/console/accountdomains_copy.go", "See the purchase"},
+ {"browser.domains.PointAtApp", "internal/console/accountdomains_copy.go", "Point at an app"},
+ {"browser.domains.InTrash", "internal/console/accountdomains_copy.go", "In Trash"},
+ {"browser.domains.Contacts", "internal/console/accountdomains_copy.go", "Saved contacts"},
+ {"browser.domains.ContactsNote", "internal/console/accountdomains_copy.go", "Changes apply to future purchases only."},
+ {"browser.domains.ContactsEmpty", "internal/console/accountdomains_copy.go", "No saved contacts yet."},
+ {"browser.domains.Unread", "internal/console/accountdomains_copy.go", "Could not read your domains. Try again."},
+ {"browser.domains.PageEyebrow", "internal/console/accountdomains_copy.go", "Domains · {account}"},
+ {"browser.domains.NotFound", "internal/console/accountdomains_copy.go", "This account doesn’t use that domain."},
+ {"browser.domains.Addresses", "internal/console/accountdomains_copy.go", "Addresses"},
+ {"browser.domains.Detach", "internal/console/accountdomains_copy.go", "Detach"},
+ {"browser.domains.DetachLabel", "internal/console/accountdomains_copy.go", "Type {host} to confirm detaching it"},
+ {"browser.domains.DetachPlaceholder", "internal/console/accountdomains_copy.go", "type {host} to confirm"},
+ {"browser.domains.TileExpires", "internal/console/accountdomains_copy.go", "Expires"},
+ {"browser.domains.TileExpired", "internal/console/accountdomains_copy.go", "expired"},
+ {"browser.domains.InDays", "internal/console/accountdomains_copy.go", "in {n} days"},
+ {"browser.domains.InWeeks", "internal/console/accountdomains_copy.go", "in {n} weeks"},
+ {"browser.domains.TilePrice", "internal/console/accountdomains_copy.go", "Price for another year"},
+ {"browser.domains.PointTo", "internal/console/accountdomains_copy.go", "Point it at"},
+ {"browser.domains.PointToApp", "internal/console/accountdomains_copy.go", "Point at {app}"},
+ {"browser.domains.PointNote", "internal/console/accountdomains_copy.go", "The app answers at {domain} and www.{domain}."},
+ {"browser.domains.RegisteredTo", "internal/console/accountdomains_copy.go", "Registered to"},
+ {"browser.domains.Name", "internal/console/accountdomains_copy.go", "Name"},
+ {"browser.domains.Email", "internal/console/accountdomains_copy.go", "Email"},
+ {"browser.domains.Country", "internal/console/accountdomains_copy.go", "Country"},
+ {"browser.domains.DNS", "internal/console/accountdomains_copy.go", "DNS"},
+ {"browser.domains.DNSManaged", "internal/console/accountdomains_copy.go", "The records for these addresses are managed for you."},
+ {"browser.domains.RecordsToSet", "internal/console/accountdomains_copy.go", "DNS records to set"},
+ {"browser.domains.RecordsNote", "internal/console/accountdomains_copy.go", "Add these where {domain} is registered. Checks run every few minutes."},
+ {"browser.domains.Or", "internal/console/accountdomains_copy.go", "or"},
+ {"browser.domains.RecordName", "internal/console/accountdomains_copy.go", "Name"},
+ {"browser.domains.RecordType", "internal/console/accountdomains_copy.go", "Type"},
+ {"browser.domains.RecordValue", "internal/console/accountdomains_copy.go", "Value"},
+ {"browser.chip.live", "internal/console/accountdomains_copy.go", "Live"},
+ {"browser.chip.pending-dns", "internal/console/accountdomains_copy.go", "Waiting for DNS"},
+ {"browser.chip.misdirected", "internal/console/accountdomains_copy.go", "DNS points elsewhere"},
+ {"browser.chip.unverified", "internal/console/accountdomains_copy.go", "Waiting for proof"},
+ {"browser.chip.unknown", "internal/console/accountdomains_copy.go", "Could not check"},
+ {"browser.chip.failed", "internal/console/accountdomains_copy.go", "Not working"},
+ {"browser.chip.issuing-cert", "internal/console/accountdomains_copy.go", "Getting a certificate"},
+ {"browser.chip.regional", "internal/console/accountdomains_copy.go", "Per region"},
+ {"browser.chip.checking", "internal/console/accountdomains_copy.go", "Checking"},
+ {"browser.domains.AllDomains", "internal/console/accountdomains_copy.go", "All domains"},
+ {"browser.point.Pointed", "internal/console/domainbuy_copy.go", "{domain} now points at {app}."},
+ {"browser.point.Waiting", "internal/console/domainbuy_copy.go", "Saved {domain} for {app}, but it is not live yet. Its DNS records can take a few minutes to show. Point it again when they do to finish."},
+ {"browser.buy.Steps", "internal/console/accountdomains_copy.go", "Steps"},
+ {"browser.buy.StepName", "internal/console/accountdomains_copy.go", "Name"},
+ {"browser.buy.StepApp", "internal/console/accountdomains_copy.go", "App"},
+ {"browser.buy.StepPay", "internal/console/accountdomains_copy.go", "Details and pay"},
+ {"browser.buy.Country", "internal/console/accountdomains_copy.go", "Country"},
+ {"browser.buy.Choose", "internal/console/accountdomains_copy.go", "Choose"},
+ {"browser.buy.PerYear", "internal/console/accountdomains_copy.go", "{price} a year"},
+ {"browser.buy.PointAt", "internal/console/accountdomains_copy.go", "Point it at"},
+ {"browser.buy.NotYet", "internal/console/accountdomains_copy.go", "Not yet"},
+ {"browser.buy.NotYetNote", "internal/console/accountdomains_copy.go", "Point it at an app later."},
+ {"browser.buy.ChooseApp", "internal/console/accountdomains_copy.go", "Choose an app, or Not yet."},
+ {"browser.buy.Back", "internal/console/accountdomains_copy.go", "Back"},
+ {"browser.buy.Next", "internal/console/accountdomains_copy.go", "Next"},
+ {"browser.buy.TilePrice", "internal/console/accountdomains_copy.go", "Price"},
+ {"browser.buy.PriceDetail", "internal/console/accountdomains_copy.go", "{domain} for one year"},
+ {"browser.buy.TilePointsAt", "internal/console/accountdomains_copy.go", "Points at"},
+ {"browser.buy.PointsAtDetail", "internal/console/accountdomains_copy.go", "{domain} and www"},
+ {"browser.buy.NotYetDetail", "internal/console/accountdomains_copy.go", "not pointed at an app yet"},
+ {"browser.buy.Order", "internal/console/accountdomains_copy.go", "Your order"},
+ {"browser.buy.OrderNotYet", "internal/console/accountdomains_copy.go", "Your order, not pointed at an app"},
+ {"browser.buy.RegisteredNote", "internal/console/accountdomains_copy.go", "The domain will be registered to you."},
+ {"browser.buy.FindContact", "internal/console/accountdomains_copy.go", "Find a contact"},
+ {"browser.buy.AddContact", "internal/console/accountdomains_copy.go", "Add a new contact"},
+ {"browser.buy.SavedForNext", "internal/console/accountdomains_copy.go", "Saved for future purchases."},
+ {"browser.buy.Pay", "internal/console/accountdomains_copy.go", "Continue to payment"},
+ {"browser.buy.NoAppProgressLede", "internal/console/accountdomains_copy.go", "Payment received. We’re registering your domain. It usually takes a minute or two. You can leave this page."},
+ {"browser.buy.ReadyTitle", "internal/console/accountdomains_copy.go", "{domain} is yours"},
+ {"browser.buy.ReadyLede", "internal/console/accountdomains_copy.go", "It’s registered and ready to point at an app."},
+ {"browser.buy.Edit", "internal/console/accountdomains_copy.go", "Edit"},
+ {"browser.buy.Save", "internal/console/accountdomains_copy.go", "Save"},
+ {"browser.buy.Remove", "internal/console/accountdomains_copy.go", "Remove"},
+ {"browser.buy.SaveContact", "internal/console/accountdomains_copy.go", "Save contact"},
+ {"browser.buy.ContactSaved", "internal/console/accountdomains_copy.go", "Contact saved."},
+ {"browser.buy.ContactAdded", "internal/console/accountdomains_copy.go", "Contact added."},
+ {"browser.buy.ContactRemoved", "internal/console/accountdomains_copy.go", "Contact removed."},
+ {"browser.buy.ContactFailed", "internal/console/accountdomains_copy.go", "Could not load or save your contacts. Try again."},
+ {"door.chooseApp", "internal/console/accountdomains_copy.go", "choose an app to point the domain at, or choose not yet"},
+ {"door.point.Buying", "internal/console/domainbuy_copy.go", "this domain is still being bought. point it once the purchase has finished"},
+ {"door.point.Unavailable", "internal/console/domainbuy_copy.go", "could not point this domain right now. try again in a minute"},
+ {"browser.delete.Named", "internal/console/domainbuy_copy.go", "This account can’t be deleted while it holds domains it registered or is buying: %s."},
+ {"browser.delete.Count", "internal/console/domainbuy_copy.go", "This account can’t be deleted while it holds domains it registered or is buying."},
+ {"browser.delete.Unreadable", "internal/console/domainbuy_copy.go", "Could not check whether this account holds domains. Nothing was deleted."},
+ {"cli.notYetFlag", "domains_buy_copy.go", "buy the domain without pointing it at an app yet"},
+ {"cli.contactFlag", "domains_buy_copy.go", "saved contact to use when registering the domain; list contacts with carlos domains contacts"},
+ {"cli.contactUnknown", "domains_buy_copy.go", "no saved contact %s. list them with carlos domains contacts"},
+ {"cli.confirmContact", "domains_buy_copy.go", "buy this domain registered to %s? [y/N] "},
+ {"cli.contactUsed", "domains_buy_copy.go", "registered to %s\n"},
+ {"cli.notPointed", "domains_buy_copy.go", "%s is yours and not pointed at an app yet. point it with: carlos domains point %s --app <app>"},
+ {"cli.appGone", "domains_buy_copy.go", "%s went away before %s could be pointed at it. the domain is yours and not pointed at an app. point it with: carlos domains point %s --app <app>"},
+ {"cli.allFlag", "domains_buy_copy.go", "list every domain the account uses, not just one app’s"},
+ {"cli.noDomains", "domains_buy_copy.go", "no domains yet. buy one with carlos domains buy, or attach one to an app with carlos domains attach"},
+ {"cli.bought", "domains_buy_copy.go", "bought here, expires %s"},
+ {"cli.boughtNoDate", "domains_buy_copy.go", "bought here"},
+ {"cli.elsewhere", "domains_buy_copy.go", "registered elsewhere"},
+ {"cli.buying", "domains_buy_copy.go", "being bought: %s"},
+ {"cli.inTrash", "domains_buy_copy.go", "%s (in Trash)"},
+ {"cli.unpointed", "domains_buy_copy.go", "not pointed at an app. point it with: carlos domains point %s --app <app>"},
+ {"cli.pointAppFlag", "domains_buy_copy.go", "app to point the domain at"},
+ {"cli.pointed", "domains_buy_copy.go", "%s now points at %s"},
+ {"cli.pointWaiting", "domains_buy_copy.go", "saved %s for %s, but it is not live yet. its DNS records can take a few minutes to show. run this again when they do to finish"},
+ {"cli.fileFlag", "domains_buy_copy.go", "JSON file containing your contact details"},
+ {"cli.noContacts", "domains_buy_copy.go", "no saved contacts. add one with: carlos domains contacts add --file contact.json"},
+ {"cli.contactsHeader", "domains_buy_copy.go", "ID\tNAME\tEMAIL\tCOUNTRY"},
+ {"cli.contactAdded", "domains_buy_copy.go", "added contact %s\n"},
+ {"cli.contactSaved", "domains_buy_copy.go", "saved contact %s\n"},
+ {"cli.contactRemoved", "domains_buy_copy.go", "removed contact %s\n"},
+ {"cli.fileJSON", "domains_buy_copy.go", "--file must contain one contact JSON object"},
+ {"cli.fileSize", "domains_buy_copy.go", "--file is too large (maximum 16 KiB)"},
+ {"browser.buy.ReadyingLede", "internal/console/accountdomains_copy.go", "Your domain is registered. We’re taking payment now. You can point it at an app when payment is complete."},
+ {"browser.domains.InDayOne", "internal/console/accountdomains_copy.go", "in 1 day"},
+ {"browser.domains.InDaysToday", "internal/console/accountdomains_copy.go", "today"},
+ {"cli.domains.unread", "internal/console/accountdomains_copy.go", "could not read your domains. try again"},
+ {"browser.domains.MoveHint", "internal/console/accountdomains_copy.go", "To move this domain to another app, detach it first, then point it at the new app."},
+ // The help and usage, as cli.help.buyNotYet merged into the approved
+ // buy entry and usage (controller ruling 6).
+ {"cli.help", "domains_buy_copy.go", " check <name> [--country <cc>] [flags]\n check availability and the price for one year\n buy <name> --app <a> [--contact <id> | --contact-file contact.json] [--yes] [--no-wait] [flags]\n buy <name> --not-yet [--contact <id> | --contact-file contact.json] [--yes] [--no-wait] [flags]\n buy a domain and wait for it to serve the app. with\n --not-yet, buy it without pointing it at an app yet. buy\n needs one of --app or --not-yet. --contact <id> registers\n it to that saved contact; with neither contact flag, buy\n uses the one used last\n\n"},
+ {"cli.buyUsage", "domains_buy_copy.go", "usage: carlos domains buy <name> --app <a> [--contact <id> | --contact-file contact.json] [--yes] [--no-wait] [--account <a>] [--account-id <id>] [--console <origin>]\n carlos domains buy <name> --not-yet [--contact <id> | --contact-file contact.json] [--yes] [--no-wait] [--account <a>] [--account-id <id>] [--console <origin>]\nbuy needs --app or --not-yet. either accepts --contact <id> in place of --contact-file\n"},
+ {"cli.usage.domains", "domains_cli.go", "usage: carlos domains <check|buy|attach|verify|detach|list|point|contacts|paths|placements> [flags]\n\n"},
+ {"cli.help.account", "domains_buy_copy.go", " list [--app <a> | --all] [flags]\n an app's hostname claims, joined to the fleet's own\n readings sweep (DNS/CERT-EXPIRES/WILDCARD/CATCHALL/DELEGATION).\n without --app, the configured app or the account's only\n app. with --all, or when no app is found, every domain\n the account uses: bought here, being bought, or\n registered elsewhere, each with its addresses\n point <domain> --app <a> [flags]\n point a domain bought here at an app. its domain and its\n www serve the app. owners only\n contacts [list | add --file contact.json | edit <id> --file contact.json | remove <id>] [flags]\n the contacts saved for registering domains. owners only\n"},
+ {"cli.usage.list", "domains_buy_copy.go", "usage: carlos domains list [--app <a> | --all] [--account <a>] [--account-id <id>] [--console <origin>]\n"},
+ {"cli.usage.point", "domains_buy_copy.go", "usage: carlos domains point <domain> --app <a> [--account <a>] [--account-id <id>] [--console <origin>]\n"},
+ {"cli.usage.contacts", "domains_buy_copy.go", "usage: carlos domains contacts [list | add --file contact.json | edit <id> --file contact.json | remove <id>] [--account <a>] [--account-id <id>] [--console <origin>]\n"},
+ }
+ for _, row := range rows {
+ t.Run(row.key, func(t *testing.T) {
+ body, err := os.ReadFile(row.path)
+ if err != nil {
+ t.Fatal(err)
+ }
+ if !goLiteralMatches(body, func(s string) bool { return s == row.want }) {
+ t.Errorf("%s: missing approved string %q", row.path, row.want)
+ }
+ })
+ }
+}
+
+// TestApprovedAccountDomainsPageText: the approved text that lives outside
+// Go literals, a template attribute and the CLI reference's prose,
+// compared with runs of whitespace folded (the prose is wrapped).
+func TestApprovedAccountDomainsPageText(t *testing.T) {
+ rows := []struct{ key, path, want string }{
+ {"tpl.buy.namePlaceholder", "internal/console/templates/account_domain_buy.html", `placeholder="example.com"`},
+ {"docs.cli.buyAppOrNotYet", "docs/site/cli.md", "`buy` needs either `--app` to point the new domain at an app or `--not-yet` to buy it without pointing it anywhere. Use `point` later to set up the domain and its `www` for the app. Only account owners can buy, point domains or use saved contacts."},
+ {"docs.cli.contacts", "docs/site/cli.md", "A domain is registered to a contact you save once and reuse. Editing a saved contact changes future purchases only. 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", "docs/site/cli.md", "`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", "docs/site/cli.md", "`list --app` combines the app’s hostname claims with the fleet’s own readings for DNS state, certificate expiry and delegation, so you can read them without leaving the terminal."},
+ }
+ for _, row := range rows {
+ t.Run(row.key, func(t *testing.T) {
+ body, err := os.ReadFile(row.path)
+ if err != nil {
+ t.Fatal(err)
+ }
+ if !strings.Contains(strings.Join(strings.Fields(string(body)), " "), row.want) {
+ t.Errorf("%s: missing approved text %q", row.path, row.want)
+ }
+ })
+ }
+}
diff --git a/approved_domains_buy_copy_test.go b/approved_domains_buy_copy_test.go
index aa04e6571..f485a8ee3 100644
--- a/approved_domains_buy_copy_test.go
+++ b/approved_domains_buy_copy_test.go
@@ -54,9 +54,11 @@ func TestApprovedDomainsBuyCopy(t *testing.T) {
// approved by delegation (reviewer, 2026-11-03)
{"cli.countryFlag", "domains_buy_copy.go", "country for the price check when no billing currency is set (two letters)"},
{"cli.countryInvalid", "domains_buy_copy.go", "--country must be two letters a-z"},
- {"cli.help", "domains_buy_copy.go", " check <name> [--country <cc>] [flags]\n check availability and the price for one year\n buy <name> --app <a> [--contact-file contact.json] [--yes] [--no-wait] [flags]\n buy a domain and wait for it to serve the app\n\n"},
+ // cli.help and cli.buyUsage: re-approved by delegation (Luna),
+ // 2026-11-19, with the controller's ruling (the --app form names
+ // --contact <id>; the --not-yet form shares the entry). Pinned in
+ // approved_account_domains_copy_test.go.
{"cli.checkUsage", "domains_buy_copy.go", "usage: carlos domains check <name> [--country <cc>] [--account <a>] [--account-id <id>] [--console <origin>]\n"},
- {"cli.buyUsage", "domains_buy_copy.go", "usage: carlos domains buy <name> --app <a> [--contact-file contact.json] [--yes] [--no-wait] [--account <a>] [--account-id <id>] [--console <origin>]\n"},
{"cli.appFlag", "domains_buy_copy.go", "app the domain will serve"},
{"cli.accountFlag", "domains_buy_copy.go", "account (sqid or name)"},
{"cli.accountIDFlag", "domains_buy_copy.go", "account sqid, matched as a sqid only"},
diff --git a/docs/site/cli.md b/docs/site/cli.md
index a74776883..4894009f2 100644
--- a/docs/site/cli.md
+++ b/docs/site/cli.md
@@ -1749,16 +1749,17 @@ carlos domains point shop.example --app shop
carlos domains list --all
```
-`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.
-
-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
+`buy` needs either `--app` to point the new domain at an app or
+`--not-yet` to buy it without pointing it anywhere. Use `point` later to
+set up the domain and its `www` for the app. Only account owners can buy,
+point domains or use saved contacts.
+
+A domain is registered to a contact you save once and reuse. Editing a saved
+contact changes future purchases only. 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.
`carlos domains list --all` shows every domain the account uses, whether
@@ -1768,8 +1769,8 @@ under its domain. Any member of the account can run it. Without `--all`,
else your configured app or the account’s only app. When there is no app
to show, it lists every domain, as `--all` does.
-Attaches a customer's own hostname to one of the app's routes, detaches it,
-or lists what is claimed.
+Attaches a customer's own hostname to one of the app's routes, or detaches
+it.
```sh
carlos domains attach --app hello www.example.com
@@ -1779,11 +1780,12 @@ New creates in an HA region need a box with room. A 503 response tells you to re
Named-pool creates need a serving box that reports membership of the requested pool. Older boxes do not report this evidence. If no box confirms capacity and evidence is missing, the create returns 503 because capacity is unknown. Nothing is created. Shared-pool creates use the existing shared-pool reports.
-`--route` picks which route to point at, and you can leave it off when the app
-has exactly one instance record. `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. The hostname comes live on the
-box owning its route at its next domains pass, certificate and all.
+`--route` picks which route to point at, and you can leave it off when the
+app has exactly one instance record. `list --app` combines the app’s
+hostname claims with the fleet’s own readings for DNS state, certificate
+expiry and delegation, so you can read them without leaving the terminal.
+The hostname comes live on the box owning its route at its next domains
+pass, certificate and all.
On a deployment that sets `CONSOLE_DOMAIN_PROOF=true`, a hostname is not
served until you prove you control it. `attach` reserves the name and prints
diff --git a/docs/superpowers/specs/LUNA-COPY-RESULT-DOMAINS-2A-FLAGS.md b/docs/superpowers/specs/LUNA-COPY-RESULT-DOMAINS-2A-FLAGS.md
new file mode 100644
index 000000000..a15f830e3
--- /dev/null
+++ b/docs/superpowers/specs/LUNA-COPY-RESULT-DOMAINS-2A-FLAGS.md
@@ -0,0 +1,7 @@
+| key | text | where |
+|---|---|---|
+| `browser.buy.ReadyingLede` | Your domain is registered. We’re taking payment now. You can point it at an app when payment is complete. | No-app purchase card before payment is taken |
+| `browser.domains.InDayOne` | in 1 day | Expiry tile, one day left |
+| `browser.domains.InDaysToday` | today | Expiry tile on the expiry day |
+| `cli.domains.unread` | could not read your domains. try again | CLI/API error |
+| `browser.domains.MoveHint` | To move this domain to another app, detach it first, then point it at the new app. | Bought domain page beside Detach |
\ No newline at end of file
diff --git a/docs/superpowers/specs/LUNA-COPY-RESULT-DOMAINS-2A.md b/docs/superpowers/specs/LUNA-COPY-RESULT-DOMAINS-2A.md
new file mode 100644
index 000000000..b588a4cff
--- /dev/null
+++ b/docs/superpowers/specs/LUNA-COPY-RESULT-DOMAINS-2A.md
@@ -0,0 +1,227 @@
+| key | new text | why |
+|---|---|---|
+| `browser.domains.Title` | Domains | keep |
+| `browser.domains.Eyebrow` | Account · {account} | keep |
+| `browser.domains.TileLive` | Addresses live | keep |
+| `browser.domains.TileLiveValue` | {live} of {total} | keep |
+| `browser.domains.TileNotLive` | {n} not live yet | keep |
+| `browser.domains.TileNextExpiry` | Next expiry | keep |
+| `browser.domains.CountOne` | 1 domain | keep |
+| `browser.domains.CountMany` | {n} domains | keep |
+| `browser.domains.Buy` | Buy a domain | keep |
+| `browser.domains.AddOwn` | Add a domain you own | keep |
+| `browser.domains.Add` | Add | keep |
+| `browser.domains.Close` | Close | keep |
+| `browser.domains.AddHost` | Domain | keep |
+| `browser.domains.AddHostPlaceholder` | www.example.com | keep |
+| `browser.domains.AttachTo` | Attach to | Shorter and natural before an app button |
+| `browser.domains.AttachToApp` | Attach to {app} | keep |
+| `browser.domains.NoApps` | Create an app first. | keep |
+| `browser.domains.EmptyTitle` | No domains yet | keep |
+| `browser.domains.EmptyLede` | Buy one here, or add one you already own. | keep |
+| `browser.domains.EmptyLedeAdd` | Add one you already own. | keep |
+| `browser.domains.BoughtHere` | Bought here | keep |
+| `browser.domains.Elsewhere` | Registered elsewhere | keep |
+| `browser.domains.Buying` | Being bought | keep |
+| `browser.domains.NotPointed` | Not pointed at an app | keep |
+| `browser.domains.ExpiresLine` | Expires | keep |
+| `browser.domains.NextYearLine` | for another year | Avoids implying automatic renewal |
+| `browser.domains.FollowPurchase` | See the purchase | keep |
+| `browser.domains.PointAtApp` | Point at an app | keep |
+| `browser.domains.InTrash` | In Trash | keep |
+| `browser.domains.Contacts` | Saved contacts | keep |
+| `browser.domains.ContactsNote` | Changes apply to future purchases only. | keep |
+| `browser.domains.ContactsEmpty` | No saved contacts yet. | keep |
+| `browser.domains.Unread` | Could not read your domains. Try again. | Clear browser fallback; see mixed-audience flag |
+| `browser.domains.PageEyebrow` | Domains · {account} | keep |
+| `browser.domains.NotFound` | This account doesn’t use that domain. | Identifies the actual condition |
+| `browser.domains.Addresses` | Addresses | keep |
+| `browser.domains.Detach` | Detach | keep |
+| `browser.domains.DetachLabel` | Type {host} to confirm detaching it | keep |
+| `browser.domains.DetachPlaceholder` | type {host} to confirm | keep |
+| `browser.domains.TileExpires` | Expires | keep |
+| `browser.domains.TileExpired` | expired | keep |
+| `browser.domains.InDays` | in {n} days | keep; code fix required for 0 and 1 |
+| `browser.domains.InWeeks` | in {n} weeks | keep |
+| `browser.domains.TilePrice` | Price for another year | Avoids implying automatic renewal |
+| `browser.domains.ChangeCard` | Change card | keep |
+| `browser.domains.PointTo` | Point it at | keep |
+| `browser.domains.PointToApp` | Point at {app} | keep |
+| `browser.domains.PointNote` | The app answers at {domain} and www.{domain}. | keep |
+| `browser.domains.RegisteredTo` | Registered to | keep |
+| `browser.domains.Name` | Name | keep |
+| `browser.domains.Email` | Email | keep |
+| `browser.domains.Country` | Country | keep |
+| `browser.domains.DNS` | DNS | keep |
+| `browser.domains.DNSManaged` | The records for these addresses are managed for you. | Clear enough without naming an internal host |
+| `browser.domains.RecordsToSet` | DNS records to set | keep |
+| `browser.domains.RecordsNote` | Add these where {domain} is registered. Checks run every few minutes. | keep |
+| `browser.domains.Or` | or | keep |
+| `browser.domains.RecordName` | Name | keep |
+| `browser.domains.RecordType` | Type | keep |
+| `browser.domains.RecordValue` | Value | keep |
+| `browser.chip.live` | Live | keep |
+| `browser.chip.pending-dns` | Waiting for DNS | keep |
+| `browser.chip.misdirected` | DNS points elsewhere | keep |
+| `browser.chip.unverified` | Waiting for proof | keep |
+| `browser.chip.unknown` | Could not check | keep |
+| `browser.chip.failed` | Not working | keep |
+| `browser.chip.issuing-cert` | Getting a certificate | keep |
+| `browser.chip.regional` | Per region | keep |
+| `browser.chip.checking` | Checking | keep |
+| `browser.domains.AllDomains` | All domains | keep |
+| `browser.point.Pointed` | {domain} now points at {app}. | keep |
+| `browser.point.Waiting` | Saved {domain} for {app}, but it is not live yet. Its DNS records can take a few minutes to show. Point it again when they do to finish. | Makes “then” explicit |
+| `browser.buy.Steps` | Steps | keep |
+| `browser.buy.StepName` | Name | keep |
+| `browser.buy.StepApp` | App | keep |
+| `browser.buy.StepPay` | Details and pay | keep |
+| `tpl.buy.namePlaceholder` | example.com | keep |
+| `browser.buy.Country` | Country | keep |
+| `browser.buy.Choose` | Choose | keep |
+| `browser.buy.PerYear` | {price} a year | keep |
+| `browser.buy.PointAt` | Point it at | keep |
+| `browser.buy.NotYet` | Not yet | keep |
+| `browser.buy.NotYetNote` | Point it at an app later. | keep |
+| `browser.buy.ChooseApp` | Choose an app, or Not yet. | keep |
+| `browser.buy.Back` | Back | keep |
+| `browser.buy.Next` | Next | keep |
+| `browser.buy.TilePrice` | Price | keep |
+| `browser.buy.PriceDetail` | {domain} for one year | keep |
+| `browser.buy.TilePointsAt` | Points at | keep |
+| `browser.buy.PointsAtDetail` | {domain} and www | keep |
+| `browser.buy.NotYetDetail` | not pointed at an app yet | keep |
+| `browser.buy.Order` | Your order | keep |
+| `browser.buy.OrderNotYet` | Your order, not pointed at an app | keep |
+| `browser.buy.RegisteredNote` | The domain will be registered to you. | Removes the ambiguity in “theirs” |
+| `browser.buy.FindContact` | Find a contact | keep |
+| `browser.buy.AddContact` | Add a new contact | keep |
+| `browser.buy.SavedForNext` | Saved for future purchases. | States the scope clearly |
+| `browser.buy.Pay` | Continue to payment | keep |
+| `browser.buy.NoAppProgressLede` | Payment received. We’re registering your domain. It usually takes a minute or two. You can leave this page. | Shorter, clearer progress state |
+| `browser.buy.ReadyTitle` | {domain} is yours | keep |
+| `browser.buy.ReadyLede` | It’s registered and ready to point at an app. | keep for the finished state; see flag |
+| `browser.buy.Edit` | Edit | keep |
+| `browser.buy.Save` | Save | keep |
+| `browser.buy.Remove` | Remove | keep |
+| `browser.buy.SaveContact` | Save contact | keep |
+| `browser.buy.ContactSaved` | Contact saved. | keep |
+| `browser.buy.ContactAdded` | Contact added. | keep |
+| `browser.buy.ContactRemoved` | Contact removed. | keep |
+| `browser.buy.ContactFailed` | Could not load or save your contacts. Try again. | Covers both stated failure cases |
+| `door.chooseApp` | choose an app to point the domain at, or choose not yet | Makes the second choice explicit |
+| `door.point.Buying` | this domain is still being bought. point it once the purchase has finished | keep |
+| `door.point.Unavailable` | could not point this domain right now. try again in a minute | keep |
+| `browser.delete.Named` | This account can’t be deleted while it holds domains it registered or is buying: %s. | keep |
+| `browser.delete.Count` | This account can’t be deleted while it holds domains it registered or is buying. | keep |
+| `browser.delete.Unreadable` | Could not check whether this account holds domains. Nothing was deleted. | keep |
+| `cli.notYetFlag` | buy the domain without pointing it at an app yet | keep |
+| `cli.contactFlag` | saved contact to use when registering the domain; list contacts with carlos domains contacts | More direct and grammatical |
+| `cli.contactUnknown` | no saved contact %s. list them with carlos domains contacts | Clearer instruction |
+| `cli.confirmContact` | buy this domain registered to %s? [y/N]&#32; | keep |
+| `cli.contactUsed` | registered to %s<br> | keep |
+| `cli.notPointed` | %s is yours and not pointed at an app yet. point it with: carlos domains point %s --app &lt;app&gt; | keep |
+| `cli.appGone` | %s went away before %s could be pointed at it. the domain is yours and not pointed at an app. point it with: carlos domains point %s --app &lt;app&gt; | Fixes the implication that the app performs the pointing |
+| `cli.allFlag` | list every domain the account uses, not just one app’s | More natural contrast |
+| `cli.noDomains` | no domains yet. buy one with carlos domains buy, or attach one to an app with carlos domains attach | keep |
+| `cli.bought` | bought here, expires %s | keep |
+| `cli.boughtNoDate` | bought here | keep |
+| `cli.elsewhere` | registered elsewhere | keep |
+| `cli.buying` | being bought: %s | keep |
+| `cli.inTrash` | %s (in Trash) | keep |
+| `cli.unpointed` | not pointed at an app. point it with: carlos domains point %s --app &lt;app&gt; | keep |
+| `cli.pointAppFlag` | app to point the domain at | keep |
+| `cli.pointed` | %s now points at %s | keep |
+| `cli.pointWaiting` | saved %s for %s, but it is not live yet. its DNS records can take a few minutes to show. run this again when they do to finish | Makes “then” explicit |
+| `cli.fileFlag` | JSON file containing your contact details | Matches the approved buy flag |
+| `cli.noContacts` | no saved contacts. add one with: carlos domains contacts add --file contact.json | keep |
+| `cli.contactsHeader` | ID\tNAME\tEMAIL\tCOUNTRY | keep |
+| `cli.contactAdded` | added contact %s<br> | keep |
+| `cli.contactSaved` | saved contact %s<br> | keep |
+| `cli.contactRemoved` | removed contact %s<br> | keep |
+| `cli.fileJSON` | --file must contain one contact JSON object | keep |
+| `cli.fileSize` | --file is too large (maximum 16 KiB) | keep |
+| `docs.cli.buyAppOrNotYet` | `buy` needs either `--app` to point the new domain at an app or `--not-yet` to buy it without pointing it anywhere. Use `point` later to set up the domain and its `www` for the app. Only account owners can buy, point domains or use saved contacts. | Clearer syntax and ownership scope |
+| `docs.cli.contacts` | A domain is registered to a contact you save once and reuse. Editing a saved contact changes future purchases only. 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. | States that edits affect future purchases only |
+| `docs.cli.listAll` | `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. | keep |
+| `docs.cli.listApp` | `list --app` combines the app’s hostname claims with the fleet’s own readings for DNS state, certificate expiry and delegation, so you can read them without leaving the terminal. | More direct explanation |
+| `cli.usage.domains` | see block | keep |
+| `cli.help.buyNotYet` | see block | Fixes the unfinished sentence |
+| `cli.usage.buyNotYet` | see block | Fixes “one of … and” |
+| `cli.help.account` | see block | Clarifies the point description |
+| `cli.usage.list` | see block | keep |
+| `cli.usage.point` | see block | keep |
+| `cli.usage.contacts` | see block | keep |
+
+## Help blocks
+
+### `cli.usage.domains`
+
+```text
+usage: carlos domains <check|buy|attach|verify|detach|list|point|contacts|paths|placements> [flags]
+```
+
+### `cli.help.buyNotYet`
+
+```text
+ buy <name> --not-yet [--contact <id> | --contact-file contact.json] [--yes] [--no-wait] [flags]
+ buy a domain without pointing it at an app yet. buy needs
+ one of --app or --not-yet. --contact <id> registers it to that
+ saved contact; with neither contact flag, buy uses the one used
+ last
+
+```
+
+### `cli.usage.buyNotYet`
+
+```text
+ carlos domains buy <name> --not-yet [--contact <id> | --contact-file contact.json] [--yes] [--no-wait] [--account <a>] [--account-id <id>] [--console <origin>]
+buy needs --app or --not-yet. either accepts --contact <id> in place of --contact-file
+```
+
+### `cli.help.account`
+
+```text
+ 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. its 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`
+
+```text
+usage: carlos domains list [--app <a> | --all] [--account <a>] [--account-id <id>] [--console <origin>]
+```
+
+### `cli.usage.point`
+
+```text
+usage: carlos domains point <domain> --app <a> [--account <a>] [--account-id <id>] [--console <origin>]
+```
+
+### `cli.usage.contacts`
+
+```text
+usage: carlos domains contacts [list | add --file contact.json | edit <id> --file contact.json | remove <id>] [--account <a>] [--account-id <id>] [--console <origin>]
+```
+
+## Flags
+
+- `browser.buy.ReadyLede` cannot truthfully serve both the “registered but payment is still pending” stage and the finished stage. Add a separate readying-state string and select it by stage.
+- `browser.domains.InDays` needs singular handling for `1` and a “today” rendering for `0`.
+- `browser.domains.Unread` is shared by browser and CLI/API output. Split it into browser sentence-case text and lower-case CLI text.
+- Add guidance that moving a domain to another app requires detaching it first, beside `Detach` or in point help.
+- `browser.domains.ChangeCard` beside a future-year price can imply automatic charging. Clarify that renewal is not automatic or remove the link until that behavior exists.
+- The approved app-buy help and usage must mention `--contact <id>` alongside `--contact-file contact.json`.
+- The CLI docs should separate account-wide listing from the existing attach/detach paragraph, and revise that paragraph so it no longer overlaps `docs.cli.listAll`.
+- The shipped account-deletion and Domains & TLS copy still uses em dashes. Replace those neighboring strings with separate sentences to satisfy the house rule.
+
diff --git a/domains_buy_cli.go b/domains_buy_cli.go
index fc76feabe..72ce1d367 100644
--- a/domains_buy_cli.go
+++ b/domains_buy_cli.go
@@ -27,7 +27,7 @@ func runDomainsBuy(args []string) { runDomainBuyVerb(args, true) }
func runDomainBuyVerb(args []string, buy bool) {
verb, usage := "check", domainsCheckUsage
if buy {
- verb, usage = "buy", domainsBuyUsage+domainsBuyNotYetUsage
+ verb, usage = "buy", domainsBuyUsage
}
fs := flag.NewFlagSet("domains "+verb, flag.ExitOnError)
acctRaw := fs.String("account", "", domainsBuyCopy["accountFlag"])
diff --git a/domains_buy_cli_test.go b/domains_buy_cli_test.go
index a5d4c1e68..32c0a25b6 100644
--- a/domains_buy_cli_test.go
+++ b/domains_buy_cli_test.go
@@ -694,7 +694,7 @@ func TestDomainsBuyNeedsAppOrNotYet(t *testing.T) {
cmd.Dir = scratch
cmd.Env = carlosTestEnv(t, "CARLOS_CREDENTIALS="+creds, "CARLOS_DEPLOYMENT_BUCKET=", "CARLOS_DEPLOYMENT_DIR=", "CARLOS_CONFIG=")
out, err := cmd.CombinedOutput()
- if err == nil || requests.Load() != 0 || !strings.Contains(string(out), "buy needs one of --app and --not-yet") {
+ if err == nil || requests.Load() != 0 || !strings.Contains(string(out), "buy needs --app or --not-yet") {
t.Fatalf("requests=%d err=%v output=%s", requests.Load(), err, out)
}
})
diff --git a/domains_buy_copy.go b/domains_buy_copy.go
index 08595d929..027d54d91 100644
--- a/domains_buy_copy.go
+++ b/domains_buy_copy.go
@@ -3,14 +3,29 @@ package main
// Approved by delegation (Luna), 2026-11-02:
// docs/superpowers/specs/LUNA-COPY-RESULT-DOMAINS-1.md, plus controller rulings
// on four flags. Apply later edits through a copy pass.
-// approved by delegation (reviewer, 2026-11-03)
-const domainsBuyHelp = " check <name> [--country <cc>] [flags]\n check availability and the price for one year\n buy <name> --app <a> [--contact-file contact.json] [--yes] [--no-wait] [flags]\n buy a domain and wait for it to serve the app\n\n"
+
+// Approved by delegation (Luna), 2026-11-19, with the controller's ruling
+// on its flag: the approved --app form names --contact <id> too, and the
+// --not-yet form (docs/superpowers/specs/LUNA-COPY-RESULT-DOMAINS-2A.md,
+// cli.help.buyNotYet) shares its entry, so help shows buy once.
+const domainsBuyHelp = ` check <name> [--country <cc>] [flags]
+ check availability and the price for one year
+ buy <name> --app <a> [--contact <id> | --contact-file contact.json] [--yes] [--no-wait] [flags]
+ buy <name> --not-yet [--contact <id> | --contact-file contact.json] [--yes] [--no-wait] [flags]
+ buy a domain and wait for it to serve the app. with
+ --not-yet, buy it without pointing it at an app yet. buy
+ needs one of --app or --not-yet. --contact <id> registers
+ it to that saved contact; with neither contact flag, buy
+ uses the one used last
+
+`
// approved by delegation (reviewer, 2026-11-03)
const domainsCheckUsage = "usage: carlos domains check <name> [--country <cc>] [--account <a>] [--account-id <id>] [--console <origin>]\n"
-// approved by delegation (reviewer, 2026-11-03)
-const domainsBuyUsage = "usage: carlos domains buy <name> --app <a> [--contact-file contact.json] [--yes] [--no-wait] [--account <a>] [--account-id <id>] [--console <origin>]\n"
+// Approved by delegation (Luna), 2026-11-19, with the controller's ruling:
+// the --app line names --contact <id>, then cli.usage.buyNotYet.
+const domainsBuyUsage = "usage: carlos domains buy <name> --app <a> [--contact <id> | --contact-file contact.json] [--yes] [--no-wait] [--account <a>] [--account-id <id>] [--console <origin>]\n carlos domains buy <name> --not-yet [--contact <id> | --contact-file contact.json] [--yes] [--no-wait] [--account <a>] [--account-id <id>] [--console <origin>]\nbuy needs --app or --not-yet. either accepts --contact <id> in place of --contact-file\n"
var domainsBuyCopy = map[string]string{
// approved by delegation (reviewer, 2026-11-03)
@@ -64,21 +79,9 @@ var domainsBuyCopy = map[string]string{
"unpaid": "the domain is registered but the payment did not go through. we will contact you about paying",
}
-// Drafts (Plan 2a Task 10, 2026-11-19), awaiting the copy pass (Task 11):
-// the account-wide list, point, saved contacts, and buying for no app.
-// The approved buy help and usage above stay as they are; these add the
-// forms they do not name.
-const domainsBuyNotYetHelp = ` 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
-
-`
-
-const domainsBuyNotYetUsage = " carlos domains buy <name> --not-yet [--contact <id> | --contact-file contact.json] [--yes] [--no-wait] [--account <a>] [--account-id <id>] [--console <origin>]\n" +
- "buy needs one of --app and --not-yet. either takes --contact <id> in place of --contact-file\n"
-
+// Approved by delegation (Luna), 2026-11-19:
+// docs/superpowers/specs/LUNA-COPY-RESULT-DOMAINS-2A.md. The account-wide
+// list, point, saved contacts, and buying for no app.
const domainsAccountHelp = ` list [--app <a> | --all] [flags]
an app's hostname claims, joined to the fleet's own
readings sweep (DNS/CERT-EXPIRES/WILDCARD/CATCHALL/DELEGATION).
@@ -87,7 +90,7 @@ const domainsAccountHelp = ` list [--app <a> | --all] [flags]
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
+ point a domain bought here at an app. its 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
@@ -101,15 +104,15 @@ const domainsContactsUsage = "usage: carlos domains contacts [list | add --file
var domainsAccountCopy = map[string]string{
"notYetFlag": "buy the domain without pointing it at an app yet",
- "allFlag": "list every domain the account uses, not one app's",
- "contactFlag": "saved contact to register the domain to (carlos domains contacts lists them)",
- "fileFlag": "JSON file containing the contact details",
+ "allFlag": "list every domain the account uses, not just one app’s",
+ "contactFlag": "saved contact to use when registering the domain; list contacts with carlos domains contacts",
+ "fileFlag": "JSON file containing your contact details",
"pointAppFlag": "app to point the domain at",
- "contactUnknown": "no saved contact %s. carlos domains contacts lists them",
+ "contactUnknown": "no saved contact %s. list them with carlos domains contacts",
"confirmContact": "buy this domain registered to %s? [y/N] ",
"contactUsed": "registered to %s\n",
"notPointed": "%s is yours and not pointed at an app yet. point it with: carlos domains point %s --app <app>",
- "appGone": "%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 <app>",
+ "appGone": "%s went away before %s could be pointed at it. the domain is yours and not pointed at an app. point it with: carlos domains point %s --app <app>",
"noDomains": "no domains yet. buy one with carlos domains buy, or attach one to an app with carlos domains attach",
"bought": "bought here, expires %s",
"boughtNoDate": "bought here",
@@ -118,7 +121,7 @@ var domainsAccountCopy = map[string]string{
"inTrash": "%s (in Trash)",
"unpointed": "not pointed at an app. point it with: carlos domains point %s --app <app>",
"pointed": "%s now points at %s",
- "pointWaiting": "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",
+ "pointWaiting": "saved %s for %s, but it is not live yet. its DNS records can take a few minutes to show. run this again when they do to finish",
"hostState": "%s: %s\n",
"hostStateDetail": "%s: %s (%s)\n",
"noContacts": "no saved contacts. add one with: carlos domains contacts add --file contact.json",
diff --git a/domains_cli.go b/domains_cli.go
index 022024ea0..9aacb916c 100644
--- a/domains_cli.go
+++ b/domains_cli.go
@@ -23,7 +23,7 @@ import (
const domainsUsage = `usage: carlos domains <check|buy|attach|verify|detach|list|point|contacts|paths|placements> [flags]
-` + domainsBuyHelp + domainsBuyNotYetHelp + ` attach --app <a> [--route <r>] [--wildcard] [--catchall] [--platform] [flags] <hostname>
+` + domainsBuyHelp + ` attach --app <a> [--route <r>] [--wildcard] [--catchall] [--platform] [flags] <hostname>
claim a customer's hostname for the app, pointed at
--route (default: the app's single instance record, if it
has exactly one — otherwise --route is required).
diff --git a/internal/console/accountdomainbuy_test.go b/internal/console/accountdomainbuy_test.go
index ae63cf250..b70daa5da 100644
--- a/internal/console/accountdomainbuy_test.go
+++ b/internal/console/accountdomainbuy_test.go
@@ -248,7 +248,9 @@ func TestNotYetCheckoutReturnsToAccountPath(t *testing.T) {
}
// TestPurchaseCardNoAppReadyLede: a purchase with no app, or one whose app
-// went away (Unpointing), never says it is connecting to an app.
+// went away (Unpointing), never says it is connecting to an app. Between
+// registration and the purchase finishing it cannot be pointed yet, so it
+// says the readying words; only a finished one says it is ready to point.
func TestPurchaseCardNoAppReadyLede(t *testing.T) {
for _, p := range []*DomainPurchase{
{Domain: "shop.com", App: "kass", State: PurchaseCaptured, purchaseDetails: purchaseDetails{Unpointing: true}},
@@ -256,9 +258,18 @@ func TestPurchaseCardNoAppReadyLede(t *testing.T) {
{Domain: "shop.com", App: "", State: PurchaseRegistered},
} {
card := purchaseCard(p, "")
- if card.Lede != accountBuyCopy.ReadyLede || strings.Contains(card.Lede, "kass") {
+ if card.Lede != accountBuyCopy.ReadyingLede || strings.Contains(card.Lede, "kass") {
t.Errorf("%+v: lede %q", p, card.Lede)
}
+ if purchaseCardCopy[card.Stage.Kind+"Lede"] != accountBuyCopy.ReadyingLede {
+ t.Errorf("%+v: the card's script would say %q", p, purchaseCardCopy[card.Stage.Kind+"Lede"])
+ }
+ }
+ for _, domainState := range []string{"", StateLive} {
+ card := purchaseCard(&DomainPurchase{Domain: "shop.com", State: PurchaseDone}, domainState)
+ if card.Stage.Kind != "ready" || card.Lede != accountBuyCopy.ReadyLede {
+ t.Errorf("done (domain %q): %+v", domainState, card)
+ }
}
card := purchaseCard(&DomainPurchase{Domain: "shop.com", State: PurchaseRegistering}, "")
if card.Lede != accountBuyCopy.NoAppProgressLede || card.Stage.Steps != [4]string{"done", "active", "", ""} {
diff --git a/internal/console/accountdomains_copy.go b/internal/console/accountdomains_copy.go
index 46485fc2d..850a3ecfb 100644
--- a/internal/console/accountdomains_copy.go
+++ b/internal/console/accountdomains_copy.go
@@ -2,9 +2,13 @@ package console
// The account's Domains page and a domain's own page (Plan 2a Task 8).
//
-// DRAFTS (2026-11-19), awaiting the copy pass (Plan 2a Task 11). Plain and
-// short; no registrar or DNS host is named, and nothing says a domain
-// renews (renewals are Plan 3). {placeholders} are filled by the page.
+// Approved by delegation (Luna), 2026-11-19:
+// docs/superpowers/specs/LUNA-COPY-RESULT-DOMAINS-2A.md, with the
+// controller's rulings on its flags (InDayOne, InDaysToday, MoveHint; no
+// Change card link until renewals exist). No registrar or DNS host is
+// named, and nothing says a domain renews (renewals are Plan 3).
+// {placeholders} are filled by the page. Apply later edits through a copy
+// pass.
var domainsPageCopy = struct {
Title, Eyebrow, PageEyebrow string
TileLive, TileLiveValue, TileNotLive string
@@ -22,8 +26,8 @@ var domainsPageCopy = struct {
Unread, NotFound string
Addresses, Detach, DetachLabel, DetachPlaceholder string
TileExpires, TileExpired, TilePrice string
- InDays, InWeeks string
- ChangeCard string
+ InDays, InDayOne, InDaysToday, InWeeks string
+ MoveHint string
RegisteredTo, Name, Email, Country string
DNS, DNSManaged string
RecordsToSet, RecordsNote, Or string
@@ -45,7 +49,7 @@ var domainsPageCopy = struct {
Close: "Close",
AddHost: "Domain",
AddHostPlaceholder: "www.example.com",
- AttachTo: "Attach it to",
+ AttachTo: "Attach to",
AttachToApp: "Attach to {app}",
NoApps: "Create an app first.",
EmptyTitle: "No domains yet",
@@ -56,7 +60,7 @@ var domainsPageCopy = struct {
Buying: "Being bought",
NotPointed: "Not pointed at an app",
ExpiresLine: "Expires",
- NextYearLine: "next year",
+ NextYearLine: "for another year",
FollowPurchase: "See the purchase",
PointAtApp: "Point at an app",
PointTo: "Point it at",
@@ -67,17 +71,18 @@ var domainsPageCopy = struct {
ContactsNote: "Changes apply to future purchases only.",
ContactsEmpty: "No saved contacts yet.",
Unread: "Could not read your domains. Try again.",
- NotFound: "No such domain here.",
+ NotFound: "This account doesn’t use that domain.",
Addresses: "Addresses",
Detach: "Detach",
DetachLabel: "Type {host} to confirm detaching it",
DetachPlaceholder: "type {host} to confirm",
TileExpires: "Expires",
TileExpired: "expired",
- TilePrice: "Next year’s price",
+ TilePrice: "Price for another year",
InDays: "in {n} days",
+ InDayOne: "in 1 day",
+ InDaysToday: "today",
InWeeks: "in {n} weeks",
- ChangeCard: "Change card",
RegisteredTo: "Registered to",
Name: "Name",
Email: "Email",
@@ -91,11 +96,12 @@ var domainsPageCopy = struct {
RecordType: "Type",
RecordValue: "Value",
AllDomains: "All domains",
+ MoveHint: "To move this domain to another app, detach it first, then point it at the new app.",
}
// domainStateChips is an address's attach state as a chip: its words and
// its class. An empty state (the state read failed) is "checking", never
-// blank. DRAFT words, as above.
+// blank. Approved by delegation (Luna), 2026-11-19, as above.
var domainStateChips = map[string][2]string{
StateLive: {"Live", "chip-health-ok"},
StatePendingDNS: {"Waiting for DNS", "chip-stale"},
@@ -110,8 +116,11 @@ var domainStateChips = map[string][2]string{
// accountBuyCopy is the account's three-step buy, its saved-contact forms
// and the purchase card's words for a domain bought with no app (Plan 2a
-// Task 9). DRAFTS (2026-11-19) from the domains-account kit, awaiting the
-// copy pass (Task 11). {domain} and {price} are filled by the page.
+// Task 9). Approved by delegation (Luna), 2026-11-19:
+// docs/superpowers/specs/LUNA-COPY-RESULT-DOMAINS-2A.md, with the
+// controller's ruling adding ReadyingLede (the no-app card between
+// registration and payment, when the domain cannot be pointed yet).
+// {domain} and {price} are filled by the page.
var accountBuyCopy = struct {
Steps, StepName, StepApp, StepPay string
Country, Choose, PerYear string
@@ -126,6 +135,7 @@ var accountBuyCopy = struct {
ContactSaved, ContactAdded, ContactRemoved string
ContactFailed string
NoAppProgressLede, ReadyTitle, ReadyLede string
+ ReadyingLede string
}{
Steps: "Steps",
StepName: "Name",
@@ -147,10 +157,10 @@ var accountBuyCopy = struct {
NotYetDetail: "not pointed at an app yet",
Order: "Your order",
OrderNotYet: "Your order, not pointed at an app",
- RegisteredNote: "The domain is legally theirs.",
+ RegisteredNote: "The domain will be registered to you.",
FindContact: "Find a contact",
AddContact: "Add a new contact",
- SavedForNext: "Saved for next time.",
+ SavedForNext: "Saved for future purchases.",
Pay: "Continue to payment",
Edit: "Edit",
Save: "Save",
@@ -159,15 +169,21 @@ var accountBuyCopy = struct {
ContactSaved: "Contact saved.",
ContactAdded: "Contact added.",
ContactRemoved: "Contact removed.",
- ContactFailed: "Could not save your contacts. Try again.",
+ ContactFailed: "Could not load or save your contacts. Try again.",
- NoAppProgressLede: "Payment received, thanks. We’re registering your domain. It usually takes a minute or two, and you can leave this page.",
+ NoAppProgressLede: "Payment received. We’re registering your domain. It usually takes a minute or two. You can leave this page.",
ReadyTitle: "{domain} is yours",
ReadyLede: "It’s registered and ready to point at an app.",
+ ReadyingLede: "Your domain is registered. We’re taking payment now. You can point it at an app when payment is complete.",
}
-// domainAPICopy is the account domain API doors' own refusal (Plan 2a
-// Task 10). DRAFT (2026-11-19), awaiting the copy pass (Task 11).
-var domainAPICopy = struct{ ChooseApp string }{
- ChooseApp: "choose an app to point the domain at, or not yet",
+// domainAPICopy is the account domain API doors' own words (Plan 2a Task
+// 10): the purchase door's refusal, and Unread, the CLI/API twin of
+// domainsPageCopy.Unread (controller ruling: the browser's sentence-case
+// text stays on pages). Approved by delegation (Luna), 2026-11-19:
+// docs/superpowers/specs/LUNA-COPY-RESULT-DOMAINS-2A.md and its -FLAGS
+// file.
+var domainAPICopy = struct{ ChooseApp, Unread string }{
+ ChooseApp: "choose an app to point the domain at, or choose not yet",
+ Unread: "could not read your domains. try again",
}
diff --git a/internal/console/accountdomainspage.go b/internal/console/accountdomainspage.go
index a05d0d6dd..917a5fb46 100644
--- a/internal/console/accountdomainspage.go
+++ b/internal/console/accountdomainspage.go
@@ -5,7 +5,9 @@ package console
// accountDomain (accountdomains.go). Neither needs buying configured: a
// domain registered elsewhere needs nothing but its addresses. Only the
// owner's actions that go through buying (Buy a domain, Point at an app,
-// the purchase card, Change card) wait on domainBuyReady. Every form posts
+// the purchase card, the hint on moving a bought domain) wait on
+// domainBuyReady. Nothing offers a card change beside next year's price
+// until renewals exist (Plan 3). Every form posts
// to an existing door: an app's attach, detach and point.
import (
@@ -79,10 +81,9 @@ type domainContactRow struct {
Fields []domainBuyField
}
-// domainTile is one stat tile. Href, when set, is a link under its value.
+// domainTile is one stat tile.
type domainTile struct {
Label, Value, ValueISO, Detail string
- Href, HrefText string
Warn bool
}
@@ -104,17 +105,17 @@ type accountDomainsView struct {
}
type domainPageView struct {
- Eyebrow string
- Card domainCardView
- Tiles []domainTile
- PointApps []domainAppAction // owners, on an unpointed bought domain
- PointNote string
- Registrant []domainTile // label and value pairs; nil when none is recorded
- ChangeCardHref string // owners; shown alone when there is no price tile to carry it
- Managed bool // bought here with addresses: its records are ours
- Records []domainRecordRow
- Guidance []string // a host whose advice has no records to list
- RecordsNote string
+ Eyebrow string
+ Card domainCardView
+ Tiles []domainTile
+ PointApps []domainAppAction // owners, on an unpointed bought domain
+ PointNote string
+ Registrant []domainTile // label and value pairs; nil when none is recorded
+ MoveHint bool // owners, on a bought domain with an address they can detach
+ Managed bool // bought here with addresses: its records are ours
+ Records []domainRecordRow
+ Guidance []string // a host whose advice has no records to list
+ RecordsNote string
}
// domainRecordRow is one record to set at the other registrar. Or marks
@@ -433,14 +434,16 @@ func (s *Server) domainPage(ctx context.Context, acct *Account, owner bool, c do
v.RecordsNote = domainsFill(domainsPageCopy.RecordsNote, "{domain}", c.Domain)
return v
}
- if owner && ready && s.billing != nil {
- v.ChangeCardHref = billingPagePath(acct.Sqid)
- }
v.Tiles = append(v.Tiles, domainExpiresTile(cv, time.Now()))
if cv.Price != "" {
- // The card goes with the price it would pay.
- v.Tiles = append(v.Tiles, domainTile{Label: domainsPageCopy.TilePrice, Value: cv.Price, Href: v.ChangeCardHref, HrefText: domainsPageCopy.ChangeCard})
- v.ChangeCardHref = ""
+ v.Tiles = append(v.Tiles, domainTile{Label: domainsPageCopy.TilePrice, Value: cv.Price})
+ }
+ // Moving a bought domain is detach, then point: say so beside Detach
+ // where pointing is possible.
+ if owner && ready && !cv.Buying {
+ for _, a := range cv.Addresses {
+ v.MoveHint = v.MoveHint || a.DetachAction != ""
+ }
}
if cv.PointHref != "" {
v.PointApps = domainAppActions(acct, apps, "point", domainsPageCopy.PointToApp)
@@ -467,6 +470,10 @@ func domainExpiresTile(c domainCardView, now time.Time) domainTile {
switch {
case days < 0:
t.Detail, t.Warn = domainsPageCopy.TileExpired, true
+ case days == 0:
+ t.Detail = domainsPageCopy.InDaysToday
+ case days == 1:
+ t.Detail = domainsPageCopy.InDayOne
case days < 14:
t.Detail = domainsFill(domainsPageCopy.InDays, "{n}", strconv.Itoa(days))
default:
diff --git a/internal/console/accountdomainspage_test.go b/internal/console/accountdomainspage_test.go
index 58d0e1577..f0eaaba23 100644
--- a/internal/console/accountdomainspage_test.go
+++ b/internal/console/accountdomainspage_test.go
@@ -149,7 +149,7 @@ func TestDomainsOverviewCards(t *testing.T) {
`href="` + base + `/domains/bought.com"`,
`<span class="chip chip-canary">Bought here</span>`,
`Expires <time datetime="2027-11-04">4 Nov 2027</time>`,
- "next year $18",
+ domainsPageCopy.NextYearLine + " $18",
domainsPageCopy.NotPointed,
} {
if !strings.Contains(bought, want) {
@@ -173,7 +173,7 @@ func TestDomainsOverviewCards(t *testing.T) {
t.Errorf("elsewhere card lacks %q:\n%s", want, elsewhere)
}
}
- if strings.Contains(elsewhere, "Expires") || strings.Contains(elsewhere, "next year") {
+ if strings.Contains(elsewhere, "Expires") || strings.Contains(elsewhere, domainsPageCopy.NextYearLine) {
t.Errorf("an elsewhere card shows an expiry or price:\n%s", elsewhere)
}
if strings.Index(elsewhere, "www.example.org") > strings.Index(elsewhere, "docs.example.org") {
@@ -308,6 +308,7 @@ func TestDomainPageBoughtCardsInOrder(t *testing.T) {
"<h2>" + domainsPageCopy.Addresses + "</h2>",
`<code class="envvar-name">bought.com</code>`,
`<code class="envvar-name">www.bought.com</code>`,
+ domainsPageCopy.MoveHint,
"<h2>" + domainsPageCopy.RegisteredTo + "</h2>",
"<dd>Jane Buyer</dd>",
"<dd>buyer@example.test</dd>",
@@ -326,15 +327,14 @@ func TestDomainPageBoughtCardsInOrder(t *testing.T) {
for _, want := range []string{
`action="` + base + `/apps/kass/domains/detach"`,
`<input type="hidden" name="host" value="www.bought.com">`,
- `href="` + base + `/billing"`,
- domainsPageCopy.ChangeCard,
} {
if !strings.Contains(main, want) {
t.Errorf("owner's page lacks %q", want)
}
}
// Addresses already there: no picker. Nothing Plan 3 or 4.
- for _, banned := range []string{"/domains/point", "renew", "Renew", "Transfer", "Change owner", "Add address", "—", "–", "Street", "871234567"} {
+ // No card change beside next year's price until renewals exist.
+ for _, banned := range []string{"/domains/point", "/billing", "Change card", "renew", "Renew", "Transfer", "Change owner", "Add address", "—", "–", "Street", "871234567"} {
if strings.Contains(main, banned) {
t.Errorf("bought page says %q", banned)
}
@@ -362,7 +362,7 @@ func TestDomainPageBoughtCardsInOrder(t *testing.T) {
t.Fatalf("member GET %s = %d", d, status)
}
main := mainOf(t, body)
- for _, banned := range []string{"/domains/detach", "/domains/point", "/billing", domainsPageCopy.ChangeCard} {
+ for _, banned := range []string{"/domains/detach", "/domains/point", "/billing", domainsPageCopy.MoveHint} {
if strings.Contains(main, banned) {
t.Errorf("member's %s page shows %q", d, banned)
}
@@ -686,3 +686,31 @@ func TestDomainPagePendingWithoutEdgeIPsKeepsGuidance(t *testing.T) {
t.Errorf("the sentence is shown beside its own records:\n%s", main)
}
}
+
+// TestDomainExpiresTileDays: the expiry tile counts down in plain words,
+// one day and the day itself included (never "in 1 days" or "in 0 days").
+func TestDomainExpiresTileDays(t *testing.T) {
+ now := time.Date(2026, 11, 19, 12, 0, 0, 0, time.UTC)
+ for _, tc := range []struct {
+ days int
+ detail string
+ warn bool
+ }{
+ {-3, domainsPageCopy.TileExpired, true},
+ {0, domainsPageCopy.InDaysToday, false},
+ {1, domainsPageCopy.InDayOne, false},
+ {5, "in 5 days", false},
+ {13, "in 13 days", false},
+ {14, "in 2 weeks", false},
+ {70, "in 10 weeks", false},
+ } {
+ c := domainCardView{expires: now.AddDate(0, 0, tc.days)}
+ got := domainExpiresTile(c, now)
+ if got.Detail != tc.detail || got.Warn != tc.warn {
+ t.Errorf("%d days: detail %q warn %v, want %q %v", tc.days, got.Detail, got.Warn, tc.detail, tc.warn)
+ }
+ }
+ if domainsPageCopy.InDayOne != "in 1 day" || domainsPageCopy.InDaysToday != "today" {
+ t.Fatalf("one-day words %q / %q", domainsPageCopy.InDayOne, domainsPageCopy.InDaysToday)
+ }
+}
diff --git a/internal/console/apidomainbuy.go b/internal/console/apidomainbuy.go
index d9a3c2c24..af45f42fa 100644
--- a/internal/console/apidomainbuy.go
+++ b/internal/console/apidomainbuy.go
@@ -265,7 +265,7 @@ func (s *Server) handleAPIAccountDomains(w http.ResponseWriter, r *http.Request)
cards, err := s.accountDomains(r.Context(), acct)
if err != nil {
log.Printf("console: api domains %s: %v", acct.Sqid, err)
- jsonError(w, http.StatusServiceUnavailable, domainsPageCopy.Unread)
+ jsonError(w, http.StatusServiceUnavailable, domainAPICopy.Unread)
return
}
out := make([]apiAccountDomain, 0, len(cards))
diff --git a/internal/console/apidomainbuy_test.go b/internal/console/apidomainbuy_test.go
index 325a0de59..b55c7dfb1 100644
--- a/internal/console/apidomainbuy_test.go
+++ b/internal/console/apidomainbuy_test.go
@@ -739,3 +739,28 @@ func TestAPIContactsOwnerOnly(t *testing.T) {
t.Fatalf("remove again: %d %s", status, b)
}
}
+
+// TestDomainsUnreadSplitsBrowserAndAPI: an unreadable claim fails the list
+// with the browser's sentence on the Domains page and the lower-case door
+// words for the CLI.
+func TestDomainsUnreadSplitsBrowserAndAPI(t *testing.T) {
+ f := newPurchaseFixture(t)
+ ctx := context.Background()
+ adClaim(t, f.consoleFixture, f.acct, "kass", "shop.example")
+ _, etag, err := f.rel.Get(ctx, domains.ClaimKey("shop.example"))
+ if err != nil {
+ t.Fatal(err)
+ }
+ if _, err := f.rel.Put(ctx, domains.ClaimKey("shop.example"), []byte(`{not json`), etag); err != nil {
+ t.Fatal(err)
+ }
+ status, b := buyRequest(t, f, "GET", buyAPIPath(f), buyToken(t, f), "")
+ if status != http.StatusServiceUnavailable || !strings.Contains(b, domainAPICopy.Unread) || strings.Contains(b, domainsPageCopy.Unread) {
+ t.Fatalf("API: %d %s", status, b)
+ }
+ c, _ := f.ownerBrowser(t)
+ status, _, body := get(t, c, f.acctURL("/domains"))
+ if status != http.StatusServiceUnavailable || !strings.Contains(body, domainsPageCopy.Unread) {
+ t.Fatalf("page: %d %s", status, body)
+ }
+}
diff --git a/internal/console/appdomainbuy.go b/internal/console/appdomainbuy.go
index 615c6f31f..ce1feb334 100644
--- a/internal/console/appdomainbuy.go
+++ b/internal/console/appdomainbuy.go
@@ -89,7 +89,7 @@ var purchaseCardCopy = func() map[string]string {
m["progressNoAppTitle"] = domainBuyCopy["progressTitle"]
m["progressNoAppLede"] = accountBuyCopy.NoAppProgressLede
m["readyingTitle"] = domainBuyCopy["progressTitle"]
- m["readyingLede"] = accountBuyCopy.ReadyLede
+ m["readyingLede"] = accountBuyCopy.ReadyingLede
m["readyTitle"] = accountBuyCopy.ReadyTitle
m["readyLede"] = accountBuyCopy.ReadyLede
return m
diff --git a/internal/console/domainbuy_copy.go b/internal/console/domainbuy_copy.go
index 047aada63..ca56ccfc6 100644
--- a/internal/console/domainbuy_copy.go
+++ b/internal/console/domainbuy_copy.go
@@ -119,12 +119,14 @@ func (s *Server) domainBuyRegistrarRefusal(ctx context.Context, acct *Account, n
}
// accountDomainsCopy is account deletion's refusal while the account holds
-// registered domains or a purchase still under way (Plan 2a Task 6). DRAFTS
-// (2026-11-19), awaiting the copy pass. Named takes the domains, comma
-// separated; Count is the store's own re-check, which knows only how many.
+// registered domains or a purchase still under way (Plan 2a Task 6).
+// Approved by delegation (Luna), 2026-11-19:
+// docs/superpowers/specs/LUNA-COPY-RESULT-DOMAINS-2A.md. Named takes the
+// domains, comma separated; Count is the store's own re-check, which knows
+// only how many.
var accountDomainsCopy = struct{ Named, Count, Unreadable string }{
- Named: "This account can't be deleted while it holds domains it registered or is buying: %s.",
- Count: "This account can't be deleted while it holds domains it registered or is buying.",
+ Named: "This account can’t be deleted while it holds domains it registered or is buying: %s.",
+ Count: "This account can’t be deleted while it holds domains it registered or is buying.",
Unreadable: "Could not check whether this account holds domains. Nothing was deleted.",
}
@@ -133,12 +135,14 @@ func accountDomainsRefusal(domains []string) string {
return fmt.Sprintf(accountDomainsCopy.Named, strings.Join(domains, ", "))
}
-// domainPointCopy is the point door's (Plan 2a Task 7). DRAFTS
-// (2026-11-19), awaiting the copy pass. Pointed and Waiting take {domain}
-// and {app}; Waiting opens as the attach door's pending notice does.
+// domainPointCopy is the point door's (Plan 2a Task 7). Approved by
+// delegation (Luna), 2026-11-19:
+// docs/superpowers/specs/LUNA-COPY-RESULT-DOMAINS-2A.md. Pointed and
+// Waiting take {domain} and {app}; Waiting opens as the attach door's
+// pending notice does.
var domainPointCopy = struct{ Pointed, Waiting, Buying, Unavailable string }{
Pointed: "{domain} now points at {app}.",
- Waiting: "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.",
+ Waiting: "Saved {domain} for {app}, but it is not live yet. Its DNS records can take a few minutes to show. Point it again when they do to finish.",
Buying: "this domain is still being bought. point it once the purchase has finished",
Unavailable: "could not point this domain right now. try again in a minute",
}
diff --git a/internal/console/templates/account_domain.html b/internal/console/templates/account_domain.html
index 0080e0998..53c71efa7 100644
--- a/internal/console/templates/account_domain.html
+++ b/internal/console/templates/account_domain.html
@@ -10,7 +10,6 @@
{{if $d.Buying}}<p class="small">{{$d.PurchaseStatus}}{{with $d.PurchaseHref}} <a href="{{.}}">{{$c.FollowPurchase}}</a>{{end}}</p>{{end}}
{{template "domain_tiles" $v.Tiles}}
-{{with $v.ChangeCardHref}}<p class="small"><a href="{{.}}">{{$c.ChangeCard}}</a></p>{{end}}
{{if $d.Addresses}}
<h2>{{$c.Addresses}}</h2>
@@ -27,6 +26,7 @@
</details></li>{{else}}<li><div class="envvar-row"><code class="envvar-name">{{.Host}}</code>{{template "domain_address_value" .}}</div></li>{{end}}{{end}}
</ul>
</div>
+{{if $v.MoveHint}}<p class="small">{{$c.MoveHint}}</p>{{end}}
{{end}}
{{if $v.PointApps}}
diff --git a/internal/console/templates/account_domains.html b/internal/console/templates/account_domains.html
index 6aba36dca..5046996e2 100644
--- a/internal/console/templates/account_domains.html
+++ b/internal/console/templates/account_domains.html
@@ -3,7 +3,6 @@
<h2>{{.Label}}</h2>
<p class="tile-value">{{if .ValueISO}}<time datetime="{{.ValueISO}}">{{.Value}}</time>{{else}}{{.Value}}{{end}}</p>
{{with .Detail}}<p class="tile-detail">{{.}}</p>{{end}}
- {{if .Href}}<p class="tile-detail"><a href="{{.Href}}">{{.HrefText}}</a></p>{{end}}
</div>{{end}}
</section>{{end}}{{end}}
diff --git a/testdata/clireg-golden.jsonl b/testdata/clireg-golden.jsonl
index d92e981e8..a55db4983 100644
--- a/testdata/clireg-golden.jsonl
+++ b/testdata/clireg-golden.jsonl
@@ -8,14 +8,14 @@
{"case":"<root> | bare","exit":2,"stdout":"","stderr":"usage: carlos <command> [flags]\n\nOne binary, three roles. \"carlos <command> -h\" prints a command's own\nflags; --app, the flag on nearly every app verb, shortens to -a.\n\nYour apps — ship and run software on a CARLOS deployment\n auth log in, see who this terminal is, log out\n config edit .carlos/config: \"config destinations\" lists, adds,\n changes and removes the named places -d deploys to\n apps create | place | delete | restore an app name — --place\n fleet/<f> claims and places in one step, and \"apps place\"\n repoints an app's routes and instances onto a customer\n fleet or back to \"\"\n deploy put a build live: ship it, promote it and wait until the\n URL serves it. Use this unless you need the steps apart\n canary the same, onto a host and channel of this branch's own, so\n nothing the app already serves changes: deploy | ls | rm\n ship upload a release without putting it live; --label and\n --notes name it, and --version is optional once a version\n target is set\n promote move a shipped version onto one of the app's own channels —\n the channel is optional when the app has only one\n (\"carlos channels\" lists them; \"carlos pipeline\" orders them)\n devbox publish a dev server or a folder as a link on this devbox\n restart cycle an app's instances — no new version, no config change;\n --host or --environment narrows it, --dry-run names the set\n db read a copy of an instance's database, restored from its\n replica: pull (save it) | query (one read-only query)\n run run one of your app's commands against one instance, as that instance\n console open the console process your app's manifest declares, on one instance, in a terminal session\n schedule recurring or one-shot work per app: ls | set | rm | run\n store object storage: create | status | apply | approvals | approve | decline | grant | rotate\n relay the platform STUN/TURN relay: serve (what the unit runs)\n and keygen (mint a region master)\n email tenant email sending: enable | domains add | status | test |\n credentials create/list/revoke | rotate | pause | resume\n rollback point a channel back at an earlier version\n channels show what each of an app's channels is serving\n pipeline show or shape an app's release channels\n releases every version shipped, newest first, with labels and tags\n version target the semver ship counts iterations under: print it, or set\n it — \"carlos version target --app <a> 0.5.0\"\n env plain per-app config vars: set | unset | list\n secrets sealed per-app secrets: set | unset | list | genkey\n instances an app's instances: enable | create | list | delete |\n set-upstreams | set-channel | set-assets | set-pages — set-channel is\n the only door onto which channel a route follows\n sidecars a process nothing dials, one per enrolled member: enable |\n create | ls | wake | rm | logs\n steering opt an instance into DNS latency steering, or back off —\n --app <a> --host <h> latency|off (shared pool only, v1)\n routes an app's routes and what each is bound to: upstream,\n channel, config environment, status\n domains a customer's own hostname attached to an app's route:\n attach | detach | list\n features an app's own feature flags, stored and served by the\n platform, never interpreted: set | list\n assets the copies servers keep of an app's asset files: purge | status\n gate a shared password in front of an app's hostnames\n ratelimit per-client limits on an app's instances\n logs an app's merged log timeline: its own output plus platform\n events (wakes, restarts, failures); -f follows live\n errors error groups for an app: log lines at the set level plus\n 500s the edge saw\n availability requests an app's instances could not answer (502/503/504),\n grouped by cause, plus failed wakes and exits\n analytics an app's page views and visitors from a terminal, counted at\n the edge as it serves your app\n protection show or set whether protection only records on this app\n geo what the platform's GeoIP database says about an address\n explain what a reference code from a page the edge answered says\n ledger open ledgers: append | head | list | publish | blob | verify\n vet check a release against the platform contract\n update update this carlos binary to the latest release (or name\n the brew/apt command when a package manager owns it);\n -y skips the prompt, terminal still required\n skills the platform's published agent skills: list them, or print one —\n \"carlos skills getting-started\" pipes the recipe to an agent\n\nYour deployment — stand up and administer boxes, routes and accounts\n bootstrap prepare a host: units, dirs, user\n accounts the tenancy primitive: create | list | migrate\n billing billing problems, house accounts: problems | close | house\n fleets account-owned groups of remote boxes that dial this\n console: create | add-box | rotate-token | tag-box |\n detach-box | ls — box tokens print exactly once, at mint\n or rotate, and a compromised box needs detach-box, not\n rotate-token\n link publish this deployment's apps through a Carloku account:\n create | status | publish | unpublish | rotate | remove\n links the deployments linked to an account: ls\n services credentials a SERVER holds, not a person: create | ls |\n rotate | revoke, owner-only and closed to service\n credentials themselves — secrets print exactly once, and\n a compromised one needs revoke, not rotate\n add route a hostname on this box to an app\n remove drop one of this box's routes\n route repoint a route's channel or config environment, grant or\n revoke a capability, hibernate it, change its backing\n instances with no sub-verb: list THIS box's registry routes\n release-keygen mint the root signing key, or a scoped signing key\n proof dev proofs a box requires before adopting: keygen | get | put\n economics bill: record the month's AWS bill; backhaul: what region\n edges cost us this period\n status --live: what every box last reported; --dry-run: leak check\n move move an instance to another region: status | cut | abort |\n resolve --retry (operators; off unless the console enables it)\n\nOn the host — what systemd runs; rarely typed by hand\n edge the mesh front door (router)\n agent edge + activator + release adoption for this host\n adopt one release-adoption pass (the hourly timer's verb)\n ops box operations: litestream | restore-verify\n system platform self-update: update | status | rollback (apply is the\n root oneshot); antivirus: deployment-wide object scanning\n version print the build id\n"}
{"case":"<root> | help","argv":["help"],"exit":0,"stdout":"usage: carlos <command> [flags]\n\nOne binary, three roles. \"carlos <command> -h\" prints a command's own\nflags; --app, the flag on nearly every app verb, shortens to -a.\n\nYour apps — ship and run software on a CARLOS deployment\n auth log in, see who this terminal is, log out\n config edit .carlos/config: \"config destinations\" lists, adds,\n changes and removes the named places -d deploys to\n apps create | place | delete | restore an app name — --place\n fleet/<f> claims and places in one step, and \"apps place\"\n repoints an app's routes and instances onto a customer\n fleet or back to \"\"\n deploy put a build live: ship it, promote it and wait until the\n URL serves it. Use this unless you need the steps apart\n canary the same, onto a host and channel of this branch's own, so\n nothing the app already serves changes: deploy | ls | rm\n ship upload a release without putting it live; --label and\n --notes name it, and --version is optional once a version\n target is set\n promote move a shipped version onto one of the app's own channels —\n the channel is optional when the app has only one\n (\"carlos channels\" lists them; \"carlos pipeline\" orders them)\n devbox publish a dev server or a folder as a link on this devbox\n restart cycle an app's instances — no new version, no config change;\n --host or --environment narrows it, --dry-run names the set\n db read a copy of an instance's database, restored from its\n replica: pull (save it) | query (one read-only query)\n run run one of your app's commands against one instance, as that instance\n console open the console process your app's manifest declares, on one instance, in a terminal session\n schedule recurring or one-shot work per app: ls | set | rm | run\n store object storage: create | status | apply | approvals | approve | decline | grant | rotate\n relay the platform STUN/TURN relay: serve (what the unit runs)\n and keygen (mint a region master)\n email tenant email sending: enable | domains add | status | test |\n credentials create/list/revoke | rotate | pause | resume\n rollback point a channel back at an earlier version\n channels show what each of an app's channels is serving\n pipeline show or shape an app's release channels\n releases every version shipped, newest first, with labels and tags\n version target the semver ship counts iterations under: print it, or set\n it — \"carlos version target --app <a> 0.5.0\"\n env plain per-app config vars: set | unset | list\n secrets sealed per-app secrets: set | unset | list | genkey\n instances an app's instances: enable | create | list | delete |\n set-upstreams | set-channel | set-assets | set-pages — set-channel is\n the only door onto which channel a route follows\n sidecars a process nothing dials, one per enrolled member: enable |\n create | ls | wake | rm | logs\n steering opt an instance into DNS latency steering, or back off —\n --app <a> --host <h> latency|off (shared pool only, v1)\n routes an app's routes and what each is bound to: upstream,\n channel, config environment, status\n domains a customer's own hostname attached to an app's route:\n attach | detach | list\n features an app's own feature flags, stored and served by the\n platform, never interpreted: set | list\n assets the copies servers keep of an app's asset files: purge | status\n gate a shared password in front of an app's hostnames\n ratelimit per-client limits on an app's instances\n logs an app's merged log timeline: its own output plus platform\n events (wakes, restarts, failures); -f follows live\n errors error groups for an app: log lines at the set level plus\n 500s the edge saw\n availability requests an app's instances could not answer (502/503/504),\n grouped by cause, plus failed wakes and exits\n analytics an app's page views and visitors from a terminal, counted at\n the edge as it serves your app\n protection show or set whether protection only records on this app\n geo what the platform's GeoIP database says about an address\n explain what a reference code from a page the edge answered says\n ledger open ledgers: append | head | list | publish | blob | verify\n vet check a release against the platform contract\n update update this carlos binary to the latest release (or name\n the brew/apt command when a package manager owns it);\n -y skips the prompt, terminal still required\n skills the platform's published agent skills: list them, or print one —\n \"carlos skills getting-started\" pipes the recipe to an agent\n\nYour deployment — stand up and administer boxes, routes and accounts\n bootstrap prepare a host: units, dirs, user\n accounts the tenancy primitive: create | list | migrate\n billing billing problems, house accounts: problems | close | house\n fleets account-owned groups of remote boxes that dial this\n console: create | add-box | rotate-token | tag-box |\n detach-box | ls — box tokens print exactly once, at mint\n or rotate, and a compromised box needs detach-box, not\n rotate-token\n link publish this deployment's apps through a Carloku account:\n create | status | publish | unpublish | rotate | remove\n links the deployments linked to an account: ls\n services credentials a SERVER holds, not a person: create | ls |\n rotate | revoke, owner-only and closed to service\n credentials themselves — secrets print exactly once, and\n a compromised one needs revoke, not rotate\n add route a hostname on this box to an app\n remove drop one of this box's routes\n route repoint a route's channel or config environment, grant or\n revoke a capability, hibernate it, change its backing\n instances with no sub-verb: list THIS box's registry routes\n release-keygen mint the root signing key, or a scoped signing key\n proof dev proofs a box requires before adopting: keygen | get | put\n economics bill: record the month's AWS bill; backhaul: what region\n edges cost us this period\n status --live: what every box last reported; --dry-run: leak check\n move move an instance to another region: status | cut | abort |\n resolve --retry (operators; off unless the console enables it)\n\nOn the host — what systemd runs; rarely typed by hand\n edge the mesh front door (router)\n agent edge + activator + release adoption for this host\n adopt one release-adoption pass (the hourly timer's verb)\n ops box operations: litestream | restore-verify\n system platform self-update: update | status | rollback (apply is the\n root oneshot); antivirus: deployment-wide object scanning\n version print the build id\n","stderr":""}
{"case":"<root> | zz-unknown","argv":["zz-unknown"],"exit":2,"stdout":"","stderr":"usage: carlos <command> [flags]\n\nOne binary, three roles. \"carlos <command> -h\" prints a command's own\nflags; --app, the flag on nearly every app verb, shortens to -a.\n\nYour apps — ship and run software on a CARLOS deployment\n auth log in, see who this terminal is, log out\n config edit .carlos/config: \"config destinations\" lists, adds,\n changes and removes the named places -d deploys to\n apps create | place | delete | restore an app name — --place\n fleet/<f> claims and places in one step, and \"apps place\"\n repoints an app's routes and instances onto a customer\n fleet or back to \"\"\n deploy put a build live: ship it, promote it and wait until the\n URL serves it. Use this unless you need the steps apart\n canary the same, onto a host and channel of this branch's own, so\n nothing the app already serves changes: deploy | ls | rm\n ship upload a release without putting it live; --label and\n --notes name it, and --version is optional once a version\n target is set\n promote move a shipped version onto one of the app's own channels —\n the channel is optional when the app has only one\n (\"carlos channels\" lists them; \"carlos pipeline\" orders them)\n devbox publish a dev server or a folder as a link on this devbox\n restart cycle an app's instances — no new version, no config change;\n --host or --environment narrows it, --dry-run names the set\n db read a copy of an instance's database, restored from its\n replica: pull (save it) | query (one read-only query)\n run run one of your app's commands against one instance, as that instance\n console open the console process your app's manifest declares, on one instance, in a terminal session\n schedule recurring or one-shot work per app: ls | set | rm | run\n store object storage: create | status | apply | approvals | approve | decline | grant | rotate\n relay the platform STUN/TURN relay: serve (what the unit runs)\n and keygen (mint a region master)\n email tenant email sending: enable | domains add | status | test |\n credentials create/list/revoke | rotate | pause | resume\n rollback point a channel back at an earlier version\n channels show what each of an app's channels is serving\n pipeline show or shape an app's release channels\n releases every version shipped, newest first, with labels and tags\n version target the semver ship counts iterations under: print it, or set\n it — \"carlos version target --app <a> 0.5.0\"\n env plain per-app config vars: set | unset | list\n secrets sealed per-app secrets: set | unset | list | genkey\n instances an app's instances: enable | create | list | delete |\n set-upstreams | set-channel | set-assets | set-pages — set-channel is\n the only door onto which channel a route follows\n sidecars a process nothing dials, one per enrolled member: enable |\n create | ls | wake | rm | logs\n steering opt an instance into DNS latency steering, or back off —\n --app <a> --host <h> latency|off (shared pool only, v1)\n routes an app's routes and what each is bound to: upstream,\n channel, config environment, status\n domains a customer's own hostname attached to an app's route:\n attach | detach | list\n features an app's own feature flags, stored and served by the\n platform, never interpreted: set | list\n assets the copies servers keep of an app's asset files: purge | status\n gate a shared password in front of an app's hostnames\n ratelimit per-client limits on an app's instances\n logs an app's merged log timeline: its own output plus platform\n events (wakes, restarts, failures); -f follows live\n errors error groups for an app: log lines at the set level plus\n 500s the edge saw\n availability requests an app's instances could not answer (502/503/504),\n grouped by cause, plus failed wakes and exits\n analytics an app's page views and visitors from a terminal, counted at\n the edge as it serves your app\n protection show or set whether protection only records on this app\n geo what the platform's GeoIP database says about an address\n explain what a reference code from a page the edge answered says\n ledger open ledgers: append | head | list | publish | blob | verify\n vet check a release against the platform contract\n update update this carlos binary to the latest release (or name\n the brew/apt command when a package manager owns it);\n -y skips the prompt, terminal still required\n skills the platform's published agent skills: list them, or print one —\n \"carlos skills getting-started\" pipes the recipe to an agent\n\nYour deployment — stand up and administer boxes, routes and accounts\n bootstrap prepare a host: units, dirs, user\n accounts the tenancy primitive: create | list | migrate\n billing billing problems, house accounts: problems | close | house\n fleets account-owned groups of remote boxes that dial this\n console: create | add-box | rotate-token | tag-box |\n detach-box | ls — box tokens print exactly once, at mint\n or rotate, and a compromised box needs detach-box, not\n rotate-token\n link publish this deployment's apps through a Carloku account:\n create | status | publish | unpublish | rotate | remove\n links the deployments linked to an account: ls\n services credentials a SERVER holds, not a person: create | ls |\n rotate | revoke, owner-only and closed to service\n credentials themselves — secrets print exactly once, and\n a compromised one needs revoke, not rotate\n add route a hostname on this box to an app\n remove drop one of this box's routes\n route repoint a route's channel or config environment, grant or\n revoke a capability, hibernate it, change its backing\n instances with no sub-verb: list THIS box's registry routes\n release-keygen mint the root signing key, or a scoped signing key\n proof dev proofs a box requires before adopting: keygen | get | put\n economics bill: record the month's AWS bill; backhaul: what region\n edges cost us this period\n status --live: what every box last reported; --dry-run: leak check\n move move an instance to another region: status | cut | abort |\n resolve --retry (operators; off unless the console enables it)\n\nOn the host — what systemd runs; rarely typed by hand\n edge the mesh front door (router)\n agent edge + activator + release adoption for this host\n adopt one release-adoption pass (the hourly timer's verb)\n ops box operations: litestream | restore-verify\n system platform self-update: update | status | rollback (apply is the\n root oneshot); antivirus: deployment-wide object scanning\n version print the build id\n"}
-{"case":"__cgexec | skipped","skipped":"the cgroup shim, dispatched before main"}
-{"case":"__cgprobe | skipped","skipped":"the cgroup shim, dispatched before main"}
-{"case":"__demo-snapshot | skipped","skipped":"plumbing"}
-{"case":"__drain-call | skipped","skipped":"plumbing"}
-{"case":"__ingress-drain | skipped","skipped":"plumbing"}
-{"case":"__registry-child | skipped","skipped":"plumbing"}
-{"case":"__rootfs-check-prepare | skipped","skipped":"plumbing"}
-{"case":"__rootfs-check-probe | skipped","skipped":"plumbing"}
+{"case":"__cgexec | skipped","skipped":"the cgroup shim, dispatched before main","stdout":"","stderr":""}
+{"case":"__cgprobe | skipped","skipped":"the cgroup shim, dispatched before main","stdout":"","stderr":""}
+{"case":"__demo-snapshot | skipped","skipped":"plumbing","stdout":"","stderr":""}
+{"case":"__drain-call | skipped","skipped":"plumbing","stdout":"","stderr":""}
+{"case":"__ingress-drain | skipped","skipped":"plumbing","stdout":"","stderr":""}
+{"case":"__registry-child | skipped","skipped":"plumbing","stdout":"","stderr":""}
+{"case":"__rootfs-check-prepare | skipped","skipped":"plumbing","stdout":"","stderr":""}
+{"case":"__rootfs-check-probe | skipped","skipped":"plumbing","stdout":"","stderr":""}
{"case":"accounts create | --zz-unknown-flag","argv":["accounts","create","--zz-unknown-flag"],"exit":2,"stdout":"","stderr":"flag provided but not defined: -zz-unknown-flag\nusage: carlos accounts create [flags]\nflags:\n --console <string> which logged-in console to create it through (only needed with several)\n --destination, -d <name> use the named block from .carlos/config's destinations (default: CARLOS_DESTINATION, else the file's default or only one)\n --name <string> account name (a-z, 0-9, hyphen; need not be unique)\n --owner <string> keymail address that owns the account — the box-side/headless path, and what to use when this terminal is not logged in\n --registry <string> registry database (default: $DIR/data/registry.db)\n"}
{"case":"accounts create | -h","argv":["accounts","create","-h"],"exit":0,"stdout":"","stderr":"usage: carlos accounts create [flags]\nflags:\n --console <string> which logged-in console to create it through (only needed with several)\n --destination, -d <name> use the named block from .carlos/config's destinations (default: CARLOS_DESTINATION, else the file's default or only one)\n --name <string> account name (a-z, 0-9, hyphen; need not be unique)\n --owner <string> keymail address that owns the account — the box-side/headless path, and what to use when this terminal is not logged in\n --registry <string> registry database (default: $DIR/data/registry.db)\n"}
{"case":"accounts list | --zz-unknown-flag","argv":["accounts","list","--zz-unknown-flag"],"exit":2,"stdout":"","stderr":"flag provided but not defined: -zz-unknown-flag\nusage: carlos accounts list [flags]\nflags:\n --console <string> list through a console instead (default: the box registry when one exists, else your logged-in console)\n --destination, -d <name> use the named block from .carlos/config's destinations (default: CARLOS_DESTINATION, else the file's default or only one)\n --registry <string> registry database (box mode) (default: $DIR/data/registry.db)\n"}
@@ -46,8 +46,8 @@
{"case":"accounts | zz-unknown","argv":["accounts","zz-unknown"],"exit":1,"stdout":"","stderr":"usage: carlos accounts <create|list|migrate|plan|subdomain>\n\n create --name <name> mint an account: the next free id, its\n frozen sqid, and the bucket manifest every\n box materializes identity from\n [--owner <address>] who owns it. On a box or in CI — no browser,\n no login — this is the path: it needs no\n identity of its own and takes precedence\n over any logged-in one.\n [--console <url>] which logged-in console to mint through\n (only needed with several)\n list your accounts. Signed-in (the usual case):\n name, sqid and your role, from the console.\n On a box with a registry: sqid, name and\n app count from the registry itself.\n [--console <url>] list through a console even where a\n registry exists (or: which logged-in\n console, with several)\n migrate --app <a> --to <sqid> copy an app's objects to the account-\n qualified prefix and re-stamp its routes\n [--from <sqid>] source account (default: the legacy,\n account-less keys)\n [--dry-run] print the plan and touch nothing\n plan --account <sqid> show or change an account's plan (deployment operators)\n [--set <plan>] put the account on this plan. needs --reason\n [--pack <name=quantity>] add a pack. repeat it for more than one\n [--sponsored <file.json>] limits for a sponsored account, used where\n they are more generous than the plan's\n [--reason <text>] why the plan is changing\n [--console <url>] which logged-in console to use\n subdomain <set|remove|show|inventory>\n give an account a readable name in its app addresses\n\nplan only works where the console has a plan catalog (CARLOS_PLAN_CATALOG).\n\ncreate always names an owner, one way or the other: log this terminal in with\n\"carlos auth login\" and you become the owner, or pass --owner. It refuses\nrather than mint an account nobody can open in the console.\n\nmigrate never deletes a legacy object. Deleting them is a separate operator\nstep, behind the verification gate: every channel pointer must resolve from\nthe qualified keys with the fallback disabled, and one adopt pass must be a\nno-op, first.\n"}
{"case":"add | --zz-unknown-flag","argv":["add","--zz-unknown-flag"],"exit":2,"stdout":"","stderr":"flag provided but not defined: -zz-unknown-flag\nusage: carlos add [flags]\nflags:\n --account <string> account (sqid or name) the app belongs to (default: ops)\n --account-id <string> account sqid, matched as a sqid ONLY — supersedes --account\n --addr <string> TCP upstream host:port (whole-app tenants)\n --app, -a <string> app whose releases this route runs\n --backing <string> process backing: \"\" (agent exec child) | \"unit\" (carlos-app@<host> systemd unit)\n --channel, -c <string> release channel to follow (default: stable)\n --db <string> instance database path\n --hibernate hibernate when idle\n --kind <string> instance | service | static (default: instance)\n --registry <string> registry database (default: $DIR/data/registry.db)\n --slug <string> root-domain short name (optional)\n --socket <string> unix socket upstream\n --status-named opt this app into being named on the public status page\n --unit <string> systemd unit that owns this route's process when it is neither an exec child nor a carlos-app@ tenant (e.g. console.service)\n"}
{"case":"add | -h","argv":["add","-h"],"exit":0,"stdout":"","stderr":"usage: carlos add [flags]\nflags:\n --account <string> account (sqid or name) the app belongs to (default: ops)\n --account-id <string> account sqid, matched as a sqid ONLY — supersedes --account\n --addr <string> TCP upstream host:port (whole-app tenants)\n --app, -a <string> app whose releases this route runs\n --backing <string> process backing: \"\" (agent exec child) | \"unit\" (carlos-app@<host> systemd unit)\n --channel, -c <string> release channel to follow (default: stable)\n --db <string> instance database path\n --hibernate hibernate when idle\n --kind <string> instance | service | static (default: instance)\n --registry <string> registry database (default: $DIR/data/registry.db)\n --slug <string> root-domain short name (optional)\n --socket <string> unix socket upstream\n --status-named opt this app into being named on the public status page\n --unit <string> systemd unit that owns this route's process when it is neither an exec child nor a carlos-app@ tenant (e.g. console.service)\n"}
-{"case":"adopt | skipped","skipped":"opens root's release state and claims before reading its arguments, -h included"}
-{"case":"agent | skipped","skipped":"starts the agent before reading its arguments, -h included (lease lock, box identity with its pid, registry open)"}
+{"case":"adopt | skipped","skipped":"opens root's release state and claims before reading its arguments, -h included","stdout":"","stderr":""}
+{"case":"agent | skipped","skipped":"starts the agent before reading its arguments, -h included (lease lock, box identity with its pid, registry open)","stdout":"","stderr":""}
{"case":"analytics | --zz-unknown-flag","argv":["analytics","--zz-unknown-flag"],"exit":2,"stdout":"","stderr":"flag provided but not defined: -zz-unknown-flag\nusage: carlos analytics --app <a> [flags]\n\nPage views, daily visitors, bytes served, top pages, top referers and named\nevents, counted at the edge. New accounts start with analytics on. Existing\naccounts keep their current setting.\n\n--range is today, 7d or 30d; multi-day visitor totals are daily visitors\nsummed. The same view is the Analytics tab on the app's dashboard.\nflags:\n --account <string> account (sqid or name) the app belongs to (default: your only account, or the configured/chosen one)\n --account-id <string> account sqid, matched as a sqid ONLY — supersedes --account\n --app, -a <string> app whose analytics to read\n --console <string> console to read through (default: the only logged-in one)\n --destination, -d <name> use the named block from .carlos/config's destinations (default: CARLOS_DESTINATION, else the file's default or only one)\n --range <string> window: today | 7d | 30d (default: today)\n --set-count <string> set analytics counting: edge | off\n --set-door <string> set door: on | off\n"}
{"case":"analytics | -h","argv":["analytics","-h"],"exit":0,"stdout":"","stderr":"usage: carlos analytics --app <a> [flags]\n\nPage views, daily visitors, bytes served, top pages, top referers and named\nevents, counted at the edge. New accounts start with analytics on. Existing\naccounts keep their current setting.\n\n--range is today, 7d or 30d; multi-day visitor totals are daily visitors\nsummed. The same view is the Analytics tab on the app's dashboard.\nflags:\n --account <string> account (sqid or name) the app belongs to (default: your only account, or the configured/chosen one)\n --account-id <string> account sqid, matched as a sqid ONLY — supersedes --account\n --app, -a <string> app whose analytics to read\n --console <string> console to read through (default: the only logged-in one)\n --destination, -d <name> use the named block from .carlos/config's destinations (default: CARLOS_DESTINATION, else the file's default or only one)\n --range <string> window: today | 7d | 30d (default: today)\n --set-count <string> set analytics counting: edge | off\n --set-door <string> set door: on | off\n"}
{"case":"apps build-probe | --zz-unknown-flag","argv":["apps","build-probe","--zz-unknown-flag"],"exit":2,"stdout":"","stderr":"flag provided but not defined: -zz-unknown-flag\nusage: carlos apps build-probe --app <name> </path|-> [--account <sqid|name>] [--account-id <sqid>] [--console <origin>]\n\n </path> an absolute path, no query, whose response body names the running\n build — \"/healthz\" serving \"ok abc1234\" is the shape. carlos deploy\n polls it instead of the X-Carlos-Version header, which reports the\n release adoption INTENDED rather than the build actually serving.\n - clear the probe, back to watching the header.\nflags:\n --account <string> account (sqid or name) the app belongs to (default: your only account, or the configured/chosen one)\n --account-id <string> account sqid, matched as a sqid ONLY — supersedes --account\n --app, -a <string> app whose build probe to set\n --console <string> console to act through (default: the only logged-in one)\n --destination, -d <name> use the named block from .carlos/config's destinations (default: CARLOS_DESTINATION, else the file's default or only one)\n"}
@@ -218,14 +218,14 @@
{"case":"devbox | zz-unknown","argv":["devbox","zz-unknown"],"exit":2,"stdout":"","stderr":"unknown devbox command zz-unknown. use share, unshare or list\n"}
{"case":"domains attach | --zz-unknown-flag","argv":["domains","attach","--zz-unknown-flag"],"exit":2,"stdout":"","stderr":"flag provided but not defined: -zz-unknown-flag\nusage: carlos domains attach --app <a> [--route <r>] [--wildcard] [--catchall] [--platform] [--account <a>] [--account-id <id>] [--console <origin>] <hostname>\nflags:\n --account <string> account (sqid or name) the app belongs to (default: your only account, or the configured/chosen one)\n --account-id <string> account sqid, matched as a sqid ONLY — supersedes --account\n --app, -a <string> app the hostname belongs to\n --catchall derive a *.<host> catch-all alias to the same route (needs --wildcard)\n --console <string> console to attach through (default: the only logged-in one)\n --destination, -d <name> use the named block from .carlos/config's destinations (default: CARLOS_DESTINATION, else the file's default or only one)\n --platform attach a hostname in this deployment's own domains (platform operators only)\n --route <string> route hostname to attach to\n --wildcard enable a delegated wildcard cert for this hostname (needs a CNAME — see the 422 message if refused)\n"}
{"case":"domains attach | -h","argv":["domains","attach","-h"],"exit":0,"stdout":"","stderr":"usage: carlos domains attach --app <a> [--route <r>] [--wildcard] [--catchall] [--platform] [--account <a>] [--account-id <id>] [--console <origin>] <hostname>\nflags:\n --account <string> account (sqid or name) the app belongs to (default: your only account, or the configured/chosen one)\n --account-id <string> account sqid, matched as a sqid ONLY — supersedes --account\n --app, -a <string> app the hostname belongs to\n --catchall derive a *.<host> catch-all alias to the same route (needs --wildcard)\n --console <string> console to attach through (default: the only logged-in one)\n --destination, -d <name> use the named block from .carlos/config's destinations (default: CARLOS_DESTINATION, else the file's default or only one)\n --platform attach a hostname in this deployment's own domains (platform operators only)\n --route <string> route hostname to attach to\n --wildcard enable a delegated wildcard cert for this hostname (needs a CNAME — see the 422 message if refused)\n"}
-{"case":"domains buy | --zz-unknown-flag","argv":["domains","buy","--zz-unknown-flag"],"exit":2,"stdout":"","stderr":"flag provided but not defined: -zz-unknown-flag\nusage: carlos domains buy <name> --app <a> [--contact-file contact.json] [--yes] [--no-wait] [--account <a>] [--account-id <id>] [--console <origin>]\n carlos domains buy <name> --not-yet [--contact <id> | --contact-file contact.json] [--yes] [--no-wait] [--account <a>] [--account-id <id>] [--console <origin>]\nbuy needs one of --app and --not-yet. either takes --contact <id> in place of --contact-file\nflags:\n --account <string> account (sqid or name)\n --account-id <string> account sqid, matched as a sqid only\n --app <string> app the domain will serve\n --console <string> console to use (default: the only logged-in one)\n --contact <string> saved contact to register the domain to (carlos domains contacts lists them)\n --contact-file <string> JSON file containing your contact details\n --destination, -d <name> use the named block from .carlos/config's destinations (default: CARLOS_DESTINATION, else the file's default or only one)\n --no-wait print the checkout link and return without waiting\n --not-yet buy the domain without pointing it at an app yet\n --yes confirm the purchase without prompting\n"}
-{"case":"domains buy | -h","argv":["domains","buy","-h"],"exit":0,"stdout":"","stderr":"usage: carlos domains buy <name> --app <a> [--contact-file contact.json] [--yes] [--no-wait] [--account <a>] [--account-id <id>] [--console <origin>]\n carlos domains buy <name> --not-yet [--contact <id> | --contact-file contact.json] [--yes] [--no-wait] [--account <a>] [--account-id <id>] [--console <origin>]\nbuy needs one of --app and --not-yet. either takes --contact <id> in place of --contact-file\nflags:\n --account <string> account (sqid or name)\n --account-id <string> account sqid, matched as a sqid only\n --app <string> app the domain will serve\n --console <string> console to use (default: the only logged-in one)\n --contact <string> saved contact to register the domain to (carlos domains contacts lists them)\n --contact-file <string> JSON file containing your contact details\n --destination, -d <name> use the named block from .carlos/config's destinations (default: CARLOS_DESTINATION, else the file's default or only one)\n --no-wait print the checkout link and return without waiting\n --not-yet buy the domain without pointing it at an app yet\n --yes confirm the purchase without prompting\n"}
+{"case":"domains buy | --zz-unknown-flag","argv":["domains","buy","--zz-unknown-flag"],"exit":2,"stdout":"","stderr":"flag provided but not defined: -zz-unknown-flag\nusage: carlos domains buy <name> --app <a> [--contact <id> | --contact-file contact.json] [--yes] [--no-wait] [--account <a>] [--account-id <id>] [--console <origin>]\n carlos domains buy <name> --not-yet [--contact <id> | --contact-file contact.json] [--yes] [--no-wait] [--account <a>] [--account-id <id>] [--console <origin>]\nbuy needs --app or --not-yet. either accepts --contact <id> in place of --contact-file\nflags:\n --account <string> account (sqid or name)\n --account-id <string> account sqid, matched as a sqid only\n --app <string> app the domain will serve\n --console <string> console to use (default: the only logged-in one)\n --contact <string> saved contact to use when registering the domain; list contacts with carlos domains contacts\n --contact-file <string> JSON file containing your contact details\n --destination, -d <name> use the named block from .carlos/config's destinations (default: CARLOS_DESTINATION, else the file's default or only one)\n --no-wait print the checkout link and return without waiting\n --not-yet buy the domain without pointing it at an app yet\n --yes confirm the purchase without prompting\n"}
+{"case":"domains buy | -h","argv":["domains","buy","-h"],"exit":0,"stdout":"","stderr":"usage: carlos domains buy <name> --app <a> [--contact <id> | --contact-file contact.json] [--yes] [--no-wait] [--account <a>] [--account-id <id>] [--console <origin>]\n carlos domains buy <name> --not-yet [--contact <id> | --contact-file contact.json] [--yes] [--no-wait] [--account <a>] [--account-id <id>] [--console <origin>]\nbuy needs --app or --not-yet. either accepts --contact <id> in place of --contact-file\nflags:\n --account <string> account (sqid or name)\n --account-id <string> account sqid, matched as a sqid only\n --app <string> app the domain will serve\n --console <string> console to use (default: the only logged-in one)\n --contact <string> saved contact to use when registering the domain; list contacts with carlos domains contacts\n --contact-file <string> JSON file containing your contact details\n --destination, -d <name> use the named block from .carlos/config's destinations (default: CARLOS_DESTINATION, else the file's default or only one)\n --no-wait print the checkout link and return without waiting\n --not-yet buy the domain without pointing it at an app yet\n --yes confirm the purchase without prompting\n"}
{"case":"domains check | --zz-unknown-flag","argv":["domains","check","--zz-unknown-flag"],"exit":2,"stdout":"","stderr":"flag provided but not defined: -zz-unknown-flag\nusage: carlos domains check <name> [--country <cc>] [--account <a>] [--account-id <id>] [--console <origin>]\nflags:\n --account <string> account (sqid or name)\n --account-id <string> account sqid, matched as a sqid only\n --console <string> console to use (default: the only logged-in one)\n --country <string> country for the price check when no billing currency is set (two letters)\n --destination, -d <name> use the named block from .carlos/config's destinations (default: CARLOS_DESTINATION, else the file's default or only one)\n"}
{"case":"domains check | -h","argv":["domains","check","-h"],"exit":0,"stdout":"","stderr":"usage: carlos domains check <name> [--country <cc>] [--account <a>] [--account-id <id>] [--console <origin>]\nflags:\n --account <string> account (sqid or name)\n --account-id <string> account sqid, matched as a sqid only\n --console <string> console to use (default: the only logged-in one)\n --country <string> country for the price check when no billing currency is set (two letters)\n --destination, -d <name> use the named block from .carlos/config's destinations (default: CARLOS_DESTINATION, else the file's default or only one)\n"}
-{"case":"domains contacts add | --zz-unknown-flag","argv":["domains","contacts","add","--zz-unknown-flag"],"exit":1,"stdout":"","stderr":"flag provided but not defined: -zz-unknown-flag\nusage: carlos domains contacts [list | add --file contact.json | edit <id> --file contact.json | remove <id>] [--account <a>] [--account-id <id>] [--console <origin>]\nflags:\n --account <string> account (sqid or name)\n --account-id <string> account sqid, matched as a sqid only\n --console <string> console to use (default: the only logged-in one)\n --destination, -d <name> use the named block from .carlos/config's destinations (default: CARLOS_DESTINATION, else the file's default or only one)\n --file <string> JSON file containing the contact details\nflag provided but not defined: -zz-unknown-flag\n"}
-{"case":"domains contacts add | -h","argv":["domains","contacts","add","-h"],"exit":0,"stdout":"","stderr":"usage: carlos domains contacts [list | add --file contact.json | edit <id> --file contact.json | remove <id>] [--account <a>] [--account-id <id>] [--console <origin>]\nflags:\n --account <string> account (sqid or name)\n --account-id <string> account sqid, matched as a sqid only\n --console <string> console to use (default: the only logged-in one)\n --destination, -d <name> use the named block from .carlos/config's destinations (default: CARLOS_DESTINATION, else the file's default or only one)\n --file <string> JSON file containing the contact details\n"}
-{"case":"domains contacts edit | --zz-unknown-flag","argv":["domains","contacts","edit","--zz-unknown-flag"],"exit":1,"stdout":"","stderr":"flag provided but not defined: -zz-unknown-flag\nusage: carlos domains contacts [list | add --file contact.json | edit <id> --file contact.json | remove <id>] [--account <a>] [--account-id <id>] [--console <origin>]\nflags:\n --account <string> account (sqid or name)\n --account-id <string> account sqid, matched as a sqid only\n --console <string> console to use (default: the only logged-in one)\n --destination, -d <name> use the named block from .carlos/config's destinations (default: CARLOS_DESTINATION, else the file's default or only one)\n --file <string> JSON file containing the contact details\nflag provided but not defined: -zz-unknown-flag\n"}
-{"case":"domains contacts edit | -h","argv":["domains","contacts","edit","-h"],"exit":0,"stdout":"","stderr":"usage: carlos domains contacts [list | add --file contact.json | edit <id> --file contact.json | remove <id>] [--account <a>] [--account-id <id>] [--console <origin>]\nflags:\n --account <string> account (sqid or name)\n --account-id <string> account sqid, matched as a sqid only\n --console <string> console to use (default: the only logged-in one)\n --destination, -d <name> use the named block from .carlos/config's destinations (default: CARLOS_DESTINATION, else the file's default or only one)\n --file <string> JSON file containing the contact details\n"}
+{"case":"domains contacts add | --zz-unknown-flag","argv":["domains","contacts","add","--zz-unknown-flag"],"exit":1,"stdout":"","stderr":"flag provided but not defined: -zz-unknown-flag\nusage: carlos domains contacts [list | add --file contact.json | edit <id> --file contact.json | remove <id>] [--account <a>] [--account-id <id>] [--console <origin>]\nflags:\n --account <string> account (sqid or name)\n --account-id <string> account sqid, matched as a sqid only\n --console <string> console to use (default: the only logged-in one)\n --destination, -d <name> use the named block from .carlos/config's destinations (default: CARLOS_DESTINATION, else the file's default or only one)\n --file <string> JSON file containing your contact details\nflag provided but not defined: -zz-unknown-flag\n"}
+{"case":"domains contacts add | -h","argv":["domains","contacts","add","-h"],"exit":0,"stdout":"","stderr":"usage: carlos domains contacts [list | add --file contact.json | edit <id> --file contact.json | remove <id>] [--account <a>] [--account-id <id>] [--console <origin>]\nflags:\n --account <string> account (sqid or name)\n --account-id <string> account sqid, matched as a sqid only\n --console <string> console to use (default: the only logged-in one)\n --destination, -d <name> use the named block from .carlos/config's destinations (default: CARLOS_DESTINATION, else the file's default or only one)\n --file <string> JSON file containing your contact details\n"}
+{"case":"domains contacts edit | --zz-unknown-flag","argv":["domains","contacts","edit","--zz-unknown-flag"],"exit":1,"stdout":"","stderr":"flag provided but not defined: -zz-unknown-flag\nusage: carlos domains contacts [list | add --file contact.json | edit <id> --file contact.json | remove <id>] [--account <a>] [--account-id <id>] [--console <origin>]\nflags:\n --account <string> account (sqid or name)\n --account-id <string> account sqid, matched as a sqid only\n --console <string> console to use (default: the only logged-in one)\n --destination, -d <name> use the named block from .carlos/config's destinations (default: CARLOS_DESTINATION, else the file's default or only one)\n --file <string> JSON file containing your contact details\nflag provided but not defined: -zz-unknown-flag\n"}
+{"case":"domains contacts edit | -h","argv":["domains","contacts","edit","-h"],"exit":0,"stdout":"","stderr":"usage: carlos domains contacts [list | add --file contact.json | edit <id> --file contact.json | remove <id>] [--account <a>] [--account-id <id>] [--console <origin>]\nflags:\n --account <string> account (sqid or name)\n --account-id <string> account sqid, matched as a sqid only\n --console <string> console to use (default: the only logged-in one)\n --destination, -d <name> use the named block from .carlos/config's destinations (default: CARLOS_DESTINATION, else the file's default or only one)\n --file <string> JSON file containing your contact details\n"}
{"case":"domains contacts list | --zz-unknown-flag","argv":["domains","contacts","list","--zz-unknown-flag"],"exit":1,"stdout":"","stderr":"flag provided but not defined: -zz-unknown-flag\nusage: carlos domains contacts [list | add --file contact.json | edit <id> --file contact.json | remove <id>] [--account <a>] [--account-id <id>] [--console <origin>]\nflags:\n --account <string> account (sqid or name)\n --account-id <string> account sqid, matched as a sqid only\n --console <string> console to use (default: the only logged-in one)\n --destination, -d <name> use the named block from .carlos/config's destinations (default: CARLOS_DESTINATION, else the file's default or only one)\nflag provided but not defined: -zz-unknown-flag\n"}
{"case":"domains contacts list | -h","argv":["domains","contacts","list","-h"],"exit":0,"stdout":"","stderr":"usage: carlos domains contacts [list | add --file contact.json | edit <id> --file contact.json | remove <id>] [--account <a>] [--account-id <id>] [--console <origin>]\nflags:\n --account <string> account (sqid or name)\n --account-id <string> account sqid, matched as a sqid only\n --console <string> console to use (default: the only logged-in one)\n --destination, -d <name> use the named block from .carlos/config's destinations (default: CARLOS_DESTINATION, else the file's default or only one)\n"}
{"case":"domains contacts remove | --zz-unknown-flag","argv":["domains","contacts","remove","--zz-unknown-flag"],"exit":1,"stdout":"","stderr":"flag provided but not defined: -zz-unknown-flag\nusage: carlos domains contacts [list | add --file contact.json | edit <id> --file contact.json | remove <id>] [--account <a>] [--account-id <id>] [--console <origin>]\nflags:\n --account <string> account (sqid or name)\n --account-id <string> account sqid, matched as a sqid only\n --console <string> console to use (default: the only logged-in one)\n --destination, -d <name> use the named block from .carlos/config's destinations (default: CARLOS_DESTINATION, else the file's default or only one)\nflag provided but not defined: -zz-unknown-flag\n"}
@@ -238,8 +238,8 @@
{"case":"domains contacts | zz-unknown","argv":["domains","contacts","zz-unknown"],"exit":1,"stdout":"","stderr":"usage: carlos domains contacts [list | add --file contact.json | edit <id> --file contact.json | remove <id>] [--account <a>] [--account-id <id>] [--console <origin>]\n"}
{"case":"domains detach | --zz-unknown-flag","argv":["domains","detach","--zz-unknown-flag"],"exit":2,"stdout":"","stderr":"flag provided but not defined: -zz-unknown-flag\nusage: carlos domains detach --app <a> [--account <a>] [--account-id <id>] [--console <origin>] <hostname>\nflags:\n --account <string> account (sqid or name) the app belongs to (default: your only account, or the configured/chosen one)\n --account-id <string> account sqid, matched as a sqid ONLY — supersedes --account\n --app, -a <string> app the hostname belongs to\n --console <string> console to detach through (default: the only logged-in one)\n --destination, -d <name> use the named block from .carlos/config's destinations (default: CARLOS_DESTINATION, else the file's default or only one)\n"}
{"case":"domains detach | -h","argv":["domains","detach","-h"],"exit":0,"stdout":"","stderr":"usage: carlos domains detach --app <a> [--account <a>] [--account-id <id>] [--console <origin>] <hostname>\nflags:\n --account <string> account (sqid or name) the app belongs to (default: your only account, or the configured/chosen one)\n --account-id <string> account sqid, matched as a sqid ONLY — supersedes --account\n --app, -a <string> app the hostname belongs to\n --console <string> console to detach through (default: the only logged-in one)\n --destination, -d <name> use the named block from .carlos/config's destinations (default: CARLOS_DESTINATION, else the file's default or only one)\n"}
-{"case":"domains list | --zz-unknown-flag","argv":["domains","list","--zz-unknown-flag"],"exit":2,"stdout":"","stderr":"flag provided but not defined: -zz-unknown-flag\nusage: carlos domains list [--app <a> | --all] [--account <a>] [--account-id <id>] [--console <origin>]\nflags:\n --account <string> account (sqid or name) the app belongs to (default: your only account, or the configured/chosen one)\n --account-id <string> account sqid, matched as a sqid ONLY — supersedes --account\n --all list every domain the account uses, not one app's\n --app, -a <string> app whose hostname claims to list\n --console <string> console to list through (default: the only logged-in one)\n --destination, -d <name> use the named block from .carlos/config's destinations (default: CARLOS_DESTINATION, else the file's default or only one)\n"}
-{"case":"domains list | -h","argv":["domains","list","-h"],"exit":0,"stdout":"","stderr":"usage: carlos domains list [--app <a> | --all] [--account <a>] [--account-id <id>] [--console <origin>]\nflags:\n --account <string> account (sqid or name) the app belongs to (default: your only account, or the configured/chosen one)\n --account-id <string> account sqid, matched as a sqid ONLY — supersedes --account\n --all list every domain the account uses, not one app's\n --app, -a <string> app whose hostname claims to list\n --console <string> console to list through (default: the only logged-in one)\n --destination, -d <name> use the named block from .carlos/config's destinations (default: CARLOS_DESTINATION, else the file's default or only one)\n"}
+{"case":"domains list | --zz-unknown-flag","argv":["domains","list","--zz-unknown-flag"],"exit":2,"stdout":"","stderr":"flag provided but not defined: -zz-unknown-flag\nusage: carlos domains list [--app <a> | --all] [--account <a>] [--account-id <id>] [--console <origin>]\nflags:\n --account <string> account (sqid or name) the app belongs to (default: your only account, or the configured/chosen one)\n --account-id <string> account sqid, matched as a sqid ONLY — supersedes --account\n --all list every domain the account uses, not just one app’s\n --app, -a <string> app whose hostname claims to list\n --console <string> console to list through (default: the only logged-in one)\n --destination, -d <name> use the named block from .carlos/config's destinations (default: CARLOS_DESTINATION, else the file's default or only one)\n"}
+{"case":"domains list | -h","argv":["domains","list","-h"],"exit":0,"stdout":"","stderr":"usage: carlos domains list [--app <a> | --all] [--account <a>] [--account-id <id>] [--console <origin>]\nflags:\n --account <string> account (sqid or name) the app belongs to (default: your only account, or the configured/chosen one)\n --account-id <string> account sqid, matched as a sqid ONLY — supersedes --account\n --all list every domain the account uses, not just one app’s\n --app, -a <string> app whose hostname claims to list\n --console <string> console to list through (default: the only logged-in one)\n --destination, -d <name> use the named block from .carlos/config's destinations (default: CARLOS_DESTINATION, else the file's default or only one)\n"}
{"case":"domains paths | --zz-unknown-flag","argv":["domains","paths","--zz-unknown-flag"],"exit":2,"stdout":"","stderr":"flag provided but not defined: -zz-unknown-flag\nusage: carlos domains paths --app <a> [--account <a>] [--account-id <id>] [--console <origin>] <hostname>\nflags:\n --account <string> account (sqid or name) the app belongs to (default: your only account, or the configured/chosen one)\n --account-id <string> account sqid, matched as a sqid ONLY — supersedes --account\n --app, -a <string> app the hostname belongs to\n --console <string> console to read through (default: the only logged-in one)\n --destination, -d <name> use the named block from .carlos/config's destinations (default: CARLOS_DESTINATION, else the file's default or only one)\n"}
{"case":"domains paths | -h","argv":["domains","paths","-h"],"exit":0,"stdout":"","stderr":"usage: carlos domains paths --app <a> [--account <a>] [--account-id <id>] [--console <origin>] <hostname>\nflags:\n --account <string> account (sqid or name) the app belongs to (default: your only account, or the configured/chosen one)\n --account-id <string> account sqid, matched as a sqid ONLY — supersedes --account\n --app, -a <string> app the hostname belongs to\n --console <string> console to read through (default: the only logged-in one)\n --destination, -d <name> use the named block from .carlos/config's destinations (default: CARLOS_DESTINATION, else the file's default or only one)\n"}
{"case":"domains placements | --zz-unknown-flag","argv":["domains","placements","--zz-unknown-flag"],"exit":2,"stdout":"","stderr":"flag provided but not defined: -zz-unknown-flag\nusage: carlos domains placements --app <a> [--set <region>=<instance>]... [--wildcard] [--catchall] [--account <a>] [--account-id <id>] [--console <origin>] <hostname>\nflags:\n --account <string> account (sqid or name) the app belongs to (default: your only account, or the configured/chosen one)\n --account-id <string> account sqid, matched as a sqid ONLY — supersedes --account\n --app, -a <string> app the hostname belongs to\n --catchall also serve every one-label name under the domain from the same instances. set it only when the domain is created. it requires --wildcard\n --console <string> console to read through (default: the only logged-in one)\n --destination, -d <name> use the named block from .carlos/config's destinations (default: CARLOS_DESTINATION, else the file's default or only one)\n --set <value> give the region and the instance that serves the hostname there, as region=instance. repeat this for each region\n --wildcard use one wildcard certificate for the domain. set it only when the domain is created. it needs a CNAME. the message says which CNAME is missing\n"}
@@ -248,12 +248,12 @@
{"case":"domains point | -h","argv":["domains","point","-h"],"exit":0,"stdout":"","stderr":"usage: carlos domains point <domain> --app <a> [--account <a>] [--account-id <id>] [--console <origin>]\nflags:\n --account <string> account (sqid or name)\n --account-id <string> account sqid, matched as a sqid only\n --app, -a <string> app to point the domain at\n --console <string> console to use (default: the only logged-in one)\n --destination, -d <name> use the named block from .carlos/config's destinations (default: CARLOS_DESTINATION, else the file's default or only one)\n"}
{"case":"domains verify | --zz-unknown-flag","argv":["domains","verify","--zz-unknown-flag"],"exit":2,"stdout":"","stderr":"flag provided but not defined: -zz-unknown-flag\nusage: carlos domains verify --app <a> [--channel <c>] [--account <a>] [--account-id <id>] [--console <origin>] <hostname>\nflags:\n --account <string> account (sqid or name) the app belongs to (default: your only account, or the configured/chosen one)\n --account-id <string> account sqid, matched as a sqid ONLY — supersedes --account\n --app, -a <string> app the hostname belongs to\n --channel <string> channel a first-route hostname serves (only needed when the app follows several)\n --console <string> console to verify through (default: the only logged-in one)\n --destination, -d <name> use the named block from .carlos/config's destinations (default: CARLOS_DESTINATION, else the file's default or only one)\n"}
{"case":"domains verify | -h","argv":["domains","verify","-h"],"exit":0,"stdout":"","stderr":"usage: carlos domains verify --app <a> [--channel <c>] [--account <a>] [--account-id <id>] [--console <origin>] <hostname>\nflags:\n --account <string> account (sqid or name) the app belongs to (default: your only account, or the configured/chosen one)\n --account-id <string> account sqid, matched as a sqid ONLY — supersedes --account\n --app, -a <string> app the hostname belongs to\n --channel <string> channel a first-route hostname serves (only needed when the app follows several)\n --console <string> console to verify through (default: the only logged-in one)\n --destination, -d <name> use the named block from .carlos/config's destinations (default: CARLOS_DESTINATION, else the file's default or only one)\n"}
-{"case":"domains | --help","argv":["domains","--help"],"exit":1,"stdout":"","stderr":"usage: carlos domains <check|buy|attach|verify|detach|list|point|contacts|paths|placements> [flags]\n\n check <name> [--country <cc>] [flags]\n check availability and the price for one year\n buy <name> --app <a> [--contact-file contact.json] [--yes] [--no-wait] [flags]\n buy a domain and wait for it to serve the app\n\n buy <name> --not-yet [--contact <id> | --contact-file contact.json] [--yes] [--no-wait] [flags]\n buy a domain and point it at no app yet. buy needs one of\n --app and --not-yet. --contact <id> registers it to that\n saved contact; with neither contact flag, the one used\n last\n\n attach --app <a> [--route <r>] [--wildcard] [--catchall] [--platform] [flags] <hostname>\n claim a customer's hostname for the app, pointed at\n --route (default: the app's single instance record, if it\n has exactly one — otherwise --route is required).\n --wildcard/--catchall are capability flips: naming either\n one changes it, an unset flag leaves it as it was.\n --platform attaches a hostname in this deployment's own\n domains. Platform operators only.\n Where the deployment requires proof of control, the\n hostname is not served until you add the TXT record\n attach prints.\n attach --app <a> '*.<parent>'\n an instance catch-all: each of the app's instances also\n answers at <label>.<parent>, where <label> is its host's\n first label. <parent> must already be attached to an app\n in this account. Signed-in people only; takes no other\n flag. Detach it with: detach --app <a> '*.<parent>'.\n verify --app <a> [--channel <c>] [flags] <hostname>\n check the TXT record and, once it is there, make the\n hostname live. --channel is for a hostname that will be\n the app's first route, when the app follows several.\n detach --app <a> [flags] <hostname>\n release a hostname claim\n list [--app <a> | --all] [flags]\n an app's hostname claims, joined to the fleet's own\n readings sweep (DNS/CERT-EXPIRES/WILDCARD/CATCHALL/DELEGATION).\n without --app, the configured app or the account's only\n app. with --all, or when no app is found, every domain\n the account uses: bought here, being bought, or\n registered elsewhere, each with its addresses\n point <domain> --app <a> [flags]\n point a domain bought here at an app: the domain and its\n www serve the app. owners only\n contacts [list | add --file contact.json | edit <id> --file contact.json | remove <id>] [flags]\n the contacts saved for registering domains. owners only\n paths --app <a> [flags] <hostname>\n the leading path segments this hostname's traffic is split\n by, as PUBLISHED. Read-only: the platform that owns the\n hostname republishes the whole map, so there is no verb\n here that writes one.\n placements --app <a> [--set <region>=<instance>]... [--wildcard] [--catchall] [flags] <hostname>\n without --set, shows which instance serves the hostname in\n each region, whether it is ready, and the addresses to\n point DNS at. with --set, makes the hostname a regional\n domain. each region serves it from the instance named for\n it, and a request is never sent to another region. give\n the whole set every time. --wildcard and --catchall take\n effect only when the domain is created.\n\n --account <a> account (sqid or name; default \"ops\")\n --account-id <id> account sqid, matched as a sqid ONLY\n --console <origin> console to act through (default: the only logged-in one)\n\nSigned-in only (carlos auth login): a claim is a console-authorized write —\nthe console checks the hostname against the deploy's deny list, resolves the\nroute, and writes it. The hostname comes live on the box that owns the route\nat its next domains pass.\n"}
-{"case":"domains | --zz-unknown-flag","argv":["domains","--zz-unknown-flag"],"exit":1,"stdout":"","stderr":"usage: carlos domains <check|buy|attach|verify|detach|list|point|contacts|paths|placements> [flags]\n\n check <name> [--country <cc>] [flags]\n check availability and the price for one year\n buy <name> --app <a> [--contact-file contact.json] [--yes] [--no-wait] [flags]\n buy a domain and wait for it to serve the app\n\n buy <name> --not-yet [--contact <id> | --contact-file contact.json] [--yes] [--no-wait] [flags]\n buy a domain and point it at no app yet. buy needs one of\n --app and --not-yet. --contact <id> registers it to that\n saved contact; with neither contact flag, the one used\n last\n\n attach --app <a> [--route <r>] [--wildcard] [--catchall] [--platform] [flags] <hostname>\n claim a customer's hostname for the app, pointed at\n --route (default: the app's single instance record, if it\n has exactly one — otherwise --route is required).\n --wildcard/--catchall are capability flips: naming either\n one changes it, an unset flag leaves it as it was.\n --platform attaches a hostname in this deployment's own\n domains. Platform operators only.\n Where the deployment requires proof of control, the\n hostname is not served until you add the TXT record\n attach prints.\n attach --app <a> '*.<parent>'\n an instance catch-all: each of the app's instances also\n answers at <label>.<parent>, where <label> is its host's\n first label. <parent> must already be attached to an app\n in this account. Signed-in people only; takes no other\n flag. Detach it with: detach --app <a> '*.<parent>'.\n verify --app <a> [--channel <c>] [flags] <hostname>\n check the TXT record and, once it is there, make the\n hostname live. --channel is for a hostname that will be\n the app's first route, when the app follows several.\n detach --app <a> [flags] <hostname>\n release a hostname claim\n list [--app <a> | --all] [flags]\n an app's hostname claims, joined to the fleet's own\n readings sweep (DNS/CERT-EXPIRES/WILDCARD/CATCHALL/DELEGATION).\n without --app, the configured app or the account's only\n app. with --all, or when no app is found, every domain\n the account uses: bought here, being bought, or\n registered elsewhere, each with its addresses\n point <domain> --app <a> [flags]\n point a domain bought here at an app: the domain and its\n www serve the app. owners only\n contacts [list | add --file contact.json | edit <id> --file contact.json | remove <id>] [flags]\n the contacts saved for registering domains. owners only\n paths --app <a> [flags] <hostname>\n the leading path segments this hostname's traffic is split\n by, as PUBLISHED. Read-only: the platform that owns the\n hostname republishes the whole map, so there is no verb\n here that writes one.\n placements --app <a> [--set <region>=<instance>]... [--wildcard] [--catchall] [flags] <hostname>\n without --set, shows which instance serves the hostname in\n each region, whether it is ready, and the addresses to\n point DNS at. with --set, makes the hostname a regional\n domain. each region serves it from the instance named for\n it, and a request is never sent to another region. give\n the whole set every time. --wildcard and --catchall take\n effect only when the domain is created.\n\n --account <a> account (sqid or name; default \"ops\")\n --account-id <id> account sqid, matched as a sqid ONLY\n --console <origin> console to act through (default: the only logged-in one)\n\nSigned-in only (carlos auth login): a claim is a console-authorized write —\nthe console checks the hostname against the deploy's deny list, resolves the\nroute, and writes it. The hostname comes live on the box that owns the route\nat its next domains pass.\n"}
-{"case":"domains | -h","argv":["domains","-h"],"exit":1,"stdout":"","stderr":"usage: carlos domains <check|buy|attach|verify|detach|list|point|contacts|paths|placements> [flags]\n\n check <name> [--country <cc>] [flags]\n check availability and the price for one year\n buy <name> --app <a> [--contact-file contact.json] [--yes] [--no-wait] [flags]\n buy a domain and wait for it to serve the app\n\n buy <name> --not-yet [--contact <id> | --contact-file contact.json] [--yes] [--no-wait] [flags]\n buy a domain and point it at no app yet. buy needs one of\n --app and --not-yet. --contact <id> registers it to that\n saved contact; with neither contact flag, the one used\n last\n\n attach --app <a> [--route <r>] [--wildcard] [--catchall] [--platform] [flags] <hostname>\n claim a customer's hostname for the app, pointed at\n --route (default: the app's single instance record, if it\n has exactly one — otherwise --route is required).\n --wildcard/--catchall are capability flips: naming either\n one changes it, an unset flag leaves it as it was.\n --platform attaches a hostname in this deployment's own\n domains. Platform operators only.\n Where the deployment requires proof of control, the\n hostname is not served until you add the TXT record\n attach prints.\n attach --app <a> '*.<parent>'\n an instance catch-all: each of the app's instances also\n answers at <label>.<parent>, where <label> is its host's\n first label. <parent> must already be attached to an app\n in this account. Signed-in people only; takes no other\n flag. Detach it with: detach --app <a> '*.<parent>'.\n verify --app <a> [--channel <c>] [flags] <hostname>\n check the TXT record and, once it is there, make the\n hostname live. --channel is for a hostname that will be\n the app's first route, when the app follows several.\n detach --app <a> [flags] <hostname>\n release a hostname claim\n list [--app <a> | --all] [flags]\n an app's hostname claims, joined to the fleet's own\n readings sweep (DNS/CERT-EXPIRES/WILDCARD/CATCHALL/DELEGATION).\n without --app, the configured app or the account's only\n app. with --all, or when no app is found, every domain\n the account uses: bought here, being bought, or\n registered elsewhere, each with its addresses\n point <domain> --app <a> [flags]\n point a domain bought here at an app: the domain and its\n www serve the app. owners only\n contacts [list | add --file contact.json | edit <id> --file contact.json | remove <id>] [flags]\n the contacts saved for registering domains. owners only\n paths --app <a> [flags] <hostname>\n the leading path segments this hostname's traffic is split\n by, as PUBLISHED. Read-only: the platform that owns the\n hostname republishes the whole map, so there is no verb\n here that writes one.\n placements --app <a> [--set <region>=<instance>]... [--wildcard] [--catchall] [flags] <hostname>\n without --set, shows which instance serves the hostname in\n each region, whether it is ready, and the addresses to\n point DNS at. with --set, makes the hostname a regional\n domain. each region serves it from the instance named for\n it, and a request is never sent to another region. give\n the whole set every time. --wildcard and --catchall take\n effect only when the domain is created.\n\n --account <a> account (sqid or name; default \"ops\")\n --account-id <id> account sqid, matched as a sqid ONLY\n --console <origin> console to act through (default: the only logged-in one)\n\nSigned-in only (carlos auth login): a claim is a console-authorized write —\nthe console checks the hostname against the deploy's deny list, resolves the\nroute, and writes it. The hostname comes live on the box that owns the route\nat its next domains pass.\n"}
-{"case":"domains | bare","argv":["domains"],"exit":1,"stdout":"","stderr":"usage: carlos domains <check|buy|attach|verify|detach|list|point|contacts|paths|placements> [flags]\n\n check <name> [--country <cc>] [flags]\n check availability and the price for one year\n buy <name> --app <a> [--contact-file contact.json] [--yes] [--no-wait] [flags]\n buy a domain and wait for it to serve the app\n\n buy <name> --not-yet [--contact <id> | --contact-file contact.json] [--yes] [--no-wait] [flags]\n buy a domain and point it at no app yet. buy needs one of\n --app and --not-yet. --contact <id> registers it to that\n saved contact; with neither contact flag, the one used\n last\n\n attach --app <a> [--route <r>] [--wildcard] [--catchall] [--platform] [flags] <hostname>\n claim a customer's hostname for the app, pointed at\n --route (default: the app's single instance record, if it\n has exactly one — otherwise --route is required).\n --wildcard/--catchall are capability flips: naming either\n one changes it, an unset flag leaves it as it was.\n --platform attaches a hostname in this deployment's own\n domains. Platform operators only.\n Where the deployment requires proof of control, the\n hostname is not served until you add the TXT record\n attach prints.\n attach --app <a> '*.<parent>'\n an instance catch-all: each of the app's instances also\n answers at <label>.<parent>, where <label> is its host's\n first label. <parent> must already be attached to an app\n in this account. Signed-in people only; takes no other\n flag. Detach it with: detach --app <a> '*.<parent>'.\n verify --app <a> [--channel <c>] [flags] <hostname>\n check the TXT record and, once it is there, make the\n hostname live. --channel is for a hostname that will be\n the app's first route, when the app follows several.\n detach --app <a> [flags] <hostname>\n release a hostname claim\n list [--app <a> | --all] [flags]\n an app's hostname claims, joined to the fleet's own\n readings sweep (DNS/CERT-EXPIRES/WILDCARD/CATCHALL/DELEGATION).\n without --app, the configured app or the account's only\n app. with --all, or when no app is found, every domain\n the account uses: bought here, being bought, or\n registered elsewhere, each with its addresses\n point <domain> --app <a> [flags]\n point a domain bought here at an app: the domain and its\n www serve the app. owners only\n contacts [list | add --file contact.json | edit <id> --file contact.json | remove <id>] [flags]\n the contacts saved for registering domains. owners only\n paths --app <a> [flags] <hostname>\n the leading path segments this hostname's traffic is split\n by, as PUBLISHED. Read-only: the platform that owns the\n hostname republishes the whole map, so there is no verb\n here that writes one.\n placements --app <a> [--set <region>=<instance>]... [--wildcard] [--catchall] [flags] <hostname>\n without --set, shows which instance serves the hostname in\n each region, whether it is ready, and the addresses to\n point DNS at. with --set, makes the hostname a regional\n domain. each region serves it from the instance named for\n it, and a request is never sent to another region. give\n the whole set every time. --wildcard and --catchall take\n effect only when the domain is created.\n\n --account <a> account (sqid or name; default \"ops\")\n --account-id <id> account sqid, matched as a sqid ONLY\n --console <origin> console to act through (default: the only logged-in one)\n\nSigned-in only (carlos auth login): a claim is a console-authorized write —\nthe console checks the hostname against the deploy's deny list, resolves the\nroute, and writes it. The hostname comes live on the box that owns the route\nat its next domains pass.\n"}
-{"case":"domains | help","argv":["domains","help"],"exit":1,"stdout":"","stderr":"usage: carlos domains <check|buy|attach|verify|detach|list|point|contacts|paths|placements> [flags]\n\n check <name> [--country <cc>] [flags]\n check availability and the price for one year\n buy <name> --app <a> [--contact-file contact.json] [--yes] [--no-wait] [flags]\n buy a domain and wait for it to serve the app\n\n buy <name> --not-yet [--contact <id> | --contact-file contact.json] [--yes] [--no-wait] [flags]\n buy a domain and point it at no app yet. buy needs one of\n --app and --not-yet. --contact <id> registers it to that\n saved contact; with neither contact flag, the one used\n last\n\n attach --app <a> [--route <r>] [--wildcard] [--catchall] [--platform] [flags] <hostname>\n claim a customer's hostname for the app, pointed at\n --route (default: the app's single instance record, if it\n has exactly one — otherwise --route is required).\n --wildcard/--catchall are capability flips: naming either\n one changes it, an unset flag leaves it as it was.\n --platform attaches a hostname in this deployment's own\n domains. Platform operators only.\n Where the deployment requires proof of control, the\n hostname is not served until you add the TXT record\n attach prints.\n attach --app <a> '*.<parent>'\n an instance catch-all: each of the app's instances also\n answers at <label>.<parent>, where <label> is its host's\n first label. <parent> must already be attached to an app\n in this account. Signed-in people only; takes no other\n flag. Detach it with: detach --app <a> '*.<parent>'.\n verify --app <a> [--channel <c>] [flags] <hostname>\n check the TXT record and, once it is there, make the\n hostname live. --channel is for a hostname that will be\n the app's first route, when the app follows several.\n detach --app <a> [flags] <hostname>\n release a hostname claim\n list [--app <a> | --all] [flags]\n an app's hostname claims, joined to the fleet's own\n readings sweep (DNS/CERT-EXPIRES/WILDCARD/CATCHALL/DELEGATION).\n without --app, the configured app or the account's only\n app. with --all, or when no app is found, every domain\n the account uses: bought here, being bought, or\n registered elsewhere, each with its addresses\n point <domain> --app <a> [flags]\n point a domain bought here at an app: the domain and its\n www serve the app. owners only\n contacts [list | add --file contact.json | edit <id> --file contact.json | remove <id>] [flags]\n the contacts saved for registering domains. owners only\n paths --app <a> [flags] <hostname>\n the leading path segments this hostname's traffic is split\n by, as PUBLISHED. Read-only: the platform that owns the\n hostname republishes the whole map, so there is no verb\n here that writes one.\n placements --app <a> [--set <region>=<instance>]... [--wildcard] [--catchall] [flags] <hostname>\n without --set, shows which instance serves the hostname in\n each region, whether it is ready, and the addresses to\n point DNS at. with --set, makes the hostname a regional\n domain. each region serves it from the instance named for\n it, and a request is never sent to another region. give\n the whole set every time. --wildcard and --catchall take\n effect only when the domain is created.\n\n --account <a> account (sqid or name; default \"ops\")\n --account-id <id> account sqid, matched as a sqid ONLY\n --console <origin> console to act through (default: the only logged-in one)\n\nSigned-in only (carlos auth login): a claim is a console-authorized write —\nthe console checks the hostname against the deploy's deny list, resolves the\nroute, and writes it. The hostname comes live on the box that owns the route\nat its next domains pass.\n"}
-{"case":"domains | zz-unknown","argv":["domains","zz-unknown"],"exit":1,"stdout":"","stderr":"usage: carlos domains <check|buy|attach|verify|detach|list|point|contacts|paths|placements> [flags]\n\n check <name> [--country <cc>] [flags]\n check availability and the price for one year\n buy <name> --app <a> [--contact-file contact.json] [--yes] [--no-wait] [flags]\n buy a domain and wait for it to serve the app\n\n buy <name> --not-yet [--contact <id> | --contact-file contact.json] [--yes] [--no-wait] [flags]\n buy a domain and point it at no app yet. buy needs one of\n --app and --not-yet. --contact <id> registers it to that\n saved contact; with neither contact flag, the one used\n last\n\n attach --app <a> [--route <r>] [--wildcard] [--catchall] [--platform] [flags] <hostname>\n claim a customer's hostname for the app, pointed at\n --route (default: the app's single instance record, if it\n has exactly one — otherwise --route is required).\n --wildcard/--catchall are capability flips: naming either\n one changes it, an unset flag leaves it as it was.\n --platform attaches a hostname in this deployment's own\n domains. Platform operators only.\n Where the deployment requires proof of control, the\n hostname is not served until you add the TXT record\n attach prints.\n attach --app <a> '*.<parent>'\n an instance catch-all: each of the app's instances also\n answers at <label>.<parent>, where <label> is its host's\n first label. <parent> must already be attached to an app\n in this account. Signed-in people only; takes no other\n flag. Detach it with: detach --app <a> '*.<parent>'.\n verify --app <a> [--channel <c>] [flags] <hostname>\n check the TXT record and, once it is there, make the\n hostname live. --channel is for a hostname that will be\n the app's first route, when the app follows several.\n detach --app <a> [flags] <hostname>\n release a hostname claim\n list [--app <a> | --all] [flags]\n an app's hostname claims, joined to the fleet's own\n readings sweep (DNS/CERT-EXPIRES/WILDCARD/CATCHALL/DELEGATION).\n without --app, the configured app or the account's only\n app. with --all, or when no app is found, every domain\n the account uses: bought here, being bought, or\n registered elsewhere, each with its addresses\n point <domain> --app <a> [flags]\n point a domain bought here at an app: the domain and its\n www serve the app. owners only\n contacts [list | add --file contact.json | edit <id> --file contact.json | remove <id>] [flags]\n the contacts saved for registering domains. owners only\n paths --app <a> [flags] <hostname>\n the leading path segments this hostname's traffic is split\n by, as PUBLISHED. Read-only: the platform that owns the\n hostname republishes the whole map, so there is no verb\n here that writes one.\n placements --app <a> [--set <region>=<instance>]... [--wildcard] [--catchall] [flags] <hostname>\n without --set, shows which instance serves the hostname in\n each region, whether it is ready, and the addresses to\n point DNS at. with --set, makes the hostname a regional\n domain. each region serves it from the instance named for\n it, and a request is never sent to another region. give\n the whole set every time. --wildcard and --catchall take\n effect only when the domain is created.\n\n --account <a> account (sqid or name; default \"ops\")\n --account-id <id> account sqid, matched as a sqid ONLY\n --console <origin> console to act through (default: the only logged-in one)\n\nSigned-in only (carlos auth login): a claim is a console-authorized write —\nthe console checks the hostname against the deploy's deny list, resolves the\nroute, and writes it. The hostname comes live on the box that owns the route\nat its next domains pass.\n"}
+{"case":"domains | --help","argv":["domains","--help"],"exit":1,"stdout":"","stderr":"usage: carlos domains <check|buy|attach|verify|detach|list|point|contacts|paths|placements> [flags]\n\n check <name> [--country <cc>] [flags]\n check availability and the price for one year\n buy <name> --app <a> [--contact <id> | --contact-file contact.json] [--yes] [--no-wait] [flags]\n buy <name> --not-yet [--contact <id> | --contact-file contact.json] [--yes] [--no-wait] [flags]\n buy a domain and wait for it to serve the app. with\n --not-yet, buy it without pointing it at an app yet. buy\n needs one of --app or --not-yet. --contact <id> registers\n it to that saved contact; with neither contact flag, buy\n uses the one used last\n\n attach --app <a> [--route <r>] [--wildcard] [--catchall] [--platform] [flags] <hostname>\n claim a customer's hostname for the app, pointed at\n --route (default: the app's single instance record, if it\n has exactly one — otherwise --route is required).\n --wildcard/--catchall are capability flips: naming either\n one changes it, an unset flag leaves it as it was.\n --platform attaches a hostname in this deployment's own\n domains. Platform operators only.\n Where the deployment requires proof of control, the\n hostname is not served until you add the TXT record\n attach prints.\n attach --app <a> '*.<parent>'\n an instance catch-all: each of the app's instances also\n answers at <label>.<parent>, where <label> is its host's\n first label. <parent> must already be attached to an app\n in this account. Signed-in people only; takes no other\n flag. Detach it with: detach --app <a> '*.<parent>'.\n verify --app <a> [--channel <c>] [flags] <hostname>\n check the TXT record and, once it is there, make the\n hostname live. --channel is for a hostname that will be\n the app's first route, when the app follows several.\n detach --app <a> [flags] <hostname>\n release a hostname claim\n list [--app <a> | --all] [flags]\n an app's hostname claims, joined to the fleet's own\n readings sweep (DNS/CERT-EXPIRES/WILDCARD/CATCHALL/DELEGATION).\n without --app, the configured app or the account's only\n app. with --all, or when no app is found, every domain\n the account uses: bought here, being bought, or\n registered elsewhere, each with its addresses\n point <domain> --app <a> [flags]\n point a domain bought here at an app. its domain and its\n www serve the app. owners only\n contacts [list | add --file contact.json | edit <id> --file contact.json | remove <id>] [flags]\n the contacts saved for registering domains. owners only\n paths --app <a> [flags] <hostname>\n the leading path segments this hostname's traffic is split\n by, as PUBLISHED. Read-only: the platform that owns the\n hostname republishes the whole map, so there is no verb\n here that writes one.\n placements --app <a> [--set <region>=<instance>]... [--wildcard] [--catchall] [flags] <hostname>\n without --set, shows which instance serves the hostname in\n each region, whether it is ready, and the addresses to\n point DNS at. with --set, makes the hostname a regional\n domain. each region serves it from the instance named for\n it, and a request is never sent to another region. give\n the whole set every time. --wildcard and --catchall take\n effect only when the domain is created.\n\n --account <a> account (sqid or name; default \"ops\")\n --account-id <id> account sqid, matched as a sqid ONLY\n --console <origin> console to act through (default: the only logged-in one)\n\nSigned-in only (carlos auth login): a claim is a console-authorized write —\nthe console checks the hostname against the deploy's deny list, resolves the\nroute, and writes it. The hostname comes live on the box that owns the route\nat its next domains pass.\n"}
+{"case":"domains | --zz-unknown-flag","argv":["domains","--zz-unknown-flag"],"exit":1,"stdout":"","stderr":"usage: carlos domains <check|buy|attach|verify|detach|list|point|contacts|paths|placements> [flags]\n\n check <name> [--country <cc>] [flags]\n check availability and the price for one year\n buy <name> --app <a> [--contact <id> | --contact-file contact.json] [--yes] [--no-wait] [flags]\n buy <name> --not-yet [--contact <id> | --contact-file contact.json] [--yes] [--no-wait] [flags]\n buy a domain and wait for it to serve the app. with\n --not-yet, buy it without pointing it at an app yet. buy\n needs one of --app or --not-yet. --contact <id> registers\n it to that saved contact; with neither contact flag, buy\n uses the one used last\n\n attach --app <a> [--route <r>] [--wildcard] [--catchall] [--platform] [flags] <hostname>\n claim a customer's hostname for the app, pointed at\n --route (default: the app's single instance record, if it\n has exactly one — otherwise --route is required).\n --wildcard/--catchall are capability flips: naming either\n one changes it, an unset flag leaves it as it was.\n --platform attaches a hostname in this deployment's own\n domains. Platform operators only.\n Where the deployment requires proof of control, the\n hostname is not served until you add the TXT record\n attach prints.\n attach --app <a> '*.<parent>'\n an instance catch-all: each of the app's instances also\n answers at <label>.<parent>, where <label> is its host's\n first label. <parent> must already be attached to an app\n in this account. Signed-in people only; takes no other\n flag. Detach it with: detach --app <a> '*.<parent>'.\n verify --app <a> [--channel <c>] [flags] <hostname>\n check the TXT record and, once it is there, make the\n hostname live. --channel is for a hostname that will be\n the app's first route, when the app follows several.\n detach --app <a> [flags] <hostname>\n release a hostname claim\n list [--app <a> | --all] [flags]\n an app's hostname claims, joined to the fleet's own\n readings sweep (DNS/CERT-EXPIRES/WILDCARD/CATCHALL/DELEGATION).\n without --app, the configured app or the account's only\n app. with --all, or when no app is found, every domain\n the account uses: bought here, being bought, or\n registered elsewhere, each with its addresses\n point <domain> --app <a> [flags]\n point a domain bought here at an app. its domain and its\n www serve the app. owners only\n contacts [list | add --file contact.json | edit <id> --file contact.json | remove <id>] [flags]\n the contacts saved for registering domains. owners only\n paths --app <a> [flags] <hostname>\n the leading path segments this hostname's traffic is split\n by, as PUBLISHED. Read-only: the platform that owns the\n hostname republishes the whole map, so there is no verb\n here that writes one.\n placements --app <a> [--set <region>=<instance>]... [--wildcard] [--catchall] [flags] <hostname>\n without --set, shows which instance serves the hostname in\n each region, whether it is ready, and the addresses to\n point DNS at. with --set, makes the hostname a regional\n domain. each region serves it from the instance named for\n it, and a request is never sent to another region. give\n the whole set every time. --wildcard and --catchall take\n effect only when the domain is created.\n\n --account <a> account (sqid or name; default \"ops\")\n --account-id <id> account sqid, matched as a sqid ONLY\n --console <origin> console to act through (default: the only logged-in one)\n\nSigned-in only (carlos auth login): a claim is a console-authorized write —\nthe console checks the hostname against the deploy's deny list, resolves the\nroute, and writes it. The hostname comes live on the box that owns the route\nat its next domains pass.\n"}
+{"case":"domains | -h","argv":["domains","-h"],"exit":1,"stdout":"","stderr":"usage: carlos domains <check|buy|attach|verify|detach|list|point|contacts|paths|placements> [flags]\n\n check <name> [--country <cc>] [flags]\n check availability and the price for one year\n buy <name> --app <a> [--contact <id> | --contact-file contact.json] [--yes] [--no-wait] [flags]\n buy <name> --not-yet [--contact <id> | --contact-file contact.json] [--yes] [--no-wait] [flags]\n buy a domain and wait for it to serve the app. with\n --not-yet, buy it without pointing it at an app yet. buy\n needs one of --app or --not-yet. --contact <id> registers\n it to that saved contact; with neither contact flag, buy\n uses the one used last\n\n attach --app <a> [--route <r>] [--wildcard] [--catchall] [--platform] [flags] <hostname>\n claim a customer's hostname for the app, pointed at\n --route (default: the app's single instance record, if it\n has exactly one — otherwise --route is required).\n --wildcard/--catchall are capability flips: naming either\n one changes it, an unset flag leaves it as it was.\n --platform attaches a hostname in this deployment's own\n domains. Platform operators only.\n Where the deployment requires proof of control, the\n hostname is not served until you add the TXT record\n attach prints.\n attach --app <a> '*.<parent>'\n an instance catch-all: each of the app's instances also\n answers at <label>.<parent>, where <label> is its host's\n first label. <parent> must already be attached to an app\n in this account. Signed-in people only; takes no other\n flag. Detach it with: detach --app <a> '*.<parent>'.\n verify --app <a> [--channel <c>] [flags] <hostname>\n check the TXT record and, once it is there, make the\n hostname live. --channel is for a hostname that will be\n the app's first route, when the app follows several.\n detach --app <a> [flags] <hostname>\n release a hostname claim\n list [--app <a> | --all] [flags]\n an app's hostname claims, joined to the fleet's own\n readings sweep (DNS/CERT-EXPIRES/WILDCARD/CATCHALL/DELEGATION).\n without --app, the configured app or the account's only\n app. with --all, or when no app is found, every domain\n the account uses: bought here, being bought, or\n registered elsewhere, each with its addresses\n point <domain> --app <a> [flags]\n point a domain bought here at an app. its domain and its\n www serve the app. owners only\n contacts [list | add --file contact.json | edit <id> --file contact.json | remove <id>] [flags]\n the contacts saved for registering domains. owners only\n paths --app <a> [flags] <hostname>\n the leading path segments this hostname's traffic is split\n by, as PUBLISHED. Read-only: the platform that owns the\n hostname republishes the whole map, so there is no verb\n here that writes one.\n placements --app <a> [--set <region>=<instance>]... [--wildcard] [--catchall] [flags] <hostname>\n without --set, shows which instance serves the hostname in\n each region, whether it is ready, and the addresses to\n point DNS at. with --set, makes the hostname a regional\n domain. each region serves it from the instance named for\n it, and a request is never sent to another region. give\n the whole set every time. --wildcard and --catchall take\n effect only when the domain is created.\n\n --account <a> account (sqid or name; default \"ops\")\n --account-id <id> account sqid, matched as a sqid ONLY\n --console <origin> console to act through (default: the only logged-in one)\n\nSigned-in only (carlos auth login): a claim is a console-authorized write —\nthe console checks the hostname against the deploy's deny list, resolves the\nroute, and writes it. The hostname comes live on the box that owns the route\nat its next domains pass.\n"}
+{"case":"domains | bare","argv":["domains"],"exit":1,"stdout":"","stderr":"usage: carlos domains <check|buy|attach|verify|detach|list|point|contacts|paths|placements> [flags]\n\n check <name> [--country <cc>] [flags]\n check availability and the price for one year\n buy <name> --app <a> [--contact <id> | --contact-file contact.json] [--yes] [--no-wait] [flags]\n buy <name> --not-yet [--contact <id> | --contact-file contact.json] [--yes] [--no-wait] [flags]\n buy a domain and wait for it to serve the app. with\n --not-yet, buy it without pointing it at an app yet. buy\n needs one of --app or --not-yet. --contact <id> registers\n it to that saved contact; with neither contact flag, buy\n uses the one used last\n\n attach --app <a> [--route <r>] [--wildcard] [--catchall] [--platform] [flags] <hostname>\n claim a customer's hostname for the app, pointed at\n --route (default: the app's single instance record, if it\n has exactly one — otherwise --route is required).\n --wildcard/--catchall are capability flips: naming either\n one changes it, an unset flag leaves it as it was.\n --platform attaches a hostname in this deployment's own\n domains. Platform operators only.\n Where the deployment requires proof of control, the\n hostname is not served until you add the TXT record\n attach prints.\n attach --app <a> '*.<parent>'\n an instance catch-all: each of the app's instances also\n answers at <label>.<parent>, where <label> is its host's\n first label. <parent> must already be attached to an app\n in this account. Signed-in people only; takes no other\n flag. Detach it with: detach --app <a> '*.<parent>'.\n verify --app <a> [--channel <c>] [flags] <hostname>\n check the TXT record and, once it is there, make the\n hostname live. --channel is for a hostname that will be\n the app's first route, when the app follows several.\n detach --app <a> [flags] <hostname>\n release a hostname claim\n list [--app <a> | --all] [flags]\n an app's hostname claims, joined to the fleet's own\n readings sweep (DNS/CERT-EXPIRES/WILDCARD/CATCHALL/DELEGATION).\n without --app, the configured app or the account's only\n app. with --all, or when no app is found, every domain\n the account uses: bought here, being bought, or\n registered elsewhere, each with its addresses\n point <domain> --app <a> [flags]\n point a domain bought here at an app. its domain and its\n www serve the app. owners only\n contacts [list | add --file contact.json | edit <id> --file contact.json | remove <id>] [flags]\n the contacts saved for registering domains. owners only\n paths --app <a> [flags] <hostname>\n the leading path segments this hostname's traffic is split\n by, as PUBLISHED. Read-only: the platform that owns the\n hostname republishes the whole map, so there is no verb\n here that writes one.\n placements --app <a> [--set <region>=<instance>]... [--wildcard] [--catchall] [flags] <hostname>\n without --set, shows which instance serves the hostname in\n each region, whether it is ready, and the addresses to\n point DNS at. with --set, makes the hostname a regional\n domain. each region serves it from the instance named for\n it, and a request is never sent to another region. give\n the whole set every time. --wildcard and --catchall take\n effect only when the domain is created.\n\n --account <a> account (sqid or name; default \"ops\")\n --account-id <id> account sqid, matched as a sqid ONLY\n --console <origin> console to act through (default: the only logged-in one)\n\nSigned-in only (carlos auth login): a claim is a console-authorized write —\nthe console checks the hostname against the deploy's deny list, resolves the\nroute, and writes it. The hostname comes live on the box that owns the route\nat its next domains pass.\n"}
+{"case":"domains | help","argv":["domains","help"],"exit":1,"stdout":"","stderr":"usage: carlos domains <check|buy|attach|verify|detach|list|point|contacts|paths|placements> [flags]\n\n check <name> [--country <cc>] [flags]\n check availability and the price for one year\n buy <name> --app <a> [--contact <id> | --contact-file contact.json] [--yes] [--no-wait] [flags]\n buy <name> --not-yet [--contact <id> | --contact-file contact.json] [--yes] [--no-wait] [flags]\n buy a domain and wait for it to serve the app. with\n --not-yet, buy it without pointing it at an app yet. buy\n needs one of --app or --not-yet. --contact <id> registers\n it to that saved contact; with neither contact flag, buy\n uses the one used last\n\n attach --app <a> [--route <r>] [--wildcard] [--catchall] [--platform] [flags] <hostname>\n claim a customer's hostname for the app, pointed at\n --route (default: the app's single instance record, if it\n has exactly one — otherwise --route is required).\n --wildcard/--catchall are capability flips: naming either\n one changes it, an unset flag leaves it as it was.\n --platform attaches a hostname in this deployment's own\n domains. Platform operators only.\n Where the deployment requires proof of control, the\n hostname is not served until you add the TXT record\n attach prints.\n attach --app <a> '*.<parent>'\n an instance catch-all: each of the app's instances also\n answers at <label>.<parent>, where <label> is its host's\n first label. <parent> must already be attached to an app\n in this account. Signed-in people only; takes no other\n flag. Detach it with: detach --app <a> '*.<parent>'.\n verify --app <a> [--channel <c>] [flags] <hostname>\n check the TXT record and, once it is there, make the\n hostname live. --channel is for a hostname that will be\n the app's first route, when the app follows several.\n detach --app <a> [flags] <hostname>\n release a hostname claim\n list [--app <a> | --all] [flags]\n an app's hostname claims, joined to the fleet's own\n readings sweep (DNS/CERT-EXPIRES/WILDCARD/CATCHALL/DELEGATION).\n without --app, the configured app or the account's only\n app. with --all, or when no app is found, every domain\n the account uses: bought here, being bought, or\n registered elsewhere, each with its addresses\n point <domain> --app <a> [flags]\n point a domain bought here at an app. its domain and its\n www serve the app. owners only\n contacts [list | add --file contact.json | edit <id> --file contact.json | remove <id>] [flags]\n the contacts saved for registering domains. owners only\n paths --app <a> [flags] <hostname>\n the leading path segments this hostname's traffic is split\n by, as PUBLISHED. Read-only: the platform that owns the\n hostname republishes the whole map, so there is no verb\n here that writes one.\n placements --app <a> [--set <region>=<instance>]... [--wildcard] [--catchall] [flags] <hostname>\n without --set, shows which instance serves the hostname in\n each region, whether it is ready, and the addresses to\n point DNS at. with --set, makes the hostname a regional\n domain. each region serves it from the instance named for\n it, and a request is never sent to another region. give\n the whole set every time. --wildcard and --catchall take\n effect only when the domain is created.\n\n --account <a> account (sqid or name; default \"ops\")\n --account-id <id> account sqid, matched as a sqid ONLY\n --console <origin> console to act through (default: the only logged-in one)\n\nSigned-in only (carlos auth login): a claim is a console-authorized write —\nthe console checks the hostname against the deploy's deny list, resolves the\nroute, and writes it. The hostname comes live on the box that owns the route\nat its next domains pass.\n"}
+{"case":"domains | zz-unknown","argv":["domains","zz-unknown"],"exit":1,"stdout":"","stderr":"usage: carlos domains <check|buy|attach|verify|detach|list|point|contacts|paths|placements> [flags]\n\n check <name> [--country <cc>] [flags]\n check availability and the price for one year\n buy <name> --app <a> [--contact <id> | --contact-file contact.json] [--yes] [--no-wait] [flags]\n buy <name> --not-yet [--contact <id> | --contact-file contact.json] [--yes] [--no-wait] [flags]\n buy a domain and wait for it to serve the app. with\n --not-yet, buy it without pointing it at an app yet. buy\n needs one of --app or --not-yet. --contact <id> registers\n it to that saved contact; with neither contact flag, buy\n uses the one used last\n\n attach --app <a> [--route <r>] [--wildcard] [--catchall] [--platform] [flags] <hostname>\n claim a customer's hostname for the app, pointed at\n --route (default: the app's single instance record, if it\n has exactly one — otherwise --route is required).\n --wildcard/--catchall are capability flips: naming either\n one changes it, an unset flag leaves it as it was.\n --platform attaches a hostname in this deployment's own\n domains. Platform operators only.\n Where the deployment requires proof of control, the\n hostname is not served until you add the TXT record\n attach prints.\n attach --app <a> '*.<parent>'\n an instance catch-all: each of the app's instances also\n answers at <label>.<parent>, where <label> is its host's\n first label. <parent> must already be attached to an app\n in this account. Signed-in people only; takes no other\n flag. Detach it with: detach --app <a> '*.<parent>'.\n verify --app <a> [--channel <c>] [flags] <hostname>\n check the TXT record and, once it is there, make the\n hostname live. --channel is for a hostname that will be\n the app's first route, when the app follows several.\n detach --app <a> [flags] <hostname>\n release a hostname claim\n list [--app <a> | --all] [flags]\n an app's hostname claims, joined to the fleet's own\n readings sweep (DNS/CERT-EXPIRES/WILDCARD/CATCHALL/DELEGATION).\n without --app, the configured app or the account's only\n app. with --all, or when no app is found, every domain\n the account uses: bought here, being bought, or\n registered elsewhere, each with its addresses\n point <domain> --app <a> [flags]\n point a domain bought here at an app. its domain and its\n www serve the app. owners only\n contacts [list | add --file contact.json | edit <id> --file contact.json | remove <id>] [flags]\n the contacts saved for registering domains. owners only\n paths --app <a> [flags] <hostname>\n the leading path segments this hostname's traffic is split\n by, as PUBLISHED. Read-only: the platform that owns the\n hostname republishes the whole map, so there is no verb\n here that writes one.\n placements --app <a> [--set <region>=<instance>]... [--wildcard] [--catchall] [flags] <hostname>\n without --set, shows which instance serves the hostname in\n each region, whether it is ready, and the addresses to\n point DNS at. with --set, makes the hostname a regional\n domain. each region serves it from the instance named for\n it, and a request is never sent to another region. give\n the whole set every time. --wildcard and --catchall take\n effect only when the domain is created.\n\n --account <a> account (sqid or name; default \"ops\")\n --account-id <id> account sqid, matched as a sqid ONLY\n --console <origin> console to act through (default: the only logged-in one)\n\nSigned-in only (carlos auth login): a claim is a console-authorized write —\nthe console checks the hostname against the deploy's deny list, resolves the\nroute, and writes it. The hostname comes live on the box that owns the route\nat its next domains pass.\n"}
{"case":"economics backhaul | --zz-unknown-flag","argv":["economics","backhaul","--zz-unknown-flag"],"exit":2,"stdout":"","stderr":"flag provided but not defined: -zz-unknown-flag\nusage: carlos economics backhaul [--period mtd|last|7d] [--console <origin>]\n\nShows what serving through region edges costs the platform this period:\nthe part of every account's egress that was backhauled from its home box\n(usage.EdgeRow's hop subset — inside the egress totals, never on top),\npriced at the rate card's inter-region $/GB (the extra leg; the home box's\nbytes are already egress) and ABSORBED — it is in nobody's bill (#284).\nOperator only; a non-operator's token gets the same bare 404 an unknown\nroute gets.\nflags:\n --console <string> console to ask (default: the only logged-in one)\n --destination, -d <name> use the named block from .carlos/config's destinations (default: CARLOS_DESTINATION, else the file's default or only one)\n --period <string> mtd (default), last, or 7d\n"}
{"case":"economics backhaul | -h","argv":["economics","backhaul","-h"],"exit":0,"stdout":"","stderr":"usage: carlos economics backhaul [--period mtd|last|7d] [--console <origin>]\n\nShows what serving through region edges costs the platform this period:\nthe part of every account's egress that was backhauled from its home box\n(usage.EdgeRow's hop subset — inside the egress totals, never on top),\npriced at the rate card's inter-region $/GB (the extra leg; the home box's\nbytes are already egress) and ABSORBED — it is in nobody's bill (#284).\nOperator only; a non-operator's token gets the same bare 404 an unknown\nroute gets.\nflags:\n --console <string> console to ask (default: the only logged-in one)\n --destination, -d <name> use the named block from .carlos/config's destinations (default: CARLOS_DESTINATION, else the file's default or only one)\n --period <string> mtd (default), last, or 7d\n"}
{"case":"economics bill | --zz-unknown-flag","argv":["economics","bill","--zz-unknown-flag"],"exit":2,"stdout":"","stderr":"flag provided but not defined: -zz-unknown-flag\nusage: carlos economics bill --month <YYYY-MM> --total <usd> [--line Service=usd ...] [--basis account|whole] [--console <origin>]\n carlos economics backhaul [--period mtd|last|7d] [--console <origin>]\n\nRecords one month's AWS bill for the economics dashboard. Operator only: the\nconsole answers a non-operator's token with the same bare 404 it gives an\nunknown route (it must not be probeable), so \"not found\" here almost always\nmeans your account lacks the fleet-operator bit.\n\nA manual entry always overwrites whatever the console already holds for that\nmonth — a previous Cost Explorer pull or an earlier manual entry alike.\nflags:\n --basis <string> what the total covers: account (the whole account, which runs only CARLOS) or whole (the whole account, CARLOS and other things)\n --console <string> console to record through (default: the only logged-in one)\n --destination, -d <name> use the named block from .carlos/config's destinations (default: CARLOS_DESTINATION, else the file's default or only one)\n --line <value> one line item, repeatable: Service=usd\n --month <string> billing month, YYYY-MM (required)\n --total <float> invoice total in US dollars (required)\n"}
@@ -529,7 +529,7 @@
{"case":"links | zz-unknown","argv":["links","zz-unknown"],"exit":1,"stdout":"","stderr":"usage: carlos links ls --account <account>\n"}
{"case":"logs | --zz-unknown-flag","argv":["logs","--zz-unknown-flag"],"exit":2,"stdout":"","stderr":"flag provided but not defined: -zz-unknown-flag\nusage: carlos logs --app <a> [flags]\n\nShows the newest lines first-to-last: the app's own stdout/stderr (\"app\")\nmerged with the platform's events about it (\"platform\" — wakes, restarts,\nfailures with the reason). A site served from files alone has no app\nstream; platform events still appear.\nflags:\n --account <string> account (sqid or name) the app belongs to (default: your only account, or the configured/chosen one)\n --account-id <string> account sqid, matched as a sqid ONLY — supersedes --account\n --app, -a <string> app whose logs to read\n --console <string> console to read through (default: the only logged-in one)\n --destination, -d <name> use the named block from .carlos/config's destinations (default: CARLOS_DESTINATION, else the file's default or only one)\n -f follow: poll for new lines until interrupted\n --field <value> only structured lines with this k=v field (repeatable)\n --grep <string> only messages matching this RE2 pattern\n --host <string> only one instance (route host)\n --level <string> minimum level: debug | info | warn | error\n -n <int> at most this many lines (default 1000, max 5000)\n --since <string> window start: duration back from now, or RFC3339 (default: 1h)\n --stream <string> only one stream: app | platform | edge | release\n --until <string> window end (default: now)\n"}
{"case":"logs | -h","argv":["logs","-h"],"exit":0,"stdout":"","stderr":"usage: carlos logs --app <a> [flags]\n\nShows the newest lines first-to-last: the app's own stdout/stderr (\"app\")\nmerged with the platform's events about it (\"platform\" — wakes, restarts,\nfailures with the reason). A site served from files alone has no app\nstream; platform events still appear.\nflags:\n --account <string> account (sqid or name) the app belongs to (default: your only account, or the configured/chosen one)\n --account-id <string> account sqid, matched as a sqid ONLY — supersedes --account\n --app, -a <string> app whose logs to read\n --console <string> console to read through (default: the only logged-in one)\n --destination, -d <name> use the named block from .carlos/config's destinations (default: CARLOS_DESTINATION, else the file's default or only one)\n -f follow: poll for new lines until interrupted\n --field <value> only structured lines with this k=v field (repeatable)\n --grep <string> only messages matching this RE2 pattern\n --host <string> only one instance (route host)\n --level <string> minimum level: debug | info | warn | error\n -n <int> at most this many lines (default 1000, max 5000)\n --since <string> window start: duration back from now, or RFC3339 (default: 1h)\n --stream <string> only one stream: app | platform | edge | release\n --until <string> window end (default: now)\n"}
-{"case":"mailer serve | skipped","skipped":"starts the mailer server; it reads no arguments, -h included"}
+{"case":"mailer serve | skipped","skipped":"starts the mailer server; it reads no arguments, -h included","stdout":"","stderr":""}
{"case":"mailer | --help","argv":["mailer","--help"],"exit":0,"stdout":"usage: carlos mailer serve\n\n serve run the box-local mailer (what carlos-mailer.service execs; not\n typed by hand). It takes its socket from systemd and admits only\n the agent's main process.\n","stderr":""}
{"case":"mailer | --zz-unknown-flag","argv":["mailer","--zz-unknown-flag"],"exit":2,"stdout":"","stderr":"usage: carlos mailer serve\n\n serve run the box-local mailer (what carlos-mailer.service execs; not\n typed by hand). It takes its socket from systemd and admits only\n the agent's main process.\n"}
{"case":"mailer | -h","argv":["mailer","-h"],"exit":0,"stdout":"usage: carlos mailer serve\n\n serve run the box-local mailer (what carlos-mailer.service execs; not\n typed by hand). It takes its socket from systemd and admits only\n the agent's main process.\n","stderr":""}
@@ -657,10 +657,10 @@
{"case":"relay disable | -h","argv":["relay","disable","-h"],"exit":0,"stdout":"","stderr":"usage: carlos relay disable [flags]\nflags:\n --account <string> account (sqid or name) the app belongs to (default: your only account, or the configured/chosen one; ops in direct mode)\n --account-id <string> account sqid, matched as a sqid ONLY — supersedes --account; this is the flag an ambiguity error tells you to use\n --app, -a <string> app to disable the relay for\n --console <string> console origin to disable through (API mode only; default: the only logged-in one)\n --destination, -d <name> use the named block from .carlos/config's destinations (default: CARLOS_DESTINATION, else the file's default or only one)\n --registry <string> registry database (resolves --account) (default: $DIR/data/registry.db)\n"}
{"case":"relay enable | --zz-unknown-flag","argv":["relay","enable","--zz-unknown-flag"],"exit":2,"stdout":"","stderr":"flag provided but not defined: -zz-unknown-flag\nusage: carlos relay enable [flags]\nflags:\n --account <string> account (sqid or name) the app belongs to (default: your only account, or the configured/chosen one; ops in direct mode)\n --account-id <string> account sqid, matched as a sqid ONLY — supersedes --account; this is the flag an ambiguity error tells you to use\n --app, -a <string> app to enable the relay for\n --console <string> console origin to enable through (API mode only; default: the only logged-in one)\n --destination, -d <name> use the named block from .carlos/config's destinations (default: CARLOS_DESTINATION, else the file's default or only one)\n --regions <string> comma-separated regions to enable (default: every region this deployment arms)\n --registry <string> registry database (resolves --account) (default: $DIR/data/registry.db)\n"}
{"case":"relay enable | -h","argv":["relay","enable","-h"],"exit":0,"stdout":"","stderr":"usage: carlos relay enable [flags]\nflags:\n --account <string> account (sqid or name) the app belongs to (default: your only account, or the configured/chosen one; ops in direct mode)\n --account-id <string> account sqid, matched as a sqid ONLY — supersedes --account; this is the flag an ambiguity error tells you to use\n --app, -a <string> app to enable the relay for\n --console <string> console origin to enable through (API mode only; default: the only logged-in one)\n --destination, -d <name> use the named block from .carlos/config's destinations (default: CARLOS_DESTINATION, else the file's default or only one)\n --regions <string> comma-separated regions to enable (default: every region this deployment arms)\n --registry <string> registry database (resolves --account) (default: $DIR/data/registry.db)\n"}
-{"case":"relay keygen | skipped","skipped":"mints a fresh key on every run; it reads no arguments, -h included"}
+{"case":"relay keygen | skipped","skipped":"mints a fresh key on every run; it reads no arguments, -h included","stdout":"","stderr":""}
{"case":"relay rotate | --zz-unknown-flag","argv":["relay","rotate","--zz-unknown-flag"],"exit":2,"stdout":"","stderr":"flag provided but not defined: -zz-unknown-flag\nusage: carlos relay rotate [flags]\nflags:\n --console <string> console origin to rotate through (API mode only; default: the only logged-in one)\n --destination, -d <name> use the named block from .carlos/config's destinations (default: CARLOS_DESTINATION, else the file's default or only one)\n --region <string> region whose issuer pointer to move onto the newly staged master\n"}
{"case":"relay rotate | -h","argv":["relay","rotate","-h"],"exit":0,"stdout":"","stderr":"usage: carlos relay rotate [flags]\nflags:\n --console <string> console origin to rotate through (API mode only; default: the only logged-in one)\n --destination, -d <name> use the named block from .carlos/config's destinations (default: CARLOS_DESTINATION, else the file's default or only one)\n --region <string> region whose issuer pointer to move onto the newly staged master\n"}
-{"case":"relay serve | skipped","skipped":"starts the relay server; it reads no arguments, -h included"}
+{"case":"relay serve | skipped","skipped":"starts the relay server; it reads no arguments, -h included","stdout":"","stderr":""}
{"case":"relay status | --zz-unknown-flag","argv":["relay","status","--zz-unknown-flag"],"exit":2,"stdout":"","stderr":"flag provided but not defined: -zz-unknown-flag\nusage: carlos relay status [flags]\nflags:\n --account <string> account (sqid or name) the app belongs to (default: your only account, or the configured/chosen one; ops in direct mode)\n --account-id <string> account sqid, matched as a sqid ONLY — supersedes --account; this is the flag an ambiguity error tells you to use\n --app, -a <string> app whose relay to show\n --console <string> console origin to read through (API mode only; default: the only logged-in one)\n --destination, -d <name> use the named block from .carlos/config's destinations (default: CARLOS_DESTINATION, else the file's default or only one)\n --registry <string> registry database (resolves --account) (default: $DIR/data/registry.db)\n"}
{"case":"relay status | -h","argv":["relay","status","-h"],"exit":0,"stdout":"","stderr":"usage: carlos relay status [flags]\nflags:\n --account <string> account (sqid or name) the app belongs to (default: your only account, or the configured/chosen one; ops in direct mode)\n --account-id <string> account sqid, matched as a sqid ONLY — supersedes --account; this is the flag an ambiguity error tells you to use\n --app, -a <string> app whose relay to show\n --console <string> console origin to read through (API mode only; default: the only logged-in one)\n --destination, -d <name> use the named block from .carlos/config's destinations (default: CARLOS_DESTINATION, else the file's default or only one)\n --registry <string> registry database (resolves --account) (default: $DIR/data/registry.db)\n"}
{"case":"relay | --help","argv":["relay","--help"],"exit":0,"stdout":"usage: carlos relay <enable|status|disable|adopted|rotate|keygen|serve> [flags]\n\n enable --app <a> [--regions <r1,r2>]\n turn the relay on for one app and deliver CARLOS_RELAY to its\n config. Regions default to every one this deployment arms, in the\n console's order — the order every browser tries them in.\n status --app <a>\n what was issued per region, what each route has done about it,\n and each region relay's heartbeat, lease and loaded masters. The\n only sight of any of that without box access.\n disable --app <a>\n remove the key. Every allocation the app holds ends on the\n relays' next authority read, within a minute.\n adopted --app <a> --host <route>\n tell the platform that a TCP-address route you restarted by hand\n now runs the issued key. The one route shape this platform cannot\n restart for you, so the acknowledgement has to come from you.\n rotate --region <r>\n operator: move the region's issuer pointer onto the newly staged\n master and re-issue every app enabled there. Needs an address on\n CARLOS_RELAY_OPERATORS; anyone else meets the same 404 as an\n unknown console door, never a 403.\n keygen mint a region master: one \"<kid> <base64 key> -\" line for\n /etc/carlos/relay-masters and the same pair for the console's\n CARLOS_RELAY_MASTERS_<REGION> secret, which holds every master the\n console may need as <kid>:<key>[,<kid>:<key>].\n serve run the relay (what carlos-relay.service execs; not typed by hand)\n\n --account <sqid|name> account the app belongs to (default: your only\n account, or the configured/chosen one)\n --account-id <sqid> account sqid, matched as a sqid ONLY.\n --console <origin> which logged-in console to use (only needed with\n several)\n\nenable, status, disable, adopted and rotate are signed-in only\n(carlos auth login): the relay's keys are derived from a master the console\nholds and sealed with the deployment's secrets key, so there is no\ndirect-bucket equivalent.\n","stderr":""}
@@ -709,7 +709,7 @@
{"case":"schedule | zz-unknown","argv":["schedule","zz-unknown"],"exit":1,"stdout":"","stderr":"usage: carlos schedule <ls|set|rm|run> [flags]\n\n ls --app <a> [flags]\n this app's declared schedules, plus what each instance\n reports it will do next and what happened last\n set --app <a> --name <n> (--every <dur> [--aligned] | --cron \"<5 fields>\") --path </p> [flags]\n declare a schedule, or replace one already declared under\n the same name. an --every schedule is spread: each\n instance fires at its own fixed point in the period, so\n the app's instances are not all woken at once. --aligned\n fires every instance together on the period's boundary\n rm --app <a> --name <n> [flags]\n remove a declared schedule\n run --app <a> --name <n> [flags]\n request an out-of-band run on every instance now, on top\n of its normal schedule\n\n --account <a> account (sqid or name; default \"ops\")\n --account-id <id> account sqid, matched as a sqid ONLY\n --console <origin> console to act through (default: the only logged-in one)\n\nSigned-in only (carlos auth login): a schedule is a console-authorized write,\nthe same shape as carlos restart — boxes act on it within seconds. The write\nitself wakes nothing; a box's runner wakes a hibernating instance when its\ntick is due (within ~15s of a run, or at the schedule's next occurrence).\n"}
{"case":"secrets fingerprint | --zz-unknown-flag","argv":["secrets","fingerprint","--zz-unknown-flag"],"exit":2,"stdout":"","stderr":"flag provided but not defined: -zz-unknown-flag\nusage: carlos secrets fingerprint [--file <path>]\nflags:\n --file <string> the host.env-style file holding CARLOS_SECRETS_KEY (default: /etc/carlos/host.env)\n"}
{"case":"secrets fingerprint | -h","argv":["secrets","fingerprint","-h"],"exit":0,"stdout":"","stderr":"usage: carlos secrets fingerprint [--file <path>]\nflags:\n --file <string> the host.env-style file holding CARLOS_SECRETS_KEY (default: /etc/carlos/host.env)\n"}
-{"case":"secrets genkey | skipped","skipped":"prints a freshly generated key pair: no two runs agree"}
+{"case":"secrets genkey | skipped","skipped":"prints a freshly generated key pair: no two runs agree","stdout":"","stderr":""}
{"case":"secrets list | --zz-unknown-flag","argv":["secrets","list","--zz-unknown-flag"],"exit":2,"stdout":"","stderr":"flag provided but not defined: -zz-unknown-flag\nusage: carlos secrets list [flags]\nflags:\n --account <string> account (sqid or name) the app belongs to (default: your only account, or the configured/chosen one; ops in direct mode)\n --account-id <string> account sqid, matched as a sqid ONLY — supersedes --account; this is the flag an ambiguity error tells you to use\n --app, -a <string> app name\n --console <string> console origin to work through (API mode only; default: the only logged-in one)\n --destination, -d <name> use the named block from .carlos/config's destinations (default: CARLOS_DESTINATION, else the file's default or only one)\n --digests add each secret's digest\n --environment, -e <string> named environment bundle to list (omit for the default bundle)\n --json print the bundle's secrets as JSON, including its version and every digest\n --registry <string> registry database (resolves --account) (default: $DIR/data/registry.db)\n"}
{"case":"secrets list | -h","argv":["secrets","list","-h"],"exit":0,"stdout":"","stderr":"usage: carlos secrets list [flags]\nflags:\n --account <string> account (sqid or name) the app belongs to (default: your only account, or the configured/chosen one; ops in direct mode)\n --account-id <string> account sqid, matched as a sqid ONLY — supersedes --account; this is the flag an ambiguity error tells you to use\n --app, -a <string> app name\n --console <string> console origin to work through (API mode only; default: the only logged-in one)\n --destination, -d <name> use the named block from .carlos/config's destinations (default: CARLOS_DESTINATION, else the file's default or only one)\n --digests add each secret's digest\n --environment, -e <string> named environment bundle to list (omit for the default bundle)\n --json print the bundle's secrets as JSON, including its version and every digest\n --registry <string> registry database (resolves --account) (default: $DIR/data/registry.db)\n"}
{"case":"secrets set | --zz-unknown-flag","argv":["secrets","set","--zz-unknown-flag"],"exit":2,"stdout":"","stderr":"flag provided but not defined: -zz-unknown-flag\nusage: carlos secrets set [flags]\nflags:\n --account <string> account (sqid or name) the app belongs to (default: your only account, or the configured/chosen one; ops in direct mode)\n --account-id <string> account sqid, matched as a sqid ONLY — supersedes --account; this is the flag an ambiguity error tells you to use\n --app, -a <string> app name\n --console <string> console origin to work through (API mode only; default: the only logged-in one)\n --destination, -d <name> use the named block from .carlos/config's destinations (default: CARLOS_DESTINATION, else the file's default or only one)\n --environment, -e <string> named environment bundle to set in (omit for the default bundle)\n --if-version <string> write only if the bundle is at this version (\"none\": only if it does not exist yet). needs a console\n --literal store a value that starts with its own key and = as it is\n --registry <string> registry database (resolves --account) (default: $DIR/data/registry.db)\n"}
@@ -899,21 +899,21 @@
{"case":"system geoip | extra","argv":["system","geoip"],"exit":2,"stdout":"","stderr":"system geoip: no verb given\n\nusage: carlos system <verb> [flags]\n carlos system router <verb> [flags]\n carlos system demos <status|serving on|serving off|takedown|takedown-status>\n carlos system managed-fleets <show|set --file f.json>\n carlos system antivirus <status|enable|disable|rotate-webhook-key> [flags]\n carlos system pdf status\n carlos system geoip <publish|status|off> [flags]\n carlos system seeds-floor publish --min-release <release>\n carlos system legacy-routes assign --name <name> --to <account>/<app>\n carlos system lifetimes cutover [--no-wait]\n carlos system hosts-used status\n carlos system named-units install <file>\n carlos system box role <box> <default|legacy|platform>\n carlos system box publish-record\n carlos system group role <region> <default|legacy>\n carlos system host-env <write|seed> --deployment <name> --region <code> [flags]\n\nThe platform's own binary (ops account owners and CARLOS_SYSTEM_OPERATORS):\n\n update promote a platform release to a channel; every box on it rolls itself\n status every box: platform, channel, running build, channel target, last apply outcome\n rollback point a channel back at the release before this one\n cancel-activation\n release a channel's activation reservation that was never\n published, so promote and rollback work again\n apply (root oneshot behind carlos-system-update.service; not for operators)\n layout migrate|revert|status: move every instance into its own directory\n and namespace, or back; see carlos system layout help\n seeds-floor publish --min-release <release>\n the first release whose boxes can place a seed, such as v0.27.0\n legacy-routes assign --name <name> --to <account>/<app>\n say which account and app the routes an operator filed by hand belong to\n lifetimes cutover [--no-wait]\n switch a console without host claims onto instance lifetimes,\n once, after the old console has stopped. Waits until they are on\n hosts-used status\n the hostname history: its mode, how many hostnames it has\n recorded, its closed fleets and its floor\n box role <box> <default|legacy|platform>\n whether new instances may be placed on a box. A legacy or\n platform box keeps the instances it has and takes no new ones\n group role <region> <default|legacy>\n the same for every box a region's group has enrolled, and for\n every box it enrolls later\n box publish-record\n run on a box as the agent user, with systemd-run -p User=carlos:\n publish its AWS-signed identity record to the deployment\n bucket, once. It never replaces or deletes a record\n\nA box a region's group launches (region HA):\n\n host-env write build host.env from the deployment's parameters (root)\n host-env seed copy a box's host.env into the deployment's parameters\n install-channel install the release this box's channel names (root)\n\nDeployment-wide settings (CARLOS_STORE_OPERATORS):\n\n pdf status\n\n antivirus status is object scanning wired, switched on, and answering?\n Reports wiring and policy separately, because they fail\n separately.\n antivirus enable turn object scanning on for this deployment. Refused if\n no engine is wired: a record claiming enabled with\n nothing behind it would report health where no scan can\n run.\n antivirus disable turn it off. Takes effect on the next tick — no restart,\n which is the point of the switch living in a record\n rather than in the unit file.\n antivirus rotate-webhook-key\n deliver the current master-derived callback secret to\n every scanning-enabled app, one bounded batch at a\n time. Skips apps already on that key, restarts the\n rest, and is safe to run again.\n\nPlatform GeoIP (ops account owners and CARLOS_SYSTEM_OPERATORS):\n\n geoip publish <file.mmdb> publish a MaxMind-format database (DB-IP Lite or\n GeoLite2) to every edge. -force skips the shrink check\n geoip status the published database, and whether every box\n strips forged headers and has it\n geoip off stop: edges drop the database and send no geo headers\n\nEnabling antivirus scans nothing by itself: a member still requests scanning\nfor their app, and an operator still grants it per store.\n\nThe platform is not an app: the console is updated with carlos deploy --app console.\n"}
{"case":"system geoip | help","argv":["system","geoip","help"],"exit":2,"stdout":"","stderr":"system geoip: unknown verb \"help\"\n\nusage: carlos system <verb> [flags]\n carlos system router <verb> [flags]\n carlos system demos <status|serving on|serving off|takedown|takedown-status>\n carlos system managed-fleets <show|set --file f.json>\n carlos system antivirus <status|enable|disable|rotate-webhook-key> [flags]\n carlos system pdf status\n carlos system geoip <publish|status|off> [flags]\n carlos system seeds-floor publish --min-release <release>\n carlos system legacy-routes assign --name <name> --to <account>/<app>\n carlos system lifetimes cutover [--no-wait]\n carlos system hosts-used status\n carlos system named-units install <file>\n carlos system box role <box> <default|legacy|platform>\n carlos system box publish-record\n carlos system group role <region> <default|legacy>\n carlos system host-env <write|seed> --deployment <name> --region <code> [flags]\n\nThe platform's own binary (ops account owners and CARLOS_SYSTEM_OPERATORS):\n\n update promote a platform release to a channel; every box on it rolls itself\n status every box: platform, channel, running build, channel target, last apply outcome\n rollback point a channel back at the release before this one\n cancel-activation\n release a channel's activation reservation that was never\n published, so promote and rollback work again\n apply (root oneshot behind carlos-system-update.service; not for operators)\n layout migrate|revert|status: move every instance into its own directory\n and namespace, or back; see carlos system layout help\n seeds-floor publish --min-release <release>\n the first release whose boxes can place a seed, such as v0.27.0\n legacy-routes assign --name <name> --to <account>/<app>\n say which account and app the routes an operator filed by hand belong to\n lifetimes cutover [--no-wait]\n switch a console without host claims onto instance lifetimes,\n once, after the old console has stopped. Waits until they are on\n hosts-used status\n the hostname history: its mode, how many hostnames it has\n recorded, its closed fleets and its floor\n box role <box> <default|legacy|platform>\n whether new instances may be placed on a box. A legacy or\n platform box keeps the instances it has and takes no new ones\n group role <region> <default|legacy>\n the same for every box a region's group has enrolled, and for\n every box it enrolls later\n box publish-record\n run on a box as the agent user, with systemd-run -p User=carlos:\n publish its AWS-signed identity record to the deployment\n bucket, once. It never replaces or deletes a record\n\nA box a region's group launches (region HA):\n\n host-env write build host.env from the deployment's parameters (root)\n host-env seed copy a box's host.env into the deployment's parameters\n install-channel install the release this box's channel names (root)\n\nDeployment-wide settings (CARLOS_STORE_OPERATORS):\n\n pdf status\n\n antivirus status is object scanning wired, switched on, and answering?\n Reports wiring and policy separately, because they fail\n separately.\n antivirus enable turn object scanning on for this deployment. Refused if\n no engine is wired: a record claiming enabled with\n nothing behind it would report health where no scan can\n run.\n antivirus disable turn it off. Takes effect on the next tick — no restart,\n which is the point of the switch living in a record\n rather than in the unit file.\n antivirus rotate-webhook-key\n deliver the current master-derived callback secret to\n every scanning-enabled app, one bounded batch at a\n time. Skips apps already on that key, restarts the\n rest, and is safe to run again.\n\nPlatform GeoIP (ops account owners and CARLOS_SYSTEM_OPERATORS):\n\n geoip publish <file.mmdb> publish a MaxMind-format database (DB-IP Lite or\n GeoLite2) to every edge. -force skips the shrink check\n geoip status the published database, and whether every box\n strips forged headers and has it\n geoip off stop: edges drop the database and send no geo headers\n\nEnabling antivirus scans nothing by itself: a member still requests scanning\nfor their app, and an operator still grants it per store.\n\nThe platform is not an app: the console is updated with carlos deploy --app console.\n"}
{"case":"system geoip | zz-unknown","argv":["system","geoip","zz-unknown"],"exit":2,"stdout":"","stderr":"system geoip: unknown verb \"zz-unknown\"\n\nusage: carlos system <verb> [flags]\n carlos system router <verb> [flags]\n carlos system demos <status|serving on|serving off|takedown|takedown-status>\n carlos system managed-fleets <show|set --file f.json>\n carlos system antivirus <status|enable|disable|rotate-webhook-key> [flags]\n carlos system pdf status\n carlos system geoip <publish|status|off> [flags]\n carlos system seeds-floor publish --min-release <release>\n carlos system legacy-routes assign --name <name> --to <account>/<app>\n carlos system lifetimes cutover [--no-wait]\n carlos system hosts-used status\n carlos system named-units install <file>\n carlos system box role <box> <default|legacy|platform>\n carlos system box publish-record\n carlos system group role <region> <default|legacy>\n carlos system host-env <write|seed> --deployment <name> --region <code> [flags]\n\nThe platform's own binary (ops account owners and CARLOS_SYSTEM_OPERATORS):\n\n update promote a platform release to a channel; every box on it rolls itself\n status every box: platform, channel, running build, channel target, last apply outcome\n rollback point a channel back at the release before this one\n cancel-activation\n release a channel's activation reservation that was never\n published, so promote and rollback work again\n apply (root oneshot behind carlos-system-update.service; not for operators)\n layout migrate|revert|status: move every instance into its own directory\n and namespace, or back; see carlos system layout help\n seeds-floor publish --min-release <release>\n the first release whose boxes can place a seed, such as v0.27.0\n legacy-routes assign --name <name> --to <account>/<app>\n say which account and app the routes an operator filed by hand belong to\n lifetimes cutover [--no-wait]\n switch a console without host claims onto instance lifetimes,\n once, after the old console has stopped. Waits until they are on\n hosts-used status\n the hostname history: its mode, how many hostnames it has\n recorded, its closed fleets and its floor\n box role <box> <default|legacy|platform>\n whether new instances may be placed on a box. A legacy or\n platform box keeps the instances it has and takes no new ones\n group role <region> <default|legacy>\n the same for every box a region's group has enrolled, and for\n every box it enrolls later\n box publish-record\n run on a box as the agent user, with systemd-run -p User=carlos:\n publish its AWS-signed identity record to the deployment\n bucket, once. It never replaces or deletes a record\n\nA box a region's group launches (region HA):\n\n host-env write build host.env from the deployment's parameters (root)\n host-env seed copy a box's host.env into the deployment's parameters\n install-channel install the release this box's channel names (root)\n\nDeployment-wide settings (CARLOS_STORE_OPERATORS):\n\n pdf status\n\n antivirus status is object scanning wired, switched on, and answering?\n Reports wiring and policy separately, because they fail\n separately.\n antivirus enable turn object scanning on for this deployment. Refused if\n no engine is wired: a record claiming enabled with\n nothing behind it would report health where no scan can\n run.\n antivirus disable turn it off. Takes effect on the next tick — no restart,\n which is the point of the switch living in a record\n rather than in the unit file.\n antivirus rotate-webhook-key\n deliver the current master-derived callback secret to\n every scanning-enabled app, one bounded batch at a\n time. Skips apps already on that key, restarts the\n rest, and is safe to run again.\n\nPlatform GeoIP (ops account owners and CARLOS_SYSTEM_OPERATORS):\n\n geoip publish <file.mmdb> publish a MaxMind-format database (DB-IP Lite or\n GeoLite2) to every edge. -force skips the shrink check\n geoip status the published database, and whether every box\n strips forged headers and has it\n geoip off stop: edges drop the database and send no geo headers\n\nEnabling antivirus scans nothing by itself: a member still requests scanning\nfor their app, and an operator still grants it per store.\n\nThe platform is not an app: the console is updated with carlos deploy --app console.\n"}
-{"case":"system group abandon | skipped","skipped":"refuses root and carlos boxes before it reads its arguments, -h included"}
-{"case":"system group cancel-drain | skipped","skipped":"refuses root and carlos boxes before it reads its arguments, -h included"}
-{"case":"system group close-lost | skipped","skipped":"refuses root and carlos boxes before it reads its arguments, -h included"}
-{"case":"system group plan | skipped","skipped":"refuses root and carlos boxes before it reads its arguments, -h included"}
-{"case":"system group probe | skipped","skipped":"refuses root and carlos boxes before it reads its arguments, -h included"}
-{"case":"system group remove | skipped","skipped":"refuses root and carlos boxes before it reads its arguments, -h included"}
-{"case":"system group replace | skipped","skipped":"refuses root and carlos boxes before it reads its arguments, -h included"}
-{"case":"system group resume | skipped","skipped":"refuses root and carlos boxes before it reads its arguments, -h included"}
-{"case":"system group return | skipped","skipped":"refuses root and carlos boxes before it reads its arguments, -h included"}
+{"case":"system group abandon | skipped","skipped":"refuses root and carlos boxes before it reads its arguments, -h included","stdout":"","stderr":""}
+{"case":"system group cancel-drain | skipped","skipped":"refuses root and carlos boxes before it reads its arguments, -h included","stdout":"","stderr":""}
+{"case":"system group close-lost | skipped","skipped":"refuses root and carlos boxes before it reads its arguments, -h included","stdout":"","stderr":""}
+{"case":"system group plan | skipped","skipped":"refuses root and carlos boxes before it reads its arguments, -h included","stdout":"","stderr":""}
+{"case":"system group probe | skipped","skipped":"refuses root and carlos boxes before it reads its arguments, -h included","stdout":"","stderr":""}
+{"case":"system group remove | skipped","skipped":"refuses root and carlos boxes before it reads its arguments, -h included","stdout":"","stderr":""}
+{"case":"system group replace | skipped","skipped":"refuses root and carlos boxes before it reads its arguments, -h included","stdout":"","stderr":""}
+{"case":"system group resume | skipped","skipped":"refuses root and carlos boxes before it reads its arguments, -h included","stdout":"","stderr":""}
+{"case":"system group return | skipped","skipped":"refuses root and carlos boxes before it reads its arguments, -h included","stdout":"","stderr":""}
{"case":"system group role x y --zz z | extra","argv":["system","group","role","x","y","--zz","z"],"exit":2,"stdout":"","stderr":"usage: carlos system <verb> [flags]\n carlos system router <verb> [flags]\n carlos system demos <status|serving on|serving off|takedown|takedown-status>\n carlos system managed-fleets <show|set --file f.json>\n carlos system antivirus <status|enable|disable|rotate-webhook-key> [flags]\n carlos system pdf status\n carlos system geoip <publish|status|off> [flags]\n carlos system seeds-floor publish --min-release <release>\n carlos system legacy-routes assign --name <name> --to <account>/<app>\n carlos system lifetimes cutover [--no-wait]\n carlos system hosts-used status\n carlos system named-units install <file>\n carlos system box role <box> <default|legacy|platform>\n carlos system box publish-record\n carlos system group role <region> <default|legacy>\n carlos system host-env <write|seed> --deployment <name> --region <code> [flags]\n\nThe platform's own binary (ops account owners and CARLOS_SYSTEM_OPERATORS):\n\n update promote a platform release to a channel; every box on it rolls itself\n status every box: platform, channel, running build, channel target, last apply outcome\n rollback point a channel back at the release before this one\n cancel-activation\n release a channel's activation reservation that was never\n published, so promote and rollback work again\n apply (root oneshot behind carlos-system-update.service; not for operators)\n layout migrate|revert|status: move every instance into its own directory\n and namespace, or back; see carlos system layout help\n seeds-floor publish --min-release <release>\n the first release whose boxes can place a seed, such as v0.27.0\n legacy-routes assign --name <name> --to <account>/<app>\n say which account and app the routes an operator filed by hand belong to\n lifetimes cutover [--no-wait]\n switch a console without host claims onto instance lifetimes,\n once, after the old console has stopped. Waits until they are on\n hosts-used status\n the hostname history: its mode, how many hostnames it has\n recorded, its closed fleets and its floor\n box role <box> <default|legacy|platform>\n whether new instances may be placed on a box. A legacy or\n platform box keeps the instances it has and takes no new ones\n group role <region> <default|legacy>\n the same for every box a region's group has enrolled, and for\n every box it enrolls later\n box publish-record\n run on a box as the agent user, with systemd-run -p User=carlos:\n publish its AWS-signed identity record to the deployment\n bucket, once. It never replaces or deletes a record\n\nA box a region's group launches (region HA):\n\n host-env write build host.env from the deployment's parameters (root)\n host-env seed copy a box's host.env into the deployment's parameters\n install-channel install the release this box's channel names (root)\n\nDeployment-wide settings (CARLOS_STORE_OPERATORS):\n\n pdf status\n\n antivirus status is object scanning wired, switched on, and answering?\n Reports wiring and policy separately, because they fail\n separately.\n antivirus enable turn object scanning on for this deployment. Refused if\n no engine is wired: a record claiming enabled with\n nothing behind it would report health where no scan can\n run.\n antivirus disable turn it off. Takes effect on the next tick — no restart,\n which is the point of the switch living in a record\n rather than in the unit file.\n antivirus rotate-webhook-key\n deliver the current master-derived callback secret to\n every scanning-enabled app, one bounded batch at a\n time. Skips apps already on that key, restarts the\n rest, and is safe to run again.\n\nPlatform GeoIP (ops account owners and CARLOS_SYSTEM_OPERATORS):\n\n geoip publish <file.mmdb> publish a MaxMind-format database (DB-IP Lite or\n GeoLite2) to every edge. -force skips the shrink check\n geoip status the published database, and whether every box\n strips forged headers and has it\n geoip off stop: edges drop the database and send no geo headers\n\nEnabling antivirus scans nothing by itself: a member still requests scanning\nfor their app, and an operator still grants it per store.\n\nThe platform is not an app: the console is updated with carlos deploy --app console.\n"}
{"case":"system group role | --zz-unknown-flag","argv":["system","group","role","--zz-unknown-flag"],"exit":2,"stdout":"","stderr":"usage: carlos system <verb> [flags]\n carlos system router <verb> [flags]\n carlos system demos <status|serving on|serving off|takedown|takedown-status>\n carlos system managed-fleets <show|set --file f.json>\n carlos system antivirus <status|enable|disable|rotate-webhook-key> [flags]\n carlos system pdf status\n carlos system geoip <publish|status|off> [flags]\n carlos system seeds-floor publish --min-release <release>\n carlos system legacy-routes assign --name <name> --to <account>/<app>\n carlos system lifetimes cutover [--no-wait]\n carlos system hosts-used status\n carlos system named-units install <file>\n carlos system box role <box> <default|legacy|platform>\n carlos system box publish-record\n carlos system group role <region> <default|legacy>\n carlos system host-env <write|seed> --deployment <name> --region <code> [flags]\n\nThe platform's own binary (ops account owners and CARLOS_SYSTEM_OPERATORS):\n\n update promote a platform release to a channel; every box on it rolls itself\n status every box: platform, channel, running build, channel target, last apply outcome\n rollback point a channel back at the release before this one\n cancel-activation\n release a channel's activation reservation that was never\n published, so promote and rollback work again\n apply (root oneshot behind carlos-system-update.service; not for operators)\n layout migrate|revert|status: move every instance into its own directory\n and namespace, or back; see carlos system layout help\n seeds-floor publish --min-release <release>\n the first release whose boxes can place a seed, such as v0.27.0\n legacy-routes assign --name <name> --to <account>/<app>\n say which account and app the routes an operator filed by hand belong to\n lifetimes cutover [--no-wait]\n switch a console without host claims onto instance lifetimes,\n once, after the old console has stopped. Waits until they are on\n hosts-used status\n the hostname history: its mode, how many hostnames it has\n recorded, its closed fleets and its floor\n box role <box> <default|legacy|platform>\n whether new instances may be placed on a box. A legacy or\n platform box keeps the instances it has and takes no new ones\n group role <region> <default|legacy>\n the same for every box a region's group has enrolled, and for\n every box it enrolls later\n box publish-record\n run on a box as the agent user, with systemd-run -p User=carlos:\n publish its AWS-signed identity record to the deployment\n bucket, once. It never replaces or deletes a record\n\nA box a region's group launches (region HA):\n\n host-env write build host.env from the deployment's parameters (root)\n host-env seed copy a box's host.env into the deployment's parameters\n install-channel install the release this box's channel names (root)\n\nDeployment-wide settings (CARLOS_STORE_OPERATORS):\n\n pdf status\n\n antivirus status is object scanning wired, switched on, and answering?\n Reports wiring and policy separately, because they fail\n separately.\n antivirus enable turn object scanning on for this deployment. Refused if\n no engine is wired: a record claiming enabled with\n nothing behind it would report health where no scan can\n run.\n antivirus disable turn it off. Takes effect on the next tick — no restart,\n which is the point of the switch living in a record\n rather than in the unit file.\n antivirus rotate-webhook-key\n deliver the current master-derived callback secret to\n every scanning-enabled app, one bounded batch at a\n time. Skips apps already on that key, restarts the\n rest, and is safe to run again.\n\nPlatform GeoIP (ops account owners and CARLOS_SYSTEM_OPERATORS):\n\n geoip publish <file.mmdb> publish a MaxMind-format database (DB-IP Lite or\n GeoLite2) to every edge. -force skips the shrink check\n geoip status the published database, and whether every box\n strips forged headers and has it\n geoip off stop: edges drop the database and send no geo headers\n\nEnabling antivirus scans nothing by itself: a member still requests scanning\nfor their app, and an operator still grants it per store.\n\nThe platform is not an app: the console is updated with carlos deploy --app console.\n"}
{"case":"system group role | -h","argv":["system","group","role","-h"],"exit":2,"stdout":"","stderr":"usage: carlos system <verb> [flags]\n carlos system router <verb> [flags]\n carlos system demos <status|serving on|serving off|takedown|takedown-status>\n carlos system managed-fleets <show|set --file f.json>\n carlos system antivirus <status|enable|disable|rotate-webhook-key> [flags]\n carlos system pdf status\n carlos system geoip <publish|status|off> [flags]\n carlos system seeds-floor publish --min-release <release>\n carlos system legacy-routes assign --name <name> --to <account>/<app>\n carlos system lifetimes cutover [--no-wait]\n carlos system hosts-used status\n carlos system named-units install <file>\n carlos system box role <box> <default|legacy|platform>\n carlos system box publish-record\n carlos system group role <region> <default|legacy>\n carlos system host-env <write|seed> --deployment <name> --region <code> [flags]\n\nThe platform's own binary (ops account owners and CARLOS_SYSTEM_OPERATORS):\n\n update promote a platform release to a channel; every box on it rolls itself\n status every box: platform, channel, running build, channel target, last apply outcome\n rollback point a channel back at the release before this one\n cancel-activation\n release a channel's activation reservation that was never\n published, so promote and rollback work again\n apply (root oneshot behind carlos-system-update.service; not for operators)\n layout migrate|revert|status: move every instance into its own directory\n and namespace, or back; see carlos system layout help\n seeds-floor publish --min-release <release>\n the first release whose boxes can place a seed, such as v0.27.0\n legacy-routes assign --name <name> --to <account>/<app>\n say which account and app the routes an operator filed by hand belong to\n lifetimes cutover [--no-wait]\n switch a console without host claims onto instance lifetimes,\n once, after the old console has stopped. Waits until they are on\n hosts-used status\n the hostname history: its mode, how many hostnames it has\n recorded, its closed fleets and its floor\n box role <box> <default|legacy|platform>\n whether new instances may be placed on a box. A legacy or\n platform box keeps the instances it has and takes no new ones\n group role <region> <default|legacy>\n the same for every box a region's group has enrolled, and for\n every box it enrolls later\n box publish-record\n run on a box as the agent user, with systemd-run -p User=carlos:\n publish its AWS-signed identity record to the deployment\n bucket, once. It never replaces or deletes a record\n\nA box a region's group launches (region HA):\n\n host-env write build host.env from the deployment's parameters (root)\n host-env seed copy a box's host.env into the deployment's parameters\n install-channel install the release this box's channel names (root)\n\nDeployment-wide settings (CARLOS_STORE_OPERATORS):\n\n pdf status\n\n antivirus status is object scanning wired, switched on, and answering?\n Reports wiring and policy separately, because they fail\n separately.\n antivirus enable turn object scanning on for this deployment. Refused if\n no engine is wired: a record claiming enabled with\n nothing behind it would report health where no scan can\n run.\n antivirus disable turn it off. Takes effect on the next tick — no restart,\n which is the point of the switch living in a record\n rather than in the unit file.\n antivirus rotate-webhook-key\n deliver the current master-derived callback secret to\n every scanning-enabled app, one bounded batch at a\n time. Skips apps already on that key, restarts the\n rest, and is safe to run again.\n\nPlatform GeoIP (ops account owners and CARLOS_SYSTEM_OPERATORS):\n\n geoip publish <file.mmdb> publish a MaxMind-format database (DB-IP Lite or\n GeoLite2) to every edge. -force skips the shrink check\n geoip status the published database, and whether every box\n strips forged headers and has it\n geoip off stop: edges drop the database and send no geo headers\n\nEnabling antivirus scans nothing by itself: a member still requests scanning\nfor their app, and an operator still grants it per store.\n\nThe platform is not an app: the console is updated with carlos deploy --app console.\n"}
-{"case":"system group roll | skipped","skipped":"refuses root and carlos boxes before it reads its arguments, -h included"}
-{"case":"system group rollback | skipped","skipped":"refuses root and carlos boxes before it reads its arguments, -h included"}
-{"case":"system group status | skipped","skipped":"refuses root and carlos boxes before it reads its arguments, -h included"}
+{"case":"system group roll | skipped","skipped":"refuses root and carlos boxes before it reads its arguments, -h included","stdout":"","stderr":""}
+{"case":"system group rollback | skipped","skipped":"refuses root and carlos boxes before it reads its arguments, -h included","stdout":"","stderr":""}
+{"case":"system group status | skipped","skipped":"refuses root and carlos boxes before it reads its arguments, -h included","stdout":"","stderr":""}
{"case":"system group | --help","argv":["system","group","--help"],"exit":0,"stdout":"Attended maintenance of one member of a region's Auto Scaling group: roll it to a new release, replace it, or remove it, one transaction at a time. Run it from the deployment's operator account.\n\n plan Read readiness and list refusals. It changes no group or box state.\n roll Roll one member to the named artifact.\n replace Drain one member, terminate it and let the group launch its replacement.\n remove Drain one member and terminate it without a replacement (scale-in).\n rollback Restore this transaction's old artifact while in Standby.\n resume Resume from the durable journal and current provider state.\n return Return an already restarted and admitted member.\n status Read the saved journal without contacting AWS.\n abandon Close a transaction that has no group write intent.\n close-lost Close an active transaction after confirming that its member is gone. Record failure.\n cancel-drain End a failed drain of this member: drain --cancel on the box, which lifts the fence.\n probe Probe an unchanged member through Auto Scaling Standby under the group lock.\n role <region> <default|legacy>\n","stderr":""}
{"case":"system group | --zz-unknown-flag","argv":["system","group","--zz-unknown-flag"],"exit":2,"stdout":"","stderr":"Attended maintenance of one member of a region's Auto Scaling group: roll it to a new release, replace it, or remove it, one transaction at a time. Run it from the deployment's operator account.\n\n plan Read readiness and list refusals. It changes no group or box state.\n roll Roll one member to the named artifact.\n replace Drain one member, terminate it and let the group launch its replacement.\n remove Drain one member and terminate it without a replacement (scale-in).\n rollback Restore this transaction's old artifact while in Standby.\n resume Resume from the durable journal and current provider state.\n return Return an already restarted and admitted member.\n status Read the saved journal without contacting AWS.\n abandon Close a transaction that has no group write intent.\n close-lost Close an active transaction after confirming that its member is gone. Record failure.\n cancel-drain End a failed drain of this member: drain --cancel on the box, which lifts the fence.\n probe Probe an unchanged member through Auto Scaling Standby under the group lock.\n role <region> <default|legacy>\n"}
{"case":"system group | -h","argv":["system","group","-h"],"exit":0,"stdout":"Attended maintenance of one member of a region's Auto Scaling group: roll it to a new release, replace it, or remove it, one transaction at a time. Run it from the deployment's operator account.\n\n plan Read readiness and list refusals. It changes no group or box state.\n roll Roll one member to the named artifact.\n replace Drain one member, terminate it and let the group launch its replacement.\n remove Drain one member and terminate it without a replacement (scale-in).\n rollback Restore this transaction's old artifact while in Standby.\n resume Resume from the durable journal and current provider state.\n return Return an already restarted and admitted member.\n status Read the saved journal without contacting AWS.\n abandon Close a transaction that has no group write intent.\n close-lost Close an active transaction after confirming that its member is gone. Record failure.\n cancel-drain End a failed drain of this member: drain --cancel on the box, which lifts the fence.\n probe Probe an unchanged member through Auto Scaling Standby under the group lock.\n role <region> <default|legacy>\n","stderr":""}