#788 IDIP drive reds at ports-honest: the S10 one-shot probe beats the 443 drop, then #915's acme-dns gate faults RunReachability uncommitted and freezes the screen buttonless #920

Closed
opened 2026-08-28 04:09:56 +00:00 by matou-build-agent · 2 comments

Drive 20260828T035255Z (target idip, commit 4e29224), red leg ports-honest, signature 89cf86e7639e. artifacts/verdict.json: 7 green, 1 red, firstRedLeg: ports-honest, leg ms 600689 (the full 10-minute CEILING.portsHonest). The assertion that timed out is app/tests/e2e/journey.idip.spec.ts:745 — [data-action="recheck-ports"] never existed.

Two separate defects. The first reds the leg on its own; the second then deadlocks the screen so the remaining ~8 minutes could never recover.

Defect 1 — the #624 mitigation is inert: the one-shot S10 probe still wins the race against the DROP

app/tests/e2e/journey.idip.spec.ts:350-365 arms the 443 DROP before leg 7 (pair) precisely so it lands before the auto-probe. It does not, because leg 7 resolves in 160 ms (artifacts/legs.json, pair): the spec gate had already passed during leg 6 (consent, 4064 ms), so [data-status="spec-gate-pass"] (journey.idip.spec.ts:374) was already rendered when the leg started. Arming "a whole leg early" buys 160 ms, not a leg.

Timeline, from artifacts/verdict.json startedAt 03:54:02.950Z plus the cumulative legs.json ms:

  • drop issued ~03:54:13.5 (journey.idip.spec.ts:365), pair ends ~03:54:13.7 → the probe fires on that same poll tick (app/src/components/founding/FoundingStandup.vue:642-651, the reachabilityPending watch).
  • the DROP's SSH session actually lands at 03:54:15–16 (logs/droplet-journal.txt:1185-1191, sshd[7674] Accepted publickey 03:54:15 → Disconnected 03:54:16). ~1.5–2 s too late.

Proof the probe read reachable: the app rendered founding: read acme-dns challenge for "rehearsal-b.idss.nz": … (artifacts/journey.idip-…/error-context.md, page snapshot). That string is internal/founding/standup.go:965, inside wireName, which is only reached from internal/founding/standup.go:810 — i.e. after if !res.Reachable { … return } at standup.go:798-805. So res.Reachable was true.

Why reachable with nothing listening: logs/droplet-units.txt ss -tlnp at 04:04 shows only sshd:22 and resolved:53 — no 80/443, correct pre-deploy. Under DDR 0188 a port that merely refuses (RST) reads path-proven-reachable, which is exactly what an un-DROPped 443 on a bare droplet gives.

Consequence: reach.reachable true → FoundingReachability.vue:56 (v-if="reach && !reach.reachable && reach.ports?.length") never renders the S10b board, so recheck-ports (FoundingReachability.vue:76) never exists. The leg reds even if Defect 2 is fixed.

Defect 2 — #915's acme-dns gate is structurally unsatisfiable on the self-hosted path, and its fault is dropped on the floor

