design-domain-registration
Carloku customers can buy a domain from the console or carlos domains buy. The domain then serves their app over HTTPS from a zone on Carloku-branded nameservers.
Design: docs/superpowers/specs/2026-11-01-domain-registration-design.md (rev 3, approved by Paul 2026-11-01). Plan 1 (buy a domain): docs/superpowers/plans/2026-11-01-domain-registration-1-buy.md.
What lands:
internal/registrar, a provider-neutral registrar seam, with an Openprovider /v1 adapter.internal/zonehost, a zone host seam, with a Route 53 adapter on a reusable delegation set with white-label NS and SOA. The apex copies steering's latency records and health checks.internal/domainreg, the TLD catalog and quoting, with a per-TLD cost ceiling.- One-off authorise-then-capture payments in
internal/billing, through Stripe Checkout in payment mode. - A console purchase engine: pay, zone, register, capture, then attach through the existing attach core. It has deadlines on every pre-terminal state and never reads an ambiguous answer as a failure.
- Owner-only buy doors behind one neutral admission path, with a neutrality guard test.
- The
carlos domains checkandbuycommands. - Console wiring and an operator runbook (docs/site/domains-buying.md).
Dormant until an operator sets the CARLOSOPENPROVIDER and CARLOSDOMAIN variables. Switch-on: dev with the Openprovider sandbox (Task 12, waiting on Paul's scoped approval), then flagship.
Reviews: Astra built it. Opus ran per-task reviews on billing (5), the engine (7) and the doors (8), plus a whole-branch review. The final review was clean after one fix wave. Copy was approved by delegation (Luna, DOMAINS-1), and three ruled strings are flagged for Paul. Census: one new unit, readDomainContact (proposal domain-registration-1), approved by the cross-model reviewer.
Buy a domain from console or CLI: Openprovider + branded Route 53 + steered apex; Plan 1 of 4
Discussions
- No discussions on this branch yet.
Tasks 11/12 done
- Task 1: registrar seam and fake Done
- Task 2: Openprovider adapter Done
- Task 3: zone host seam and Route 53 adapter Done
- Task 4: TLD catalog and quoting Done
- Task 5: one-off payments in billing Done
Activity
- claude agent, operated by paul@keymail.dev pushed f29a7a833 Re-run CI: TestDBForwardLongRequestThroughTheEdge flaked (5/5 pass locally)
- claude agent, operated by paul@keymail.dev pushed 844dbccae console: perf walk targets for the buy pages
- claude agent, operated by paul@keymail.dev added task Task 12: switch on and witness on dev (needs Paul's scoped approval)
- task updated: Task 11: copy pass (Luna DOMAINS-1)
- task updated: Task 10: console wiring and runbook
- claude agent, operated by paul@keymail.dev added task Task 11: copy pass (Luna DOMAINS-1)
- task updated: Task 9: carlos domains check and buy
- claude agent, operated by paul@keymail.dev added task Task 10: console wiring and runbook
- claude agent, operated by paul@keymail.dev added task Task 9: carlos domains check and buy
- claude agent, operated by paul@keymail.dev added task Task 8: console doors and capability
- task updated: Task 7: purchase engine
- task updated: Task 6: console store
- claude agent, operated by paul@keymail.dev added task Task 7: purchase engine
- claude agent, operated by paul@keymail.dev added task Task 6: console store
- claude agent, operated by paul@keymail.dev added task Task 5: one-off payments in billing
- task updated: Task 4: TLD catalog and quoting
- task updated: Task 3: zone host seam and Route 53 adapter
- claude agent, operated by paul@keymail.dev added task Task 4: TLD catalog and quoting
- claude agent, operated by paul@keymail.dev added task Task 3: zone host seam and Route 53 adapter
- claude agent, operated by paul@keymail.dev added task Task 2: Openprovider adapter
- task updated: Task 1: registrar seam and fake
- claude agent, operated by paul@keymail.dev added task Task 1: registrar seam and fake
- claude agent, operated by paul@keymail.dev pushed 17e092e40 census: record-write inventory for domain registration and the main merge
- claude agent, operated by paul@keymail.dev pushed 3f58b5397 Merge origin/main into design-domain-registration
- claude agent, operated by paul@keymail.dev pushed ac0191055 domains: final review fixes (resumable buys, setup deadline, alerts)
- claude agent, operated by paul@keymail.dev pushed 8f2abbcf8 domains: approved copy (Luna pass DOMAINS-1)
- claude agent, operated by paul@keymail.dev pushed ceeffa425 domains: Luna copy brief DOMAINS-1
- claude agent, operated by paul@keymail.dev pushed 5ba985743 console: wire domain registration backends; operator runbook
- claude agent, operated by paul@keymail.dev pushed 6cff93718 cli: carlos domains check and buy
- claude agent, operated by paul@keymail.dev pushed cf401da13 console: one buy admission path; neutrality guard test