founding: an own-domain gateway can never pass DNS-01 — the operator is never asked for the _acme-challenge CNAME to the gateway's acme-dns fulldomain #2186

Closed
opened 2026-11-10 17:38:40 +00:00 by ben · 7 comments
Owner

What happened

tu-ia rented founding (own domain tech.tuia.co), app 2026.11.3426 at a5025990 (#2185 fixed), 2026-11-10. Enrollment passed: the gateway built, copied and activated; acme-dns, acme-dns-register, caddy and idss-control-plane all active by 12:27, ports 53/80/443 open, acme-dns authoritative for acme.tech.tuia.co. But Caddy could not obtain either certificate:

tls.obtain: [*.tech.tuia.co] solving challenges: waiting for solver certmagic.solverWrapper to be ready:
timed out waiting for record to fully propagate; verify DNS provider configuration is correct
tls.obtain: [tech.tuia.co] … (same)

so :443 answered every SNI with tlsv1 alert internal error (no cert yet), and the deploy's door probe would have redded as a "dead delegation" at the end of the first-boot budget.

Why

Caddy's dns acmedns provider writes the TXT into the gateway's own acme-dns at the registered fulldomain (<uuid>.acme.<domain>, published as /var/lib/idss-acmedns/fulldomain). Let's Encrypt (and certmagic's propagation check) look up _acme-challenge.<domain>, which must be a CNAME to that fulldomain. On the subdomain path the broker writes that CNAME (PointSubdomain(host, ip, acmeChallenge, secret) — the five-record set, ADR 0118). On the own-domain path:

  • gatewayDNSRecords (access.go) shows the operator four records: A, *. A, NS acme., A acme-dns. — no _acme-challenge CNAME.
  • It cannot show one before enrollment: the fulldomain only exists once acme-dns-register has run on the gateway.
  • Nothing after enrollment reads the fact for an own-domain community or tells the operator to add the CNAME; the deploy's door probe only reports the delegation dead.

