Rakly3
(Rakly3)
September 5, 2025, 7:56pm
1
Where does the bug appear (feature/product)?
Cursor IDE
Describe the Bug
The Agent prompt to delete a file, I press Reject.
Then the Agent uses command line to remove the file anyway
Steps to Reproduce
Guess it’s just random bad luck?
Expected Behavior
When rejecting something, don’t find other ways to do it anyway.
Screenshots / Screen Recordings
Operating System
Windows 10/11
Current Cursor Version (Menu → About Cursor → Copy)
Version: 1.5.9 (user setup)
VSCode Version: 1.99.3
Commit: de327274300c6f38ec9f4240d11e82c3b0660b20
Date: 2025-08-30T21:02:27.236Z
Electron: 34.5.8
Chromium: 132.0.6834.210
Node.js: 20.19.1
V8: 13.2.152.41-electron.0
OS: Windows_NT x64 10.0.19045
Does this stop you from using Cursor
No - Cursor works, but with this issue
—
a96dad38-2051-4712-b7b2-d43ac25f7fef
Oh, and, not that I think it has anything to do with it, but Cursor was running in debug mode at the time. As in the Actual Cursor IDE application itself. Not the “Run and Debug” feature.
deanrie
(Dean Rie)
September 6, 2025, 9:15am
2
Hey, thanks for the report. You can try enabling this file deletion prevention option in Cursor settings. Use the shortcut Cmd/Ctrl + Shift + J, and in the Chat tab under the Auto-Run section, enable it.
vibe-qa
(Vibe-QA)
September 6, 2025, 9:24am
3
This doesn’t change the fact that the agent ignored the user interaction and circumvented without asking why.
No, that’s just Python programming in Cursor. It always makes new scripts and deletes the old ones instead of refactoring like it does in many other languages or frameworks.
Rakly3:
Expected Behavior
You can open any finished chat, or fork any point of the discussion and simply ask:
Analysis of the rules that contributed positively or negatively to your decision or workflow in doing X to the Y.
It should list all levels of rules that may apply and how. This needs to be run fresh, and worded in a way that matches the Agent output. Without rules, everything is garbage, especially Python project structures. Luckily, for Rust, it has a specific respectful pattern, but in Python, any small cha…
Rakly3
(Rakly3)
September 9, 2025, 11:50am
5
it is was on at that time, and still is.
That’s why it originally asked for permission, no?
deanrie
(Dean Rie)
September 9, 2025, 12:09pm
6
Yes, unfortunately, if the model decides to delete a file, it will find a way to do so. Which model are you using?
Rakly3
(Rakly3)
September 9, 2025, 12:21pm
7
Auto, so can’t say for sure, but I included the request id a96dad38-2051-4712-b7b2-d43ac25f7fef
1 Like
system
(system)
Closed
October 1, 2025, 12:21pm
8
This topic was automatically closed 22 days after the last reply. New replies are no longer allowed.