plan: account subdomains, review brief round 3 (Astra + Fable)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
1 file changed,
+49
−0
docs/superpowers/plans/CODEX-REVIEW-BRIEF-account-subdomains-plan-R3.md+49 −0
CI passed — run details
Intent
Attributed to this commit: 32.5 g CO₂e (3,418,235 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-R3.md b/docs/superpowers/plans/CODEX-REVIEW-BRIEF-account-subdomains-plan-R3.md| new file mode 100644 |
| index 000000000..eb85b8df8 |
| --- /dev/null |
| +++ b/docs/superpowers/plans/CODEX-REVIEW-BRIEF-account-subdomains-plan-R3.md |
| @@ -0,0 +1,49 @@ |
| +# Review brief: account subdomains plan, round 3 of 3 |
| + |
| +Repo carlos/platform, branch `design-account-name-hosts`, commit 35394c39e4e0131069db3b146abedd1e5bb9a2c0. |
| +Under review: `docs/superpowers/plans/2026-11-11-account-subdomains.md` (rev 3). |
| +Authorities: the spec `docs/superpowers/specs/2026-11-11-account-subdomains-design.md` (rev 3, 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). |
| +- Paul's choice B after round 2 (spec §4.2): the label directly under the apps domain is platform-owned. A new host two or more labels under the apps domain needs that label to be the creator's sqid or held subdomain; existing hosts keep working; new hand-attached hosts under unassigned labels are refused on every deployment. Report only mechanisms that fail to honour it. |
| +- Settings page read-only in this slice (§4.8). |
| +- Direct bucket writes (store-mode CLI) bypass console rules; `show` reports what it finds (§4.2). Stated, not a finding. |
| + |
| +## Round 3 |
| + |
| +Earlier rounds: `docs/superpowers/plans/CODEX-FINDINGS-account-subdomains-plan-R1.md` (round 1, Astra), `docs/superpowers/plans/CODEX-FINDINGS-account-subdomains-plan-R2.md` and `docs/superpowers/plans/FABLE-FINDINGS-account-subdomains-plan-R2.md` (round 2, Astra and Fable). The plan's last two sections map each finding to its resolution. |
| + |
| +First give one line per P1 and P2 from round 2 (both files): resolved, partly, or not. Carry every unresolved or partly resolved finding forward at its current severity, then add new findings. The verdict covers everything outstanding, earlier rounds included. |
| + |
| +## What to check |
| + |
| +1. Choice B as planned (Task 5): is there any console door that can still create a host (claim, record, route, catch-all, placement) two or more labels under the apps domain under a label that is not the creator's? Does the "existing hosts keep working" exemption leak (could it be used to create something new)? |
| +2. The assignment walk (Task 5 `subdomainRefusal`, `RecordHostDeclaredUnder`): strict, complete for console-created hosts, fail-closed? |
| +3. Task 3: remote registry mode, fleet `notFound` handling, HA eligibility, DNS status of derived rows (does `StampHealth` overwrite it, and does the edges file publish it?). |
| +4. Task 6: per-request namespace view, inventory door, `created=false` and rollback-failure handling. |
| +5. Census and parity steps (Tasks 2, 7, 8): can they produce a green branch as written? |
| +6. Any step that cannot be built as written, or a test command that does not run the tests it names. |
| + |
| +## 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. |
| + |
| +This is round 3. A NOT READY also says whether the P1s share one cause, and whether refusing the case up front or cutting the feature would remove them. |
| + |
| +Do not edit files. Do not spawn reviewers or subagents of your own. Do not run the full test suites. |