Regression from 6fc7fba1 (#915). app/helper/cmd/helper/wiring_prod.go:537-544 wires the production challenge source with ChallengeTimeout: 2 * time.Minute — and SSHPort: newGuestVM().SSHPort (wiring_prod.go:540), i.e. the loopback guest VM. On the self-hosted/IDIP carrier there is no guest VM at all (artifacts/host.json: qemu: exit ENOENT: spawn qemu-system-x86_64 ENOENT), so readChallenge (internal/fleetwire/challenge.go:117-136) returns "" on every poll.

Worse, it could not succeed even with a working transport: on this path wireName runs before the gateway deploy — internal/founding/selfhostedpath.go:23: "after the name is pointed (RunReachability's wireName), BEFORE RunDeploy applies Config().Head()". acme-dns-register (internal/clan/acmedns.go) has not run, so clan.AcmeDNSFulldomainFact cannot exist at wire time. The budget is guaranteed to exhaust and waitForChallenge fails loud (internal/fleetwire/challenge.go:142-160, message at :156) — which internal/founding/standup.go:963-966 treats as fatal to the wiring.

Before #915 this same read returned honest-absent "" and the name wired A + wildcard alone (ADR 0100) — benign here, because the self-hosted heartbeat re-points with the challenge after the fleet carries the secret (internal/founding/ownvpspath.go:392, rentedpath.go:200).

Defect 3 (presentation, same code path) — the fault leaves the wizard with no affordance at all

internal/founding/standup.go:810-812 returns the wireName error without committing: st.Reach is assigned at :813, one line after the early return, and st.logEvent(…, "reachability", res.Detail) at :809 is lost with it. Confirmed in logs/founding-state.log: standup.step is still reachability, there is no reach key, and standup.events ends at the spec-gate row with no reachability event.

That is a hard deadlock, not just a cosmetic gap. FoundingStandup.vue:642 computes reachabilityPending = step === 'reachability' && !reach; it was already true and stays true, so the watch at :645-651 never re-fires and the probe never re-runs. FoundingReachability.vue then renders only the pending row — error-context.md snapshot: "● Reachable from the internet — probing from outside: does the address answer on the web ports?" — with neither recheck-ports (:76) nor retry-reachability (:91) present, because both live under v-if="reach && …". A real operator hitting a genuine wiring fault is stranded on the same screen.

Suspected layer

  • Defect 1: rehearsal harness ordering — app/tests/e2e/journey.idip.spec.ts (and the same shape at journey.selfhosted.spec.ts:357).
  • Defect 2: seam wiring / carrier scope — app/helper/cmd/helper/wiring_prod.go, internal/fleetwire/challenge.go.
  • Defect 3: orchestrator error handling — internal/founding/standup.go.

What plugging it needs

  1. Human ruling required (Defect 2): which carriers may gate on the fulldomain fact. #915 fixed a real dead door on the rented path (rehearsal-c, drive 20260827T144343Z) where the gateway is up at wire time; the self-hosted path points the name pre-deploy by design, so gating there can only ever fail. Options: scope ChallengeTimeout per carrier at the wiring; make wireName gate only when a gateway transport is actually resolvable; or keep the gate but move the self-hosted challenge point onto the post-deploy heartbeat. Guessing risks re-opening #915's 648 s dead-door regression in one direction and re-deadlocking the drive in the other.
  2. Defect 1: arm the DROP where it genuinely precedes the probe — the spec's own safety argument (journey.idip.spec.ts:359-363: nothing before leg 10 touches the droplet firewall) already licenses arming before leg 6 (consent, ~4 s of headroom) or leg 5 — or await the drop before the pair assertion rather than after it. Note the same 160 ms pair leg exists in journey.selfhosted.spec.ts.
  3. Defect 3: commit a fail-state Reach (or at minimum leave retry-reachability reachable) when wireName errors at standup.go:810, so the screen always carries a retry. Guard with a seam test in internal/founding asserting the persisted stand-up carries a reach + event after a challenge-read fault.

Targeted checks a worker can run here

go test ./internal/founding/... ./internal/fleetwire/... for defects 2–3; pnpm --filter app exec vitest run app/tests/e2e/fixtures/selfhosted.test.ts covers portFaultPlan but not the leg ordering — defect 1 is only provable on a live drive.

Evidence absent from this run dir

No state/clan-config and no state/logs (logs/state-logs.log: ENOENT … scandir …/state/logs) — expected, the deploy never started. logs/droplet-caddy.txt and every guest-*.log are empty for the same reason. artifacts/journey.json is {"rows": null, "fault": null}.

drive 20260828T035255Z red at ports-honest: expect(locator).toBeVisible() failed Locator: locator('[data-action="recheck-ports"]') Expected: visible Timeout: 600000ms Error: element(s) not found Call log: - Expect "toBeVisible" with timeout 600
evidence: /home/dev/swarm/Matou/idss/test-results/drive-idip/20260828T035255Z on matou-workstation (legs.json and whatever else the drive harvested there) — a representative screenshot is attached here if one was captured

Drive `20260828T035255Z` (target `idip`, commit `4e29224`), red leg `ports-honest`, signature `89cf86e7639e`. `artifacts/verdict.json`: 7 green, 1 red, `firstRedLeg: ports-honest`, leg ms 600689 (the full 10-minute `CEILING.portsHonest`). The assertion that timed out is `app/tests/e2e/journey.idip.spec.ts:745` — `[data-action="recheck-ports"]` never existed. Two separate defects. The first reds the leg on its own; the second then deadlocks the screen so the remaining ~8 minutes could never recover. ## Defect 1 — the #624 mitigation is inert: the one-shot S10 probe still wins the race against the DROP `app/tests/e2e/journey.idip.spec.ts:350-365` arms the 443 DROP *before* leg 7 (pair) precisely so it lands before the auto-probe. It does not, because leg 7 resolves in **160 ms** (`artifacts/legs.json`, `pair`): the spec gate had already passed during leg 6 (consent, 4064 ms), so `[data-status="spec-gate-pass"]` (`journey.idip.spec.ts:374`) was already rendered when the leg started. Arming "a whole leg early" buys 160 ms, not a leg. Timeline, from `artifacts/verdict.json` `startedAt` 03:54:02.950Z plus the cumulative `legs.json` ms: - drop issued ~03:54:13.5 (`journey.idip.spec.ts:365`), pair ends ~03:54:13.7 → the probe fires on that same poll tick (`app/src/components/founding/FoundingStandup.vue:642-651`, the `reachabilityPending` watch). - the DROP's SSH session actually lands at **03:54:15–16** (`logs/droplet-journal.txt:1185-1191`, sshd[7674] `Accepted publickey` 03:54:15 → `Disconnected` 03:54:16). ~1.5–2 s too late. Proof the probe read **reachable**: the app rendered `founding: read acme-dns challenge for "rehearsal-b.idss.nz": …` (`artifacts/journey.idip-…/error-context.md`, page snapshot). That string is `internal/founding/standup.go:965`, inside `wireName`, which is only reached from `internal/founding/standup.go:810` — i.e. after `if !res.Reachable { … return }` at `standup.go:798-805`. So `res.Reachable` was true. Why reachable with nothing listening: `logs/droplet-units.txt` `ss -tlnp` at 04:04 shows only sshd:22 and resolved:53 — no 80/443, correct pre-deploy. Under DDR 0188 a port that merely refuses (RST) reads path-proven-reachable, which is exactly what an un-DROPped 443 on a bare droplet gives. Consequence: `reach.reachable` true → `FoundingReachability.vue:56` (`v-if="reach && !reach.reachable && reach.ports?.length"`) never renders the S10b board, so `recheck-ports` (`FoundingReachability.vue:76`) never exists. The leg reds even if Defect 2 is fixed. ## Defect 2 — #915's acme-dns gate is structurally unsatisfiable on the self-hosted path, and its fault is dropped on the floor Regression from `6fc7fba1` (#915). `app/helper/cmd/helper/wiring_prod.go:537-544` wires the production challenge source with `ChallengeTimeout: 2 * time.Minute` — and `SSHPort: newGuestVM().SSHPort` (`wiring_prod.go:540`), i.e. the **loopback guest VM**. On the self-hosted/IDIP carrier there is no guest VM at all (`artifacts/host.json`: `qemu: exit ENOENT: spawn qemu-system-x86_64 ENOENT`), so `readChallenge` (`internal/fleetwire/challenge.go:117-136`) returns `""` on every poll. Worse, it could not succeed even with a working transport: on this path `wireName` runs **before** the gateway deploy — `internal/founding/selfhostedpath.go:23`: "after the name is pointed (RunReachability's wireName), BEFORE RunDeploy applies Config().Head()". `acme-dns-register` (`internal/clan/acmedns.go`) has not run, so `clan.AcmeDNSFulldomainFact` cannot exist at wire time. The budget is guaranteed to exhaust and `waitForChallenge` fails loud (`internal/fleetwire/challenge.go:142-160`, message at :156) — which `internal/founding/standup.go:963-966` treats as fatal to the wiring. Before #915 this same read returned honest-absent `""` and the name wired A + wildcard alone (ADR 0100) — benign here, because the self-hosted heartbeat re-points with the challenge after the fleet carries the secret (`internal/founding/ownvpspath.go:392`, `rentedpath.go:200`). ## Defect 3 (presentation, same code path) — the fault leaves the wizard with no affordance at all `internal/founding/standup.go:810-812` returns the `wireName` error **without committing**: `st.Reach` is assigned at :813, one line after the early return, and `st.logEvent(…, "reachability", res.Detail)` at :809 is lost with it. Confirmed in `logs/founding-state.log`: `standup.step` is still `reachability`, there is no `reach` key, and `standup.events` ends at the spec-gate row with **no** reachability event. That is a hard deadlock, not just a cosmetic gap. `FoundingStandup.vue:642` computes `reachabilityPending = step === 'reachability' && !reach`; it was already `true` and stays `true`, so the `watch` at :645-651 never re-fires and the probe never re-runs. `FoundingReachability.vue` then renders only the pending row — `error-context.md` snapshot: "● Reachable from the internet — probing from outside: does the address answer on the web ports?" — with neither `recheck-ports` (:76) nor `retry-reachability` (:91) present, because both live under `v-if="reach && …"`. A real operator hitting a genuine wiring fault is stranded on the same screen. ## Suspected layer - Defect 1: rehearsal harness ordering — `app/tests/e2e/journey.idip.spec.ts` (and the same shape at `journey.selfhosted.spec.ts:357`). - Defect 2: seam wiring / carrier scope — `app/helper/cmd/helper/wiring_prod.go`, `internal/fleetwire/challenge.go`. - Defect 3: orchestrator error handling — `internal/founding/standup.go`. ## What plugging it needs 1. **Human ruling required (Defect 2):** which carriers may gate on the fulldomain fact. #915 fixed a real dead door on the rented path (`rehearsal-c`, drive `20260827T144343Z`) where the gateway *is* up at wire time; the self-hosted path points the name pre-deploy by design, so gating there can only ever fail. Options: scope `ChallengeTimeout` per carrier at the wiring; make `wireName` gate only when a gateway transport is actually resolvable; or keep the gate but move the self-hosted challenge point onto the post-deploy heartbeat. Guessing risks re-opening #915's 648 s dead-door regression in one direction and re-deadlocking the drive in the other. 2. **Defect 1:** arm the DROP where it genuinely precedes the probe — the spec's own safety argument (`journey.idip.spec.ts:359-363`: nothing before leg 10 touches the droplet firewall) already licenses arming before leg 6 (consent, ~4 s of headroom) or leg 5 — or `await` the drop before the pair assertion rather than after it. Note the same 160 ms pair leg exists in `journey.selfhosted.spec.ts`. 3. **Defect 3:** commit a fail-state `Reach` (or at minimum leave `retry-reachability` reachable) when `wireName` errors at `standup.go:810`, so the screen always carries a retry. Guard with a seam test in `internal/founding` asserting the persisted stand-up carries a reach + event after a challenge-read fault. ## Targeted checks a worker can run here `go test ./internal/founding/... ./internal/fleetwire/...` for defects 2–3; `pnpm --filter app exec vitest run app/tests/e2e/fixtures/selfhosted.test.ts` covers `portFaultPlan` but **not** the leg ordering — defect 1 is only provable on a live drive. ## Evidence absent from this run dir No `state/clan-config` and no `state/logs` (`logs/state-logs.log`: `ENOENT … scandir …/state/logs`) — expected, the deploy never started. `logs/droplet-caddy.txt` and every `guest-*.log` are empty for the same reason. `artifacts/journey.json` is `{"rows": null, "fault": null}`. drive `20260828T035255Z` red at `ports-honest`: `expect(locator).toBeVisible() failed Locator: locator('[data-action="recheck-ports"]') Expected: visible Timeout: 600000ms Error: element(s) not found Call log: - Expect "toBeVisible" with timeout 600` evidence: `/home/dev/swarm/Matou/idss/test-results/drive-idip/20260828T035255Z` on matou-workstation (legs.json and whatever else the drive harvested there) — a representative screenshot is attached here if one was captured <!-- rehearsal-sig: 89cf86e7639e -->
Author
Member

Ruled by agent under ADR 0174 — veto anytime. Split this ticket: two defects were revertible + provable two-way doors and landed now; the third is a one-way-ish cross-carrier design ruling and STOPS on the human.

Landed (two-way, b8e36c8d, advances #788)

Defect 1 — the one-shot S10 probe beat the DROP (rehearsal-harness ordering). The ports-honest DROP is now armed before leg 5 (agent-install) in both journey.idip.spec.ts and journey.selfhosted.spec.ts, not before leg 7 (pair). Pair resolves in ~160 ms because spec-gate-pass already rendered during consent, so a DROP armed there lands ~1.5–2 s too late — after the one-shot auto-probe already read the un-dropped 443 as reachable under DDR 0188 — and the S10b board + its recheck-ports button never rendered. Arming it an install+consent ahead gives the DROP tens of seconds to land first. Safe this early: nothing before deploy-takeover (leg 10) touches the firewall, and the rule is INBOUND 443 only (iptables -I INPUT --dport 443), so the agent's outbound get.idss.nz fetch + enroll/broker traffic are untouched.
Proof: live-drive-only — the next idip drive is its test (as the ticket's "Targeted checks" notes). pnpm --filter app exec tsc clean on the changed specs.

Defect 3 — the wireName fault was dropped on the floor, deadlocking the wizard (orchestrator error handling). RunReachability returned the wireName error uncommitted (st.Reach was assigned one line past the early return; the :809 reachability event went with it), so a name-wiring fault left the S10 screen buttonless — reachabilityPending stayed true and never re-fired, and neither recheck-ports nor retry-reachability rendered (both gate on reach). It now persists a not-reachable Reach + a reachability event before failing loud, so the screen always carries a retry.
Proof: red-first seam test TestStory20_ChallengeReadFaultCommitsRetryableReach in internal/founding/standup_test.go (asserts the persisted stand-up carries a Reach + reachability event after a challenge-read fault, and never points the subdomain); go build/vet + go test ./internal/founding/ green.

Why human — Defect 2 (the acme-dns carrier-scoping ruling)

ready-for-human for a ruling (not Ben's hands/eyes): #915's acme-dns gate is structurally unsatisfiable on the self-hosted/IDIP path and must not be guessed. wireName runs pre-deploy on that path (internal/founding/selfhostedpath.go:23 — "after the name is pointed … BEFORE RunDeploy applies Config().Head()"), so clan.AcmeDNSFulldomainFact cannot exist at wire time and the single production challenge-source (app/helper/cmd/helper/wiring_prod.go:537-544, ChallengeTimeout: 2m, SSHPort: newGuestVM().SSHPort — a loopback guest VM that does not exist on the IDIP carrier) always exhausts fatally. Before #915 the same read returned honest-absent "" and the name wired A + wildcard alone (ADR 0100) — benign there, because the self-hosted heartbeat re-points with the challenge after the fleet carries the secret (ownvpspath.go/rentedpath.go).

Why it can't be a two-way agent ruling here: the two failure modes are in tension and only fully provable by live drives on both paths (idip AND rented) — which this session can't run. Guessing wrong re-opens #915's 648 s rented dead-door in one direction, or re-deadlocks the self-hosted drive in the other. A single wired ChallengeSource serves all carriers via o.acmeChallenge, so scoping is a real cross-carrier design choice, not a config toggle.

Proposed default ruling (adoptable under ADR 0174 rule 1 by whoever has drive access): option (a) — scope ChallengeTimeout per carrier at the wiring, leaving the rented/own-VPS carriers at 2 min (so #915 provably cannot regress — their behaviour is byte-identical) and giving the self-hosted carrier a zero budget (the documented single-shot honest-absent read: "" never fatal, name wired A + wildcard alone, heartbeat re-points post-deploy). Requires wireName/acmeChallenge to select behaviour by d.Access.Kind, or a per-carrier challenge source. Options (b) "gate only when a gateway transport is actually resolvable" and (c) "move the self-hosted challenge point onto the post-deploy heartbeat" are the alternatives the ticket lists. Confirm (a) or pick, then re-drive idip + rented to prove both doors.

Defects 1 + 3 de-risk the drive so that, once Defect 2 is ruled, the next drive tests the fix cleanly. Relabelled ready-for-session → ready-for-human.

**Ruled by agent under ADR 0174 — veto anytime.** Split this ticket: two defects were revertible + provable two-way doors and landed now; the third is a one-way-ish cross-carrier design ruling and STOPS on the human. ## Landed (two-way, `b8e36c8d`, advances #788) **Defect 1 — the one-shot S10 probe beat the DROP (rehearsal-harness ordering).** The ports-honest DROP is now armed **before leg 5 (agent-install)** in both `journey.idip.spec.ts` and `journey.selfhosted.spec.ts`, not before leg 7 (pair). Pair resolves in ~160 ms because `spec-gate-pass` already rendered during consent, so a DROP armed there lands ~1.5–2 s too late — after the one-shot auto-probe already read the un-dropped 443 as reachable under DDR 0188 — and the S10b board + its `recheck-ports` button never rendered. Arming it an install+consent ahead gives the DROP tens of seconds to land first. Safe this early: nothing before deploy-takeover (leg 10) touches the firewall, and the rule is INBOUND 443 only (`iptables -I INPUT --dport 443`), so the agent's outbound get.idss.nz fetch + enroll/broker traffic are untouched. _Proof:_ live-drive-only — the next `idip` drive is its test (as the ticket's "Targeted checks" notes). `pnpm --filter app exec tsc` clean on the changed specs. **Defect 3 — the wireName fault was dropped on the floor, deadlocking the wizard (orchestrator error handling).** `RunReachability` returned the `wireName` error **uncommitted** (`st.Reach` was assigned one line past the early return; the `:809` reachability event went with it), so a name-wiring fault left the S10 screen buttonless — `reachabilityPending` stayed true and never re-fired, and neither `recheck-ports` nor `retry-reachability` rendered (both gate on `reach`). It now persists a **not-reachable `Reach` + a reachability event** before failing loud, so the screen always carries a retry. _Proof:_ red-first seam test `TestStory20_ChallengeReadFaultCommitsRetryableReach` in `internal/founding/standup_test.go` (asserts the persisted stand-up carries a `Reach` + reachability event after a challenge-read fault, and never points the subdomain); `go build`/`vet` + `go test ./internal/founding/` green. ## Why human — Defect 2 (the acme-dns carrier-scoping ruling) `ready-for-human` for a **ruling** (not Ben's hands/eyes): #915's acme-dns gate is **structurally unsatisfiable on the self-hosted/IDIP path** and must not be guessed. `wireName` runs pre-deploy on that path (`internal/founding/selfhostedpath.go:23` — "after the name is pointed … BEFORE RunDeploy applies Config().Head()"), so `clan.AcmeDNSFulldomainFact` cannot exist at wire time and the single production `challenge-source` (`app/helper/cmd/helper/wiring_prod.go:537-544`, `ChallengeTimeout: 2m`, `SSHPort: newGuestVM().SSHPort` — a loopback guest VM that does not exist on the IDIP carrier) always exhausts fatally. Before #915 the same read returned honest-absent `""` and the name wired A + wildcard alone (ADR 0100) — benign there, because the self-hosted heartbeat re-points with the challenge after the fleet carries the secret (`ownvpspath.go`/`rentedpath.go`). **Why it can't be a two-way agent ruling here:** the two failure modes are in tension and only fully provable by **live drives on both paths** (idip AND rented) — which this session can't run. Guessing wrong re-opens #915's 648 s rented dead-door in one direction, or re-deadlocks the self-hosted drive in the other. A single wired `ChallengeSource` serves all carriers via `o.acmeChallenge`, so scoping is a real cross-carrier design choice, not a config toggle. **Proposed default ruling (adoptable under ADR 0174 rule 1 by whoever has drive access):** option (a) — **scope `ChallengeTimeout` per carrier at the wiring**, leaving the rented/own-VPS carriers at 2 min (so #915 provably cannot regress — their behaviour is byte-identical) and giving the self-hosted carrier a **zero budget** (the documented single-shot honest-absent read: `""` never fatal, name wired A + wildcard alone, heartbeat re-points post-deploy). Requires `wireName`/`acmeChallenge` to select behaviour by `d.Access.Kind`, or a per-carrier challenge source. Options (b) "gate only when a gateway transport is actually resolvable" and (c) "move the self-hosted challenge point onto the post-deploy heartbeat" are the alternatives the ticket lists. Confirm (a) or pick, then re-drive idip + rented to prove both doors. Defects 1 + 3 de-risk the drive so that, once Defect 2 is ruled, the next drive tests the fix cleanly. Relabelled `ready-for-session` → `ready-for-human`.
Owner

Defect 2 RULED by Ben (2026-08-28): option (a) — landed 71c0a7d7 + c61eeb63 (gofmt), GOTCHAS #116

  • founding.ChallengeSourceOnce — optional single-shot face of a ChallengeSource.
  • fleetwire.ChallengeSource.AcmeChallengeOnce — the honest-absent single read, budget ignored, never faults.
  • Orchestrator.acmeChallenge(ctx, d) takes the once-face only when d.Access.Kind == AccessSelfHosted; every other carrier calls the source's own gated AcmeChallenge unchanged — #915's rented fix is byte-identical.
  • Seam tests pin both directions: TestStory20_SelfHostedTakesSingleShotChallengeReadNotTheGate (gated read scripted to exhaust; self-hosted still wires A + wildcard and commits reach, once-read taken exactly once) and TestStory20_RentedKeepsTheGatedChallengeRead (once-face offered but never taken). TestChallengeSource_OnceIgnoresTheBudgetAndNeverFaults in fleetwire.

All three #920 defects are now landed. Closing; the next #788 idip drive is the live proof, and one rented drive proves no regression (the phase-5 rehearsal-d founding covers that).

## Defect 2 RULED by Ben (2026-08-28): option (a) — landed `71c0a7d7` + `c61eeb63` (gofmt), GOTCHAS #116 - `founding.ChallengeSourceOnce` — optional single-shot face of a `ChallengeSource`. - `fleetwire.ChallengeSource.AcmeChallengeOnce` — the honest-absent single read, budget ignored, never faults. - `Orchestrator.acmeChallenge(ctx, d)` takes the once-face **only** when `d.Access.Kind == AccessSelfHosted`; every other carrier calls the source's own gated `AcmeChallenge` unchanged — #915's rented fix is byte-identical. - Seam tests pin both directions: `TestStory20_SelfHostedTakesSingleShotChallengeReadNotTheGate` (gated read scripted to exhaust; self-hosted still wires A + wildcard and commits reach, once-read taken exactly once) and `TestStory20_RentedKeepsTheGatedChallengeRead` (once-face offered but never taken). `TestChallengeSource_OnceIgnoresTheBudgetAndNeverFaults` in fleetwire. All three #920 defects are now landed. Closing; the next #788 `idip` drive is the live proof, and one `rented` drive proves no regression (the phase-5 `rehearsal-d` founding covers that).
ben closed this issue 2026-08-28 15:08:46 +00:00
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#920
No description provided.