Where does the bug appear (feature/product)?
Cursor IDE
Describe the Bug
I told the AI to review code files in another project to understand the context, as we were updating the plan for a new project. Once I accepted the plan, it started deleting files in the other project to build out the features. I realised what it was doing when I saw the ‘rm’ command being run on the other project ‘src’ folder and stopped the request, then told it not to make changes in the other project, it should be writing code from scratch in the current project. It responded based on the attached screenshot. I also have file-deletion protection on, but that did nothing.
Steps to Reproduce
Have not tried to replicate it. We had just finished the plan and then it ran the rm command on the src directory of the other project. Then it rand the mkdir command to create new directories.
Expected Behavior
It should understand it context based on the active project in the Cursor app, it should not be deleting files in other projects, and should not be deleting files if file-delete protection is enabled.
Screenshots / Screen Recordings
Operating System
MacOS
Current Cursor Version (Menu → About Cursor → Copy)
Version: 2.0.69
VSCode Version: 1.99.3
Commit: 63fcac100bd5d5749f2a98aa47d65f6eca61db30
Date: 2025-11-07T18:21:29.650Z
Electron: 37.7.0
Chromium: 138.0.7204.251
Node.js: 22.20.0
V8: 13.8.258.32-electron.0
OS: Darwin x64 24.4.0
For AI issues: which model did you use?
There are 5 active models, so I am not sure which one is behind the current agent. Composer 1, Sonnet 4.5, GPT 5 Codex High, Haiku 4.5, Grok Code,
For AI issues: add Request ID with privacy disabled
Not sure how to get the Request ID
Additional Information
There are other defects, but I will dig into them more and send them separately.
Does this stop you from using Cursor
No - Cursor works, but with this issue
