rented gateway evidence harvest dials with no SSH identity — oc_droplet_evidence must use the per-run rent-operator/id_ed25519 (seen on drive 20260828T051317Z) #926
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.
Dependencies
No dependencies set.
Reference
Matou/idss#926
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?
Separate concrete defect seen during the #923 drive (
20260828T051317Z).Symptom
The gateway-side evidence harvest could not authenticate to the rented gateway:
logs/gateway-journal.txt,gateway-caddy.txt,gateway-stall.txt,gateway-units.txtall readroot@209.38.87.90: Permission denied (publickey,keyboard-interactive), whilelogs/gateway-do-forensics.txtproves the box was up andtcp/22: a FRESH connect succeeded. Result: the red had zero gateway-side evidence.Cause
oc_droplet_evidencedials with no identity (scripts/lib/rehearsal-droplet.sh:450,:463,:477,:496,:537). On the rented path the box trusts only the app's per-run key — the sibling harvester atscripts/lib/rehearsal-droplet.sh:980-981already knows it as$run_dir/state/rent-operator/id_ed25519.Fix
Thread that per-run identity into
oc_droplet_evidence's ssh dials on the rented path. Offline seam tests for this surface exist:scripts/tests/device-evidence-order-test.sh,scripts/tests/droplet-evidence-order-test.sh— red-first there.path:<config-repo>flake ref makes nix ingest the live.git, so a mid-run repack redsvars generate(drive 20260828T051317Z, sig 25304f657c24) #923Agent Brief
Category: bug
Summary: Thread the per-run rented-operator SSH identity into the gateway evidence harvest so
oc_droplet_evidence's dials authenticate on the rented pathCurrent behavior:
On the rented path the gateway-side evidence harvest (
oc_droplet_evidence) dials the rented gateway with no SSH identity. The rented box trusts only the app's per-run key, so every harvest read failsPermission denied (publickey,keyboard-interactive)—gateway-journal.txt,gateway-caddy.txt,gateway-stall.txt,gateway-units.txtall come back empty even when the box is provably up (gateway-do-forensics.txtshowstcp/22: a FRESH connect succeeded). A red on the rented path lands with zero gateway-side evidence. Seen on drive20260828T051317Z.Desired behavior:
On the rented path,
oc_droplet_evidence's SSH dials present the per-run rented-operator identity that the sibling harvester already uses ($run_dir/state/rent-operator/id_ed25519), so the gateway journals/caddy/stall/units evidence is captured. The self-hosted path (which does not use that key) is unchanged.Key interfaces:
oc_droplet_evidence— its ssh dials must take the per-run identity on the rented path. Reuse the exact identity the sibling rented harvester resolves (state/rent-operator/id_ed25519under the run dir); don't introduce a second key-resolution path.Acceptance criteria:
scripts/tests/device-evidence-order-test.shandscripts/tests/droplet-evidence-order-test.share extended red-first to assert the rented-path harvest dials with the per-run identity, then pass with the fix.Out of scope:
Ruled by agent under ADR 0174 — veto anytime.
Ruling:
ready-for-agent. This is a two-way door — the change (thread an already-available per-run identity into one harvest verb) is revertible by a commit, and it is provable by existing offline seam tests (device-evidence-order-test.sh,droplet-evidence-order-test.sh), red-first. It is not on the one-way-door list (no personal credentials — the key is a per-run app key already on disk; no security widening; no data destruction; no live door required to prove it). Safe for the swarm..git— swappath:<dir>forgit+file://<dir>at the nine call sites (deeper fix behind #923) #925swarm-claim host=matou-dev-server-01 run=13097
(automated multi-host claim — lowest live claim id works this ticket)
close-report for #926 — status
success✅ close-report gates passed — every claim verified against main; issue closed.
envelope