drive run dir does not capture the clan config flake — the only copy survives at the shared state path and is destroyed by the next drive / trial-reset (seen on 20260828T051317Z) #927
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#927
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
logs/state-logs.logreadsERROR: no state logs directory at …/standing-rented/state/logs, and the run dir's ownstate/is empty. The config repo the red was about survived only at the shared pathtest-results/standing-rented/state/clan-config— atrial-resetor the next drive destroys the only copy of the flake needed to diagnose a config_eval red.Fix
Have the drive harvest capture the clan config flake (at least a
git bundle/rev-parse HEAD+ tree snapshot) into the per-runstate/so a config-eval red is diagnosable post-hoc without racing the next drive for the shared checkout.path:<config-repo>flake ref makes nix ingest the live.git, so a mid-run repack redsvars generate(drive 20260828T051317Z, sig 25304f657c24) #923oc_droplet_evidencemust use the per-runrent-operator/id_ed25519(seen on drive 20260828T051317Z) #926Agent Brief
Category: bug
Summary: Have the drive harvest snapshot the clan config flake into the per-run
state/so aconfig_evalred is diagnosable post-hocCurrent behavior:
The per-run run dir does not capture the clan config flake. The only copy survives at the shared state path (
test-results/standing-rented/state/clan-config), which the next drive — or atrial-reset— destroys. Sologs/state-logs.logreadsERROR: no state logs directory at …/standing-rented/state/logsand the run dir's ownstate/is empty. When a red is about the config flake (aconfig_evalfailure), the flake needed to diagnose it is gone by the time anyone looks, or is being raced by the next drive for the shared checkout. Seen on drive20260828T051317Z.Desired behavior:
The drive harvest captures a self-contained snapshot of the clan config flake into the per-run
state/— at minimum agit bundle(or equivalent immutable copy) plusrev-parse HEADand a tree listing — so aconfig_evalred is fully diagnosable from the run dir alone, without racing the next drive or atrial-resetfor the shared checkout.Key interfaces:
state/— extend it to snapshot the config repo the drive built against. Capture from the shared local checkout (…/state/clan-config) into<run_dir>/state/.git bundle) over a live.gitcopy so the snapshot can't be mutated by concurrent git housekeeping (cf. the #925/#923.git-ingest hazard).Acceptance criteria:
<run_dir>/state/contains the config-flake snapshot (bundle +HEAD+ tree listing), independent of the shared checkout.trial-resetdoes not destroy the captured snapshot.state/(best-effort: absent config repo does not fail the harvest).Out of scope:
config_evalred (that's #925/#923's territory).Ruled by agent under ADR 0174 — veto anytime.
Ruling:
ready-for-agent. Two-way door — it adds a best-effort local capture of an on-disk checkout into the per-runstate/, revertible by a commit and provable by an offline test of the harvest (no live droplet needed to prove the capture writes). 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=elitebook-distributed-server-03 run=13097
(automated multi-host claim — lowest live claim id works this ticket)
close-report for #927 — status
success⛔ close-report gates REFUSED this close — the following claims did not verify:
9ea7e9e8cais not reachable from origin/main (not landed)envelope
close-report for #927 — status
success✅ close-report gates passed — every claim verified against main; issue closed.
envelope