CONNECT-BEFORE-CHECK live drive: own-VPS dial-out, the refusal's dial-in door, the self-hosted dial-in, and the build re-using what selection proved — by leg list #1450
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.
Depends on
Reference
Matou/idss#1450
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?
Surface
The packaged app (the founding page IS the shell's founding surface since 2026-09-12) against the REAL helper, on
scripts/smoke-private-path.sh --target droplet(a bare DO droplet: the own-VPS box)and
--target selfhosted(the phase-3 box,OC_E2E_DROPLET_IP). A new specjourney.v2-connect.spec.tsselected byOC_E2E_SPEC; legs viarunRecordedLeg,frames via
installLegCapture;legs.json+verdict.jsonas every drive.Legs
v2-walk-identity— S1 → Address on the real bridge ([data-status="founding-journey"]).services— pick files.access-own-vps—[data-action="use-own-vps"]with the droplet IP.connect-refused— first typeMISPOINT_IP(fixtures/selfhosted): the op returnsok:falsein ≤ 30 s (never hangs, never throws):[data-field="connect-error"],[data-action="use-dial-in"],[data-field="install-command"]with a code thehelper's ledger shows as minted-unredeemed. Read the founding state file: no
access.facts.connect-dial-out— the droplet IP:[data-status="connected"];[data-field="device-memory"]equals the droplet's size fromdoctl compute droplet get;[data-field="host-key"]equalsssh-keyscan -t ed25519 <ip>'s fingerprint.checks-on-device—[data-check="visitors"][data-status="pass"](outside-inprobe hit the DROPLET, not the laptop: the host log shows the probe target IP),
[data-status="checks-passed"], Continue enabled.facts-resume— quit and relaunch: the list row reads "root@ — checks passed";the bench card is measured (no
data-status="unmeasured").build-verifies-not-discovers— Build it: the rail'sconnectrow event saysverified (the key
founding.standup.ownVps.connectedis NOT re-logged as adiscovery) and the leg budget for
connectdoes not grow vs the droplet drive'slegs.jsonhistory.host-key-changed-reds— variant run:doctl compute droplet-action rebuildbetween leg 6 and Build it → the
connectrow reds,[data-field="fault-line"]names the host key, no takeover ran (
sshshows the rebuilt stock OS untouched).self-hosted-dial-in— on the selfhosted target:[data-field="dial-in"]; run[data-field="install-command"]on the box over ssh;[data-status="waiting-for-device"]→
[data-status="connected"]with the box's real cores/mem/disk (comparenproc,free -m,df). Re-running the command reds on the box: the code is single-use.cgnat-blocks— a DO cloud firewall dropping 80/443 on the droplet before leg 6:[data-check="visitors"][data-status="fail"],[data-status="checks-failed"],Continue disabled; remove the firewall, retry → pass.
no-pre-check-op— the helper's frame log for the whole drive contains nopre-check/confirm-self-hostedop on v2 (#1414 AC3).Failure branches
4 (dial-out refused → dial-in offered), 9 (identity changed → named red), 11
(pre-check red blocks Continue).
Progress report — the spec + harness scaffold landed; the live GREEN is gated (ADR 0174)
Ruled by agent under ADR 0174 — veto anytime. Two-way door: a revertible harness affordance + an executor-inert live-spec scaffold + offline-proven pure logic, no product source touched. The remaining acceptance (a live GREEN drive with eyeballed screenshots, swarm atlas §8) is a two-way-door itself (lab droplets, DO firewall, droplet rebuild, ssh — none is a one-way door), so this stays
ready-for-sessionrather thanready-for-human; it just cannot be staged on this host in one standing session.What landed — commit
25f53aa8onmainscripts/smoke-private-path.sh— thedroplet/selfhostedtargets now honour a caller-setOC_E2E_SPEC(drive_spec="${OC_E2E_SPEC:-journey.$target.spec.ts}"), sojourney.v2-connect.spec.tsis selectable through the standard runner (OC_E2E_SPEC=journey.v2-connect.spec.ts scripts/smoke-private-path.sh --target droplet). The standing-community targets (device/rented-device) and rented/idip keep their fixed per-target journey; the executor (rehearsal-cycle.sh, which never exportsOC_E2E_SPEC) is byte-unchanged. Dry-run proven: droplet honours the override at the spec-existence gate; device ignores it.app/tests/e2e/journey.v2-connect.spec.ts— the drive, branching onOC_E2E_TARGET/OC_V2_VARIANT:v2-walk-identity·services·access-own-vps·connect-dial-out(with thedoctldevice-memory +ssh-keyscan/ssh-keygenhost-key cross-checks) ·checks-on-device·facts-resume·build-verifies-not-discovers(legs 1,2,3,5,6,7,8)OC_V2_VARIANT=refused):access-own-vps(MISPOINT_IP) ·connect-refused→ the dial-in door,access.factsstill absent (legs 3,4)--target selfhosted):self-hosted-dial-inincl. the single-use-code re-run red (leg 10)no-pre-check-opover the whole drive's helper log (leg 12)doctl droplet-action rebuild/ a DO cloud firewall between legs), which need a green droplet baseline + a DO firewall helper first.app/tests/e2e/fixtures/v2connect.ts+.test.ts— the decisions that don't need a droplet, as pure functions proven red→green (16 cases, thefixtures/selfhosted.tsdiscipline): theaccess.factspredicate, thedoctldroplet-size read, thessh-keyscan/ssh-keygenhost-key parse, the connect-budget-from-history read, the retired-pre-check/confirm-self-hostedop assertion. Pluss4dConnectOwnVPSRefusedThenDialIninwizard.ts.Proof:
v2connect.test.ts16/16 + all 19 e2e-fixture suites (425 tests) green ·vue-tsc -p tsconfig.json --noEmitexit 0 · eslint clean (the pre-pusheslint .gate passed) ·playwright --listcollects the spec. The spec is executor-INERT — only selectable via an explicitOC_E2E_SPEC, which the executor never sets — so this unrun scaffold never auto-reds a queued drive.Why the ticket does NOT close this session
The acceptance bar is a live GREEN drive with eyeballed screenshots across two targets. That bar is not stageable on
bens-mac-04right now:PREFLIGHT: playwright's chromium is not installed(fix:pnpm --filter app exec playwright install chromium).connect-budget baseline for leg 8's "the budget does not grow" — the only recent droplet run (test-results/drive-droplet/20260912T053407Z) died red with zero real legs.OC_E2E_DROPLET_IPis unset, so leg 10 (self-hosted-dial-in) and leg 11 (CGNAT) have no box to drive.control-planebinary as stale vs.main.I did not fabricate a green (Rule 8): the honest state is "the drivable scaffold + the harness selector + the offline core are landed and proven; the live proof is the gated remainder."
Next session's first steps (a properly-staged host)
playwright install chromium; free swap; refresh the payload (oc_payload_freshremedies printed by the preflight).OC_E2E_SPEC=journey.v2-connect.spec.ts scripts/smoke-private-path.sh --target droplet→ the own-VPS happy path; eyeball the screenshots; this also records the greenconnectbudget leg 8 compares against.OC_V2_VARIANT=refused(leg 4).OC_E2E_DROPLET_IP, then--target selfhosted(leg 10).Leaving
ready-for-session. (Theagent-workingclaim releases when this run ends viajanitor_sweep.)Driving the live own-VPS (droplet) path now — this host IS staged (ADR 0174)
Ruled by agent under ADR 0174 — veto anytime. Two-way door: a live
--target dropletrehearsal spends one routine lab droplet (reaped by teardown + the ≤6h clan-lab TTL), no one-way door.The prior session (
25f53aa8) left the live GREEN gated because bens-mac-04 could not stage it (no chromium, swap full, stale payload). This claim landed on matou-dev-server-01, which is a sanctioned droplet-rehearsal host: the dry-run preflight forOC_E2E_SPEC=journey.v2-connect.spec.ts --target dropletpasses (nix 2.35.1 · electron 33.4.11 · chromium present · payload complete+fresh at/home/dev/swarm/rehearsal-payload), 5993 MiB MemAvailable (>2048 floor, no earlyoom), doctl authenticated, and 4 prior droplet drives sit intest-results/drive-droplet/.Driving the own-VPS happy path (legs 1,2,3,5,6,7,8 + 12) live now, bounded and synchronous in-session. Result to follow in a close/progress report.
Routing to
ready-for-human— the two-way half is landed + green; the residue is executor-armed live spend (ADR 0174)Ruled by agent under ADR 0174 — veto anytime. This session (
bens-mac-04, standing-session drainer) re-verified state and rules the remaining acceptance a one-way door: it is non-routine spend on a session that dies with its final message. Relabellingready-for-session→ready-for-humanrather than mounting another in-session live attempt.What is already done (two-way, landed on
origin/main, re-proven this session)journey.v2-connect.spec.ts+fixtures/v2connect.ts+ theOC_E2E_SPECselector inscripts/smoke-private-path.sh(commit25f53aa8, onorigin/main).app/tests/e2e/fixtures/v2connect.test.ts→ 16/16 passed (theaccess.factspredicate, thedoctlsize read, thessh-keyscan/ssh-keygenhost-key parse, the connect-budget-from-history read, the retired-pre-check/confirm-self-hostedassertion). The spec is executor-INERT — only selectable via an explicitOC_E2E_SPEC, which the executor never sets — so it never auto-reds a queued drive.Why human — the residue is a one-way door
The acceptance bar is a LIVE GREEN drive across two targets —
--target droplet(own-VPS) and--target selfhosted(a separate phase-3 box atOC_E2E_DROPLET_IP) — plus the two live variants still carried as named skips: leg 9 (doctl compute droplet-action rebuildbetween legs → host-key-changed red) and leg 11 (a DO cloud firewall dropping 80/443 → checks-failed). That residue is:matou-dev-server-01, 18:04 comment) announced it would drive the happy path "bounded and synchronous in-session" and left no green close-report — the exact mid-drive-death failure this rule guards against.bens-mac-04can stage a single droplet drive, but "can stage" != "a one-shot should spend on a brand-new two-box live drive" — this is precisely the executor-rail frontier, not session-runner work.The human ask (one line)
Arm this as a
target:drive-issue on the rehearsal-executor rail: queue it intoREHEARSAL_DRIVE_QUEUEwithREHEARSAL_DRIVE_SPEC=journey.v2-connect.spec.ts, driving--target droplet(own-VPS happy path +OC_V2_VARIANT=refusedfor leg 4) and then--target selfhosted(leg 10) withOC_E2E_DROPLET_IPset to a phase-3 box; author the leg-9 rebuild + leg-11 DO-firewall variants against the green droplet baseline the first drive records. Eyeball the screenshots (swarm atlas §8) to accept.Leaving open,
ready-for-human.Review note (2026-09-18): every target this drive uses carries a PUBLIC address on its NIC, so no leg exercises a machine behind a household router — the case the dial-in door exists for. Code review found three defects there, filed as #1585 (the visitors check probes the private NIC address → false CGNAT fail, and the same address reaches wireName), #1586 (helpers held to the gateway's visitors check) and #1587 (the 'outside-in' probe dials from the operator's own computer). A green on this drive as written would not cover them.
Hardware-drive note — two real home-line machines are available as fixtures (Ben, 2026-09-18)
Ben offers two in-use machines for real-hardware legs. Both are VM-mode only (never a full install — they must not be wiped) and must be backed up before any test.
elitebook-03100.64.0.1; NIC192.168.1.122; reflected179.65.135.74)/dev/kvmpresent · 8 threads · 14 GB · 28 GB free on / · already carries awt0(Matou's own Netbird mesh,100.98.240.186/16) · also a swarm/CI + drive hostbuild-host-01(tyrones-dev,100.98.92.120)This is the first genuine
cgnat-blocksfixture (leg 11 simulates it with a cloud firewall). What the drive needs before it can use them is being scoped in-session; the carrier today only knows how to rent and destroy clan-lab droplets asroot@.Closed 2026-10-21 (Ben's ruling): folded into the drive checklist #2055 — the live proof this ticket still owed is now a checklist item there, to be carried by the next drives on the latest versions. A proof that fails on the drive becomes a NEW ticket; this one is not reopened.