standing: rented-gateway SSH refused (publickey) — harness dial carries no identity #886
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#886
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?
Not the known frontier
This drive did not reach the own-VPS carrier/pairing frontier.
artifacts/legs.jsonrecords zero skips and names no skip reason at all;artifacts/verdict.jsonsays"legs": {"total": 5, "green": 3, "red": 2, "skip": 0}with"firstRedLeg": "standing". The pairing rows (connect/point-row/seed/supply/configure/pair,journey.device.spec.ts:399-408) never executed. This is a new red, upstream of the known frontier — an SSH authentication refusal.The failure
Both red legs carry the identical error:
The message blames
idss-agent; the parenthetical is the real answer.systemctlnever ran — the SSH session was refused at the auth stage.One fault, recorded twice.
standing(ms: 159496) andimage-boot(ms: 120373) report the same string becauserunRentedPrefixexecutes the image-boot check inside thestandingleg. There is no second defect here.Evidence
The box was genuinely rented, up, and reachable — only auth failed.
artifacts/legs.json:wizard-rentgreen (ms: 37356),claimgreen (ms: 312),creategreen (ms: 235). The rent succeeded.artifacts/droplet-ip.txt→168.144.170.129;logs/founding-state.logconfirms the draft landed it:"access": {"kind": "rented", "summary": "Rented gateway — DigitalOcean · syd1 · free while alpha · 168.144.170.129"}.Permanently added '168.144.170.129' (ED25519) to the list of known hosts— the TCP connect and the host-key exchange both succeeded. sshd was listening and answered. This rules out a boot/network race.Permission denied (publickey,keyboard-interactive)— failure is at client authentication, after the transport was up.Not transient.
image-bootspentms: 120373— the full 2-minutewaitForSSHCommandbudget (journey.device.spec.ts:354-361:2 * 60_000, 10 s per attempt, 5 s apart). Every attempt across two minutes was refused identically. A boot race resolves; this did not.The app itself was healthy and mid-work.
artifacts/journey.device-device-add--809eb-e-standing-rented-community/error-context.mdsnapshots a live, progressing UI at the moment of the throw:The product was 54% through copying the closure. Nothing in the app faulted —
artifacts/journey.jsonis{"rows": null, "fault": null}. The harness's own out-of-band SSH probe is what red'd.Suspected layer: harness (
app/tests/e2e/)The run's healer agent (
logs/healer-claude.out, run with repo access from/home/swarm/rehearsal-heal/idss) traced it to a specific defect. I could not re-verify these repo-level file/line claims — this diagnosing session's shell is sandboxed to the run directory and cannot read the source tree. Reproduced with that attribution:That story is fully consistent with everything I can verify in the run directory: auth-stage refusal, host key fine, full budget exhausted, app unfaulted, product carrier still working. #744 did what it set out to do and uncovered a latent harness bug rather than causing one.
No product code is implicated: the app's own carrier reached 54% of a closure copy over its own connection while the harness was being refused.
What plugging it needs
identityFiletosshDroplet/waitForSSHCommand/sshDropletInteractiveinapp/tests/e2e/fixtures/droplet.ts, emitting-i <path>only when set — mirroring the existingknownHostsFile()argv seam. Pass the app's rent-operator key (join(live.stateDir, 'rent-operator', 'id_ed25519')).rentedPrefix.ts:354, :368, :379, :448;journey.rented.spec.ts:314). EverysshDropletcall injourney.device.spec.tstargetsdeviceIp()— the member droplet — andjourney.selfhosted.spec.ts/journey.droplet.spec.tsdial ambiently by design (ADR 0152/0154). A blanket env-wide-iwould break those.app/tests/e2e/fixtures/droplet.test.tsalready asserts argv shape for the known-hosts thread; add the mirror cases (-ipresent with the given path, absent when unset) for all three dial functions. Note this proves argv only — real proof costs another droplet.journey.device.spec.ts:363throwsidss-agent is not activefor what is an SSH auth refusal. The probe should distinguish "could not authenticate" from "authenticated, agent inactive" — this misattribution is why the red reads as an image defect.docs/GOTCHAS.mdentry. The generalisable rule: a harness dial with no explicit identity is riding trust nobody declared, and stays green until someone correctly removes that trust. Same family as GOTCHAS #100 (a keypair's two halves are one artifact).What is absent from this run directory
logs/droplet-journal.txtdoes not exist. The drive never authenticated, so it could not harvest the droplet's journal. Its absence is a consequence of this red, not separate evidence.logs/broker-journal.txtharvested nothing —dev@100.98.48.68: Permission denied (publickey).Its own note says this is by design: "a drive on an off-mesh host harvests nothing by design and the drive's verdict does not depend on it (#681)". Unrelated to the red.guest-*.logfiles are all empty misses (no SSH hostfwd ... the guest was never created,cat: .../idss-guest.service: No such file or directory,-- No entries --). Correct — this is the rented-VPS path, not the local qemu-guest path (artifacts/host.json:"qemu": "exit ENOENT: spawn qemu-system-x86_64 ENOENT").logs/state-logs.logreportsENOENT ... 'test-results/standing-rented/state/logs', and this run dir's ownstate/is empty. The healer flags a related harness path bug worth fixing in the same pass: the helper reads$run_dir/state/rent-operator/id_ed25519, but the device drive's app state dir isstandingDir()/state, not$run_dir/state.logs/helper.logis zero bytes.drive
20260827T033903Zred atimage-boot:idss-agent is not active on the rented box: systemctl is-active reported "" (Warning: Permanently added '168.144.170.129' (ED25519) to the list of known hosts. root@168.144.170.129: Permission deniedevidence:
/home/swarm/swarm/Matou/idss/test-results/drive-device/20260827T033903Zon matou-workstation (legs.json and whatever else the drive harvested there) — a representative screenshot is attached here if one was capturedRuled by agent under ADR 0174 (the watch's hands) — veto anytime: closing as a duplicate of #885, in #885's favour.
Both tickets were filed by the reporter for the SAME fault on the same drive (
20260827T033903Z): the rented-gateway SSH dial is refusedpublickey, and theidss-agent is not activewording is the harness misattributing an authentication refusal to the agent. The two red legs (standing,image-boot) are one fault recorded twice, becauserunRentedPrefixruns inside thestandingleg — both tickets say so independently.#885 is the keeper: it carries the same evidence AND names the cause — #744's
authorized_keysscrub removed the ambient trust the harness dials had been silently riding. It is already claimed (agent-working). This ticket's distinct contribution — the proof that the drive did not reach the known own-VPS frontier (zero skips, no skip reason,firstRedLeg: standing, and the pairing rows atjourney.device.spec.ts:399-408never executing) — is worth keeping, so it is restated here for the record rather than lost: this is a new red upstream of the frontier, not the frontier resting.#854 stays blocked on #885 alone.