design: own-domain records asked for once, after the gateway has registered (DDR 0303, #2184 #2186) #2208

Merged
ben merged 2 commits from design/own-domain-records-2184 into main 2026-11-19 16:05:07 +00:00
Owner

Design pass for #2184 and #2186, the two own-domain gaps TuIA's tech.tuia.co founding hit. Ben ruled every decision in the 2026-11-19 interview.

Decided (DDR 0303)

  • One registrar visit, five records. A new step, P1-S11d, comes after the deploy has activated the gateway and acme-dns has registered. It lists apex A, *. A, NS acme., glue A acme-dns., and the _acme-challenge CNAME → the gateway's fulldomain, all with real values.
  • S5 asks only for the name. The record list, the placeholders and "verify" are gone from it.
  • The deploy doesn't wait on DNS. Founding pauses before the door probe (built, not failed) until all five verify. The door probe's first-boot budget starts at verify.
  • Verify checks the domain's own nameservers, on exact values: a random label proves the wildcard, the parent must return a referral for acme., and the CNAME must equal this gateway's fulldomain. Each row is ✓ set, waiting, or wrong, and wrong names what was found.
  • A pass belongs to its gateway (IP + fulldomain). A re-rent re-shows all five, with the changed rows marked.
  • Auto-poll about every 30s, no timeout, and an optional "check now".
  • "Do it later" and "Copy all records". Leaving puts a Founding paused — waiting on DNS card on the health board, and founding resumes on its own once the records verify.
  • The door probe names the record on an own domain, never the broker's "five-record PutRecords set".

Files

  • docs/adr/0303-design-own-domain-records-are-asked-for-once-the-gateway-has-registered.md (new)
  • docs/ux/wireframes/p1-founding/p1-s11d-domain-records.html (new, 7 frames)
  • Amended wireframes: p1-s5-address.html, p1-s5-address-reopened.html, p1-s10-reachability-and-name.html, p1-s7-standup-rented-server.html, shell/shell-hb-health-board.html
  • docs/ux/flows/p1-founding.mermaid: node S11d and its edges; the S10 edge no longer verifies an own domain
  • ADR 0014 (the set is five records) and ADR 0021 (records are no longer set at Address): amendment notes
  • CONTEXT.md: the term Domain records
  • STATUS.md

Siblings filed from the interview

  • #2202: no TTL reap for community rentals (already built)
  • #2203: require and verify the operator email at S2 (needs-design)
  • #2204: the rented-gateway congratulations email with the 30-day invoice reminder (needs-design)

After merge

#2184 and #2186 get their task manifests and move to ready-for-agent. #2186 stays blocked by #2184 as a build order.

Checks: node scripts/check-mermaid.mjs docs/ux/flows passes (28/28). The S11d frame was checked in headless Chrome.

🤖 Generated with Claude Code

Design pass for **#2184** and **#2186**, the two own-domain gaps TuIA's `tech.tuia.co` founding hit. Ben ruled every decision in the 2026-11-19 interview. ## Decided (DDR 0303) - **One registrar visit, five records.** A new step, **P1-S11d**, comes after the deploy has activated the gateway and acme-dns has registered. It lists apex A, `*.` A, `NS acme.`, glue `A acme-dns.`, and the `_acme-challenge` CNAME → the gateway's fulldomain, all with real values. - **S5 asks only for the name.** The record list, the placeholders and "verify" are gone from it. - **The deploy doesn't wait on DNS. Founding pauses before the door probe** (built, not failed) until all five verify. The door probe's first-boot budget starts at verify. - **Verify checks the domain's own nameservers**, on exact values: a random label proves the wildcard, the parent must return a referral for `acme.`, and the CNAME must equal this gateway's fulldomain. Each row is ✓ set, waiting, or wrong, and wrong names what was found. - **A pass belongs to its gateway** (IP + fulldomain). A re-rent re-shows all five, with the changed rows marked. - **Auto-poll** about every 30s, no timeout, and an optional "check now". - **"Do it later" and "Copy all records".** Leaving puts a **Founding paused — waiting on DNS** card on the health board, and founding resumes on its own once the records verify. - **The door probe names the record** on an own domain, never the broker's "five-record PutRecords set". ## Files - `docs/adr/0303-design-own-domain-records-are-asked-for-once-the-gateway-has-registered.md` (new) - `docs/ux/wireframes/p1-founding/p1-s11d-domain-records.html` (new, 7 frames) - Amended wireframes: `p1-s5-address.html`, `p1-s5-address-reopened.html`, `p1-s10-reachability-and-name.html`, `p1-s7-standup-rented-server.html`, `shell/shell-hb-health-board.html` - `docs/ux/flows/p1-founding.mermaid`: node S11d and its edges; the S10 edge no longer verifies an own domain - ADR 0014 (the set is five records) and ADR 0021 (records are no longer set at Address): amendment notes - `CONTEXT.md`: the term **Domain records** - `STATUS.md` ## Siblings filed from the interview - #2202: no TTL reap for community rentals (already built) - #2203: require and verify the operator email at S2 (`needs-design`) - #2204: the rented-gateway congratulations email with the 30-day invoice reminder (`needs-design`) ## After merge #2184 and #2186 get their task manifests and move to `ready-for-agent`. #2186 stays blocked by #2184 as a build order. **Checks:** `node scripts/check-mermaid.mjs docs/ux/flows` passes (28/28). The S11d frame was checked in headless Chrome. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
design: an own domain's five records are asked for once, after the gateway has registered (DDR 0303, #2184 #2186)
Some checks failed
ci / seam (pull_request) Failing after 19m39s
ci / publish (pull_request) Has been skipped
ci / publish-broker (pull_request) Has been skipped
ci / deploy-broker (pull_request) Has been cancelled
b624162614
The Address step (S5) asked for records before the gateway IP existed and its
verify passed a parking wildcard (#2184). The _acme-challenge CNAME, whose value
only exists once acme-dns has registered on the gateway, was never shown, so an
own-domain gateway could never pass DNS-01 (#2186).

Ben's rulings (2026-11-19 interview): all five domain records in one registrar
visit at a new step P1-S11d, after the gateway registers. S5 asks only for the
name. The deploy no longer waits on DNS. Founding pauses before the door probe
until all five verify at the domain's own nameservers on exact values. A pass
belongs to its gateway. The step auto-polls with no timeout. "Do it later" and
"Copy all records" leave a "Founding paused - waiting on DNS" card on the
health board.

- DDR 0303; ADR 0014 + 0021 amendment notes; CONTEXT "Domain records"
- new p1-s11d-domain-records.html (7 frames); S5, S5-reopened, S10, S7 and
  shell-hb-health-board amended
- p1-founding.mermaid: node S11d + edges; the S10 edge no longer verifies an
  own domain
- STATUS.md

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Merge remote-tracking branch 'origin/main' into design/own-domain-records-2184
All checks were successful
ci / seam (pull_request) Successful in 15m28s
ci / publish (pull_request) Has been skipped
ci / publish-broker (pull_request) Has been skipped
ci / deploy-broker (pull_request) Has been skipped
ec62e30445
ben merged commit c6f9cb2d68 into main 2026-11-19 16:05:07 +00:00
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Matou/idss!2208
No description provided.