spec: account subdomains on every deployment, paid extra later
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
1 file changed,
+10
−3
docs/superpowers/specs/2026-11-11-account-subdomains-design.md+10 −3
Intent
Human
Yeah, later as a paid extra sounds nice.
Attributed to this commit: 7.16 g CO₂e (832,516 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/docs/superpowers/specs/2026-11-11-account-subdomains-design.md b/docs/superpowers/specs/2026-11-11-account-subdomains-design.md| index 9944d8036..47f5f1acb 100644 |
| --- a/docs/superpowers/specs/2026-11-11-account-subdomains-design.md |
| +++ b/docs/superpowers/specs/2026-11-11-account-subdomains-design.md |
| @@ -1,7 +1,9 @@ |
| # Account subdomains: `<app>.<name>.<apps-domain>` beside `<app>.<sqid>.<apps-domain>` |
| **Date:** 2026-11-11 |
| -**Status:** draft, branch `design-account-name-hosts`. Not reviewed. |
| +**Status:** draft for Paul's approval, branch `design-account-name-hosts`. |
| +Astra builder check done (`CODEX-FINDINGS-account-subdomains-builder-check.md`; |
| +all five questions answered in this revision). |
| ## 1. Why |
| @@ -54,7 +56,11 @@ logs and the sqid URLs, which keep working. |
| **Non-goals** |
| - Tenants choosing their own subdomain. Only a platform operator assigns |
| - one, which is what removes the squatting problem. |
| + one, which is what removes the squatting problem. This holds on shared |
| + platforms too: Paul (2026-11-11) wants operators there to be able to |
| + grant names, later as a paid extra. Billing and any self-serve purchase |
| + flow are a later spec; nothing here should make them harder (the door |
| + takes the account and the name, and does not care why it was granted). |
| - Replacing the sqid as identity anywhere (paths, flags, records, |
| manifests). |
| - Redirecting the sqid URL to the name URL. Both serve; an app that wants |
| @@ -304,7 +310,8 @@ it ships in; there is no switch (§4.3). |
| - The subdomain is its own value, not the account name (§4.2). |
| - Sqid-shaped names need 7+ letters (§4.2 rule 2). |
| -- Operator-only, no switch, available on every deployment (§4.3). |
| +- Operator-only, no switch (§4.3). Available on every deployment, |
| + shared platforms included, is Paul's decision (§3). |
| - Remove frees the name at once; no tombstone. It refuses while the |
| account still has hand-attached names under it (§4.3). |
| - The namespace is enforced on the boxes, not by locking the doors: a |