plan: account subdomains, Astra review brief round 1
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
1 file changed,
+39
−0
docs/superpowers/plans/CODEX-REVIEW-BRIEF-account-subdomains-plan.md+39 −0
CI passed — run details
Intent
Attributed to this commit: 31.4 g CO₂e (3,267,113 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/plans/CODEX-REVIEW-BRIEF-account-subdomains-plan.md b/docs/superpowers/plans/CODEX-REVIEW-BRIEF-account-subdomains-plan.md| new file mode 100644 |
| index 000000000..39fb20d8e |
| --- /dev/null |
| +++ b/docs/superpowers/plans/CODEX-REVIEW-BRIEF-account-subdomains-plan.md |
| @@ -0,0 +1,39 @@ |
| +# Review brief: account subdomains plan, round 1 of 3 |
| + |
| +Repo carlos/platform, branch `design-account-name-hosts`, commit a3261cd4f7e790b8468a9e5837c12e862b234cd0. |
| +Under review: `docs/superpowers/plans/2026-11-11-account-subdomains.md`. |
| +Authorities: the spec `docs/superpowers/specs/2026-11-11-account-subdomains-design.md` (approved by Paul 2026-11-11, on this branch; this plan implements it) and main's code. The instance catch-all spec `docs/superpowers/specs/2026-10-05-instance-catchall-design.md` is merged precedent. |
| + |
| +You are an independent reviewer. Read the plan and the spec, then the code the plan names, and check every claim against that code. |
| + |
| +## Fixed: do not re-argue |
| + |
| +- Paul's rulings, recorded in the spec: operator-only assignment on every deployment, shared platforms included (§3); the name URL is canonical on every platform surface where set, the sqid URL keeps serving, no redirect (§2, §4.8). |
| +- The builder-check questions already settled in the spec (`docs/superpowers/specs/CODEX-FINDINGS-account-subdomains-builder-check.md` and spec §8). |
| + |
| +## What to check |
| + |
| +1. Does each task's named file, line and signature match the code (aliases.go ReconcileAliasesReport, deriveInstanceAliases, deriveHAIngressAliases; claims.go attach/detach and the census tests; edge wildcard.go parentsFor and deploymentHosts; console domainpolicy.go, routedecls.go, apiaccountplan.go; CLI accounts.go)? A plan step that cannot be built as written is a P1. |
| +2. The namespace trust boundary: can any path still serve a name under a held subdomain for a different account (plain aliases, paths, wildcard/catchall, regional, HA ingress, instance catch-alls, first-route minting, edge routing of a route whose own host sits under the name)? |
| +3. Box derivation: route eligibility (Provisioned or Platform, sidecars, replicas, fleet-placed routes), precedence, the shared cap, listing-failure behaviour, the StartupNoRemoval sweep, and whether the derived rows reach every edge that must serve them (per-box scope; the edges file publishes only DNSStatus pointing). |
| +4. Certificates: will the edge actually order and serve `*.<name>.<apps-domain>` for derived hosts (issuer Allowed, wildcard cert selection by SNI for an alias host)? |
| +5. Console: the canonicalHost display-site list. Any site that shows an app URL and is missing, or any listed site that is identity and would break if changed. Claim cache staleness after set and remove. |
| +6. Task order and test commands: does each task's test command run the tests it names, and does any task depend on a later one? |
| + |
| +## Severity |
| + |
| +- **P1**: unsafe, would not compile, a test fails, or it would not work. Blocks merge. |
| +- **P2**: wrong or missing. Fixed without reopening this review. |
| +- **P3**: clarity or polish. Goes on a follow-up list; never a reason for another round. |
| + |
| +A P1 states its failure scenario and the evidence (file:line). Do not raise a P2 to P1 to keep the review open. |
| + |
| +## Output |
| + |
| +Findings ranked P1, P2, P3. Each gives the section or task, the problem, the evidence (file:line, verified), the failure scenario, a concrete fix and the invariant or trust boundary it breaks (that is its fault family). End with exactly one verdict: |
| + |
| +- **READY**: no P1 and no P2. |
| +- **READY AFTER FIXES**: no P1. The listed P2s are fixed without another round. |
| +- **NOT READY**: one or more P1s, listed. |
| + |
| +Do not edit files. Do not spawn Anthropic-model reviewers or subagents of your own. Do not run the full test suites. |