Where does the bug appear (feature/product)?
Cursor IDE
Describe the Bug
When in agent mode executing a task, the generated commands would be in the form of /usr/bin/grep instead of plain grep.
This generates friction with allowlists and other possible user settings.
Steps to Reproduce
Ask the agent to work on a task with console tools enabled, eventually when running a command will use the long absolute path form instead of the simple form.
Screenshots / Screen Recordings

Operating System
MacOS
Version Information
Version: 2.7.0-pre.87.patch.0 (Universal)
VSCode Version: 1.105.1
Commit: b61848202de5fae8f5828fbbf9c50083eef90e40
Date: 2026-03-19T02:04:14.344Z
Build Type: Stable
Release Track: Nightly
Electron: 39.8.1
Chromium: 142.0.7444.265
Node.js: 22.22.1
V8: 14.2.231.22-electron.0
OS: Darwin arm64 25.3.0
For AI issues: which model did you use?
Composer 2 Fast
For AI issues: add Request ID with privacy disabled
Company enforce privacy enabled.
Does this stop you from using Cursor
No - Cursor works, but with this issue