join: the published curl|sh doorway exits 0 at 'connection request sent', never waits #939
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
1 participant
Notifications
Due date
No due date set.
Blocks
Reference
Matou/idss#939
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?
The failure
joinis the last of 23 legs and the only red —verdict.json:"firstRedLeg": "join",{"total": 23, "green": 22, "red": 1, "skip": 0}. The leg runs the dashboard's captured install one-liner verbatim (artifacts/install-command.txt:curl -sSf https://rehearsal-c.idss.nz/get | sh -s -- ED6B-99JH-PJM2-M9YX-3L97, with the post-decline code swapped in) in a PTY and polls for the waiting-on-operator frontier. The doorway ran the whole consent ceremony and then returned 0 without ever entering the wait, so leg 7 (approve) never got a held PTY to approve.Evidence
artifacts/join-transcript.txt— the last four lines, in full:No
waiting for the operator's decision…, no error line, exit 0.artifacts/legs.json:The controlled comparison is inside this same run. The green
decline-resumeleg (ms 8748, ~20 s earlier, same box, same agent build, samefullInstallConsentAnswers()) invoked the agent directly —IDSS_COMMUNITY_ORIGIN=<apex> idss-agent enroll <code>— andartifacts/decline-transcript.txtcontinues exactly where the join transcript stops:So the wait exists and works — the published
/getdoorway is the path that drops it. The only line the doorway path adds is its own prefix:idss: fetching this community's pinned agent from rehearsal-c.idss.nz….logs/device-journal.txtshows what the doorway did instead of waiting — all inside session-11, the join PTY (opened 12:54:40,Removed session 11-side disconnect at 12:55:13):The box kept going in the background (mesh client up at 12:55:11, join socket listening) while the foreground one-liner returned 0 at 12:55:13.
grep -c "waiting for the operator"is 0 inlogs/device-journal.txtand inartifacts/join-transcript.txt; 1 inartifacts/decline-transcript.txt.Second, lesser defect, visible in both transcripts: the community label is empty everywhere the agent prints it —
idss-agent unknown · joiningand✓ connection request sent to(trailing space,cat -Aconfirmssent to ^M$). The name resolves fine elsewhere: the portal header readsRehearsal C — IDSS. Not the cause of the red, but it ships in the published doorway's output.Not the known frontier
This is not the own-VPS carrier red.
artifacts/legs.jsoncarries no skip reasons at all — zero skips — andpairis green at 121 ms, i.e. pairing did flip on this drive. The red is a fresh, distinct defect at the last leg.Live box
No live-box section was appended to this brief, so there was no access line and I interrogated nothing on the machine; everything above is from the harvested records. For the record,
logs/device-do-forensics.txt(12:55:29Z) shows the device was still answering —tcp/22: a FRESH connect succeeded— but without credentials granted I ran nothing against it. Also absent by design:logs/broker-journal.txtis a harvest failure (dev@100.98.48.68: Permission denied (publickey)— off the admin mesh, ADR 0208, #681), so the broker's view of the connection request is unavailable; and there is nologs/droplet-journal.txtunder that name — this drive splits it intodevice-journal.txt+gateway-journal.txt. The gateway journal carries nothing about the pending device (the broker holds that).Suspected layer
Product — the published
/getdoorway script, not the harness and not infra.waiting for the operator's decision…) is met by the direct-enroll path in the same run, 20 s earlier. Also not the #936 stall bug — that fix landed (a4dfba7) and the fail-fast path it added is what caught this cleanly in 34 s instead of burning the 600 s ceiling.Most likely mechanism: the doorway does not
execthe agent's enroll in the foreground. Either it hands off toidss-agent.serviceonce the socket is listening and returns, or — given1f4993c("the published curl|sh install doorway answers its own wipe-consent prompt") — it feeds the consent answers down a pipe and the agent treats that stdin EOF as "done" and returns success after dispatching the request. Either way the doorway begins an interactive consent ceremony (menu, WIPE typed, probe) and abandons the user before the decision, exiting 0 with the machine unapproved and a full-disk wipe already consented. A human running the published one-liner sees no approval outcome at all.What plugging it needs
execthe agent's enroll on the caller's terminal, so the waiting-on-operator phase and the landing walk (joined the community network…enrolled) render there and the agent's exit code becomes the one-liner's exit code — non-zero on decline, 0 with the landing walk on approve. If consent is pre-answered on a pipe, re-attach the agent's stdin to the tty (or pass consent as flags/env) so EOF afterWIPEcannot be read as completion.curl … | sh -s -- <code>andidss-agent enroll <code>must both emitwaiting for the operator's decision…and must not exit until the operator's decision lands. Nothing today covers the doorway's post-consent behaviour, which is why 1f4993c's consent fix shipped with the wait dropped.joiningandconnection request sent toare empty in both transcripts.drive
20260828T123909Zred atjoin:the join one-liner exited 0 before reaching the waiting-on-operator frontier --- transcript --- Warning: Permanently added '134.199.152.177' (ED25519) to the list of known hosts. idss: fetching this cevidence:
/home/swarm/swarm/Matou/idss/test-results/drive-device/20260828T123909Zon matou-workstation (legs.json and whatever else the drive harvested there) — a representative screenshot is attached here if one was capturedswarm-claim host=elitebook-distributed-server-03 run=13234
(automated multi-host claim — lowest live claim id works this ticket)
close-report for #939 — status
success✅ close-report gates passed — every claim verified against main; issue closed.
envelope
approve, sig c1ac37bc5a0d) #952