copy: account subdomains, refusal for labels that cannot be assigned
Luna pass, delegated per Paul's standing rule for plan CLI/UI copy.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
copy-review/LUNA-BRIEF-2.md+9 −0copy-review/LUNA-RESULT-2.md+3 −0copy-review/strings.json+8 −0docs/superpowers/plans/2026-11-11-account-subdomains-copy.json+5 −0
Intent
<task-notification> <task-id>a0d6dbb454405d9eb</task-id> <tool-use-id>toolu_01Lg2sqDBcdMxQ8aV6VmmgMZ</tool-use-id> <output-file>/home/paulca/.cache/tmp/claude-1001/-home-paulca-amadan-net-carlos-platform/709ac745-ee81-4971-97b8-321e18b19cf6/tasks/a0d6dbb454405d9eb.output</output-file> <status>completed</status> <summary>Agent "Implement Task 5: console enforcement" finished</summary> <note>A task-notification fires each time this agent stops with no live background children of its own. The user can send it another message and resume it, so the same task-id may notify more than once.</note> <result>Status: DONE_WITH_CONCERNS. The root-read census proposal needs a reviewer ruling, and the brief's `team` examples conflict with the spec. Commits: - c08affd6 provision: record walk under a host suffix (T5) - 1e7edcef console: the label under the apps domain is platform-owned (T5) Tests: all new tests pass (the brief's list plus three more). The existing door tests pass in two targeted batches covering attach, placements, catch-alls, instance create, lifetimes and TestClaimConsoleMutationInvariant. The record-write and root-read census tests pass with the new overlay, but that overlay is not approved yet. No existing test's expectation changed; seven test files only needed the new parameter added to their calls. Concerns: 1. **`team` can never be assigned.** It is sqid-shaped and under 7 letters, so §4.2 rule 2 refuses it as a name. The spec wins: the tests keep `team` for the refusal cases and use `marina` where a label must be held. The approved refusal text still tells the user to get `team` assigned, which no operator can do. This needs a copy decision. 2. **Boxes still trust a namespace claim on a sqid label.** The console now ignores such a claim, so a direct bucket write at `*.bdq.<apps>` cannot take over bdq's namespace at the doors. Boxes and the edge use `domains.AccountNamespaces`, which checks shape only. The fix belongs in that Task 2 function, which is outside this task's files. 3. **Restores under an unassigned label are refused**, because a restore creates a record. 4. The census proposal (internal/provision envelope re-pinned) is not approved. It needs the other-family reviewer's ruling on #280. Report: /home/paulca/amadan.net/carlos/platform/.claude/worktrees/design-account-name-hosts/.superpowers/sdd/2026-11-11-account-subdomains/task-5-report.md</result> <usage><subagent_tokens>399503</subagent_tokens><tool_uses>144</tool_uses><duration_ms>3003032</duration_ms></usage> </task-notification>
<task-notification> <task-id>bit1zg6w0</task-id> <tool-use-id>toolu_01UK6rhdrVuZAEvywKgtUTUu</tool-use-id> <output-file>/home/paulca/.cache/tmp/claude-1001/-home-paulca-amadan-net-carlos-platform/709ac745-ee81-4971-97b8-321e18b19cf6/tasks/bit1zg6w0.output</output-file> <status>completed</status> <summary>Background command "Package and run Astra + Fable review of T5" completed (exit code 0)</summary> </task-notification>
Attributed to this commit: 18.1 g CO₂e (2,199,544 tokens). This is an attribution, not a measurement — usage counted from this commit's own marker forward to the next one on design-account-name-hosts, never backward from it. A turn that produced more than one commit books all of its tokens to the last one, and a concurrent session on this branch can add to the same figure. Some of it was priced using the shared default rate, because no model-specific factor row exists yet for at least one model involved. The Carbon view has the repo total, which is never derived from this attribution.
diff --git a/copy-review/LUNA-BRIEF-2.md b/copy-review/LUNA-BRIEF-2.md| new file mode 100644 |
| index 000000000..30dc90975 |
| --- /dev/null |
| +++ b/copy-review/LUNA-BRIEF-2.md |
| @@ -0,0 +1,9 @@ |
| +# One more string: account subdomains |
| + |
| +Same house rules as copy-review/LUNA-BRIEF.md (no em dashes, lower-case CLI continuation after a full stop, plain words, keep %s). |
| + |
| +Context: someone tries to add a host (attach a domain, create an instance) at `x.<label>.<apps-domain>` where `<label>` belongs to no account AND can never be assigned as a subdomain (too short and sqid-like, or reserved such as `www`). The existing string for assignable labels is: "nothing can be added under %s until an account has that subdomain. ask a platform operator to assign it to this account". This one must not suggest assignment. %s is `<label>.<apps-domain>`. Point them at what they can use instead: the account's own app addresses or a custom domain. |
| + |
| +Draft: "nothing can be added under %s. use an address under the account's own label, or a custom domain" |
| + |
| +Answer with: the final text, then one line why. Do not edit files. |
diff --git a/copy-review/LUNA-RESULT-2.md b/copy-review/LUNA-RESULT-2.md| new file mode 100644 |
| index 000000000..d9c6fa180 |
| --- /dev/null |
| +++ b/copy-review/LUNA-RESULT-2.md |
| @@ -0,0 +1,3 @@ |
| +“nothing can be added under %s. use an address under the account's own label, or a custom domain” |
| + |
| +It explains the restriction and gives two valid alternatives without suggesting assignment. |
| \ No newline at end of file |
diff --git a/copy-review/strings.json b/copy-review/strings.json| index cb17159e2..651d2d65b 100644 |
| --- a/copy-review/strings.json |
| +++ b/copy-review/strings.json |
| @@ -270,5 +270,13 @@ |
| "text": "Permanent address", |
| "context": "Shown on app and instance pages under the app's main link when the account has a subdomain. Labels the sqid URL, which keeps working and never changes.", |
| "notes": "" |
| + }, |
| + { |
| + "id": "refuse.create.unassignable", |
| + "section": "Refusals: adding a host", |
| + "label": "label can never be assigned", |
| + "text": "nothing can be added under %s. use an address under the account's own label, or a custom domain", |
| + "context": "Same doors as refuse.create.unassigned, when the label can never be a subdomain (short and sqid-like, or reserved).", |
| + "notes": "" |
| } |
| ] |
| \ No newline at end of file |
diff --git a/docs/superpowers/plans/2026-11-11-account-subdomains-copy.json b/docs/superpowers/plans/2026-11-11-account-subdomains-copy.json| index 2f819dfbb..46e70ee8f 100644 |
| --- a/docs/superpowers/plans/2026-11-11-account-subdomains-copy.json |
| +++ b/docs/superpowers/plans/2026-11-11-account-subdomains-copy.json |
| @@ -174,6 +174,11 @@ |
| "ID": "console.app.sqid_url.label", |
| "File": "internal/console/subdomain_copy.go", |
| "Text": "Permanent address" |
| + }, |
| + { |
| + "ID": "refuse.create.unassignable", |
| + "File": "internal/console/subdomain_copy.go", |
| + "Text": "nothing can be added under %s. use an address under the account's own label, or a custom domain" |
| } |
| ] |
| } |
| \ No newline at end of file |