Persist confirmed state outside the conversation
Recovery needs a durable record of completed, pending and uncertain operations. Conversation history can help explain intent, but it is not a reliable transaction log. Save the identifiers and results needed to resume safely, and reconcile ambiguous writes before continuing. Define whether a restart repeats preparation, resumes execution or requires human review.
Worked example
Illustrative scenario; not a claim of measured client results.
Suppose an agent creates a project record and then loses connection before adding tasks. On restart, it should locate the confirmed project using its saved identifier and continue the pending task creation. If project creation itself is uncertain, verify that state first. Guessing from the project name can create duplicates when similar records exist.
Checks, limitations and next decisions
Test interruption after each consequential step, including the moment after a successful write but before acknowledgment. Confirm that recovery preserves scope and approvals. Keep stale plans from overriding newer user changes. A useful recovery report identifies the last confirmed state and the next safe action, allowing an operator to continue without reconstructing the entire conversation manually.
A practical starting point
Work through these checks in order. Use the results to decide what needs to change in your own workflow.
- Record checkpoints after meaningful actions.
- Separate planned actions from confirmed results.
- On restart, reconcile external state before continuing.
A mistake to avoid
Do not rebuild workflow state solely from a conversational summary when writes are involved.
How to check progress
Track recovery success and duplicate side effects after interruptions.
Your action checklist
Use this checklist while reviewing your own setup. Checkmarks are temporary and stay in this open page.
For the wider decision process, read Choosing an agent when a workflow is not a fixed script.
Further reading
Official background resources for this topic. The workflow above is general guidance, not a guarantee of a particular result.
AI-assisted editorial content. Examples are illustrative, not client case studies. Read our editorial policy or report a correction.
