Where does the bug appear (feature/product)?
Cursor for iOS
Describe the Bug
Cursor version: 3.19.13 (arm64)
OS: macOS 26.6.2 / Darwin 25.6.0
Model: GPT-5.6 Sol
Severity: Medium — blocks normal agent worktree migration
Request ID:
Steps to reproduce:
- Open a Git repository in Cursor Agent.
- Create a clean external Git worktree on a new branch.
- Push the branch and verify
git fetch origin <branch>succeeds. - Invoke
cursor-app-control.move_agent_to_rootwith the worktree’s absolute path.
Expected:
Cursor moves the agent’s visible workspace root and default terminal cwd to the worktree.
Actual:
Cursor displays “Failed to move agent root”. The tool returns:
Error: Tool execution error. Aborted
Reproduction:
Reproduced consistently with two distinct, clean, published worktrees. Git status, remote tracking, fetch, and git rev-parse --show-toplevel all succeed. Creating a fresh worktree does not help.
Workaround:
Keep every command pinned to the worktree using an explicit working directory and set active-branch metadata without migrating the visible root.
Console/log evidence:
The target worktree is successfully discovered/materialized, but Cursor emits no actionable root-migration error.
Steps to Reproduce
- Open a Git repository in Cursor Agent.
- Create a clean external Git worktree on a new branch.
- Push the branch and verify
git fetch origin <branch>succeeds. - Invoke
cursor-app-control.move_agent_to_rootwith the worktree’s absolute path. - Observe the “Failed to move agent root” popup and
Tool execution error. Aborted.
Operating System
MacOS
Version Information
Cursor IDE 3.19.13 (Universal, arm64), macOS 26.6.2 / Darwin 25.6.0
Does this stop you from using Cursor
No - Cursor works, but with this issue