Custom Mode: Stop Button Reverts All Completed File Changes

Where does the bug appear (feature/product)?

Cursor IDE

Describe the Bug

In Custom Mode, pressing Stop during file operations reverts ALL completed changes from that response, not just the interrupted operation. This differs from Standard Mode where completed files are preserved.

Steps to Reproduce

  1. Use Custom Mode (with edit_file tool)
  2. Request creation of multiple files (e.g., 5 files)
  3. Press Stop after 2-3 files are successfully created
  4. Observe all files are deleted/reverted

Expected Behavior

Completed files should remain; only in-progress operation should cancel (as in Standard Mode)

Operating System

Linux

Current Cursor Version (Menu → About Cursor → Copy)

Latest (Nov 2, 2025)

For AI issues: which model did you use?

Claude Sonnet 4.5 (via edit_file tool)

Additional Information

Happens 100% of the time in Custom Mode. Does NOT happen in Standard Mode with write tool. Note: edit_file is only available in Custom Mode and write is only available in Standard Mode, making it impossible to isolate whether the bug is tool-specific or mode-specific. No workaround available. All files appear in <deleted_files> metadata after stopping.

Related threads:

Does this stop you from using Cursor

Sometimes - I can sometimes use Cursor

Hey, thanks for the report. This is a known issue tracked in our bug tracker.

Your Custom Mode–specific repro is very helpful. To help engineering compare Custom Mode vs Standard Mode, please share a request ID from when this happens in Custom Mode.

How to get it:

  • Click the three dots in the chat → “Copy request ID”

For now, committing to Git before stopping can help you recover changes, though it won’t prevent the issue.

Can confirm . very annoying … also it seems the model is no longer using any kind of read tool on its own but spamming cmd commands for grepping , sed and tail …like i have to approve liek dozens of unneccary read actions that cursor 1 did by itsself . wil downgrade for now :smiley: … this is super bad .. see you in few monthts when beta test is over