Where does the bug appear (feature/product)?
Cursor IDE
Describe the Bug
When an agent attempts to request approval for a shell command, we are able to edit the command, however our edits are not respected during the run.
Steps to Reproduce
Ask for the agent to run any shell command that’s not part of the allowlist so you get the approval prompt. Then edit the command and approve. You’ll see the original command run rather than your edited one.
Expected Behavior
The expected behavior is that once we edit the command and then press approve, the edited command is run rather than the original
Operating System
Windows 10/11
Version Information
Version: 2.3.41 (user setup)
VSCode Version: 1.105.1
Commit: 2ca326e0d1ce10956aea33d54c0e2d8c13c58a30
Date: 2026-01-16T19:14:00.150Z
Electron: 37.7.0
Chromium: 138.0.7204.251
Node.js: 22.20.0
V8: 13.8.258.32-electron.0
OS: Windows_NT x64 10.0.26200
For AI issues: which model did you use?
All
Does this stop you from using Cursor
Sometimes - I can sometimes use Cursor