rehearsal drive red at ports-honest #623

Closed
opened 2026-08-20 22:06:55 +00:00 by matou-build-agent · 5 comments

(headless diagnosis unparseable — raw stdout saved to logs/reporter-claude.out)

drive 20260820T215448Z red at ports-honest: expect(locator).toBeVisible() failed Locator: locator('[data-status="reachable"]') Expected: visible Timeout: 600000ms Error: element(s) not found Call log: - Expect "toBeVisible" with timeout 600000m
evidence: test-results/…/20260820T215448Z/ on matou-workstation (legs.json, droplet-journal.txt, trace) — a representative screenshot is attached here if one was captured (#596)

(headless diagnosis unparseable — raw stdout saved to logs/reporter-claude.out) drive `20260820T215448Z` red at `ports-honest`: `expect(locator).toBeVisible() failed Locator: locator('[data-status="reachable"]') Expected: visible Timeout: 600000ms Error: element(s) not found Call log: - Expect "toBeVisible" with timeout 600000m` evidence: `test-results/…/20260820T215448Z/` on matou-workstation (legs.json, droplet-journal.txt, trace) — a representative screenshot is attached here if one was captured (#596) <!-- rehearsal-sig: 89cf86e7639e -->
Owner

Head-start (evidence test-results/drive-selfhosted/20260820T215448Z) — this is NOT #622 again; #622's fix worked. This is a product/design gap, please do not "fix" it by weakening the spec's assertion without a ruling.

What happened. ports-honest's first half now passes: after the SSH drop + recheck-ports click, 443 rendered dropped, guidance rendered, no false reachable. The red is the leg's second half (journey.selfhosted.spec.ts:466-467): after un-dropping and re-checking, the spec expects [data-status="reachable"]; the probe honestly reports 80 refused, 443 refused — "170.64.154.115 answered but ports 80, 443 closed — nothing is listening". host.json confirms: only sshd listens on the droplet at that point.

Why it can never pass as designed. RunReachability (internal/founding/standup.go:740-775) advances to StandupDeploying only when res.Reachable is true, and the prober (internal/reachability/prober.go:163-185) returns Reachable: true only when every required port (80/443) is open. But on the self-hosted path the thing that would listen on 80/443 — the gateway — is deployed at S11, after S10. Pre-deploy nothing on the box listens (the agent only opens a Unix socket, agent/cmd/agent/main.go:200). So for a real self-hosted founding the S10 gate is a deadlock, not just a drive red: this drive is the first to reach S10 with a real probe, which is why it surfaces only now (#608 → #609 → #622 peeled the layers above it).

Candidates (this needs a DDR/ADR-grade ruling; two-way door under ADR 0174 if the session can argue it, else ready-for-human):

  • (b) Re-read refused pre-deploy as "reachable, not yet listening". Semantically honest and carries real signal: a working port-forward to a box with nothing listening yields RST (refused); a missing forward / firewall yields silence (dropped). So S10 pre-deploy can gate on no port dropped (path proven) rather than all open (service proven), and S12/activation keeps the open proof. Smallest change: prober returns Reachable: true with a distinct detail when refused only and no dropped/filtered; rows still render refused (DDR 0175 vocabulary intact, rows speak the prober's words). The spec's final assertion then passes as written. The under-report detector is unaffected (dropped still ≠ reachable).
  • (a) The agent answers on 80/443 during enrolment (a placeholder "doorbell" responder until the gateway takes over). Proves the forward end-to-end with a real open, but a new listener + port-bind privilege + hand-off-to-gateway sequencing on the takeover path — bigger, and ADR 0181's carrier design didn't plan for it.
  • (c) Move the probe after deploy. Not viable as-is: wireName runs off the reachable result and deploy needs the name.

Recommend (b) unless the wireframe/DDR 0175 contract says S10 must prove service, not path — check p1-s10-reachability-and-name.html and DDR 0175 §2 ("Reachability re-runs when every required row answers") before ruling. Rented path is unaffected (the rented gateway already listens when S10 runs).

**Head-start (evidence `test-results/drive-selfhosted/20260820T215448Z`) — this is NOT #622 again; #622's fix worked. This is a product/design gap, please do not "fix" it by weakening the spec's assertion without a ruling.** **What happened.** `ports-honest`'s first half now passes: after the SSH drop + `recheck-ports` click, 443 rendered `dropped`, guidance rendered, no false `reachable`. The red is the leg's **second half** (`journey.selfhosted.spec.ts:466-467`): after un-dropping and re-checking, the spec expects `[data-status="reachable"]`; the probe honestly reports `80 refused, 443 refused` — `"170.64.154.115 answered but ports 80, 443 closed — nothing is listening"`. `host.json` confirms: only sshd listens on the droplet at that point. **Why it can never pass as designed.** `RunReachability` (`internal/founding/standup.go:740-775`) advances to `StandupDeploying` only when `res.Reachable` is true, and the prober (`internal/reachability/prober.go:163-185`) returns `Reachable: true` only when every required port (80/443) is **`open`**. But on the self-hosted path the thing that would listen on 80/443 — the gateway — is deployed at S11, *after* S10. Pre-deploy nothing on the box listens (the agent only opens a Unix socket, `agent/cmd/agent/main.go:200`). So for a real self-hosted founding the S10 gate is a deadlock, not just a drive red: this drive is the first to reach S10 with a real probe, which is why it surfaces only now (#608 → #609 → #622 peeled the layers above it). **Candidates (this needs a DDR/ADR-grade ruling; two-way door under ADR 0174 if the session can argue it, else `ready-for-human`):** - **(b) Re-read `refused` pre-deploy as "reachable, not yet listening".** Semantically honest and carries real signal: a working port-forward to a box with nothing listening yields RST (`refused`); a missing forward / firewall yields silence (`dropped`). So S10 pre-deploy can gate on `no port dropped` (path proven) rather than `all open` (service proven), and S12/activation keeps the `open` proof. Smallest change: prober returns `Reachable: true` with a distinct detail when `refused` only and no `dropped`/`filtered`; rows still render `refused` (DDR 0175 vocabulary intact, rows speak the prober's words). The spec's final assertion then passes as written. The under-report detector is unaffected (dropped still ≠ reachable). - **(a) The agent answers on 80/443 during enrolment** (a placeholder "doorbell" responder until the gateway takes over). Proves the forward end-to-end with a real `open`, but a new listener + port-bind privilege + hand-off-to-gateway sequencing on the takeover path — bigger, and ADR 0181's carrier design didn't plan for it. - **(c) Move the probe after deploy.** Not viable as-is: `wireName` runs off the reachable result and deploy needs the name. Recommend (b) unless the wireframe/DDR 0175 contract says S10 must prove *service*, not *path* — check `p1-s10-reachability-and-name.html` and DDR 0175 §2 ("Reachability re-runs when every required row answers") before ruling. Rented path is unaffected (the rented gateway already listens when S10 runs).
Owner

RULED by Ben (2026-08-20 22:1xZ): go with option (b).

Pre-deploy, S10 gates on path proven — no required port dropped — not service proven. refused = the knock reached the box (forward works, nothing listening yet) → Reachable: true with a distinct, honest detail line; rows keep rendering the prober's own word (refused, DDR 0175 vocabulary intact). dropped still ≠ reachable (the under-report detector stands). The strict all-open proof remains at activation/S12. Record the ruling as a DDR/ADR amendment to DDR 0175 (next free number — check origin/main first), update the S10 guidance copy + the wireframe note if it states "every required row answers", and keep journey.selfhosted.spec.ts:466-467 as written — it should pass under (b) without edits.

**RULED by Ben (2026-08-20 22:1xZ): go with option (b).** Pre-deploy, S10 gates on *path proven* — no required port `dropped` — not *service proven*. `refused` = the knock reached the box (forward works, nothing listening yet) → `Reachable: true` with a distinct, honest detail line; rows keep rendering the prober's own word (`refused`, DDR 0175 vocabulary intact). `dropped` still ≠ reachable (the under-report detector stands). The strict all-`open` proof remains at activation/S12. Record the ruling as a DDR/ADR amendment to DDR 0175 (next free number — check `origin/main` first), update the S10 guidance copy + the wireframe note if it states "every required row answers", and keep `journey.selfhosted.spec.ts:466-467` as written — it should pass under (b) without edits.
Author
Member

Diagnosis — a new gap, one leg deeper than #622

272273a7 (#622's fix, landed 21:24:35Z) worked exactly as intended: this drive
(20260820T215448Z, started 21:55:56Z — after the fix) is the first
selfhosted drive ever
to get past
[data-port="443"][data-status="dropped"] (legs.json's
journey.selfhosted-*/error-context.md shows the fault-injection tooth
rendered and the board named 443/dropped correctly). Every prior drive
(20260820T012307Z, 20260820T021653Z, 20260820T205437Z — #608/#609/#622)
reddened at that exact locator, before the one-shot-probe race let it that
far. This one reds one assertion later, at the leg's last line
(journey.selfhosted.spec.ts:467, [data-status="reachable"] after the SSH
undrop + re-check) — genuinely new territory, not a repeat.

Not a race, not a test bug. logs/droplet-units.txt's ss -tlnp (taken
at evidence-harvest time, end of the leg) shows exactly one thing listening
on this droplet for the whole run: sshd on :22. Nothing on :80/:443,
before the drop, during it, or after undrop. state/founding-state.json's
reach.events log confirms three real probes, not a stuck one:

  1. pre-drop auto-probe → refused/refused (expected — nothing deployed yet)
  2. post-drop recheck → 443 reports dropped (the injected iptables … DROP,
    correctly detected — the #622-fixed tooth)
  3. post-undrop recheck → still refused/refused on both 80 and
    443 — the assertion this leg reds on.

iptables -D … -j DROP only removes a rule this leg itself injected; it was
never capable of making anything answer. Nothing has served 80/443 on
this droplet at any point in the leg
— the fault injection is a red
herring for this particular red.

Why nothing listens (traced, not guessed): per the phase-3 spec's own
leg table (docs/superpowers/specs/2026-08-14-183-phase-3-home-gateway-rehearsal-design.md)
and internal/founding/standup.go's comments, S10 reachability
(ports-honest) runs before DNS wiring (point, leg 9) and before the
OS takeover (deploy-takeover, leg 10: kexec→disko→install→reboot) — by
design, ADR 0049 wants reachability proven before the name is wired. This
drive's own artifacts/consent-transcript.txt confirms the takeover hasn't
run yet at leg 8: "✓ consent recorded — the wipe runs at first deploy."
Caddy only exists after that wipe (scripts/lib/rehearsal-droplet.sh's own
comments: /var/lib/caddy is wiped before Caddy ever starts; the caddy user
only appears once the post-takeover NixOS boots). The manual install command
(internal/founding/manualpath.go:installCommand) installs only
idss-agent — confirmed live in logs/droplet-journal.txt:
idss-agent[…] msg="join socket listening" … path=/run/idss/agent.sock, a
unix socket, no TCP bind. I grepped the tree for anything that binds a
placeholder to 80/443 before the takeover (agent, control-plane,
bootstrap, provision) — there is none.

So the leg's last tooth has never once been exercisable. Pre-#622 it
always died earlier (the one-shot-probe race). Post-#622 it reaches the real
assertion for the first time — and proves, honestly, that on the current
build nothing on the still-unwiped operator machine can ever answer 80/443,
fault-injected or not. This is the ports-honest leg's whole point working
correctly (an honest board, never a masked pass) surfacing a real product gap
for the first time, not a defect in the leg or in #622's fix.

Ruled by agent under ADR 0174 — veto anytime

Ruling: this is NOT a two-way-door bug fix. Closing the gap means picking
between two designs, not patching broken logic:

  • (a) stand up a new placeholder listener on 80/443 on the
    operator's box before it's wiped — but that's a new deliberately-public
    surface on a not-yet-secured machine, which ADR 0174 §3 names by example as
    a one-way door ("security-posture widenings: a new deliberately-public
    surface or port"); or
  • (b) move the ports-honest/S10 reachability gate to run after
    deploy-takeover instead of before — which changes what the self-hosted
    founding flow promises (ADR 0049's "reachability proven before the name is
    wired" no longer holds in the same sense), a call on the founding
    contract's meaning, not its implementation.

Either changes what the app guarantees on the self-hosted path, not just
how it's tested — outside the reversibility rule's "provable by an existing
test/drive/probe" plus "not a security-posture widening" bar. I'm not
weakening the leg's final assertion to make it pass either — that would mask
exactly the failure mode this honesty leg exists to catch.

Proposed default ruling (ADR 0174 rule 4): lean (b) — keep the
fault-injection contract (drop 443, assert dropped + no false
reachable, undrop, assert reachable) but run it once Caddy is actually
live post-takeover, since the prober's "indistinguishable from a home router
with no forward rule" premise doesn't depend on when the gateway comes up,
only that something real is listening for the drop/undrop to mean anything.
(b) needs a look at whether point (DNS wiring, currently leg 9, before
deploy-takeover) also needs to move for ADR 0049 to still hold end to end —
that's the part I don't have standing to just decide.

Overlap with #331: #331 (already needs-design) already names the
adjacent gap in its own body — "the only port-forwarding guidance anywhere
in the tree is a failure string… S4b… and nothing after it."
This drive is
concrete, live-proven evidence of that same underlying incompleteness: DDR
0175's thin manual slice built the S10b board, but nothing yet makes the
board's own required-now "web" row ever have something real to observe
pre-deploy. Worth folding into whatever /grill-ux-with-docs or /wireframe
pass eventually resumes #331.

Why human

A ruling between (a) a new pre-wipe public listener (ADR 0174 §3
security-posture widening, explicitly one-way) and (b) resequencing the
founding flow's reachability gate relative to deploy (changes the ADR 0049
guarantee the self-hosted path makes) — both reshape what the app promises
on the self-hosted path, not just how it's tested. Proposed default above:
option (b).

Leaving ready-for-session off this ticket (routing to ready-for-human +
needs-design) since the next step is Ben's ruling, then — if (b) — a
/grill-ux-with-docs/DDR pass extending #331, not more agent-session
diagnosis. priority and rehearsal-183 kept; this still blocks #523
natively (unchanged from the reporter's filing).

## Diagnosis — a new gap, one leg deeper than #622 `272273a7` (#622's fix, landed 21:24:35Z) worked exactly as intended: this drive (`20260820T215448Z`, started 21:55:56Z — after the fix) is the **first `selfhosted` drive ever** to get past `[data-port="443"][data-status="dropped"]` (`legs.json`'s `journey.selfhosted-*/error-context.md` shows the fault-injection tooth rendered and the board named `443`/`dropped` correctly). Every prior drive (`20260820T012307Z`, `20260820T021653Z`, `20260820T205437Z` — #608/#609/#622) reddened at that exact locator, before the one-shot-probe race let it that far. This one reds one assertion later, at the leg's *last* line (`journey.selfhosted.spec.ts:467`, `[data-status="reachable"]` after the SSH `undrop` + re-check) — genuinely new territory, not a repeat. **Not a race, not a test bug.** `logs/droplet-units.txt`'s `ss -tlnp` (taken at evidence-harvest time, end of the leg) shows exactly one thing listening on this droplet for the whole run: `sshd` on `:22`. Nothing on `:80`/`:443`, before the drop, during it, or after `undrop`. `state/founding-state.json`'s `reach.events` log confirms three real probes, not a stuck one: 1. pre-drop auto-probe → `refused`/`refused` (expected — nothing deployed yet) 2. post-drop recheck → `443` reports `dropped` (the injected `iptables … DROP`, correctly detected — the #622-fixed tooth) 3. post-`undrop` recheck → **still** `refused`/`refused` on both `80` and `443` — the assertion this leg reds on. `iptables -D … -j DROP` only removes a rule this leg itself injected; it was never capable of making anything answer. **Nothing has served `80`/`443` on this droplet at any point in the leg** — the fault injection is a red herring for this particular red. **Why nothing listens (traced, not guessed):** per the phase-3 spec's own leg table (`docs/superpowers/specs/2026-08-14-183-phase-3-home-gateway-rehearsal-design.md`) and `internal/founding/standup.go`'s comments, S10 reachability (`ports-honest`) runs *before* DNS wiring (`point`, leg 9) and *before* the OS takeover (`deploy-takeover`, leg 10: kexec→disko→install→reboot) — by design, ADR 0049 wants reachability proven before the name is wired. This drive's own `artifacts/consent-transcript.txt` confirms the takeover hasn't run yet at leg 8: *"✓ consent recorded — the wipe runs at first deploy."* Caddy only exists after that wipe (`scripts/lib/rehearsal-droplet.sh`'s own comments: `/var/lib/caddy` is wiped before Caddy ever starts; the caddy user only appears once the post-takeover NixOS boots). The manual install command (`internal/founding/manualpath.go:installCommand`) installs only `idss-agent` — confirmed live in `logs/droplet-journal.txt`: `idss-agent[…] msg="join socket listening" … path=/run/idss/agent.sock`, a unix socket, no TCP bind. I grepped the tree for anything that binds a placeholder to `80`/`443` before the takeover (agent, control-plane, bootstrap, provision) — there is none. **So the leg's last tooth has never once been exercisable.** Pre-#622 it always died earlier (the one-shot-probe race). Post-#622 it reaches the real assertion for the first time — and proves, honestly, that on the current build nothing on the still-unwiped operator machine can ever answer `80`/`443`, fault-injected or not. This is the `ports-honest` leg's whole point working correctly (an honest board, never a masked pass) surfacing a real product gap for the first time, not a defect in the leg or in #622's fix. ## Ruled by agent under ADR 0174 — veto anytime **Ruling: this is NOT a two-way-door bug fix.** Closing the gap means picking between two designs, not patching broken logic: - **(a)** stand up a new placeholder listener on `80`/`443` on the operator's box *before* it's wiped — but that's a new deliberately-public surface on a not-yet-secured machine, which ADR 0174 §3 names by example as a one-way door ("security-posture widenings: a new deliberately-public surface or port"); or - **(b)** move the `ports-honest`/S10 reachability gate to run *after* `deploy-takeover` instead of before — which changes what the self-hosted founding flow promises (ADR 0049's "reachability proven before the name is wired" no longer holds in the same sense), a call on the founding contract's meaning, not its implementation. Either changes what the app *guarantees* on the self-hosted path, not just how it's tested — outside the reversibility rule's "provable by an existing test/drive/probe" plus "not a security-posture widening" bar. I'm not weakening the leg's final assertion to make it pass either — that would mask exactly the failure mode this honesty leg exists to catch. **Proposed default ruling (ADR 0174 rule 4):** lean **(b)** — keep the fault-injection contract (drop `443`, assert `dropped` + no false `reachable`, undrop, assert `reachable`) but run it once Caddy is actually live post-takeover, since the prober's "indistinguishable from a home router with no forward rule" premise doesn't depend on *when* the gateway comes up, only that something real is listening for the drop/undrop to mean anything. (b) needs a look at whether `point` (DNS wiring, currently leg 9, before `deploy-takeover`) also needs to move for ADR 0049 to still hold end to end — that's the part I don't have standing to just decide. **Overlap with #331:** #331 (already `needs-design`) already names the adjacent gap in its own body — *"the only port-forwarding guidance anywhere in the tree is a failure string… S4b… and nothing after it."* This drive is concrete, live-proven evidence of that same underlying incompleteness: DDR 0175's thin manual slice built the S10b **board**, but nothing yet makes the board's own required-now "web" row ever have something real to observe pre-deploy. Worth folding into whatever `/grill-ux-with-docs` or `/wireframe` pass eventually resumes #331. ## Why human A ruling between (a) a new pre-wipe public listener (ADR 0174 §3 security-posture widening, explicitly one-way) and (b) resequencing the founding flow's reachability gate relative to deploy (changes the ADR 0049 guarantee the self-hosted path makes) — both reshape what the app promises on the self-hosted path, not just how it's tested. Proposed default above: option (b). Leaving `ready-for-session` off this ticket (routing to `ready-for-human` + `needs-design`) since the next step is Ben's ruling, then — if (b) — a `/grill-ux-with-docs`/DDR pass extending #331, not more agent-session diagnosis. `priority` and `rehearsal-183` kept; this still blocks #523 natively (unchanged from the reporter's filing).
Owner

Ben's ruling stands and is a THIRD option, not the session's (b) — re-arming ready-for-session.

The session's comment crossed with Ben's ruling above (posted 22:1xZ, after the session started). To be unambiguous, the ruled option is "refused = path proven, pre-deploy":

  • Pre-deploy (S10, before point/deploy-takeover), the prober returns Reachable: true when no required port is dropped/filtered — refused on 80/443 means the knock reached the operator's box (the forward and firewall are right; nothing listens yet, which is expected before the gateway exists). dropped still ⇒ not reachable, with the firewall-lane guidance — the under-report detector is untouched.
  • Rows keep rendering the prober's own word (refused), DDR 0175 vocabulary intact. The detail line must say it honestly, e.g. "Probed from outside: answers — the knock reaches your machine on 80, 443 (nothing is serving yet; the gateway deploy comes next)."
  • The strict all-open proof moves to where a service actually exists (activation/S12 — the existing checks there already cover it).
  • No new listener (the session's (a) — rightly a one-way door, not chosen) and no resequencing of S10 vs deploy (the session's (b)): ADR 0049's "reachability proven before the name is wired" still holds in the sense that matters — the path to the box is proven before DNS points at it.
  • journey.selfhosted.spec.ts:466-467 stays as written; under this ruling the post-undrop re-check yields reachable and the leg passes.

Scope for the session: internal/reachability/prober.go verdict fold (+ tests for refused-only / dropped-mixed / open), the S10 copy, a short DDR amending DDR 0175 (check origin/main for the next free number; 0188 as of 8ca4a74), and a note on #331 that the pre-deploy semantics are now ruled. Two-way door by Ben's explicit ruling — veto already exercised in the other direction.

**Ben's ruling stands and is a THIRD option, not the session's (b) — re-arming `ready-for-session`.** The session's comment crossed with Ben's ruling above (posted 22:1xZ, after the session started). To be unambiguous, the ruled option is **"refused = path proven, pre-deploy"**: - Pre-deploy (S10, before `point`/`deploy-takeover`), the prober returns `Reachable: true` when **no required port is `dropped`/filtered** — `refused` on 80/443 means the knock reached the operator's box (the forward and firewall are right; nothing listens yet, which is expected before the gateway exists). `dropped` still ⇒ not reachable, with the firewall-lane guidance — the under-report detector is untouched. - Rows keep rendering the prober's own word (`refused`), DDR 0175 vocabulary intact. The detail line must say it honestly, e.g. *"Probed from outside: <ip> answers — the knock reaches your machine on 80, 443 (nothing is serving yet; the gateway deploy comes next)."* - The strict all-`open` proof moves to where a service actually exists (activation/S12 — the existing checks there already cover it). - **No new listener** (the session's (a) — rightly a one-way door, not chosen) and **no resequencing** of S10 vs deploy (the session's (b)): ADR 0049's "reachability proven before the name is wired" still holds in the sense that matters — the *path* to the box is proven before DNS points at it. - `journey.selfhosted.spec.ts:466-467` stays as written; under this ruling the post-`undrop` re-check yields `reachable` and the leg passes. Scope for the session: `internal/reachability/prober.go` verdict fold (+ tests for refused-only / dropped-mixed / open), the S10 copy, a short DDR amending DDR 0175 (check `origin/main` for the next free number; 0188 as of `8ca4a74`), and a note on #331 that the pre-deploy semantics are now ruled. Two-way door by Ben's explicit ruling — veto already exercised in the other direction.
Author
Member

Close-report.

Implemented Ben's ruling (comment above, 2026-08-20 22:18–22:21Z): pre-deploy, S10 reachability is path-proven, not service-proven.

What landed (commit 5c8b06430cd4f6258e8889fda5999da21429b463, pushed to main):

  • internal/reachability/prober.go: verdict fold changed — Reachable: true when no required port is dropped/filtered (a refused port now counts: the knock reaches the box, nothing is serving yet, the expected pre-deploy state). dropped is still the one lane that fails the gate — the under-report detector (ports-honest's whole point) is untouched. Removed the now-dead portsGuidance (the old "ports lane" message).
  • internal/reachability/prober_test.go: TDD — wrote the new/updated tests first (refused-only, mixed open+refused, dropped-mixed-with-open-or-refused) confirmed red against the old code, then implemented the fold to green. Full suite green.
  • internal/founding/standup.go: doc comments on Reachability/PortVerdictRefused updated to match (no behavioural change here — RunReachability already just forwards the prober's verdict).
  • docs/adr/0188-design-pre-deploy-reachability-is-path-proven-not-service-proven.md: records Ben's ruling, the two rejected one-way-door options, and the consequences. docs/adr/0175-...'s status line points to it.
  • docs/ux/wireframes/p1-founding/p1-s10b-port-board.html + ...-still-closed.html: ✎ amendment notes — the "refused stalls the board" frame has no live edge to reach pre-deploy any more under DDR 0188; left as a design record for #331's next pass rather than redrawn.
  • app/tests/unit/foundingSpecGateReachability.test.ts: the S10b fail-surface fixture updated from an (now unrealistic) refused scenario to a dropped one, so the test still models something the real product can produce.
  • STATUS.md updated in the same commit.
  • Pointer comment posted on #331 (#331 (comment)) so its next design pass starts from this decided baseline.

Proof: go build ./... clean; go test ./... green (all packages, including internal/reachability and internal/founding); app's touched Vue/TS files eslint-clean and vitest run tests/unit/foundingSpecGateReachability.test.ts green (12/12). journey.selfhosted.spec.ts's ports-honest leg (lines 421–470) needed no edit — it already asserted exactly the contract DDR 0188 now makes deliverable.

Not re-proved by a fresh live drive this session — same host-capacity constraint noted on #622 (this session holds matou-session-runner.lock for its own duration, and rehearsal-cycle.sh's two-slot semaphore, ADR 0184, excludes a manual drive alongside it). The next unattended selfhosted re-drive (native dep on #523) is the live proof; a fresh red on ports-honest there mints its own new ticket via the same reporter/dedup path.

This was a genuine design-tier ruling by Ben, not a two-way-door agent ruling under ADR 0174 — the earlier diagnosis correctly routed it ready-for-human rather than picking a default, and both agent-legible options ((a) a new pre-wipe listener, (b) resequencing S10) were one-way doors for the reasons recorded in DDR 0188.

Advances #623, #331.

**Close-report.** Implemented Ben's ruling (comment above, 2026-08-20 22:18–22:21Z): pre-deploy, S10 reachability is path-proven, not service-proven. **What landed** (commit `5c8b06430cd4f6258e8889fda5999da21429b463`, pushed to `main`): - `internal/reachability/prober.go`: verdict fold changed — `Reachable: true` when no required port is `dropped`/filtered (a refused port now counts: the knock reaches the box, nothing is serving yet, the expected pre-deploy state). `dropped` is still the one lane that fails the gate — the under-report detector (`ports-honest`'s whole point) is untouched. Removed the now-dead `portsGuidance` (the old "ports lane" message). - `internal/reachability/prober_test.go`: TDD — wrote the new/updated tests first (refused-only, mixed open+refused, dropped-mixed-with-open-or-refused) confirmed red against the old code, then implemented the fold to green. Full suite green. - `internal/founding/standup.go`: doc comments on `Reachability`/`PortVerdictRefused` updated to match (no behavioural change here — `RunReachability` already just forwards the prober's verdict). - `docs/adr/0188-design-pre-deploy-reachability-is-path-proven-not-service-proven.md`: records Ben's ruling, the two rejected one-way-door options, and the consequences. `docs/adr/0175-...`'s status line points to it. - `docs/ux/wireframes/p1-founding/p1-s10b-port-board.html` + `...-still-closed.html`: ✎ amendment notes — the "refused stalls the board" frame has no live edge to reach pre-deploy any more under DDR 0188; left as a design record for #331's next pass rather than redrawn. - `app/tests/unit/foundingSpecGateReachability.test.ts`: the S10b fail-surface fixture updated from an (now unrealistic) refused scenario to a dropped one, so the test still models something the real product can produce. - `STATUS.md` updated in the same commit. - Pointer comment posted on #331 (https://git.matou.nz/Matou/idss/issues/331#issuecomment-10402) so its next design pass starts from this decided baseline. **Proof:** `go build ./...` clean; `go test ./...` green (all packages, including `internal/reachability` and `internal/founding`); `app`'s touched Vue/TS files eslint-clean and `vitest run tests/unit/foundingSpecGateReachability.test.ts` green (12/12). `journey.selfhosted.spec.ts`'s `ports-honest` leg (lines 421–470) needed no edit — it already asserted exactly the contract DDR 0188 now makes deliverable. **Not re-proved by a fresh live drive this session** — same host-capacity constraint noted on #622 (this session holds `matou-session-runner.lock` for its own duration, and `rehearsal-cycle.sh`'s two-slot semaphore, ADR 0184, excludes a manual drive alongside it). The next unattended `selfhosted` re-drive (native dep on #523) is the live proof; a fresh red on `ports-honest` there mints its own new ticket via the same reporter/dedup path. This was a genuine design-tier ruling by Ben, not a two-way-door agent ruling under ADR 0174 — the earlier diagnosis correctly routed it `ready-for-human` rather than picking a default, and both agent-legible options ((a) a new pre-wipe listener, (b) resequencing S10) were one-way doors for the reasons recorded in DDR 0188. Advances #623, #331.
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#623
No description provided.