Where does the bug appear (feature/product)?
Cursor IDE
Describe the Bug
Lately the agent hasn’t been able to determine what mode it’s on and tries to change code on ask or plan mode. I defaulted to always adding “you’re on x mode” at the end of my prompts. Not the end of the world but annoying. It’s a new development that started a couple weeks ago
Steps to Reproduce
Put the agent on ask or plan mode. Ask for it to do something related to changing code. It will attempt to create/change code despite not being allowed to.
Expected Behavior
It should automatically detect what mode it’s on and act accordingly.
Screenshots / Screen Recordings
Operating System
MacOS
Version Information
Version: 2.4.21
VSCode Version: 1.105.1
Commit: dc8361355d709f306d5159635a677a571b277bc0
Date: 2026-01-22T16:57:59.675Z
Build Type: Stable
Release Track: Default
Electron: 39.2.7
Chromium: 142.0.7444.235
Node.js: 22.21.1
V8: 14.2.231.21-electron.0
OS: Darwin arm64 24.6.0
Does this stop you from using Cursor
No - Cursor works, but with this issue
