rehearsal: the self-hosted and connect journeys still await the S4d dial-in terminal right after Continue — the stand-up approves the machine, so both hit the ceiling (twin of 9acd1a4e) #1643
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.
Dependencies
No dependencies set.
Reference
Matou/idss#1643
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
journey.selfhosted.spec.ts(legconnect-dial-in) andjourney.v2-connect.spec.ts(legself-hosted-dial-in) both hold the S4d enroll terminal to the waiting-on-operator frontier, click Continue, and thenawait session.done. That rests on #1634's assumption that the Continue click IS the operator's decision. It is not, and the await can only end at the ceiling.What is true (seam-probed 2026-09-19, proven live on the IDIP drive
20260919T222916Z/20260919T230228Z)OfferDialInis the only hook that runs before a stand-up exists. Continue at S4d approves nothing.ObservePairingpoll finds the one Pending gateway-role request (pendingGatewayRequest) and approves it, then steps to reachability.BeginStandupalso mints a fresh S7b code nobody needs.idss-agent enrollblocks inAwaitAndLand(ADR 0209) until that approval — so the terminal exits during thepairleg, never insideconnect-dial-in.journey.idip.spec.tswas restructured on this in9acd1a4eand went green throughpairon two consecutive live fires. That commit is the pattern.What to build
journey.selfhosted.spec.ts— mirror9acd1a4eexactly:enrollSessionbeforeconnect-dial-in; the leg holds the PTY to the frontier, assertsconsent recorded+connection request sent, setsenrollSession, and does NOT await.done;create(it was armed beforeagent-install, which goes away);createaccepts['install-machine', 'spec-gate-pass'](s6aRecoveryPhraseAndCreate/reviewAndCreatealready take a list on the IDIP side — extend whichever this journey uses);install-command,agent-installandconsentlegs — the machine is already connected;pairawaitsspec-gate-pass, thenenrollSession!.done, writesconnect-dial-in-transcript.txt, and reds on a non-zero exit;journey.v2-connect.spec.ts— this journey never reaches Build it, so nothing will ever approve its request. The leg must not await.done: assert the frontier (the two lines above), keep the single-use re-run refusal (ADR 0054), and end the held session at teardown rather than waiting on it.Acceptance
journey.selfhostedcarries no second install: noinstall-command/agent-install/consentlegs.pnpm --filter app exec tsc --noEmit(or the repo's typecheck forapp/tests/e2e) is clean; no unused imports.A live drive is the real proof and is not this ticket's job — the next self-hosted drive on the executor proves it.
swarm-claim host=bens-mac-04 run=27882
(automated multi-host claim — lowest live claim id works this ticket)
close-report for #1643 — status
success✅ close-report gates passed — every claim verified against main; issue closed.
envelope