Add setting to disable or require confirmation for one-click Commit in Agent chat / Review

Feature request for product/service

Chat

Describe the request

Problem

In Agent chat and Review, the Commit action is too easy to trigger accidentally:

  • The Commit button is prominent and close to Review / file actions
  • A single click can start the commit flow (and in some cases commit immediately with an auto-generated message)
  • There is no user preference to turn this off or require a second confirmation

For teams using Git carefully (review before commit, conventional commits, multi-repo workspaces), accidental commits are costly and hard to undo cleanly.

Proposed solution

Add a Cursor Settings option, for example under Agents or Git, such as:

  1. Disable inline Commit in Agent chat / Review — hide or disable Commit; users commit via Source Control or terminal only
  2. Require confirmation before commit — first click opens a confirmation (e.g. “Commit N files with this message?”) before any git write
  3. Optional: Never auto-commit — always open the full commit dialog with editable message and file list

Use cases

  • Accidental click while scrolling or switching between Review files
  • Agent finished edits but user still wants to review diff in Source Control first
  • Umbrella / multi-repo workspaces where a mistaken commit scope is especially risky

Environment

  • Cursor version: [Help → About Cursor]
  • OS: macOS 25.5.0
  • Context: Agent chat + Review UI after agent-generated changes

Related

Similar UX pain around Review/Commit is discussed in forum threads about misleading commit state and one-click commit without showing message/files — this request is specifically for a user-controlled safety setting, not only bug fixes.

Hey @029_ai-dev!

We also noticed that it’s too easy to click this button. The team is looking at ways to improve the UX here. I shared your feedback!