Auto-Accept on Commit does not Work

Where does the bug appear (feature/product)?

Cursor IDE

Describe the Bug

This has been reported before. All these bug reports have been closed 22 days after the last reply without resolving the issue:

To summarize, there is a setting to Auto-Accept agent edits on Commit (see screenshot). However, this does not actually work, requiring the user to manually accept/undo individual agent edits, or press the keep all button when relevant.

Steps to Reproduce

  1. Verify that the setting “Auto-Accept on Commit” is enabled.
  2. Instruct an agent to edit a file.
  3. Commit the changes in the git repository found in the Primary Side Bar.

Expected Behavior

“Automatically accept all changes when files are committed and no longer in the worktree”

Screenshots / Screen Recordings

Screenshot 2026-02-06 100932.png

Operating System

Windows 10/11

Version Information

Version: 2.4.28 (system setup)
VSCode Version: 1.105.1
Commit: f3f5cec40024283013878b50c4f9be4002e0b580
Date: 2026-02-03T00:56:18.293Z
Build Type: Stable
Release Track: Default
Electron: 39.2.7
Chromium: 142.0.7444.235
Node.js: 22.21.1
V8: 14.2.231.21-electron.0
OS: Windows_NT x64 10.0.26100

Additional Information

Alternatively, it would be good for there to be a setting that could optionally turn off the tracking, accepting, and undoing of agent edits from the chat panel or file editor. At least for my workflow, interacting with the git diff, committing files to “accept” the changes, and discarding changes when I want to “undo” them is the better way to monitor agent edits.

Does this stop you from using Cursor

No - Cursor works, but with this issue

Hey, thanks for the report and for the links to the previous threads.

I can see the screenshot with the setting, it’s enabled correctly. The team is aware of this issue. We fixed some cases in 2.4, but it looks like not all of them.

Can you check the Developer Console (Help > Toggle Developer Tools) after the commit and send any errors you see? In similar reports we often saw something like:

[composer] Error getting commits for auto-accept: Error: Error fetching commit details...

That’ll help us figure out if this is the same bug or a variation.