Where does the bug appear (feature/product)?
Cursor IDE
Describe the Bug
Not sure if I’m doing something wrong, but whenever I’m using the agents window and creating a /plan in a worktree, once the agent starts working, /plan mode exits and the agent functions like /plan was never used, however, I can enter /plan mode afterwards in the same chat and worktree; it only happens when starting a new worktree.
Steps to Reproduce
Create a new chat as a worktree and enter /plan mode. Once you send the message, the agent start working in normal mode instead of plan mode.
Expected Behavior
Plan mode should be kept after sending the chat message. The agent should work on creating a plan instead of taking immediate action in the source code.
Screenshots / Screen Recordings
Operating System
Windows 10/11
Version Information
IDE:
Version: 3.2.21 (user setup)
VSCode Version: 1.105.1
Commit: 806df57ed3b6f1ee0175140d38039a38574ec720
Date: 2026-05-03T01:46:14.413Z
Layout: glass
Build Type: Stable
Release Track: Default
Electron: 39.8.1
Chromium: 142.0.7444.265
Node.js: 22.22.1
V8: 14.2.231.22-electron.0
OS: Windows_NT x64 10.0.26200
For AI issues: which model did you use?
Premium (Auto)
Does this stop you from using Cursor
No - Cursor works, but with this issue