Where does the bug appear (feature/product)?
Cursor IDE
Describe the Bug
Sometimes, Cursor will delete some files without authorization and then create a new one. It may be a project script file or a markdown file.
Regardless, this order of operation is incorrect because it deletes the original file first. If any problems occur during the process, not only will the new file not be obtained, but the original file will also be lost.
Furthermore, the user may tamper with the history by pressing Ctrl + Z during the process, resulting in a empty file being returned when the user rolls back to the previous result through the chat page.
Steps to Reproduce
Specify a document and make Cursor rebuild it. Sometimes it will choose to delete the entire file and then create a new one.
Expected Behavior
- Make changes to an existing file.
- Create a new file, make sure the file’s contents are complete, and then delete the old file.
Operating System
MacOS
Current Cursor Version (Menu → About Cursor → Copy)
Version: 1.7.33
VSCode Version: 1.99.3
Commit: a84f941711ad680a635c8a3456002833186c4840
Date: 2025-10-03T03:28:06.574Z
Electron: 34.5.8
Chromium: 132.0.6834.210
Node.js: 20.19.1
V8: 13.2.152.41-electron.0
OS: Darwin arm64 25.0.0
Does this stop you from using Cursor
Yes - Cursor is unusable
