Where does the bug appear (feature/product)?
Cursor IDE
Describe the Bug
After moving from Windows → Linux (same machine / profile carry-over), an Agent chat cannot re-root into the real Linux project folder. Every call to move_agent_to_root returns:
Tool execution error. Aborted
There is no successful “Moved agent root…” result. The chat stays on a broken temp/Glass identity.
Also observed:
- Open Folder (and agent-driven open) does not migrate the existing chat onto the Linux tree.
- The stuck agent’s effective root looks like a mangled Windows path under the Linux home, roughly:
$HOME/<DriveLetter>:/<FormerWindowsProjectPath>- while the real checkout is
$HOME/<LinuxProjectPath>(no drive letter).
- The stuck chat’s Cursor project dir is a
tmp-<uuid>style folder under~/.cursor/projects/, not the normalhome-…slug for the Linux path. - User storage still lists stale Windows workspace URIs next to the valid Linux
file://folder URI, including:- old
file:///c%3A/...(and sometimesd%3A/...) project paths - old Glass multi-root entries under the Windows AppData
glassMultiRootWorkspaceslocation - plus the correct Linux folder URI (present, but not what the stuck chat uses)
- old
Git auth was a red herring. On a fresh Linux install, git fetch over HTTPS failed until the GitHub CLI browser login + gh auth setup-git. After fetch worked, move_agent_to_root still Aborted every time. So this is not “remote branch missing” / fetch failure.
Related threads (same family):
- Failed to move agent root
- Move_agent_to_root aborts the in-flight turn and never resumes (“Switching workspace root”, then silence)
Steps to Reproduce
- On Windows, use Cursor with a normal folder workspace under a drive letter (e.g.
C:\…\MyRepo), optionally also Glass multi-root / a.code-workspaceunder AppDataglassMultiRootWorkspaces. - Move or re-clone the same git repo on Linux under
$HOME/…(Cursor settings/profile may sync or be copied). - Open Cursor Glass on Linux. Resume or start an Agent chat that still belongs to the old Windows /
tmp-*identity. - From the agent, call
move_agent_to_rootwithrootPath= the absolute Linux project path. - Result: MCP
Tool execution error. Aborted(repeatable). - Try Open Folder on that same Linux path from the stuck context — the in-flight agent chat does not reattach.
- Workaround that works: open a new classic window on the Linux folder (
cursor --classic <linux-path>) and start a new chat (handoff doc). The old chat cannot be moved.
Expected Behavior
move_agent_to_rootto a readable local directory should succeed and continue the turn, or return a clear error (e.g. “open a new chat in workspace X”), not a bare Aborted.- After OS migrate, stale
file:///c%3A/...(etc.) entries should not trap agents on mangled$HOME/<DriveLetter>:/…roots. - Open Folder / Open Workspace should be able to retarget an agent chat to a valid local folder without forcing a brand-new conversation.
Operating System
Linux
Version Information
Operating System
Linux (Fedora 44, KDE, Wayland)
Version
- Cursor 3.27.12 (stable Linux rpm build)
- CLI commit id:
df132ffba90dfc15a12e6b8f020ba4e5d026c4b0 - Mode: Glass (
glassMode: true); classic window open works as workaround
Additional Information
- Tool:
cursor-app-control→move_agent_to_root(retried after successfulgit fetch). - Destination: normal git repo,
maintrackingorigin/main, HTTPS fetch OK after GitHub CLI login. open_resourcewith afile://Linux folder URI only opens the OS file manager — does not migrate the agent root.- New window + new chat works; continuity of the same chat does not.
- Report drafted from a live agent repro; paths anonymized.
Impact
Blocks “continue this chat after Windows→Linux migrate.” Forces handoff + new chat. Same class of pain as known Glass move_agent_to_root aborts, plus drive-letter / URI residue after OS change.
Does this stop you from using Cursor
No - Cursor works, but with this issue