How to check the answer
Write the success condition and maximum permitted action first. Test the agent on a normal case and one that requires handing off.
- Interrupt one controlled run after a step succeeds and check recovery. Verify that the next run preserves completed work and avoids duplicate actions.
A limit to keep in mind
A tool response indicating success can precede a failure to record the workflow's new state.
