founding: the address step asks for DNS records before the gateway IP exists, and “verify” cannot check anything real #2184

Closed
opened 2026-11-10 07:04:15 +00:00 by ben · 6 comments
Owner

Severity: every own-domain founding verifies against the wrong thing; a parking wildcard passes.

What happens

The address step (own domain) comes before access. It shows the record set with (your gateway's IP — filled once the access IP is known) placeholders and a button "I've set them — verify". The founder cannot set A records to an IP that does not exist yet, and verify, having no IP, can only test that the name resolves to something.

Observed 2026-11-09: idss.tuia.co was marked verified: true while resolving to Porkbun's parking page through a *.tuia.co CNAME. The founding continued and failed later (#2183). Then the second founding rented a different droplet, so records set for the first IP were silently wrong — verify had already passed.

ADR 0021 is titled "access before address"; the live order is the reverse.

Proposal

Keep asking for the address where it is (it is a name, not a record). Move "set these records" + verify to after the deployment has an IP, as the last gate before the seed:

  1. Show real values, no placeholders.
  2. Verify compares the resolved A for <apex> and *.<apex> with the gateway IP, not merely non-empty.
  3. Verify also checks the acme.<apex> delegation at the parent's nameservers: a referral to acme-dns.<apex> with glue. A missing one only surfaces at certificate time, deep in the seed.
  4. A re-rent (new IP) invalidates the verification.

Alternative, if the step must stay early: allocate a DigitalOcean reserved IP at the address step and assign it at droplet creation (ADR 0049's deferred wiring could ride this too), so the IP is known before access and survives a rebuild.

**Severity:** every own-domain founding verifies against the wrong thing; a parking wildcard passes. ## What happens The address step (own domain) comes before access. It shows the record set with `(your gateway's IP — filled once the access IP is known)` placeholders and a button "I've set them — verify". The founder cannot set A records to an IP that does not exist yet, and verify, having no IP, can only test that the name resolves to *something*. Observed 2026-11-09: `idss.tuia.co` was marked `verified: true` while resolving to Porkbun's parking page through a `*.tuia.co` CNAME. The founding continued and failed later (#2183). Then the second founding rented a *different* droplet, so records set for the first IP were silently wrong — verify had already passed. ADR 0021 is titled "access before address"; the live order is the reverse. ## Proposal Keep asking for the address where it is (it is a name, not a record). Move "set these records" + verify to after the deployment has an IP, as the last gate before the seed: 1. Show real values, no placeholders. 2. Verify compares the resolved A for `<apex>` and `*.<apex>` with the gateway IP, not merely non-empty. 3. Verify also checks the `acme.<apex>` delegation at the parent's nameservers: a referral to `acme-dns.<apex>` with glue. A missing one only surfaces at certificate time, deep in the seed. 4. A re-rent (new IP) invalidates the verification. Alternative, if the step must stay early: allocate a DigitalOcean reserved IP at the address step and assign it at droplet creation (ADR 0049's deferred wiring could ride this too), so the IP is known before access and survives a rebuild.
ben self-assigned this 2026-11-10 07:04:15 +00:00

This was generated by AI during triage.

Triage: bug + needs-design

Category — bug: verify verifies the wrong thing — a *.tuia.co parking wildcard was marked verified: true because the check only tested that the name resolved to something, not that it resolved to the gateway IP.

The contract already agrees with the Proposal. docs/ux/flows/p1-founding.mermaid S10 already reads "reachability test passes — the name is wired up and DNS verified now the IP is known; deploys the gateway." So the accepted founding flow already puts real DNS verification after the IP exists (S10), not at the address step (S5). The live implementation does it at S5 before any IP — the drift is implementation-vs-contract plus wrong verify semantics, and ADR 0021 ("access before address") is about step ordering, which the Proposal keeps.

Why needs-design and not ready-for-agent: fixing this amends the founding wireframe contract an agent would build against:

  • docs/ux/wireframes/p1-founding/p1-s5-address.html today shows "set these records + I've set them — verify" with (filled once the access IP is known) placeholders — that record-setting UI must leave S5.
  • a late verify gate (at/near S10, the last gate before the seed) needs its screen: real values, A-for-<apex>/*.<apex> compared to the gateway IP, the acme.<apex> delegation check, and the re-rent-invalidates behaviour.

That is /wireframe + a DDR amending ADR 0021's consequences to pin where record-setting lives and what "verify" means — the design tier owes the contract before an agent implements.

Ruled by agent under ADR 0174 — veto anytime

Ruling: adopt the issue's Proposal (keep the address name at S5; move "set these records" + a real verify to the late gate after the deployment has an IP, matching the already-accepted S10). Defer the Alternative (allocate a DigitalOcean reserved IP at the address step).

Why this is a two-way door: it is reversible by a later DDR/commit and provable by a rented-founding drive (verify must reject a parking wildcard and accept only an A record equal to the gateway IP). It aligns with the contract S10 already encodes, so it adds no new decision.

Why the Alternative is not the default: a reserved IP is non-routine recurring spend and revives the deferred DNS-wiring ADR 0049 — both one-way-door-ish, so the conservative default is not to take them on. Nothing stops the reserved-IP wiring riding a later ticket if desired.

This ruling gives the design pass direction; it does not itself produce the wireframes, so the state stays needs-design.

> *This was generated by AI during triage.* ## Triage: `bug` + `needs-design` **Category — `bug`:** verify verifies the wrong thing — a `*.tuia.co` parking wildcard was marked `verified: true` because the check only tested that the name resolved to *something*, not that it resolved to the gateway IP. **The contract already agrees with the Proposal.** `docs/ux/flows/p1-founding.mermaid` S10 already reads "reachability test passes — **the name is wired up and DNS verified now the IP is known**; deploys the gateway." So the accepted founding flow already puts real DNS verification *after* the IP exists (S10), not at the address step (S5). The live implementation does it at S5 before any IP — the drift is implementation-vs-contract plus wrong verify semantics, and ADR 0021 ("access before address") is about step *ordering*, which the Proposal keeps. **Why `needs-design` and not `ready-for-agent`:** fixing this amends the founding **wireframe contract** an agent would build against: - `docs/ux/wireframes/p1-founding/p1-s5-address.html` today shows "set these records + I've set them — verify" with `(filled once the access IP is known)` placeholders — that record-setting UI must leave S5. - a late verify gate (at/near S10, the last gate before the seed) needs its screen: real values, A-for-`<apex>`/`*.<apex>` compared to the gateway IP, the `acme.<apex>` delegation check, and the re-rent-invalidates behaviour. That is `/wireframe` + a DDR amending ADR 0021's consequences to pin where record-setting lives and what "verify" means — the design tier owes the contract before an agent implements. ## Ruled by agent under ADR 0174 — veto anytime **Ruling:** adopt the issue's **Proposal** (keep the address name at S5; move "set these records" + a *real* verify to the late gate after the deployment has an IP, matching the already-accepted S10). **Defer the Alternative** (allocate a DigitalOcean reserved IP at the address step). **Why this is a two-way door:** it is reversible by a later DDR/commit and provable by a rented-founding drive (verify must reject a parking wildcard and accept only an A record equal to the gateway IP). It aligns with the contract S10 already encodes, so it adds no new decision. **Why the Alternative is not the default:** a reserved IP is **non-routine recurring spend** and revives the **deferred** DNS-wiring ADR 0049 — both one-way-door-ish, so the conservative default is not to take them on. Nothing stops the reserved-IP wiring riding a later ticket if desired. This ruling gives the design pass direction; it does not itself produce the wireframes, so the state stays `needs-design`.
Author
Owner

Design landed in DDR 0303. Re-triaged needs-design → ready-for-agent

Ben ruled the design in the 2026-11-19 interview. The contract is DDR 0303, the new frame docs/ux/wireframes/p1-founding/p1-s11d-domain-records.html, the amended S5, S5-reopened, S10, S7 and shell/shell-hb-health-board.html, and docs/ux/flows/p1-founding.mermaid node S11d. Design PR #2208, merged to main at c6f9cb2d.

This ticket builds the records step itself: the four IP-bearing rows, verify, pause/resume, re-rent invalidation, and "Do it later". #2186 adds the fifth row (the _acme-challenge CNAME) and the door-probe wording on top.

Task manifest

task: own-domain-records-step
implements_flow: p1-founding
implements_edge: S7→S11d, S11→S11d, S11d→S11d, S11d→S12, S11d→SHHB, S10→S11 (own domain no longer verified at S10)
wireframe:
  - docs/ux/wireframes/p1-founding/p1-s11d-domain-records.html
  - docs/ux/wireframes/p1-founding/p1-s5-address.html
  - docs/ux/wireframes/p1-founding/p1-s5-address-reopened.html
  - docs/ux/wireframes/p1-founding/p1-s10-reachability-and-name.html
  - docs/ux/wireframes/p1-founding/p1-s7-standup-rented-server.html
  - docs/ux/wireframes/shell/shell-hb-health-board.html
interface: |
  SetOwnDomain(domain) records the Address only — no DomainRecords returned; VerifyDomain no longer advances S5→Review (S5 asks only for the name)
  wireName(AddressOwnDomain) wires nothing and no longer gates StandupDeploying on a resolve
  new stand-up state "records" (StandupDomainRecords), entered after gateway activate + seed + services, BEFORE the door probe
  DomainRecords{Domain, GatewayIP, Fulldomain, Records[]{Type, Name, Value, Key, Status, Found, Previous}}  Status ∈ set|waiting|wrong|changed
  RecordsVerifier (replaces DNSResolver.Resolve for this step): checks each record at the domain's AUTHORITATIVE nameservers on its exact value — apex A == IP; random-label.<domain> A == IP; parent referral NS acme.<domain> → acme-dns.<domain>; glue A == IP
  CheckDomainRecords(ctx) → StandupView: re-verifies now; all set → leaves the state and starts the door probe's first-boot budget
  the verified state is keyed to (GatewayIP, Fulldomain); a change clears it and marks changed rows with Previous
  the app polls CheckDomainRecords every ~30s while the step or a paused card is visible, with no timeout; "Do it later" leaves the step with founding paused
  health board: a paused founding in the records state reads data-status="founding-paused-dns" with the outstanding count; Resume founding opens S11d
binds:
  - symbol: gatewayDNSRecords / SetOwnDomain / VerifyDomain
    defined_in: internal/founding/access.go
  - symbol: wireName (own-domain branch) / the stand-up step sequence
    defined_in: internal/founding/standup.go
  - symbol: the door-probe gate (probeDoorsLive call site)
    defined_in: internal/founding/deploy.go
  - symbol: Resolver (authoritative per-record checks)
    defined_in: internal/dns/resolver.go
  - symbol: the S5 own-domain card
    defined_in: app/src/components/founding/FoundingAddress.vue
  - symbol: S11d records step (new component) rendered in place by the rented checklist and after S11
    defined_in: app/src/components/founding/FoundingStandupRented.vue, FoundingStandup.vue
  - symbol: founding-paused-dns card
    defined_in: app/src/components/shell/HealthBoard.vue, app/src/lib/healthBoard.ts
  - symbol: copy keys (five locales)
    defined_in: app/src/i18n/founding/*
seam: internal/founding seam tests over founding/testing fakes (a fake authoritative verifier) + internal/dns resolver tests against an in-process authoritative DNS fixture + app vitest units for FoundingAddress, the records step and HealthBoard
unproven_by_seam: a real registrar publishing the records and Let's Encrypt issuing after them (owed as a live own-domain rented drive)
acceptance:
  - given: an own-domain draft at S5
    when: the founder enters the domain and continues
    then: no record list, placeholder or verify is shown, and S5 advances to Review
  - given: a rented own-domain stand-up whose reachability passes
    when: the stand-up continues
    then: the deploy starts without any DNS check, and the checklist shows the records heads-up line
  - given: the gateway is activated with admin seed and services done
    when: the stand-up reaches the records state
    then: the door probe has NOT started, and S11d lists apex A, *. A, NS acme., A acme-dns. with the real IP
  - given: the apex resolves only through a parking wildcard one level up
    when: the records are checked
    then: the apex and wildcard rows are wrong or waiting, never set
  - given: the glue A points at a stale IP
    when: the records are checked
    then: the row reads wrong and names the found and the expected IP
  - given: every row set
    when: CheckDomainRecords runs
    then: the records state is left and the door probe's first-boot budget starts from that moment
  - given: a verified records state
    when: the gateway IP changes (re-rent / new VM)
    then: the pass is cleared, the changed rows are marked changed with their previous value, and all rows are re-checked
  - given: the same gateway rebooted or the deploy resumed
    when: the records step is re-entered
    then: the earlier pass stands
  - given: the founder presses Do it later
    when: the health board renders
    then: the card reads Founding paused — waiting on DNS with the outstanding count, and Resume founding opens S11d
  - given: a paused founding while the app is open
    when: all records become set
    then: founding resumes on its own without a click
  - given: the subdomain path
    when: the stand-up runs
    then: behaviour is unchanged (the broker writes the records)
depends_on: []
out_of_scope: [acme-challenge CNAME row (#2186), door-probe own-domain wording (#2186), control-panel address switch, emailing the records (#2203), registrar API automation, reserved IPs (ADR 0049), subdomain path]
needs_human_decision: []
## Design landed in DDR 0303. Re-triaged `needs-design` → `ready-for-agent` Ben ruled the design in the 2026-11-19 interview. The contract is **DDR 0303**, the new frame `docs/ux/wireframes/p1-founding/p1-s11d-domain-records.html`, the amended S5, S5-reopened, S10, S7 and `shell/shell-hb-health-board.html`, and `docs/ux/flows/p1-founding.mermaid` node **S11d**. Design PR #2208, merged to `main` at c6f9cb2d. This ticket builds the **records step itself**: the four IP-bearing rows, verify, pause/resume, re-rent invalidation, and "Do it later". **#2186** adds the fifth row (the `_acme-challenge` CNAME) and the door-probe wording on top. ## Task manifest ```yaml task: own-domain-records-step implements_flow: p1-founding implements_edge: S7→S11d, S11→S11d, S11d→S11d, S11d→S12, S11d→SHHB, S10→S11 (own domain no longer verified at S10) wireframe: - docs/ux/wireframes/p1-founding/p1-s11d-domain-records.html - docs/ux/wireframes/p1-founding/p1-s5-address.html - docs/ux/wireframes/p1-founding/p1-s5-address-reopened.html - docs/ux/wireframes/p1-founding/p1-s10-reachability-and-name.html - docs/ux/wireframes/p1-founding/p1-s7-standup-rented-server.html - docs/ux/wireframes/shell/shell-hb-health-board.html interface: | SetOwnDomain(domain) records the Address only — no DomainRecords returned; VerifyDomain no longer advances S5→Review (S5 asks only for the name) wireName(AddressOwnDomain) wires nothing and no longer gates StandupDeploying on a resolve new stand-up state "records" (StandupDomainRecords), entered after gateway activate + seed + services, BEFORE the door probe DomainRecords{Domain, GatewayIP, Fulldomain, Records[]{Type, Name, Value, Key, Status, Found, Previous}} Status ∈ set|waiting|wrong|changed RecordsVerifier (replaces DNSResolver.Resolve for this step): checks each record at the domain's AUTHORITATIVE nameservers on its exact value — apex A == IP; random-label.<domain> A == IP; parent referral NS acme.<domain> → acme-dns.<domain>; glue A == IP CheckDomainRecords(ctx) → StandupView: re-verifies now; all set → leaves the state and starts the door probe's first-boot budget the verified state is keyed to (GatewayIP, Fulldomain); a change clears it and marks changed rows with Previous the app polls CheckDomainRecords every ~30s while the step or a paused card is visible, with no timeout; "Do it later" leaves the step with founding paused health board: a paused founding in the records state reads data-status="founding-paused-dns" with the outstanding count; Resume founding opens S11d binds: - symbol: gatewayDNSRecords / SetOwnDomain / VerifyDomain defined_in: internal/founding/access.go - symbol: wireName (own-domain branch) / the stand-up step sequence defined_in: internal/founding/standup.go - symbol: the door-probe gate (probeDoorsLive call site) defined_in: internal/founding/deploy.go - symbol: Resolver (authoritative per-record checks) defined_in: internal/dns/resolver.go - symbol: the S5 own-domain card defined_in: app/src/components/founding/FoundingAddress.vue - symbol: S11d records step (new component) rendered in place by the rented checklist and after S11 defined_in: app/src/components/founding/FoundingStandupRented.vue, FoundingStandup.vue - symbol: founding-paused-dns card defined_in: app/src/components/shell/HealthBoard.vue, app/src/lib/healthBoard.ts - symbol: copy keys (five locales) defined_in: app/src/i18n/founding/* seam: internal/founding seam tests over founding/testing fakes (a fake authoritative verifier) + internal/dns resolver tests against an in-process authoritative DNS fixture + app vitest units for FoundingAddress, the records step and HealthBoard unproven_by_seam: a real registrar publishing the records and Let's Encrypt issuing after them (owed as a live own-domain rented drive) acceptance: - given: an own-domain draft at S5 when: the founder enters the domain and continues then: no record list, placeholder or verify is shown, and S5 advances to Review - given: a rented own-domain stand-up whose reachability passes when: the stand-up continues then: the deploy starts without any DNS check, and the checklist shows the records heads-up line - given: the gateway is activated with admin seed and services done when: the stand-up reaches the records state then: the door probe has NOT started, and S11d lists apex A, *. A, NS acme., A acme-dns. with the real IP - given: the apex resolves only through a parking wildcard one level up when: the records are checked then: the apex and wildcard rows are wrong or waiting, never set - given: the glue A points at a stale IP when: the records are checked then: the row reads wrong and names the found and the expected IP - given: every row set when: CheckDomainRecords runs then: the records state is left and the door probe's first-boot budget starts from that moment - given: a verified records state when: the gateway IP changes (re-rent / new VM) then: the pass is cleared, the changed rows are marked changed with their previous value, and all rows are re-checked - given: the same gateway rebooted or the deploy resumed when: the records step is re-entered then: the earlier pass stands - given: the founder presses Do it later when: the health board renders then: the card reads Founding paused — waiting on DNS with the outstanding count, and Resume founding opens S11d - given: a paused founding while the app is open when: all records become set then: founding resumes on its own without a click - given: the subdomain path when: the stand-up runs then: behaviour is unchanged (the broker writes the records) depends_on: [] out_of_scope: [acme-challenge CNAME row (#2186), door-probe own-domain wording (#2186), control-panel address switch, emailing the records (#2203), registrar API automation, reserved IPs (ADR 0049), subdomain path] needs_human_decision: [] ```

swarm-claim host=matou-dev-server-01 run=67423
(automated multi-host claim — lowest live claim id works this ticket)

swarm-claim host=matou-dev-server-01 run=67423 (automated multi-host claim — lowest live claim id works this ticket)

⏩ independent reviewer for #2184 — verdict unauthenticated

review JSON
{
  "verdict": "unauthenticated",
  "findings": []
}
:fast_forward: **independent reviewer** for #2184 — verdict `unauthenticated` <details><summary>review JSON</summary> ```json { "verdict": "unauthenticated", "findings": [] } ``` </details>

close-report for #2184 — status success

✅ close-report gates passed — every claim verified against the pushed worker branch sandcastle/worker/20261119161950-3559225 (pre-land — the host promotes it to main only after its post-run verify, #193/#283); issue closed.

envelope
{
  "issue": 2184,
  "status": "success",
  "commits": [
    "75812e3f6eb105ea6abcbb01b95a02c1191b23d3"
  ],
  "changed_files": [
    "STATUS.md",
    "app/helper/cmd/helper/wiring_dev.go",
    "app/helper/cmd/helper/wiring_prod.go",
    "app/helper/cmd/helper/wiring_test.go",
    "app/src/components/founding/FoundingAddress.vue",
    "app/src/components/founding/FoundingPage.vue",
    "app/src/components/founding/FoundingStandup.vue",
    "app/src/components/founding/FoundingStandupDomainRecords.vue",
    "app/src/components/shell/HealthBoard.vue",
    "app/src/i18n/areas/shell/en.ts",
    "app/src/i18n/areas/shell/es.ts",
    "app/src/i18n/areas/shell/fr.ts",
    "app/src/i18n/areas/shell/nl.ts",
    "app/src/i18n/areas/shell/pt.ts",
    "app/src/i18n/founding/g5.en.ts",
    "app/src/i18n/founding/g5.es.ts",
    "app/src/i18n/founding/g5.fr.ts",
    "app/src/i18n/founding/g5.nl.ts",
    "app/src/i18n/founding/g5.pt.ts",
    "app/src/i18n/founding/g7.en.ts",
    "app/src/i18n/founding/g7.es.ts",
    "app/src/i18n/founding/g7.fr.ts",
    "app/src/i18n/founding/g7.nl.ts",
    "app/src/i18n/founding/g7.pt.ts",
    "app/src/i18n/founding/g9.standup.en.ts",
    "app/src/i18n/founding/g9.standup.es.ts",
    "app/src/i18n/founding/g9.standup.fr.ts",
    "app/src/i18n/founding/g9.standup.nl.ts",
    "app/src/i18n/founding/g9.standup.pt.ts",
    "app/src/lib/founding.ts",
    "app/src/lib/healthBoard.ts",
    "app/tests/unit/foundingAccessAddress.test.ts",
    "app/tests/unit/foundingStandupDomainRecords.test.ts",
    "app/tests/unit/healthBoard.test.ts",
    "internal/dns/authoritative.go",
    "internal/dns/records_test.go",
    "internal/dns/resolver.go",
    "internal/founding/access.go",
    "internal/founding/access_test.go",
    "internal/founding/deploy.go",
    "internal/founding/domainrecords.go",
    "internal/founding/domainrecords_test.go",
    "internal/founding/export_test.go",
    "internal/founding/journey.go",
    "internal/founding/orchestrator.go",
    "internal/founding/rentedaccessretry_test.go",
    "internal/founding/rentedleaserenew_test.go",
    "internal/founding/standup.go",
    "internal/founding/standup_test.go",
    "internal/founding/stdio.go",
    "internal/founding/testing/fakes.go"
  ],
  "tests": [
    {
      "command": "nix develop .#go-ci -c go test ./internal/founding/ ./internal/dns/",
      "exit_code": 0
    },
    {
      "command": "nix develop .#go-ci -c go test ./app/helper/cmd/helper/",
      "exit_code": 0
    },
    {
      "command": "nix develop .#go-ci -c go vet ./internal/founding/ ./internal/dns/",
      "exit_code": 0
    },
    {
      "command": "nix develop .#go-ci -c go build ./...",
      "exit_code": 0
    },
    {
      "command": "nix develop .#go-ci -c golangci-lint run ./internal/founding/... ./internal/dns/... ./app/helper/cmd/helper/...",
      "exit_code": 0
    },
    {
      "command": "cd app && node_modules/.bin/vue-tsc -p tsconfig.json --noEmit",
      "exit_code": 0
    },
    {
      "command": "cd app && node_modules/.bin/vitest run --exclude '**/rendererBuild.test.ts'",
      "exit_code": 0
    },
    {
      "command": "cd app && node_modules/.bin/vitest run tests/unit/rendererBuild.test.ts",
      "exit_code": 0
    }
  ],
  "criteria": {
    "given an own-domain draft at S5, when the founder enters the domain and continues, then no record list/placeholder/verify is shown and S5 advances to Review": "SetOwnDomain records the name and advances to StepReview (internal/founding/access.go); FoundingAddress.vue drops the record list + verify, single 'Use this domain' click emits advanced; TestStory10_OwnDomainRecordsAskedForName + app foundingAccessAddress.test.ts 'an own domain asks only for the name and advances to Review'",
    "given a rented own-domain stand-up whose reachability passes, when it continues, then the deploy starts without any DNS check and the checklist shows the records heads-up line": "wireName wires nothing for own-domain + RunReachability advances to StandupDeploying with no DNS poll (internal/founding/standup.go); TestStory20_ReachabilityPassStartsOwnDomainDeployWithoutDNS asserts 0 resolver polls + step deploying; the heads-up line is data-field=records-heads-up in FoundingStandup.vue (founding.standup.recordsStep.headsUp)",
    "given the gateway activated + admin seeded + services done, when the stand-up reaches the records state, then the door probe has NOT started and S11d lists apex A, *. A, NS acme., A acme-dns. with the real IP": "runDeploy pauses at StandupDomainRecords before the door-probe tail (finishGatewayDeploy); domainrecords_test.go TestDomainRecords_PausesBeforeDoorProbe asserts door probe 0 hosts, deploy not live, and the four keyed rows carry the real gateway IP",
    "given the apex resolves only through a parking wildcard one level up, when the records are checked, then the apex and wildcard rows are wrong or waiting, never set": "VerifyRecords compares the exact IP with a random-label wildcard proof (internal/dns/resolver.go); domainrecords_test.go TestDomainRecords_ParkingWildcardNeverSet + internal/dns/records_test.go TestVerifyRecords_ParkingWildcardFails",
    "given the glue A points at a stale IP, when the records are checked, then the row reads wrong and names the found and the expected IP": "verifyDomainRecords sets RecordWrong + Found; domainrecords_test.go TestDomainRecords_StaleGlueNamesFound; FoundingStandupDomainRecords.vue renders data-field=record-found (foundingStandupDomainRecords.test.ts)",
    "given every row set, when CheckDomainRecords runs, then the records state is left and the door probe's first-boot budget starts from that moment": "CheckDomainRecords advances to StandupDeploying and launches finishGatewayDeploy (internal/founding/domainrecords.go); domainrecords_test.go TestDomainRecords_AllSetResumesDoorProbe asserts hand-off over a live deploy and the door probe ran",
    "given a verified records state, when the gateway IP changes (re-rent), then the pass is cleared, the changed rows are marked changed with their previous value, and all rows are re-checked": "refreshDomainRecords marks changed rows with Previous and clears Verified when the IP changed (internal/founding/domainrecords.go); domainrecords_test.go TestDomainRecords_ReRentClearsPassAndMarksChanged; FoundingStandupDomainRecords.vue 'marks a re-rent as changed'",
    "given the same gateway rebooted or the deploy resumed, when the records step is re-entered, then the earlier pass stands": "ownDomainRecordsGateOpen returns false for a verified pass on the same IP + refreshDomainRecords preserves set rows on an unchanged IP; domainrecords_test.go TestDomainRecords_SameBoxKeepsPass",
    "given the founder presses Do it later, when the health board renders, then the card reads Founding paused — waiting on DNS with the outstanding count and Resume founding opens S11d": "RecordsLater keeps the step paused; readFounding/cardFromSeat emit founding-paused-dns with outstandingRecords (app/src/lib/healthBoard.ts), HealthBoard.vue renders the status + Resume founding; healthBoard.test.ts 'a records-paused founding is founding-paused-dns' + 'reads founding-paused-dns from the stand-up'",
    "given a paused founding while the app is open, when all records become set, then founding resumes on its own without a click": "FoundingStandup.vue auto-polls checkDomainRecords every 30s (recordsPolling watch) with no timeout, and the board keeps checking in the background; CheckDomainRecords resumes to the door probe on all-set (domainrecords_test.go TestDomainRecords_AllSetResumesDoorProbe)",
    "given the subdomain path, when the stand-up runs, then behaviour is unchanged (the broker writes the records)": "the records gate is own-domain only (ownDomainRecordsGateOpen checks AddressOwnDomain); the subdomain path still deploys to hand-off unchanged (rentedpath_test.go TestRentedJourney_CarrierDrivesToHandoffNoTakeover still green)"
  },
  "binds": [
    {
      "symbol": "gatewayDNSRecords / SetOwnDomain / VerifyDomain",
      "defined_in": "internal/founding/access.go"
    },
    {
      "symbol": "wireName (own-domain branch) / the stand-up step sequence (StandupDomainRecords)",
      "defined_in": "internal/founding/standup.go"
    },
    {
      "symbol": "the door-probe gate (finishGatewayDeploy / probeDoorsLive call site)",
      "defined_in": "internal/founding/deploy.go"
    },
    {
      "symbol": "RecordsVerifier / CheckDomainRecords",
      "defined_in": "internal/founding/domainrecords.go"
    },
    {
      "symbol": "Resolver (authoritative per-record checks) VerifyRecords",
      "defined_in": "internal/dns/resolver.go"
    },
    {
      "symbol": "the S5 own-domain card",
      "defined_in": "app/src/components/founding/FoundingAddress.vue"
    },
    {
      "symbol": "S11d records step (new component) routed in the stand-up",
      "defined_in": "app/src/components/founding/FoundingStandupDomainRecords.vue"
    },
    {
      "symbol": "founding-paused-dns card",
      "defined_in": "app/src/lib/healthBoard.ts"
    },
    {
      "symbol": "copy keys (five locales)",
      "defined_in": "app/src/i18n/founding/g7.en.ts"
    }
  ],
  "summary": "Built the own-domain records step (S11d, DDR 0303 #2184): S5 asks only for the name, the deploy no longer waits on DNS and pauses before the door probe until the records verify at the domain's own nameservers, with re-rent invalidation, Do-it-later and a Founding paused — waiting on DNS health-board card.",
  "blockers": []
}
**close-report** for #2184 — status `success` :white_check_mark: **close-report gates passed** — every claim verified against the pushed worker branch `sandcastle/worker/20261119161950-3559225` (pre-land — the host promotes it to `main` only after its post-run verify, #193/#283); issue closed. <details><summary>envelope</summary> ```json { "issue": 2184, "status": "success", "commits": [ "75812e3f6eb105ea6abcbb01b95a02c1191b23d3" ], "changed_files": [ "STATUS.md", "app/helper/cmd/helper/wiring_dev.go", "app/helper/cmd/helper/wiring_prod.go", "app/helper/cmd/helper/wiring_test.go", "app/src/components/founding/FoundingAddress.vue", "app/src/components/founding/FoundingPage.vue", "app/src/components/founding/FoundingStandup.vue", "app/src/components/founding/FoundingStandupDomainRecords.vue", "app/src/components/shell/HealthBoard.vue", "app/src/i18n/areas/shell/en.ts", "app/src/i18n/areas/shell/es.ts", "app/src/i18n/areas/shell/fr.ts", "app/src/i18n/areas/shell/nl.ts", "app/src/i18n/areas/shell/pt.ts", "app/src/i18n/founding/g5.en.ts", "app/src/i18n/founding/g5.es.ts", "app/src/i18n/founding/g5.fr.ts", "app/src/i18n/founding/g5.nl.ts", "app/src/i18n/founding/g5.pt.ts", "app/src/i18n/founding/g7.en.ts", "app/src/i18n/founding/g7.es.ts", "app/src/i18n/founding/g7.fr.ts", "app/src/i18n/founding/g7.nl.ts", "app/src/i18n/founding/g7.pt.ts", "app/src/i18n/founding/g9.standup.en.ts", "app/src/i18n/founding/g9.standup.es.ts", "app/src/i18n/founding/g9.standup.fr.ts", "app/src/i18n/founding/g9.standup.nl.ts", "app/src/i18n/founding/g9.standup.pt.ts", "app/src/lib/founding.ts", "app/src/lib/healthBoard.ts", "app/tests/unit/foundingAccessAddress.test.ts", "app/tests/unit/foundingStandupDomainRecords.test.ts", "app/tests/unit/healthBoard.test.ts", "internal/dns/authoritative.go", "internal/dns/records_test.go", "internal/dns/resolver.go", "internal/founding/access.go", "internal/founding/access_test.go", "internal/founding/deploy.go", "internal/founding/domainrecords.go", "internal/founding/domainrecords_test.go", "internal/founding/export_test.go", "internal/founding/journey.go", "internal/founding/orchestrator.go", "internal/founding/rentedaccessretry_test.go", "internal/founding/rentedleaserenew_test.go", "internal/founding/standup.go", "internal/founding/standup_test.go", "internal/founding/stdio.go", "internal/founding/testing/fakes.go" ], "tests": [ { "command": "nix develop .#go-ci -c go test ./internal/founding/ ./internal/dns/", "exit_code": 0 }, { "command": "nix develop .#go-ci -c go test ./app/helper/cmd/helper/", "exit_code": 0 }, { "command": "nix develop .#go-ci -c go vet ./internal/founding/ ./internal/dns/", "exit_code": 0 }, { "command": "nix develop .#go-ci -c go build ./...", "exit_code": 0 }, { "command": "nix develop .#go-ci -c golangci-lint run ./internal/founding/... ./internal/dns/... ./app/helper/cmd/helper/...", "exit_code": 0 }, { "command": "cd app && node_modules/.bin/vue-tsc -p tsconfig.json --noEmit", "exit_code": 0 }, { "command": "cd app && node_modules/.bin/vitest run --exclude '**/rendererBuild.test.ts'", "exit_code": 0 }, { "command": "cd app && node_modules/.bin/vitest run tests/unit/rendererBuild.test.ts", "exit_code": 0 } ], "criteria": { "given an own-domain draft at S5, when the founder enters the domain and continues, then no record list/placeholder/verify is shown and S5 advances to Review": "SetOwnDomain records the name and advances to StepReview (internal/founding/access.go); FoundingAddress.vue drops the record list + verify, single 'Use this domain' click emits advanced; TestStory10_OwnDomainRecordsAskedForName + app foundingAccessAddress.test.ts 'an own domain asks only for the name and advances to Review'", "given a rented own-domain stand-up whose reachability passes, when it continues, then the deploy starts without any DNS check and the checklist shows the records heads-up line": "wireName wires nothing for own-domain + RunReachability advances to StandupDeploying with no DNS poll (internal/founding/standup.go); TestStory20_ReachabilityPassStartsOwnDomainDeployWithoutDNS asserts 0 resolver polls + step deploying; the heads-up line is data-field=records-heads-up in FoundingStandup.vue (founding.standup.recordsStep.headsUp)", "given the gateway activated + admin seeded + services done, when the stand-up reaches the records state, then the door probe has NOT started and S11d lists apex A, *. A, NS acme., A acme-dns. with the real IP": "runDeploy pauses at StandupDomainRecords before the door-probe tail (finishGatewayDeploy); domainrecords_test.go TestDomainRecords_PausesBeforeDoorProbe asserts door probe 0 hosts, deploy not live, and the four keyed rows carry the real gateway IP", "given the apex resolves only through a parking wildcard one level up, when the records are checked, then the apex and wildcard rows are wrong or waiting, never set": "VerifyRecords compares the exact IP with a random-label wildcard proof (internal/dns/resolver.go); domainrecords_test.go TestDomainRecords_ParkingWildcardNeverSet + internal/dns/records_test.go TestVerifyRecords_ParkingWildcardFails", "given the glue A points at a stale IP, when the records are checked, then the row reads wrong and names the found and the expected IP": "verifyDomainRecords sets RecordWrong + Found; domainrecords_test.go TestDomainRecords_StaleGlueNamesFound; FoundingStandupDomainRecords.vue renders data-field=record-found (foundingStandupDomainRecords.test.ts)", "given every row set, when CheckDomainRecords runs, then the records state is left and the door probe's first-boot budget starts from that moment": "CheckDomainRecords advances to StandupDeploying and launches finishGatewayDeploy (internal/founding/domainrecords.go); domainrecords_test.go TestDomainRecords_AllSetResumesDoorProbe asserts hand-off over a live deploy and the door probe ran", "given a verified records state, when the gateway IP changes (re-rent), then the pass is cleared, the changed rows are marked changed with their previous value, and all rows are re-checked": "refreshDomainRecords marks changed rows with Previous and clears Verified when the IP changed (internal/founding/domainrecords.go); domainrecords_test.go TestDomainRecords_ReRentClearsPassAndMarksChanged; FoundingStandupDomainRecords.vue 'marks a re-rent as changed'", "given the same gateway rebooted or the deploy resumed, when the records step is re-entered, then the earlier pass stands": "ownDomainRecordsGateOpen returns false for a verified pass on the same IP + refreshDomainRecords preserves set rows on an unchanged IP; domainrecords_test.go TestDomainRecords_SameBoxKeepsPass", "given the founder presses Do it later, when the health board renders, then the card reads Founding paused — waiting on DNS with the outstanding count and Resume founding opens S11d": "RecordsLater keeps the step paused; readFounding/cardFromSeat emit founding-paused-dns with outstandingRecords (app/src/lib/healthBoard.ts), HealthBoard.vue renders the status + Resume founding; healthBoard.test.ts 'a records-paused founding is founding-paused-dns' + 'reads founding-paused-dns from the stand-up'", "given a paused founding while the app is open, when all records become set, then founding resumes on its own without a click": "FoundingStandup.vue auto-polls checkDomainRecords every 30s (recordsPolling watch) with no timeout, and the board keeps checking in the background; CheckDomainRecords resumes to the door probe on all-set (domainrecords_test.go TestDomainRecords_AllSetResumesDoorProbe)", "given the subdomain path, when the stand-up runs, then behaviour is unchanged (the broker writes the records)": "the records gate is own-domain only (ownDomainRecordsGateOpen checks AddressOwnDomain); the subdomain path still deploys to hand-off unchanged (rentedpath_test.go TestRentedJourney_CarrierDrivesToHandoffNoTakeover still green)" }, "binds": [ { "symbol": "gatewayDNSRecords / SetOwnDomain / VerifyDomain", "defined_in": "internal/founding/access.go" }, { "symbol": "wireName (own-domain branch) / the stand-up step sequence (StandupDomainRecords)", "defined_in": "internal/founding/standup.go" }, { "symbol": "the door-probe gate (finishGatewayDeploy / probeDoorsLive call site)", "defined_in": "internal/founding/deploy.go" }, { "symbol": "RecordsVerifier / CheckDomainRecords", "defined_in": "internal/founding/domainrecords.go" }, { "symbol": "Resolver (authoritative per-record checks) VerifyRecords", "defined_in": "internal/dns/resolver.go" }, { "symbol": "the S5 own-domain card", "defined_in": "app/src/components/founding/FoundingAddress.vue" }, { "symbol": "S11d records step (new component) routed in the stand-up", "defined_in": "app/src/components/founding/FoundingStandupDomainRecords.vue" }, { "symbol": "founding-paused-dns card", "defined_in": "app/src/lib/healthBoard.ts" }, { "symbol": "copy keys (five locales)", "defined_in": "app/src/i18n/founding/g7.en.ts" } ], "summary": "Built the own-domain records step (S11d, DDR 0303 #2184): S5 asks only for the name, the deploy no longer waits on DNS and pauses before the door probe until the records verify at the domain's own nameservers, with re-rent invalidation, Do-it-later and a Founding paused — waiting on DNS health-board card.", "blockers": [] } ``` </details>

