100%

Goal

A compaction- or interruption-interrupted crate-sized run resumes from the durable folder with ALL accumulated findings intact.

Implementation Sketch

Wire the analyze-phase cell loop to persist the cursor + each cell’s verified findings to the durable folder after EVERY cell. On re-invocation, discover the in-flight run and resume at the saved cursor with prior findings loaded — no findings stranded by a lost ephemeral run_id.

Spec References

scripts/impl_hygiene_review_runtime/{dispatch,state,finding_emit}.py; workflow-ownership.md §1 (script owns the loop).

Work Items

  • Persist cursor + each cell’s verified findings to the durable folder after every analyze cell (dispatch + finding_emit integration).
  • Resume-from-folder: re-invocation discovers the in-flight run + resumes at the saved cursor with all prior findings loaded.
  • pytest: simulate interruption mid-walk -> resume -> every prior finding present + the cursor advances from where it stopped.

Fresh intel (regenerated)

{ “schema_version”: 1, “target”: { “kind”: “plan-section”, “ref”: “impl-hygiene-review-run-lifecycle/s-3ed3189b” }, “generated_at”: “2026-06-21T16:37:56.458787+00:00”, “graph_state”: { “head_sha”: “45796766”, “last_code_import_at”: “2026-06-21T16:17:17.476Z”, “embedding_stale”: false, “insights_stale”: false, “cpg_stale”: false }, “surfaces”: {}, “summary”: “intel-package[plan-section:impl-hygiene-review-run-lifecycle/s-3ed3189b] agent-authored dossier”, “degraded”: false, “dossier”: { “objective_symbols”: [], “tiers”: {}, “agent_authored”: true, “difficulty”: { “class”: “routine”, “research_online”: false, “research_mode”: “auto”, “signals”: [], “plan_dir”: “/home/eric/projects/ori_lang/plans/impl-hygiene-review-run-lifecycle” } } }

(full dossier: resumable-run-state—s-3ed3189b.intel.json)