Where does the bug appear (feature/product)?
Cursor IDE
Describe the Bug
I want legible Git worktree names when I’m using Parallel Agents so I know what agent is doing what. Therefore, I create a worktree via cmd + shift + P, type Create Worktree and it allows me to name the worktree as expected.
Now in a new agent file where I want an agent attached to a certain git worktree and I choose said worktree I created, it ends up creating a random one with random characters.
Steps to Reproduce
- Create Worktree via cmd+shift+p, name the branch, attach location to where Cursor adds a their worktree, typically
/Users/<you>/.cursor/worktrees/<repo>/feat-1. - Click on New Agent, choose Worktree below the chat and choose the branch.
- write any prompt.
You will see it generates a new worktree with some random characters like
Expected Behavior
If I create a new agent and choosing an existing worktree, it should work under that same worktree path, not generate a new one unless not specified.
Operating System
MacOS
Current Cursor Version (Menu → About Cursor → Copy)
Version: 2.3.10
VSCode Version: 1.105.1
Commit: af6d64e4848e6185e482a2de5bac040191c8d790
Date: 2025-12-29T03:56:22.219Z
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
Does this stop you from using Cursor
No - Cursor works, but with this issue