Where does the bug appear (feature/product)?
Cursor IDE
Describe the Bug
Worktrees get ignored by agent when triying to ask to copy some work from non worktree folder/original folder
Steps to Reproduce
- start working on a worktree using agent window
- ask it to copy some changes from current window
- Cursor will behave weirdly by moving the agent to current window and out of worktree created
- thus current work gets hampered
- although it shows in agent work is being done in worktree but still we can see clearly that cursor has shifted the agent and work to current window which is using orginal folder not the worktree folder at all
Expected Behavior
Agent should be working inside the worktree only and should never shift to current window at all
Operating System
MacOS
Current Cursor Version (Menu β About Cursor β Copy)
Version: 2.3.35
VSCode Version: 1.105.1
Commit: cf8353edc265f5e46b798bfb276861d0bf3bf120
Date: 2026-01-13T07:39:18.564Z
Electron: 37.7.0
Chromium: 138.0.7204.251
Node.js: 22.20.0
V8: 13.8.258.32-electron.0
OS: Darwin arm64 25.2.0
For AI issues: which model did you use?
opus4.5-high
Does this stop you from using Cursor
No - Cursor works, but with this issue