join: the frontier poll cats /var/log/idss-agent-enroll.log, a path nothing ever writes #936
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#936
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 only red leg of 23 (artifacts/verdict.json:"firstRedLeg": "join","green": 22,"red": 1,"skip": 0). It spent its entire ceiling without the predicate ever going true — fromartifacts/legs.json:599456 ms against a 600000 ms
CEILING.join: not one poll in ten minutes matched/waiting for the operator/i.Fault 1 — CONFIRMED, harness layer: the frontier poll reads a file nothing writes
This run's own healer already found and committed it (
logs/healer-claude.out, quoted verbatim):Fix commit
7fed27e1ba503839ac207ff247aa167906ecc86b:sshDropletInteractivenow returns anInteractiveSessionexposingpeek()over the live PTY accumulator, and the join leg keeps the transcript as evidence on a red.The harvested device journal corroborates independently — a fresh full SSH login every 2 s for the whole ceiling and nothing else (
logs/device-journal.txt):193 such open/close pairs in the harvest, ~290 journal lines per minute. The storm was loud enough to evict its own context: the journal harvest (last 2000 lines) begins at
Aug 28 09:14:11, so 09:10:45–09:14:11 — exactly the window the join one-liner started in — is gone.That the agent can reach that frontier is shown one leg earlier, where the words were read off the PTY rather than off a file (
artifacts/decline-transcript.txt):(Aside, cosmetic:
connection request sent toprints with an empty origin.)Fault 2 — LIKELY but UNPROVEN: the join session was not alive on the box
The healer looked for a second, substantive fault and reported none concretely shown. Three things in the harvest suggest there is one, and that a re-drive on
7fed27emay still go red:1. No long-lived session exists. Across the whole harvested window (09:14:11–09:21:10) every SSH session opens and closes inside the same second. The only unpaired session is
session-312— the forensics harvest itself at 09:21:10. The join PTY is specified to be HELD OPEN through the approve leg; no such session is present.2. The user manager idles out 10 s after the final poll, which means no other root session remained at 09:20:44:
3. The gateway saw no connection request for the entire join window.
logs/gateway-journal.txtcarries only rental-lease heartbeats between 09:10:29 and 09:20:45:And at forensics time the device carries no agent at all:
logs/device-units.txtshowssystemctl --failedempty and onlysshd+systemd-resolvelistening;logs/device-stall.txt's process grep matches twosshdand nothing else, with a single established SSH connection (the forensics one).Leading hypothesis (consistent with the evidence, not demonstrated): the declined agent's self-removal is incomplete. The
/var/lib/idsslisting appended tologs/device-journal.txt(taken 09:21) still holds the identity minted during the decline:— even though the decline transcript claims
✕ declined by the operator — this machine was not joined and the agent has removed itself. A re-run one-liner finding a staledevice.keycould take an already-has-identity path and exit rather than send a fresh connection request. Needs the join transcript to confirm; that layer would be product, not harness.Not the known frontier
The drive's KNOWN frontier — pairing never flips, the own-VPS carrier issue — does not apply to this red.
legs.jsoncarries no skip reasons at all this run ("skip": 0), andpairis green at 147 ms. This is a distinct, new failure.What is absent
artifacts/join-transcript.txt— the drive writes it only in the approve leg (line 550), so the failing leg discarded the one record that would name the defect.7fed27eaddresses exactly this.logs/droplet-journal.txt— not written under that name; this drive harvestslogs/device-journal.txtandlogs/gateway-journal.txt.logs/broker-journal.txt— harvest refused by design:dev@100.98.48.68: Permission denied (publickey), off the admin mesh (ADR 0208, #681); the verdict does not depend on it.What plugging it needs
7fed27e— it deletes the dead/var/log/idss-agent-enroll.logpeek, polls the live PTY accumulator, and keeps the transcript on a red. That alone converts the next failure from a silent 10-minute timeout into a named error.joinPtyand then never inspects it — a one-liner that exits in seconds stays invisible for the full ceiling. Race the PTY promise against the frontier poll: if the session resolves first, fail immediately with its exit code and transcript.pgrep -f idss-agent, or an established-session count) so "the one-liner died" is distinguishable from "the frontier line never printed".7fed27e. Green ⇒ the peek was the whole fault. Red again ⇒artifacts/join-transcript.txtnow names the real defect; check it against the surviving/var/lib/idss/device.keyand the decline self-removal path.Layer: harness (confirmed); a product fault behind it (agent join / decline self-removal) is likely but unproven from the harvested evidence.
drive
20260828T081514Zred atjoin:the agent never reached the waiting-on-operator frontier the agent never reached the waiting-on-operator frontier expect(received).toBe(expected) // Object.is equality Expected: true Received: false Cevidence:
/home/swarm/swarm/Matou/idss/test-results/drive-device/20260828T081514Zon 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=13171
(automated multi-host claim — lowest live claim id works this ticket)
close-report for #936 — status
success✅ close-report gates passed — every claim verified against main; issue closed.
envelope
curl | sh -s --doorway can't answer its own consent prompt #938