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.
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.
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.