Agent mode is saving file changes before I can have reviewed / Accepted

Cursor Agent is writing directly to files when it makes code changes without giving me a change to accept or revert the proposed changes. The accept check mark is still showing in the chat and the file shows the changes in the green block with option to accept or revert , but the changes have already been made at that point , causing Python to resync server , Next JS to reload the page , etc.
This is happening regardless of any settings changes I have tried , I disabled anything related to auto saving and I don’t appear to have the yolo option in my settings , but it is acting exactly like people have described Yolo mode to act.
This is a significant problem when multiple file changes are made because even though I can revert them one by one , the scope of the issue becomes a problem for Claude and I won’t usually get the same changes in the files that were ok when Claude rewrites them.
How can I get this setup so that it makes multiple file changes , but depends on me to accept them before they are saved?

I can reproduce this bug simply by asking for any file change and then refreshing my web page on localhost before clicking on accept , the change will be there already. When the change introduces bugs , the page will be broken.

I am using windows 11 Home with Cursor .47.8 the Cursor version has (user setup) in the name.

I don’t think any of the agentic coding tools work in the way that you want.

Most people work around this by using version control and committing after key milestones.

Thanks for your reply ; it actually used to work this way and seems to have been designed to work this way as they have the accept check mark by each of the code changes in the chat , in addition , the files load in the editor with the changes highlighted and each change has an accept or revert option. What would the point of the accept option be if the change has already been committed? You may be right, but every time I describe the issue to Grok or Claude , they say that the agent should not be overwriting the files until I have accepted the changes and point me to various settings , none of the settings seem to modify this behavior though.
Thanks,
Steve

1 Like

Yes, this new behavior is a hassle