Cursor caused file deletion during migration

Where does the bug appear (feature/product)?

Cursor IDE

Describe the Bug

I asked Composer 2.5 to migrate from legacy designs and it surprisingly deleted a lot of files and structs being used. It costs me a whole day and a lot of tokens to recover the lost designs. I am so mad and frustrated…

Steps to Reproduce

I don’t want spend one more minute on this.

Operating System

MacOS

Version Information

Version: 3.5.33 (Universal)
VSCode Version: 1.105.1
Commit: aac81804b986d739acab348ed96b8bea6e83cc50
Date: 2026-05-22T06:47:48.039Z
Layout: editor
Build Type: Stable
Release Track: Default
Electron: 39.8.1
Chromium: 142.0.7444.265
Node.js: 22.22.1
V8: 14.2.231.22-electron.0
OS: Darwin arm64 25.5.0

Does this stop you from using Cursor

Yes - Cursor is unusable

I’m really sorry to hear about the lost work!

A few things that may help recover files now, and prevent this in the future:

  • Cmd + Shift + P > Local History: Find Entry to Restore. Cursor automatically snapshots files as you edit, so you may be able to recover deleted files even now.
  • Checkpoints let you revert your entire workspace to its state before any agent message. Look for the restore icon in the chat timeline.
  • Use version control as a backup. Tracking your files with a tool like Git makes it easy to revert unwanted changes.
  • Adjust Auto-Run settings under Cursor Settings > Agents > Auto-Run Mode. You can require approval before the agent runs commands.