Unproven by the seam (owed as a live leg). The records-step verifier runs against a fake authoritative nameserver in the seam and an in-process scripted verifier in the dns tests; the deploy pause/resume runs over the clan + door-probe fakes. What no seam exercises: a real registrar publishing the five records and Let's Encrypt issuing a certificate after they verify — i.e. an own-domain gateway actually serving :443 once the records pass. That is owed as a live own-domain rented drive (the same drive #2186 — the _acme-challenge CNAME row + door-probe wording — will need). design-verify: the shipped screen is FoundingStandupDomainRecords.vue to the p1-s11d-domain-records.html contract, minus the CNAME row (#2186).

**Unproven by the seam (owed as a live leg).** The records-step verifier runs against a fake authoritative nameserver in the seam and an in-process scripted verifier in the dns tests; the deploy pause/resume runs over the clan + door-probe fakes. What no seam exercises: a **real registrar publishing the five records** and **Let's Encrypt issuing a certificate after they verify** — i.e. an own-domain gateway actually serving `:443` once the records pass. That is owed as a live own-domain rented drive (the same drive #2186 — the `_acme-challenge` CNAME row + door-probe wording — will need). design-verify: the shipped screen is `FoundingStandupDomainRecords.vue` to the `p1-s11d-domain-records.html` contract, minus the CNAME row (#2186).
Sign in to join this conversation.
No milestone
No project
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Reference
Matou/idss#2184
No description provided.