decline-resume: leg declines whichever pending card is up, not the one it minted #934
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#934
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
decline-resume, the fifth and last leg; the four before it are green.The leg clicks DECLINE on the P2-S4 pending card and waits for the strip to empty. It never does:
Count is 1 for all 123 polls — never 2, never 0.
The evidence that it declined the wrong card
The card still standing at the timeout is this drive's own.
artifacts/journey.device-device-add--809eb-e-standing-rented-community/test-failed-1.pngreads:and both halves are this run's:
artifacts/enrollment-code.txt→93AB-2GWB-QUNE-ADSA-FJR8logs/device-do-forensics.txt→name: clan-lab-rehearsal-adf06828/created: 2026-08-28T07:47:30ZSo the request the leg meant to end is the one that outlived it. What it actually clicked was a different card, already on the strip when the leg opened. Three things say so:
The helper is unscoped.
error-context.mdquotesjourney.device.spec.ts:185-190verbatim:Nothing ties
pendingto the code the leg just minted. On a community that outlives the drive, that reads as "whichever card is up".approvePending(:167-177) has the same bare locator.Timing puts a card on the strip before this drive's own could be there.
verdict.jsonstarts the run at07:48:21.948Z; summinglegs.jsondurations (standing8597 +mint409 +device-create1366 +agent-install2388 ms) puts the start ofdecline-resumeat ≈07:48:34.8, and its 60341 ms is the finaltoHaveCountwait — sotoBeVisiblepassed and DECLINE was clicked within about a second of the leg opening. The device droplet had only booted at07:48:03(logs/device-stall.txt:07:49:50 up 1 min). The card that satisfiedtoBeVisibleat ≈07:48:35was not this drive's.The community is a standing one carrying an older ledger.
logs/founding-state.log:Its enrol ledger starts at
req-0001some twenty-three minutes before this drive minted anything, so it carries whatever earlier drives left behind.The run's healer (
logs/healer-claude.out) reached the same failure at request-id resolution out oftrace.zip: the strip already heldreq-0002(codeSDXM-8UYW-R6SG-H67J-PJXJ, hostclan-lab-rehearsal-a8e7c6ca, issued07:26:00Z— the drive ~20 min earlier, which red at this same leg), the leg POSTeddeclineon that one at07:48:35(204), and its ownreq-0003landed at07:48:38and held the strip at 1. I could not verify that layer myself: this session is sandboxed to the run directory andunzip/python3againsttrace.zipwere refused. Treat the req-ids and the 204 as the healer's reading; the screenshot, code, host, helper source and timing above are independent of it and carry the diagnosis on their own.Suspected layer
Harness — the drive's own e2e helper. The product behaved correctly: DECLINE ended the request it was handed. Two things sit behind the red, in order of what actually plugs it:
approvePending/declinePendinginapp/tests/e2e/journey.device.spec.tsselect[data-field="pending-device"]with no filter, against a Fleet strip owned by a community shared across runs.pendingsince 07:26 and every red drive adds one more. Real, but not what made this run red.What plugging it needs
currentCodeand assert that card leaves, not the strip. Pin the code text in the card so the selector can't silently stop matching. (The healer reports committing exactly this as526807bbwith a two-card unit case; I am sandboxed out of the repo and cannot confirm it landed — check before duplicating.)afterAll, best-effort decline any still-pendingrequest whose code this run minted — non-fatal, so teardown can never mask a leg's real fault.expiredfrom the bound code's expiry, so abandoned requests eventually leave a real operator's Fleet too.Not the known frontier
This is not the own-VPS pairing red named in the brief.
legs.jsoncarries no skip rows and no skip reasons at all (verdict.json:"skip": 0), and pairing succeeded insidestanding—founding-state.loglogs"paired — the community name was aimed at the server before install, so the public reachability check is skipped; the gateway deploy begins".decline-resumeis a distinct, in-scope failure.What is absent
device-do-forensics.txtrecordstcp/22: a FRESH connect succeeded — the box answers, whatever ssh did, so a box was up; I had no access line for it.)logs/droplet-journal.txt. This drive harvestslogs/device-journal.txt(138 KB) plusdevice-units.txt,device-stall.txt,device-do-forensics.txtinstead.logs/broker-journal.txtharvested nothing:dev@100.98.48.68: Permission denied (publickey)— off the admin mesh, by design (#681); the verdict does not depend on it.logs/state-logs.log:ERROR: no state logs directory at .../standing-rented/state/logs.logs/guest-*.logare empty, ENOENT, or DBus-refused, andqemu.log/host.jsonboth showspawn qemu-system-x86_64 ENOENT— expected for a rented-droplet target with no local guest VM.artifacts/trace.zipis present (1.4 MB) but unreadable from this sandbox.drive
20260828T074707Zred atdecline-resume:expect(locator).toHaveCount(expected) failed Locator: locator('[data-field="pending-device"]') Expected: 0 Received: 1 Timeout: 60000ms Call log: - Expect "toHaveCount" with timeout 60000ms - waitingevidence:
/home/swarm/swarm/Matou/idss/test-results/drive-device/20260828T074707Zon 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=13135
(automated multi-host claim — lowest live claim id works this ticket)
close-report for #934 — status
success✅ close-report gates passed — every claim verified against main; issue closed.
envelope
approveleg asserts the landing against ANY connected card — the gateway's own enrolled row satisfies it, so a refused Approve is reported as an ssh exit code instead of the control plane's own sentence #1005