Left from review of the agent (#8321): on a restart mid-turn, resumeInterrupted relies on the resume prompt asking the model to check first, so a write that finished but went unreported can run twice. test/conversation-fence.test.ts:306 covers only the confirmed-close case.
Left from review of the agent (#8321): on a restart mid-turn,
resumeInterruptedrelies on the resume prompt asking the model to check first, so a write that finished but went unreported can run twice.test/conversation-fence.test.ts:306covers only the confirmed-close case.Done when: