Auto-review (enabled) still blocks routine git add / git commit with “Not in allowlist” — classifier no longer auto-runs basic agent-requested Shell on Windows PowerShell

Where does the bug appear (feature/product)?

Cursor IDE

Describe the Bug

Auto-review is enabled and selected, but it no longer behaves like semantic review. Routine Shell commands that the agent was explicitly instructed to run (e.g. stage + commit after “create a git commit”) are blocked with an approval card whose footer is:

Not in allowlist: git add, git commit

Buttons offered: Skip / Always Run git / Run, plus an Auto-review dropdown on the card.

That is allowlist-miss UX, not useful Auto-review. Last week (pre-update), Auto-review was smart enough to allow these obvious, user-requested actions without requiring every git subcommand on a static allowlist.

Related broken behavior (same system):

PowerShell command chains (;, if ($LASTEXITCODE…), pipelines) get tokenized into junk allowlist candidates ($LASTEXITCODE, .Count, -not, $dir, exists, etc.).
Clicking Always Run pollutes Command Allowlist with those fragments instead of treating the action as a normal git / dotnet operation.
Result: Auto-review feels like a brittle allowlist with zero of the previous “smart” path.

Steps to Reproduce

Settings → Agents → Approvals & Execution → Run Mode = Auto-Review (confirmed selected).
Windows + PowerShell agent shell.
Ask the agent to stage specific files and create a commit (explicit user request).
Agent proposes something like:
git add ; git status --short; git commit --trailer “Co-authored-by: Cursor [email protected]” -m “…”
Observe approval card: Not in allowlist: git add, git commit — must Skip / Always Run git / Run.
Optionally: approve similar PowerShell probes via Always Run and watch Command Allowlist fill with fragments (.Count, $LASTEXITCODE, -not, variable names, etc.).

Expected Behavior

With Run Mode = Auto-review:

Allowlist hit → run.
Else sandbox when possible.
Else classifier reviews context (user asked to commit; command is ordinary git add / git status / git commit) → auto-run without a human prompt.
Allowlist miss for git commit should not by itself become a blocking approval card for an explicitly requested commit.

Actual Behavior
Classifier path effectively fails closed / never absorbs the action. UI surfaces Not in allowlist: git add, git commit and waits for human approval / Always Run git, even though Auto-review is the active Run Mode.

Screenshots / Screen Recordings


Operating System

Windows 10/11

Version Information

Version: 3.20.21 (user setup)
VS Code Extension API: 1.128.0
Commit: f09fca384ceca23f7bf21f9c23655b162641d740
Date: 2026-09-13T19:02:51.781Z
Layout: IDE
Build Type: Stable
Release Track: Default
Electron: 42.10.0
Chromium: 148.0.7778.280
Node.js: 24.18.1
V8: 14.8.178.38-electron.0
xterm.js: 6.1.0-beta.291
OS: Windows_NT x64 10.0.26200

Additional Information

Need a solution before my whole team just turns on YOLO mode. I went from a workflow doing work independently to having to constantly watch it if it got blocked waiting for approval approval to run silly things like “Exists” and wanting to add them to the allow list ($dir = “some dir”; if (Test-Path -LiteralPath $dir) { Write-Host “exists” } else { Write-Host “not exists” }).
With many background subagents running that have absolutely no indicator of waiting other than click into every one of them cursor IDE becomes unusable without YOLO mode.
With no working way to have a workspace level allow list that’s sharable to the team, it’s a very annoying excercie of “hey everyone, please copy this allowlist every time something changes”.

Does this stop you from using Cursor

No - Cursor works, but with this issue

Hey @vorantz, thanks for the detailed report.

You are right that this is not Auto-Review’s classifier making a call. What you are seeing is a known issue we are already tracking, and I have added your report to it: in some sessions, and in particular for commands run by subagents, the request loses the Auto-Review setting on the way to the agent, so the classifier never runs and the command falls through to plain allowlist matching. That is why the card says “Not in allowlist” and offers “Always Run” even though Auto-Review is selected.

A couple of things that should help right away:

  1. Make sure every machine you use is on the latest version and then fully quit and relaunch Cursor (not just reload the window). From your account activity it looks like one of your machines is still on 3.20.10, and that is where today’s subagent prompts came from. Your 3.20.21 install has been auto-approving normally today.
  2. For subagent-heavy work on 3.20.x, prompts from subagents can still appear until the next patch. The fix for that part is already in 3.21 (our next minor release), so it should go away when you update to it.

Thanks for the response.

I made sure to update all instances and hard restarted all of them.
Did one run of one of the workflows and tracked in detail what was happening.
Yes, i noticed that a main chat produced auto review approval requests I was used to seeing. And they ran commands not on allow list so we can be sure auto review checked them.
But all the subagent runs still had the allowed list approvals. And all the important things happen in the subagent workers, not the main chat orchestrator.

Tomorrow I’m leading a workshop at our company using these ai orchestrated workflows (intended for software development tasks), so I’ll have to dedicate a portion of it to everybody building up their allow list and convince them to not just YOLO. I hope all these approvals popping up aren’t going to hurt the adoption of these workflows.

I’m trying to find a fast workaround.
Workspace permissions.json doesn’t seem to work. I’ll try the user profile premissions.json and if it works, ask the participants to copy the file for the workshop to minimize the constant approval requests. But I really don’t like having this as a company wide approach.

Saw that 3.21 was released. Did a complete reinstall of cursor on my computer, was hoping it’s just some old cached files causing issues. I don’t see any change either with this issue or with subagent heavy work working any better.

This is really disappointing.

The permissions.json Reference | Cursor Docs doc also has SO much misinformation…

Thanks @vorantz, and sorry you’re having to deal with this! I am sharing details or your agent requests with the team so we can dig in and figure this out.

Hi @Colin . I am also getting this same issue. It is really ruining my experience with Cursor and making me so much less productive. So much so, I’ll need to churn away if it continues for much longer.

I hope this gets resolved quickly.

Same issue here, started when I updated to 3.21.16 (widnows 11). Pretty annoying. Can you are least tell us which version should we donwgrade to?

Hi all! Can you all try to upgrade to 3.22.12 and letting us know if you’re still running into this issue? Apologies for the delay on getting this fix out!

I am now on 3.23.12 (user setup), and I have not seen this problem for some time. However, in the meantime, I had to add many commands to the allowlist, so I can’t confirm whether this is because of the allowlist or because auto-review has started working properly.