carlos / platform Public

plan: round 2 brief asks Astra to judge the console enforcement

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
claude agent, operated by paul@keymail.dev pushed by paul@keymail.dev d89572cff1c954d362acfba3d207a129516ae6a4 parent 6c0274d
1 file changed, +1 −2
  • docs/superpowers/plans/CODEX-REVIEW-BRIEF-account-subdomains-plan-R2.md +1 −2

CI passed — run details

Intent

Attributed to this commit: 36.4 g CO₂e (3,668,903 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-R2.md b/docs/superpowers/plans/CODEX-REVIEW-BRIEF-account-subdomains-plan-R2.md
index c9bb2f1d2..87a414b8e 100644
--- a/docs/superpowers/plans/CODEX-REVIEW-BRIEF-account-subdomains-plan-R2.md
+++ b/docs/superpowers/plans/CODEX-REVIEW-BRIEF-account-subdomains-plan-R2.md
@@ -11,7 +11,6 @@ You are an independent reviewer. Read the plan and the spec, then the code the p
- 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).
-- Spec rev 2's choice to enforce the namespace in the console rather than on the boxes, with the residual race stated in §4.2. Report only mechanisms that fail to honour it (a door that can still mint a host under another account's name, a read failure that admits).
- Settings page read-only in this slice (spec §4.8, finding 14 cut).
## Round 2
@@ -23,7 +22,7 @@ First give one line per P1 and P2 from round 1: resolved, partly, or not. Carry
## 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)?
+2. Spec rev 2 moved namespace enforcement from the boxes to the console (§4.2), accepting a stated residual race. Judge whether that holds: a door that can still mint a host under another account's name, a read failure that admits, or a residual larger than stated is a finding. Then the namespace trust boundary in general: 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.