review brief: plan-domains-2a whole branch, round 1
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
1 file changed,
+33
−0
docs/superpowers/reviews/CODEX-REVIEW-BRIEF-domains-2a-branch.md+33 −0
CI failed — run details
diff --git a/docs/superpowers/reviews/CODEX-REVIEW-BRIEF-domains-2a-branch.md b/docs/superpowers/reviews/CODEX-REVIEW-BRIEF-domains-2a-branch.md| new file mode 100644 |
| index 000000000..f147dea04 |
| --- /dev/null |
| +++ b/docs/superpowers/reviews/CODEX-REVIEW-BRIEF-domains-2a-branch.md |
| @@ -0,0 +1,33 @@ |
| +# Review brief: Plan 2a whole branch (domains at the account level), round 1 of 3 |
| + |
| +Repo carlos/platform, branch `plan-domains-2a` on the amadan.net remote, tip 58830d44bf17f09ba517789bedb8d66ab880a628, diff `40d7a9cf..58830d44` (40d7a9cf is the merge base with main after main was merged in; `git diff 40d7a9cf..58830d44` is this branch's own change). Worktree: /home/paulca/.cache/tmp/claude-1001/domains-plan-2. |
| +Authorities (merged on main): docs/superpowers/specs/2026-11-01-domain-registration-design.md (rev 4; §11 is this work), docs/superpowers/plans/2026-11-01-domain-registration-1-buy.md, AGENTS.md. The plan under build: docs/superpowers/plans/2026-11-19-domain-registration-2a-account-domains.md (approved by Paul 2026-11-19; its plan reviews are docs/superpowers/reviews/CODEX-FINDINGS-domains-plan-2a*.md). |
| + |
| +You are an independent reviewer of the whole branch before merge. Every task already had its own review (task reviews and fix rounds are in the SDD ledger .superpowers/sdd/2026-11-19-domain-registration-2a-account-domains/progress.md). Look for what task-scoped reviews miss: cross-task interactions, end-to-end flows, and anything that would break in production. |
| + |
| +## Fixed: do not re-argue |
| +- Paul's rulings R1-R12 (spec §3, §11.2) and his cut after plan review round 2: buying is off while CARLOS_HOST_CLAIM is on; addresses under a bought domain other than apex and www are Plan 4; pointing goes through the existing attach door's admission (that door's own behaviour and its existing races with purge are out of scope). |
| +- Every line starting "Ruling:" in the ledger is a controller decision; report one only if it breaks a spec rule or causes a real failure. |
| +- Renewals, transfer out, change owner and customer records are later plans. |
| + |
| +## What to check |
| +1. End-to-end money flow with the new paths: start (app or Not yet, saved or new contact, under the billing hold) → Checkout → zone → register → capture → attach or finish unpointed (incl. app gone, Unpointing flag) → Domains page / CLI list / point. Plan 1's rules: no capture without a registration; no registration without an authorised payment; ambiguous never read as failure; auto-renew off. |
| +2. R12 end to end: frozen contact per purchase; edits never change a registration; conditional handle write-back; legacy purchases. |
| +3. Termination: purge releases claims in every branch before the marker/row; account deletion refused while holding registrations or live purchases, under the billing hold, before the tombstone. |
| +4. Security gates across all new browser and API doors: owner/member split, CSRF, service tokens refused where person-only, neutral 404s, no open redirect, personal data (registrant, contacts) owners only. |
| +5. The Route 53 zone writes: canonical ManagedFor, empty set only by explicit unpointing; in particular the delete ORDER of an unpointing batch (internal/zonehost/route53zones/route53.go ~:263-267: the apex A sets are deleted before the www alias that targets them; would Route 53 reject that batch?). |
| +6. Migrations on a console.db with Plan 1 data (domain_contacts, registrations without registrant, live purchases) and the SQL gate classification. |
| +7. Request budget: no new steady-state or per-box requests. |
| +8. Triage the ledger's "minor (deferred)" lines: say which must be fixed before merge. |
| + |
| +## Census (AGENTS.md "The census: the reviewer decides" → "Getting a change approved") |
| +This branch changes root-package units (the CLI). Read the card docs/superpowers/notes/census-proposal-plan-domains-2a.md and the overlay testdata/plan14-root-reads-plan-domains-2a.tsv, and give a verdict for every unit and envelope, citing the lines you read, under that section's rules. Note: readDomainContact was renamed to readContactFile (same body and reads, error words parameterised); the census has no rename class, so it shows as removed + new legacy. |
| + |
| +## 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. Follow-up list; never a reason for another round. |
| +A P1 states its failure scenario and evidence (file:line). |
| + |
| +## Output |
| +Findings ranked P1, P2, P3, each with location, evidence (file:line, verified), failure scenario, concrete fix and the invariant it breaks. Then the census verdicts. Then the minor-triage list. End with exactly one verdict: READY / READY AFTER FIXES / NOT READY. Do not edit files. Do not spawn subagents or other reviewers. Do not run full suites. |