Where does the bug appear (feature/product)?
Cursor IDE
Describe the Bug
Switching from Agent to Ask and back introduces weird behavior.
- In Ask, the model decided to edit something using
sedandcatdespite that I just asked about the code I created. - After returning to Agent mode, it continued using
sedandcatto edit files, which resulted in worse edits and lack of version control (“X Files for Review” does not include the files changed by by tools.
Steps to Reproduce
Use Composer 1 on a task where “Ask” might involve some coding (but it was not needed in my case), model will implement the changes using sed or cat. Then switch to Agent and see if it still edits code by sedandcat`.
Expected Behavior
- In Ask mode, it should not use tools that edit code
- Even if it uses tools to edit code, it should appear in the edited files such that we can revert the changes.
Screenshots / Screen Recordings
Operating System
MacOS
Version Information
Version: 2.6.19
VSCode Version: 1.105.1
Commit: 224838f96445be37e3db643a163a817c15b36060
Date: 2026-03-12T04:07:27.435Z (4 days ago)
Build Type: Stable
Release Track: Default
Electron: 39.4.0
Chromium: 142.0.7444.265
Node.js: 22.22.0
V8: 14.2.231.22-electron.0
OS: Darwin arm64 24.6.0
For AI issues: which model did you use?
Composer 1
For AI issues: add Request ID with privacy disabled
984f4f71-3c78-40f1-b11e-d1eaa1385f3e
Does this stop you from using Cursor
No - Cursor works, but with this issue
