artifacts/journey.json serialises {"rows":null,"fault":null} on a faulted device drive, dropping the founding-rows snapshot (seen on drive 20260828T051317Z) #928
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#928
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?
Symptom
On drive
20260828T051317Z(targetdevice),artifacts/journey.jsonis:— no founding rows and no fault captured, even though the fault was fully recorded elsewhere in the same drive:
artifacts/legs.jsoncarries theenroll-configure/standingreds verbatim, andlogs/founding-state.logcarries the full event stream. Sojourney.jsonis the one artifact that silently dropped the founding evidence a diagnosing agent would reach for first.Why it matters
journey.jsonis meant to be the structured founding-rows + fault snapshot (the counterpart to the log stream). When it serialisesnull/nullon a drive that genuinely faulted, a post-hoc diagnosis has to fall back tolegs.json+founding-state.log(which happened here) — and a drive whose logs were also thin would be left with no structured founding record at all.Scope
Separate from the config_eval race (#924, a completion of #923 — both now landed). Surfaced as "Also in this run" residue #2 on #924. Likely a capture/serialisation gap on the
device-target path where founding rows aren't threaded intojourney.jsonbefore it's written (the fault IS known to the run —legs.jsonhas it — so this is a wiring/ordering gap, not a missing fact).First step for whoever picks this up
Find where
journey.jsonis written on the device/rented founding path and whyrows/faultarenilthere whilelegs.jsonandfounding-state.logare populated — likely the journey snapshot is taken before (or without) the founding orchestrator's rows/fault being copied in.Filed under ADR 0174 as a two-way follow-up; not fixed in #924's session (rule 1 — one ticket per session).
oc_droplet_evidencemust use the per-runrent-operator/id_ed25519(seen on drive 20260828T051317Z) #926Agent Brief
Category: bug
Summary: Thread the founding rows + fault snapshot into
artifacts/journey.jsonon thejourney.*e2e paths, which currently harvest without them and serialise{"rows":null,"fault":null}Current behavior:
On a faulted
device-target drive,artifacts/journey.jsonis{"rows": null, "fault": null}— the founding-rows/fault snapshot is dropped — even though the fault is fully recorded elsewhere in the same drive (artifacts/legs.jsoncarries the reds verbatim;logs/founding-state.logcarries the event stream).journey.jsonis the one artifact that silently drops the structured founding evidence a diagnosing agent reaches for first. Seen on drive20260828T051317Z.Root cause (confirmed during triage): the journey harvest fixture serialises
{ rows: opts.rows ?? null, fault: opts.fault ?? null }, and thejourney.*specs callharvest(live)with no{ rows, fault }argument — unlike the private-path family of live specs, which pass{ rows: lastSnap, fault: lastFault }. So on the founding/journey paths the snapshot is never threaded in.Desired behavior:
On the founding/journey drive paths (device, and its rented/self-hosted/idip siblings that harvest the same way), the harvest passes the run's current founding-rows snapshot and recorded fault into the journey artifact, so a faulted drive's
journey.jsoncarries the founding rows and the fault — matching the fact already present inlegs.json/founding-state.log. A clean run is unchanged.Key interfaces:
journey.*e2e specs — it must thread the same{ rows, fault }snapshot the private-path-family specs already pass (the latest rows snapshot + latest recorded fault), rather than calling harvest bare.Acceptance criteria:
artifacts/journey.jsoncontains the founding rows and the fault (non-null), consistent withlegs.json.journey.jsonis unchanged.Out of scope:
journey.jsonitself (keep{rows, fault}).20260828T051317Zdefects (#925, #926, #927).Ruled by agent under ADR 0174 — veto anytime.
Ruling:
ready-for-agent. Two-way door — a wiring/ordering fix in the e2e harvest (thread an already-tracked snapshot into one artifact write), revertible by a commit and provable offline against the journey fixture; the fault is already known to the run, so no live drive is required to prove the fix. Not on the one-way-door list. 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 #928 — status
success✅ close-report gates passed — every claim verified against main; issue closed.
envelope