So an own-domain gateway can never pass DNS-01 out of the box. (On tu-ia I read the fulldomain fact over SSH and added _acme-challenge.tech.tuia.co CNAME 0374e32e-….acme.tech.tuia.co by hand at Porkbun at 12:38; Caddy's next retry then has a path.)

Fix

After enroll-activate on an own-domain carrier, read clan.AcmeDNSFulldomainFact (the same ChallengeSource the subdomain path uses) and surface a fifth record to the operator — CNAME _acme-challenge.<domain> → <fulldomain> — with a "I've set it — verify" that polls the CNAME, BEFORE the deploy's door probe starts its first-boot budget (or pause the probe until it verifies). This is the same "ask for the record when the value exists" shape as #2184, which should fold the whole own-domain record set into one post-deploy step: IP-bearing records once the box is rented, the challenge CNAME once the gateway has registered. Until then the deploy's dead-delegation detail should name the missing CNAME and its target for an own-domain apex instead of "the five-record PutRecords set" (which is the broker's).

Related: #2185, #2184, ADR 0014, ADR 0118, GOTCHAS #27/#28, internal/founding/access.go gatewayDNSRecords, internal/founding/standup.go own-domain branch of the point stage, internal/fleetwire/challenge.go.

## What happened tu-ia rented founding (own domain `tech.tuia.co`), app 2026.11.3426 at a5025990 (#2185 fixed), 2026-11-10. Enrollment passed: the gateway built, copied and activated; `acme-dns`, `acme-dns-register`, `caddy` and `idss-control-plane` all active by 12:27, ports 53/80/443 open, acme-dns authoritative for `acme.tech.tuia.co`. But Caddy could not obtain either certificate: ``` tls.obtain: [*.tech.tuia.co] solving challenges: waiting for solver certmagic.solverWrapper to be ready: timed out waiting for record to fully propagate; verify DNS provider configuration is correct tls.obtain: [tech.tuia.co] … (same) ``` so :443 answered every SNI with `tlsv1 alert internal error` (no cert yet), and the deploy's door probe would have redded as a "dead delegation" at the end of the first-boot budget. ## Why Caddy's `dns acmedns` provider writes the TXT into the gateway's own acme-dns at the registered fulldomain (`<uuid>.acme.<domain>`, published as `/var/lib/idss-acmedns/fulldomain`). Let's Encrypt (and certmagic's propagation check) look up `_acme-challenge.<domain>`, which must be a **CNAME to that fulldomain**. On the subdomain path the broker writes that CNAME (`PointSubdomain(host, ip, acmeChallenge, secret)` — the five-record set, ADR 0118). On the own-domain path: - `gatewayDNSRecords` (access.go) shows the operator **four** records: `A`, `*. A`, `NS acme.`, `A acme-dns.` — no `_acme-challenge` CNAME. - It cannot show one before enrollment: the fulldomain only exists once `acme-dns-register` has run on the gateway. - Nothing after enrollment reads the fact for an own-domain community or tells the operator to add the CNAME; the deploy's door probe only reports the delegation dead. So **an own-domain gateway can never pass DNS-01** out of the box. (On tu-ia I read the fulldomain fact over SSH and added `_acme-challenge.tech.tuia.co CNAME 0374e32e-….acme.tech.tuia.co` by hand at Porkbun at 12:38; Caddy's next retry then has a path.) ## Fix After enroll-activate on an own-domain carrier, read `clan.AcmeDNSFulldomainFact` (the same `ChallengeSource` the subdomain path uses) and surface a fifth record to the operator — `CNAME _acme-challenge.<domain> → <fulldomain>` — with a "I've set it — verify" that polls the CNAME, BEFORE the deploy's door probe starts its first-boot budget (or pause the probe until it verifies). This is the same "ask for the record when the value exists" shape as #2184, which should fold the whole own-domain record set into one post-deploy step: IP-bearing records once the box is rented, the challenge CNAME once the gateway has registered. Until then the deploy's dead-delegation detail should name the missing CNAME and its target for an own-domain apex instead of "the five-record PutRecords set" (which is the broker's). Related: #2185, #2184, ADR 0014, ADR 0118, GOTCHAS #27/#28, `internal/founding/access.go` `gatewayDNSRecords`, `internal/founding/standup.go` own-domain branch of the point stage, `internal/fleetwire/challenge.go`.
ben self-assigned this 2026-11-10 17:38:40 +00:00

This was generated by AI during triage.

Ruled by agent under ADR 0174 — veto anytime.

Category: bug. State: needs-design. Also marked blocked by #2184.

Recommendation

The bug is real and confirmed in code — an own-domain gateway can never pass DNS-01 out of the box.

Verification (confirmed against the tree at HEAD)

  • gatewayDNSRecords (internal/founding/access.go, the "exact record set for an own domain (ADR 0014)") surfaces exactly four records: apex A, wildcard *. A, NS acme.<domain> → acme-dns.<domain>, and the A acme-dns.<domain> glue. No _acme-challenge.<domain> CNAME. Same set is recomputed with the real IP in standup.go's own-domain point branch.
  • The subdomain path does write the CNAME: standup.go calls o.acmeChallenge(...) then PointSubdomain(..., challenge, ...) (internal/brokerclient/client.go), the broker delegating _acme-challenge.<slug> to the gateway's acme-dns fulldomain (ADR 0118 — the five-record set).
  • The own-domain branch never reads ChallengeSource / clan.AcmeDNSFulldomainFact (internal/fleetwire/challenge.go); that read is reachable only from the subdomain branch.
  • Redundancy check: nothing anywhere surfaces or prompts an own-domain operator for the _acme-challenge CNAME post-enrollment. Every challenge/CNAME reference is gated on AddressSubdomain. Not already mitigated.

So LE/certmagic look up _acme-challenge.<domain>, find no CNAME into the gateway's acme-dns zone, propagation times out, and :443 answers every SNI with tlsv1 alert internal error — exactly as reported on tu-ia.

Why needs-design (not ready-for-agent)

The fix is a UI/flow change — "surface a fifth record with an 'I've set it — verify' that polls the CNAME, before the door probe's first-boot budget." A design contract exists for this step (docs/ux/flows/p1-founding.mermaid; the record display at docs/ux/wireframes/p1-founding/p1-s10-reachability-and-name.html, data-field="dns-records"), but it encodes only the four-record set — it renders "✓ found (3 of 4)" with no _acme-challenge CNAME row and no post-enroll "poll the CNAME" verify affordance. The contract the agent would build against does not yet cover the fix, so this routes back to grill-ux-with-docs / wireframe for the founding feature to add the fifth record row and define the verify interaction (and its ordering relative to the door probe).

Why blocked by #2184

#2186 states its fix should "fold the whole own-domain record set into one post-deploy step" — which is exactly #2184's proposal (move "set these records" + verify to after the deployment has an IP). #2184 is itself needs-design. Where the challenge CNAME row lands and how its verify polls depend on that redesign, so #2186 is wired blocked by #2184 to keep the coupling explicit in the DAG.

Why this is a two-way door

needs-design is a label and a native dependency edge — both revertible by a later label/edge change, and the routing is provable (once the wireframe/DDR adds the CNAME row, a live own-domain founding drive proves the cert obtains). Not on the one-way-door list. Veto anytime by relabelling.

> *This was generated by AI during triage.* **Ruled by agent under ADR 0174 — veto anytime.** **Category: `bug`. State: `needs-design`.** Also marked **blocked by #2184**. ## Recommendation The bug is real and confirmed in code — an own-domain gateway can never pass DNS-01 out of the box. ## Verification (confirmed against the tree at HEAD) - `gatewayDNSRecords` (`internal/founding/access.go`, the "exact record set for an own domain (ADR 0014)") surfaces exactly four records: apex `A`, wildcard `*. A`, `NS acme.<domain> → acme-dns.<domain>`, and the `A acme-dns.<domain>` glue. **No `_acme-challenge.<domain>` CNAME.** Same set is recomputed with the real IP in `standup.go`'s own-domain point branch. - The subdomain path *does* write the CNAME: `standup.go` calls `o.acmeChallenge(...)` then `PointSubdomain(..., challenge, ...)` (`internal/brokerclient/client.go`), the broker delegating `_acme-challenge.<slug>` to the gateway's acme-dns fulldomain (ADR 0118 — the five-record set). - The own-domain branch **never** reads `ChallengeSource` / `clan.AcmeDNSFulldomainFact` (`internal/fleetwire/challenge.go`); that read is reachable only from the subdomain branch. - Redundancy check: nothing anywhere surfaces or prompts an own-domain operator for the `_acme-challenge` CNAME post-enrollment. Every challenge/CNAME reference is gated on `AddressSubdomain`. Not already mitigated. So LE/certmagic look up `_acme-challenge.<domain>`, find no CNAME into the gateway's acme-dns zone, propagation times out, and `:443` answers every SNI with `tlsv1 alert internal error` — exactly as reported on tu-ia. ## Why `needs-design` (not `ready-for-agent`) The fix is a UI/flow change — "surface a fifth record with an 'I've set it — verify' that polls the CNAME, before the door probe's first-boot budget." A design contract exists for this step (`docs/ux/flows/p1-founding.mermaid`; the record display at `docs/ux/wireframes/p1-founding/p1-s10-reachability-and-name.html`, `data-field="dns-records"`), **but it encodes only the four-record set** — it renders "✓ found (3 of 4)" with no `_acme-challenge` CNAME row and no post-enroll "poll the CNAME" verify affordance. The contract the agent would build against does not yet cover the fix, so this routes back to `grill-ux-with-docs` / `wireframe` for the founding feature to add the fifth record row and define the verify interaction (and its ordering relative to the door probe). ## Why blocked by #2184 #2186 states its fix should "fold the whole own-domain record set into one post-deploy step" — which is exactly #2184's proposal (move "set these records" + verify to after the deployment has an IP). #2184 is itself `needs-design`. Where the challenge CNAME row lands and how its verify polls depend on that redesign, so #2186 is wired **blocked by #2184** to keep the coupling explicit in the DAG. ## Why this is a two-way door `needs-design` is a label and a native dependency edge — both revertible by a later label/edge change, and the routing is provable (once the wireframe/DDR adds the CNAME row, a live own-domain founding drive proves the cert obtains). Not on the one-way-door list. Veto anytime by relabelling.
Author
Owner

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

Ben ruled the design in the 2026-11-19 interview (DDR 0303 d.1, d.5, d.6, d.10; frame docs/ux/wireframes/p1-founding/p1-s11d-domain-records.html). The _acme-challenge CNAME is the fifth row of the records step that #2184 builds, shown once the gateway has registered, so all five are asked for in one registrar visit. This ticket stays blocked by #2184, because that's a real build order, not a design one.

Task manifest

task: own-domain-acme-challenge-row
implements_flow: p1-founding
implements_edge: S11d→S11d (fifth row), S11d→S12 (all five verified)
wireframe:
  - docs/ux/wireframes/p1-founding/p1-s11d-domain-records.html
interface: |
  on AddressOwnDomain, at entry to the records state, read the gateway's fulldomain through the SAME ChallengeSource the subdomain path uses (clan.AcmeDNSFulldomainFact, gated read)
  gatewayDNSRecords(domain, ip, fulldomain) appends {Type: CNAME, Name: _acme-challenge.<domain>, Value: <fulldomain>, Key: acme-challenge}
  the records state is not entered until the fulldomain is published; a read fault fails loud (never a fabricated value, ADR 0100)
  RecordsVerifier: the CNAME row is set only when the target equals the fulldomain exactly, checked at the authoritative nameservers
  the verified state's key includes the fulldomain; a new fulldomain marks the row changed with Previous
  deadDoorFailure on an own-domain apex names the specific failing record and its expected value; "the five-record PutRecords set" stays subdomain-only; the fault offers Check my records again (re-enters S11d)
binds:
  - symbol: gatewayDNSRecords
    defined_in: internal/founding/access.go
  - symbol: acmeChallenge / the records-state entry
    defined_in: internal/founding/standup.go
  - symbol: ChallengeSource / AcmeDNSFulldomainFact
    defined_in: internal/fleetwire/challenge.go
  - symbol: deadDoorFailure
    defined_in: internal/founding/deploy.go
  - symbol: records step fifth row + door-dead-own-domain frame
    defined_in: the S11d component from #2184; app/src/i18n/founding/*
seam: internal/founding seam tests with a fake ChallengeSource + the fake authoritative verifier; deadDoorFailure table test; app vitest for the fifth row and the door-dead frame
unproven_by_seam: Let's Encrypt issuing through the CNAME on a real own domain (owed as the live own-domain rented drive)
acceptance:
  - given: an own-domain gateway that has published its fulldomain
    when: the records step is shown
    then: a fifth row CNAME _acme-challenge.<domain> → <fulldomain> is listed with the other four
  - given: no fulldomain published yet
    when: the stand-up reaches the records state
    then: the step waits for it and never shows a placeholder or a guessed value
  - given: the CNAME points at an old gateway's fulldomain
    when: the records are checked
    then: the row reads wrong and names the found and the expected target
  - given: a re-rent produces a new fulldomain
    when: the records step re-opens
    then: the CNAME row is marked changed with the previous target struck
  - given: an own-domain door probe that never answers after the records verified
    when: deadDoorFailure classifies it
    then: the detail names _acme-challenge.<domain> and its expected target, never "the five-record PutRecords set", and offers Check my records again
  - given: a subdomain community's dead door
    when: deadDoorFailure classifies it
    then: the detail is unchanged
depends_on: [2184]
out_of_scope: [the four IP rows and the step itself (#2184), subdomain path, pre-seeding acme-dns with a known subdomain, control-panel address switch]
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 (DDR 0303 d.1, d.5, d.6, d.10; frame `docs/ux/wireframes/p1-founding/p1-s11d-domain-records.html`). The `_acme-challenge` CNAME is the **fifth row of the records step** that #2184 builds, shown once the gateway has registered, so all five are asked for in one registrar visit. This ticket stays **blocked by #2184**, because that's a real build order, not a design one. ## Task manifest ```yaml task: own-domain-acme-challenge-row implements_flow: p1-founding implements_edge: S11d→S11d (fifth row), S11d→S12 (all five verified) wireframe: - docs/ux/wireframes/p1-founding/p1-s11d-domain-records.html interface: | on AddressOwnDomain, at entry to the records state, read the gateway's fulldomain through the SAME ChallengeSource the subdomain path uses (clan.AcmeDNSFulldomainFact, gated read) gatewayDNSRecords(domain, ip, fulldomain) appends {Type: CNAME, Name: _acme-challenge.<domain>, Value: <fulldomain>, Key: acme-challenge} the records state is not entered until the fulldomain is published; a read fault fails loud (never a fabricated value, ADR 0100) RecordsVerifier: the CNAME row is set only when the target equals the fulldomain exactly, checked at the authoritative nameservers the verified state's key includes the fulldomain; a new fulldomain marks the row changed with Previous deadDoorFailure on an own-domain apex names the specific failing record and its expected value; "the five-record PutRecords set" stays subdomain-only; the fault offers Check my records again (re-enters S11d) binds: - symbol: gatewayDNSRecords defined_in: internal/founding/access.go - symbol: acmeChallenge / the records-state entry defined_in: internal/founding/standup.go - symbol: ChallengeSource / AcmeDNSFulldomainFact defined_in: internal/fleetwire/challenge.go - symbol: deadDoorFailure defined_in: internal/founding/deploy.go - symbol: records step fifth row + door-dead-own-domain frame defined_in: the S11d component from #2184; app/src/i18n/founding/* seam: internal/founding seam tests with a fake ChallengeSource + the fake authoritative verifier; deadDoorFailure table test; app vitest for the fifth row and the door-dead frame unproven_by_seam: Let's Encrypt issuing through the CNAME on a real own domain (owed as the live own-domain rented drive) acceptance: - given: an own-domain gateway that has published its fulldomain when: the records step is shown then: a fifth row CNAME _acme-challenge.<domain> → <fulldomain> is listed with the other four - given: no fulldomain published yet when: the stand-up reaches the records state then: the step waits for it and never shows a placeholder or a guessed value - given: the CNAME points at an old gateway's fulldomain when: the records are checked then: the row reads wrong and names the found and the expected target - given: a re-rent produces a new fulldomain when: the records step re-opens then: the CNAME row is marked changed with the previous target struck - given: an own-domain door probe that never answers after the records verified when: deadDoorFailure classifies it then: the detail names _acme-challenge.<domain> and its expected target, never "the five-record PutRecords set", and offers Check my records again - given: a subdomain community's dead door when: deadDoorFailure classifies it then: the detail is unchanged depends_on: [2184] out_of_scope: [the four IP rows and the step itself (#2184), subdomain path, pre-seeding acme-dns with a known subdomain, control-panel address switch] needs_human_decision: [] ```

Blocked — the dependency #2184's build has not landed on main

#2186 extends the S11d own-domain records step: the manifest asks me to append the fifth row
(CNAME _acme-challenge.<domain> → <fulldomain>) to the records state built by #2184, read the
fulldomain at entry to that state through ChallengeSource, wire its RecordsVerifier, and have
deadDoorFailure offer Check my records again (re-enter S11d). out_of_scope explicitly excludes
"the four IP rows and the step itself (#2184)", and rule 4 forbids reimplementing a dependency.

The surface to extend is not present on origin/main. At origin/main = bff1092d:

  • Only #2184's design merge landed (c6f9cb2d — DDR 0303 + p1-s11d-domain-records.html).
  • internal/founding/domainrecords.go, app/src/components/founding/FoundingStandupDomainRecords.vue,
    the StandupDomainRecords state, RecordsVerifier / CheckDomainRecords — all absent.
  • internal/founding/access.go still carries the old S5 flow: SetOwnDomain returns the four-record
    set and advances straight to Review; gatewayDNSRecords(domain, ip) is four records, two args.

#2184 is closed as an issue (closed 2026-11-19T17:37:48Z) and its close-report envelope names the build
files, but as a push-landing ticket its build commit has not yet been promoted to main (no 17:3x
worker branch is visible on origin, and the files are absent from the origin/main tree). This is a
build-order race, not a design gap: there is no S11d component in this checkout to append the CNAME row to.

What a human / the queue must do to re-arm

Once #2184's build commit is on origin/main (so internal/founding/domainrecords.go and
FoundingStandupDomainRecords.vue exist), re-add ready-for-agent. The next iteration can then append
the fifth CNAME row, wire the fulldomain read + verifier, and extend deadDoorFailure on the own-domain
apex as the manifest specifies.

## Blocked — the dependency #2184's **build** has not landed on `main` #2186 extends the S11d own-domain records step: the manifest asks me to append the fifth row (`CNAME _acme-challenge.<domain> → <fulldomain>`) to the records state **built by #2184**, read the fulldomain at entry to that state through `ChallengeSource`, wire its `RecordsVerifier`, and have `deadDoorFailure` offer **Check my records again** (re-enter S11d). `out_of_scope` explicitly excludes "the four IP rows and the step itself (#2184)", and rule 4 forbids reimplementing a dependency. **The surface to extend is not present on `origin/main`.** At `origin/main` = `bff1092d`: - Only #2184's **design** merge landed (`c6f9cb2d` — DDR 0303 + `p1-s11d-domain-records.html`). - `internal/founding/domainrecords.go`, `app/src/components/founding/FoundingStandupDomainRecords.vue`, the `StandupDomainRecords` state, `RecordsVerifier` / `CheckDomainRecords` — **all absent**. - `internal/founding/access.go` still carries the **old S5 flow**: `SetOwnDomain` returns the four-record set and advances straight to Review; `gatewayDNSRecords(domain, ip)` is four records, two args. #2184 is closed as an issue (closed 2026-11-19T17:37:48Z) and its close-report envelope names the build files, but as a `push`-landing ticket its build commit has not yet been promoted to `main` (no `17:3x` worker branch is visible on origin, and the files are absent from the `origin/main` tree). This is a **build-order race**, not a design gap: there is no S11d component in this checkout to append the CNAME row to. ### What a human / the queue must do to re-arm Once #2184's build commit is on `origin/main` (so `internal/founding/domainrecords.go` and `FoundingStandupDomainRecords.vue` exist), re-add `ready-for-agent`. The next iteration can then append the fifth CNAME row, wire the fulldomain read + verifier, and extend `deadDoorFailure` on the own-domain apex as the manifest specifies.
Author
Owner

Re-armed: #2184's build is on main at 75812e3f (internal/founding/domainrecords.go and FoundingStandupDomainRecords.vue are present), so the build-order race this block named is gone. agent-blocked → ready-for-agent.

Re-armed: #2184's build is on `main` at 75812e3f (`internal/founding/domainrecords.go` and `FoundingStandupDomainRecords.vue` are present), so the build-order race this block named is gone. `agent-blocked` → `ready-for-agent`.

swarm-claim host=bens-mac-04 run=67477
(automated multi-host claim — lowest live claim id works this ticket)

swarm-claim host=bens-mac-04 run=67477 (automated multi-host claim — lowest live claim id works this ticket)

⏩ independent reviewer for #2186 — verdict unauthenticated

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

close-report for #2186 — status success

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

envelope
{
  "issue": 2186,
  "status": "success",
  "commits": [
    "44568ee85e6e52afa42890e598622cb39d220038"
  ],
  "changed_files": [
    "STATUS.md",
    "app/src/components/founding/FoundingDeployOutcome.vue",
    "app/src/components/founding/FoundingStandupDomainRecords.vue",
    "app/src/i18n/founding/g4.en.ts",
    "app/src/i18n/founding/g4.es.ts",
    "app/src/i18n/founding/g4.fr.ts",
    "app/src/i18n/founding/g4.nl.ts",
    "app/src/i18n/founding/g4.pt.ts",
    "app/src/lib/founding.ts",
    "app/tests/unit/foundingDeployOutcomeDoorDead.test.ts",
    "app/tests/unit/foundingStandupDomainRecords.test.ts",
    "internal/founding/access.go",
    "internal/founding/deploy.go",
    "internal/founding/deploy_test.go",
    "internal/founding/domainrecords.go",
    "internal/founding/domainrecords_test.go",
    "internal/founding/export_test.go"
  ],
  "tests": [
    {
      "command": "go test ./internal/founding/ ./internal/dns/",
      "exit_code": 0
    },
    {
      "command": "go vet ./internal/founding/ ./internal/dns/",
      "exit_code": 0
    },
    {
      "command": "go build ./...",
      "exit_code": 0
    },
    {
      "command": "node_modules/.bin/vitest run tests/unit/founding*.test.ts",
      "exit_code": 0
    },
    {
      "command": "vue-tsc -p tsconfig.json",
      "exit_code": 0
    }
  ],
  "criteria": {
    "given an own-domain gateway that has published its fulldomain, when the records step is shown, then a fifth row CNAME _acme-challenge.<domain> -> <fulldomain> is listed with the other four": "gatewayDNSRecords appends the acme-challenge CNAME when fulldomain != '' (internal/founding/access.go); proven by TestDomainRecords_PausesBeforeDoorProbe (challenge row name+value == testFulldomain) and app foundingStandupDomainRecords.test.ts 'lists the fifth _acme-challenge CNAME row'",
    "given no fulldomain published yet, when the stand-up reaches the records state, then the step waits for it and never shows a placeholder or a guessed value": "CNAME row omitted when fulldomain == '' and the pass gates on Fulldomain != '' (domainrecords.go CheckDomainRecords); proven by TestDomainRecords_NoFulldomainWaits",
    "given the CNAME points at an old gateway's fulldomain, when the records are checked, then the row reads wrong and names the found and the expected target": "verifyDomainRecords marks RecordWrong with Found; proven by TestDomainRecords_StaleChallengeNamesFound (Found == staleTarget, Value == testFulldomain)",
    "given a re-rent produces a new fulldomain, when the records step re-opens, then the CNAME row is marked changed with the previous target struck": "refreshDomainRecords marks the row RecordChanged with Previous and clears Verified on a fulldomain change (domainrecords.go); proven by TestDomainRecords_ReRentClearsPassAndMarksChanged (challenge row changed, Previous == old fulldomain)",
    "given an own-domain door probe that never answers after the records verified, when deadDoorFailure classifies it, then the detail names _acme-challenge.<domain> and its expected target, never 'the five-record PutRecords set', and offers Check my records again": "deadDoorFailure own-domain branch names _acme-challenge.<apex> + fulldomain and buildDeployFailure leads with DeployCheckRecords (deploy.go); proven by TestDeadDoorFailure_OwnDomainNamesChallengeRecord, TestDomainRecords_DeadDoorRedsAndRechecks, and app foundingDeployOutcomeDoorDead.test.ts (door-dead-own-domain frame, fault-line, records-recheck)",
    "given a subdomain community's dead door, when deadDoorFailure classifies it, then the detail is unchanged": "the subdomain path keeps the 'five-record PutRecords set' wording and does not offer DeployCheckRecords; proven by the subdomain assertions in TestDeadDoorFailure_OwnDomainNamesChallengeRecord and foundingDeployOutcomeDoorDead.test.ts 'keeps the generic deploy-failed panel'"
  },
  "binds": [
    {
      "symbol": "gatewayDNSRecords (fifth CNAME row)",
      "defined_in": "internal/founding/access.go"
    },
    {
      "symbol": "records-state entry reads the fulldomain + gates the pass",
      "defined_in": "internal/founding/domainrecords.go"
    },
    {
      "symbol": "deadDoorFailure own-domain record naming",
      "defined_in": "internal/founding/deploy.go"
    },
    {
      "symbol": "DeployCheckRecords / records-recheck (Check my records again)",
      "defined_in": "internal/founding/deploy.go"
    },
    {
      "symbol": "records step fifth row + door-dead-own-domain frame",
      "defined_in": "app/src/components/founding/FoundingDeployOutcome.vue"
    }
  ],
  "summary": "The own-domain records step lists the fifth _acme-challenge CNAME once the gateway publishes its acme-dns fulldomain, so an own-domain gateway can pass DNS-01; the dead-door fault names the record and offers Check my records again.",
  "unproven_by_seam": "The seam uses a fake ChallengeSource + fake RecordsVerifier; what is NOT exercised is Let's Encrypt actually issuing a certificate through the real CNAME delegation on a real own domain — owed as the live own-domain rented drive.",
  "blockers": []
}
**close-report** for #2186 — status `success` :white_check_mark: **close-report gates passed** — every claim verified against the pushed worker branch `sandcastle/worker/20261119181944-1702612` (pre-land — the host promotes it to `main` only after its post-run verify, #193/#283); issue closed. <details><summary>envelope</summary> ```json { "issue": 2186, "status": "success", "commits": [ "44568ee85e6e52afa42890e598622cb39d220038" ], "changed_files": [ "STATUS.md", "app/src/components/founding/FoundingDeployOutcome.vue", "app/src/components/founding/FoundingStandupDomainRecords.vue", "app/src/i18n/founding/g4.en.ts", "app/src/i18n/founding/g4.es.ts", "app/src/i18n/founding/g4.fr.ts", "app/src/i18n/founding/g4.nl.ts", "app/src/i18n/founding/g4.pt.ts", "app/src/lib/founding.ts", "app/tests/unit/foundingDeployOutcomeDoorDead.test.ts", "app/tests/unit/foundingStandupDomainRecords.test.ts", "internal/founding/access.go", "internal/founding/deploy.go", "internal/founding/deploy_test.go", "internal/founding/domainrecords.go", "internal/founding/domainrecords_test.go", "internal/founding/export_test.go" ], "tests": [ { "command": "go test ./internal/founding/ ./internal/dns/", "exit_code": 0 }, { "command": "go vet ./internal/founding/ ./internal/dns/", "exit_code": 0 }, { "command": "go build ./...", "exit_code": 0 }, { "command": "node_modules/.bin/vitest run tests/unit/founding*.test.ts", "exit_code": 0 }, { "command": "vue-tsc -p tsconfig.json", "exit_code": 0 } ], "criteria": { "given an own-domain gateway that has published its fulldomain, when the records step is shown, then a fifth row CNAME _acme-challenge.<domain> -> <fulldomain> is listed with the other four": "gatewayDNSRecords appends the acme-challenge CNAME when fulldomain != '' (internal/founding/access.go); proven by TestDomainRecords_PausesBeforeDoorProbe (challenge row name+value == testFulldomain) and app foundingStandupDomainRecords.test.ts 'lists the fifth _acme-challenge CNAME row'", "given no fulldomain published yet, when the stand-up reaches the records state, then the step waits for it and never shows a placeholder or a guessed value": "CNAME row omitted when fulldomain == '' and the pass gates on Fulldomain != '' (domainrecords.go CheckDomainRecords); proven by TestDomainRecords_NoFulldomainWaits", "given the CNAME points at an old gateway's fulldomain, when the records are checked, then the row reads wrong and names the found and the expected target": "verifyDomainRecords marks RecordWrong with Found; proven by TestDomainRecords_StaleChallengeNamesFound (Found == staleTarget, Value == testFulldomain)", "given a re-rent produces a new fulldomain, when the records step re-opens, then the CNAME row is marked changed with the previous target struck": "refreshDomainRecords marks the row RecordChanged with Previous and clears Verified on a fulldomain change (domainrecords.go); proven by TestDomainRecords_ReRentClearsPassAndMarksChanged (challenge row changed, Previous == old fulldomain)", "given an own-domain door probe that never answers after the records verified, when deadDoorFailure classifies it, then the detail names _acme-challenge.<domain> and its expected target, never 'the five-record PutRecords set', and offers Check my records again": "deadDoorFailure own-domain branch names _acme-challenge.<apex> + fulldomain and buildDeployFailure leads with DeployCheckRecords (deploy.go); proven by TestDeadDoorFailure_OwnDomainNamesChallengeRecord, TestDomainRecords_DeadDoorRedsAndRechecks, and app foundingDeployOutcomeDoorDead.test.ts (door-dead-own-domain frame, fault-line, records-recheck)", "given a subdomain community's dead door, when deadDoorFailure classifies it, then the detail is unchanged": "the subdomain path keeps the 'five-record PutRecords set' wording and does not offer DeployCheckRecords; proven by the subdomain assertions in TestDeadDoorFailure_OwnDomainNamesChallengeRecord and foundingDeployOutcomeDoorDead.test.ts 'keeps the generic deploy-failed panel'" }, "binds": [ { "symbol": "gatewayDNSRecords (fifth CNAME row)", "defined_in": "internal/founding/access.go" }, { "symbol": "records-state entry reads the fulldomain + gates the pass", "defined_in": "internal/founding/domainrecords.go" }, { "symbol": "deadDoorFailure own-domain record naming", "defined_in": "internal/founding/deploy.go" }, { "symbol": "DeployCheckRecords / records-recheck (Check my records again)", "defined_in": "internal/founding/deploy.go" }, { "symbol": "records step fifth row + door-dead-own-domain frame", "defined_in": "app/src/components/founding/FoundingDeployOutcome.vue" } ], "summary": "The own-domain records step lists the fifth _acme-challenge CNAME once the gateway publishes its acme-dns fulldomain, so an own-domain gateway can pass DNS-01; the dead-door fault names the record and offers Check my records again.", "unproven_by_seam": "The seam uses a fake ChallengeSource + fake RecordsVerifier; what is NOT exercised is Let's Encrypt actually issuing a certificate through the real CNAME delegation on a real own domain — owed as the live own-domain rented drive.", "blockers": [] } ``` </details>
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#2186
No description provided.