A paused klaus run checkpoints to valley refs, so it can resume from the valley rather than from GitHub or local state. This is what remains of the plan's valley backend (klaus #281, #282, #284).
Done when a paused run resumes on another checkout from what the valley holds.
Source: `plan.md` M6 ("A valley backend").
Comments
contributor2026-11-18 23:23 UTC
Detail from the earlier tracker. On a repository with no GitHub origin, the budget-pause flow's git steps (the work-in-progress commit and the branch push) succeed, but the pause marker and the resume index are a draft pull request with a label and a comment, so they cannot exist. Finalize then treats the pause as a normal completion: it emits `agent:completed` instead of `agent:paused` and cleans up the worktree, and nothing records that the run paused. The conversation itself already reaches the data ref by plain git. A near-term cut: record the pause reason and branch in the run record that already syncs to the data ref, emit `agent:paused` from that path, and resume by run ID through the existing replay.