The cursor agent seems to keep asking for “Accept” the edits for agent mode, even if the cursor agent is set to mode “run everything”.
I am working on local windows machine, ssh into the remote cursor in ubuntu 24.04 for development.
This issue seems to be
Repo-specific. Seperate repos will have seperate behaviours on whether or not “asking for edits” or not.
Not happening at beginning
I [1] delete everything (including remote & local cursor, remote cursor-server, config, and all folder from %APPDATA%\Roaming\Cursor\User\workspaceStorage), [2] close cursor in windows, [3] pkill my user in remote server, then [4] installed a new cursor locally, new cursor remotely. Problem disappears for once, then appears again.
I created new repos, the bug doesn’t appear at beginning
I am not sure if I toggled some functionality button or something (I only installed a lot of extensions), or it is an existing bug. I tried 2.0 version it seems working well.
Steps to Reproduce
Due to (2), I am only able to find that “There is such an issue happens sometimes”, but I don’t actually know what is a robust way to reproduce it.
I did
Clear everything (discussed above)
Clone a repository, setup a workspace
Work with cursor well (auto edits)
After closing cursor (the remote cursor is not closed) then after like 1~1.5 hour, the problem appears again.
Cause I can’t reproduce it right now, I will try to upload the image if it appears again.
Expected Behavior
The agent is doing all the edits first, then asking me to review it.
Operating System
Windows 10/11
Current Cursor Version (Menu → About Cursor → Copy)
Hello! It seems the problem of external file protection. I turned off external file proection and it suddenly works. May I ask if there is a potential fix here or I have to turn it off until next update?
It looks like this is an issue when the model chooses to use absolute paths when editing files instead of workspace relative paths. If you ask the model to use relative paths when editing files, things work as expected. I think that’s why disabling the External-File protection works.
Edit: This actually seems related to another bug where edits in the file aren’t working correctly. If the agent edits the file by shell command, the file changes, but then the changes seem to revert if you reload Cursor to see them.
Thanks! It seems the agent sometimes uses absolute paths or incorrectly determines their location, which triggers External‑File Protection.
Current options:
Leave protection on with External‑File Protection turned off while we figure it out.
If after restarting Cursor the changes disappear, that’s a related bug. Please send the Request ID and errors from Help → Toggle Developer Tools → Console.
@deanrie same thing happened to me, I had added the folder of the project with the issue to another cursor instance before this happened.
So I have a cursor with the frontend opened another with the backend, I added my backend folder to the frontend cursor workspace so I could add some classes as context to the frontend cursor (which worked really good) but after that I had the issue of this post, finles werent created and if I was building a plan, the accept file wouldn’t prompt and it just hungs in there.
This just started happening to me after updating.. worse part is that the button to allow edits DOES NOT APPEAR. The only way I knew it was asking was it sent a notification, and also, if i closed cursor and came back to that failed convo, then the allow button would appear. This is a nasty bug for sure.
I am having the same problems since yesterday. Don’t know if it is update related. I am using GitHub tunnels, so my code is on a Linux Debian machine and my cursor on my Windows local machine. I tried the external toggle mentioned above, but that didn’t help. Yesterday deleted all on the windows side, setup the github tunnel again and then it worked. This morning it didn’t and I had same issues. And as an addition…commands like ‘npm run build’ can also not be executed anymore…
I can also confirm that I have this problem, and that it seems to be comorbid with cursor trying to use global paths and not having a good handle on the current workspace. I am running over remote-ssh if that matters.
Turning off file protection bypasses the issue, but I don’t love that as a solution