atomic-save-dependency-archive-reset

Convert dependency, archive, reset, retry, and cleanup readers

Metadata

Statusfailed
Assignedagent-1008
Agent identity02e879681e52e0a384106169be043416c4d946e850ab26b2269c57681b52a6e7
Created2026-08-03T14:55:05.427291204+00:00
Started2026-08-03T22:04:52.573736069+00:00
Tagsatomic-save, parallel-runtime-adapter
Tokens8396075 in / 19236 out
Failure reasonProvider failure detected after streaming: provider-unavailable

Description

Implement the atomic-save-dependency-archive-reset work item from docs/plans/atomic-graph-work-save-dag.json and docs/design-atomic-graph-work-save.md. Start only after the shared kernel/schema gate is durably complete. Own only the files/modules listed below so sibling adapters remain safely parallelizable; coordinate any unavoidable overlap before editing.

Owned files/modules:

  • src/query.rs
  • src/check.rs
  • src/commands/ready.rs
  • src/commands/claim.rs
  • src/commands/why_blocked.rs
  • src/commands/archive.rs
  • src/commands/reset.rs
  • src/commands/retry.rs
  • src/commands/reopen.rs
  • src/commands/recover.rs
  • src/commands/cleanup.rs
  • src/commands/worktree_gc.rs
  • src/commands/service/worktree.rs
  • src/commands/spawn/execution.rs

Non-goals:

  • No provider implementation changes.
  • No automatic deletion of quarantined legacy evidence.
  • No change to graph visualization design.

Validation

  • cargo test query
  • cargo test commands::archive
  • cargo test commands::reset
  • cargo test commands::retry
  • cargo test --test atomic_save_faults reset_retry
  • cargo fmt --check

Depends on

Required by

Messages 10 messages (10 unread)

  1. #1atomic-save-dependency-archive-reset2026-08-03T16:37:37.375396463+00:00delivered
    Schema gap discovered: ArchivedBoundary lacks GraphSave CID/bundle digest/disposition/version. Staying within ownership: active Done archive eligibility will require receipt-backed GraphSave projection; legacy archived Done will fail closed in dependencies. Synthesis/kernel follow-up must extend boundary schema to preserve satisfiable archived edges.
  2. #2atomic-save-dependency-archive-reset2026-08-03T16:55:44.564763103+00:00delivered
    Acknowledged schema-gap note — implementation remains fail-closed for archived Done boundaries and records the required synthesis follow-up without editing unowned graph schema.
  3. #3atomic-save-dependency-archive-reset2026-08-03T17:46:52.312026773+00:00read
    Acknowledged schema-gap discovery — I will keep archived legacy Done dependency checks fail-closed, require receipt-backed GraphSave evidence for active archive eligibility, and leave boundary-schema extension to synthesis.
  4. #4atomic-save-dependency-archive-reset2026-08-03T17:46:56.164199728+00:00read
    Acknowledged prior implementation direction — I will stay within owned modules and preserve quarantined legacy evidence.
  5. #5atomic-save-dependency-archive-reset2026-08-03T18:20:54.142302002+00:00read
    Done — implemented receipt-backed dependency/archive reads, new-attempt retry semantics, and fail-closed cleanup/reset retention barriers in commits efd3e314 and 4780b17d; focused archive/reset/retry tests pass.
  6. #6atomic-save-dependency-archive-reset2026-08-03T18:43:13.292094448+00:00delivered
    Acknowledged queued context — I will continue from commits efd3e314/4780b17d, verify the in-flight worktree_gc test rename, preserve fail-closed archived legacy Done behavior, and run the full task validation before completion.
  7. #7atomic-save-dependency-archive-reset2026-08-03T22:05:22.431806421+00:00read
    Acknowledged latest queued checkpoint — prior commits remain the implementation candidate. I am resuming the interrupted validation run, will address any exact test failures within owned modules, and will complete only after required checks and smoke gate succeed.
  8. #8atomic-save-dependency-archive-reset2026-08-03T22:13:08.898970405+00:00read
    Coordination needed: exact required cargo test query fails only two stale raw-Done fixtures in unowned src/commands/blocked.rs. Production behavior must remain fail-closed. Requesting approval for a test-only fixture update, or synthesis ownership; no production edit outside owned modules.
  9. #9atomic-save-dependency-archive-reset2026-08-03T22:48:23.846947050+00:00read
    Done — implementation and retained-worktree fixture corrections are in commits efd3e314, 4780b17d, and e94ec840. Owned focused suites, build, install, and formatting pass. The only exact-validation gaps are the already-coordinated unowned blocked.rs raw-Done fixtures and the not-yet-present sibling atomic_save_faults target.
  10. #10atomic-save-dependency-archive-reset2026-08-03T22:49:25.524774118+00:00sent
    Completion blocker: `wg done` cannot canonicalize capability-bound agent-1008 worktree because retry-in-place reused agent-981 but minted the new capability against nonexistent agent-1008. Please reconcile the attempt capability/worktree binding or finish from operator authority; candidate e94ec840 is pushed.

Log