Recover interrupted work
Use recover when a session stopped partway through implementation, verification, completion, or a managed rebase. Recovery inspects the actual files and Git state on disk and picks up from there.
Examples
Section titled “Examples”Use zdev to recover interrupted work in area greeting and resume the task.Keep my existing changes and inspect the previous verification result beforedeciding what remains.Use zdev to recover the interrupted managed rebase for area greeting.Inspect the Git state and explain any conflict that needs a decision.What happens
Section titled “What happens”The agent inspects the task records, working tree, and any saved handoff to identify which edits belong to the task, reconstruct the last completed stage, and finish what remains. If verification already passed and only the final commit failed, recovery can complete that checkpoint without redoing implementation.
An interruption does not reset the correction allowance: if an earlier run already used its correction pass, recovery reports the remaining findings and asks how you want to proceed. Whenever ownership of a local edit is ambiguous, the agent preserves it and asks.
To recover an interrupted parallel batch, name it explicitly:
Use zdev to recover and resume the interrupted parallel batch in greeting.The report lists completed commits, remaining work, preserved worktrees, and
any blocker. For an interrupted managed rebase, recovery inspects the Git state
before deciding whether to continue or abort through zdev area rebase. Trunk
areas do not use managed rebases.
See workflow recovery and managed rebases. For interrupted research runs, use the resume prompt in research so measured evidence and consumed allowance are preserved.