founding self-hosted: the Connect check tests the router's ports BEFORE the operator is told to open them — the manual port board sits inside Build it, behind the check that blocks it #1588
Labels
No labels
agent-blocked
agent-working
autopilot
bug
deferred
deploy-pending
enhancement
landing-pr
model-haiku
model-opus
model-sonnet
needs-design
needs-info
needs-triage
no-triage
out-of-scope
priority
ready-for-agent
ready-for-human
ready-for-session
rehearsal-183
snapshot-pending
standing-drive
wayfinder:grilling
wayfinder:map
wayfinder:prototype
wayfinder:research
wayfinder:task
wontfix
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Reference
Matou/idss#1588
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
What is wrong
On the self-hosted path the founding page tests the router's ports before it has told the operator to open them, and the screen that explains how sits behind the test it blocks.
internal/founding/connectcheck.go:285) probes 80/443 at selection, and a fail disables Continue (DDR 0240 decision 1: connect → check → plan is a gate).recheck-ports) — is mounted inFoundingStandup.vue, i.e. inside Build it, which the operator cannot reach with a failed check.CheckDevicecopiesres.Detailonto the check and dropsres.Guidance— the prober's own "forward 80 and 443 to this machine…" line never reaches the Connect screen. The operator reads "the probe to 80 and 443 was dropped, not refused" with no remedy.p1-s4d-connect-the-gateway.htmlhas no port, router or forwarding copy at all.p1-s4c-how-your-ports-will-open.html(the soft preview of the port-group table, DDR 0175 decision 1) has no home in the founding page since the v1 cutover (#1455) —manual-only/port-groupsappear nowhere inapp/src.Automatic opening does not rescue this: ADR 0137 (ask, then try UPnP/NAT-PMP/PCP) and ADR 0141 (the portmap seam) are designed, not built — no port-mapping library is in
go.mod,internal/controlapi/network.go:91says "Building the portmap seam is another slice (ADR 0141, #331)", and #331 isdeferred. Manual is the only fill strategy, so the manual lane has to be reachable.Proposed default ruling (two-way door, ADR 0174)
The port board moves to where the device is checked. On the self-hosted gateway's Connect step a dropped visitors probe opens the S10b board in place — same rows, same prober vocabulary, same
recheck-ports— and the check passes when every required-now row answers. Build it's S10 then verifies what selection proved rather than discovering it, exactly as #1414 did for the connect leg, and decision 8 holds. When ADR 0137's automatic opening lands it joins this board as the second fill strategy, as DDR 0175 already says. Does not apply to helpers (#1586).Acceptance criteria
p1-s4d-connect-the-gateway.htmlgains the dropped-probe state with the board;p1-founding.mermaidfollows.DeviceCheckcarries the prober's guidance and per-port rows; the Connect screen renders them on a visitors fail.Related
#1585 (which address is probed), #1587 (where from) — until both land this board's verdicts on a home network are unreliable, so order: #1585 → this → #1587. #331 stays deferred; this is the manual lane being unreachable, not the automatic one being absent.
Ruled by agent under ADR 0174 — veto anytime. Two-way door: revertible DDR + wireframe + flow, no code.
What landed this session (AC 1 — the design tier)
Adopted the ticket's proposed default ruling: the manual port board moves to where the device is checked (the Connect step, S4d). A dropped "Visitors can reach it" probe opens the S10b board in place (same surface, same prober vocabulary, same
recheck-ports); the check passes when every required-now row answers; Build it's S10 leg verifies what selection proved rather than discovering an unopened router (so DDR 0240 decision 8 — Build it is unattended — holds). CGNAT stays a distinct blocking state, no router row fixes it (DDR 0175 §3). Does not apply to helpers (#1586).Commit
fe9092a1f28d(main):docs/adr/0252-design-the-port-board-lives-where-the-device-is-checked.md, amending DDR 0240 decisions 4 + 8 and DDR 0175 (where the board lives).p1-s4d-connect-the-gateway.html— gains the dropped-probe board-in-place state and the distinct CGNAT block, carrying the samedata-status="port-walkthrough"/lane-guidance/port-groups/ rowdata-port+data-status/data-action="recheck-ports"selector contract asp1-s10b-port-board.html(DDR 0175 §4).p1-founding.mermaid— S4d self-loop for the board (re-check without reconnecting); the self-hosted-gatewayS10 → S10bdiscover edge annotated as superseded (S10 verifies).scripts/check-mermaid.mjsgreen.What is NOT built, and why (AC 2–5 — the code)
DeviceCheckcarryingguidance+ports; the Connect screen rendering the board on a visitors fail;recheck-portsre-probing without reconnecting; the S10 re-verify; the CGNAT wording.Blocked on #1585 — a hard, author-declared ordering dependency (#1585 → this → #1587), and #1585 is unlanded. Until #1585 lands,
CheckDeviceprobes the machine's private NIC address (connectcheck.go:285), which the prober short-circuits into the CGNAT lane before dialling (reachability/prober.go:155-163) — so on a real home network the visitors check fails as CGNAT, neverdropped, returns noPorts, and this board's dropped-lane entry has no rows and no live path to reach. #1585 makes the probe use the line's public-facing address, at which point an unforwarded home router yields thedroppedverdict the board is built for. Building AC 2–5 now would either build on the known-buggy probe (the feature's trigger unreachable on its real case — the exact anti-pattern #1585's "why nothing caught it" names:connectcheck_test.go:218already scripts a public address and thereby hides the bug) or require fixing #1585 here, which rule 1 forbids (work only this ticket).Routing
depends_onset: #1588 blocked by #1585. The session-runner picker skips a ticket with open dependencies (session-runner.sh:379-382), so #1588 will not be re-attempted until #1585 closes.ready-for-session: the code tier is session-sized and design-aware. A future session (post-#1585) builds AC 2–5 with this design already in place — a smaller, unblocked slice.ready-for-human, ordered after this; not set as a dependency here since it does not block #1588.)Routing correction (same ruling). On reflection the honest routing is not
ready-for-session(which the session-runner reads as "no progress" when left open) — the design tier is complete, so what remains (AC 2–5) is a design-complete, fully-specified build slice that is simply blocked on #1585. Relabelledbug+ready-for-agentand left the nativedepends_on(#1588 blocked by #1585) in place:list-ready-tasks.shhides aready-for-agentticket with an open dependency, so the swarm surfaces #1588's code tier the moment #1585 closes — same effect as the session-runner's dependency skip, but on the queue whose gated tail (code-review → design-verify) fits a specified build. No one-way door, so notready-for-human. Ruled by agent under ADR 0174 — veto anytime.swarm-claim host=bens-mac-04 run=26656
(automated multi-host claim — lowest live claim id works this ticket)
close-report for #1588 — status
success✅ close-report gates passed — every claim verified against main; issue closed.
envelope