Cannot remove a workspace root after an agent adds one — chat stuck in the wrong project group

Where does the bug appear (feature/product)?

Cursor IDE

Describe the Bug

A local agent can attach a second folder to an existing chat (move_agent_to_root / adding a workspace root). Cursor then materializes a new Glass multi-root workspace (e.g. roger-wilco-lens-workspace) and rebinds the chat to that workspace id.

After that there is no inverse:

  1. There is no UI to drop the extra root.
  2. move_agent_to_root back to the original folder is a no-op if that folder is already in the workspace (“already a folder in this agent’s workspace”).
  3. Chat “Move to” only offers Cloud, not the original single-folder workspace.
  4. The chat disappears from the original project’s session list and cannot be filed with those chats again.

An accidental extra root is therefore permanent for that conversation. The thread still opens, but it is no longer organizable with the rest of that repo’s work. That is a huge oversight: adding a root must be reversible.

Steps to Reproduce

  1. Start a local agent on one folder (e.g. /Users/jek/Code/roger-wilco). Confirm it lists with that project’s other chats.
  2. Have the agent add a second root (e.g. /Users/jek/Code/lens) via move_agent_to_root / multi-root.
  3. Confirm Cursor creates a *-workspace pairing under ~/Library/Application Support/Cursor/glassMultiRootWorkspaces/ and rematerializes the chat there (log: WorkspaceCollection Materialized workspace “…-workspace” for reasons: AgentExec / Composer).
  4. Try to remove the second root.
  5. Try chat … menu → Move to the original folder.
  6. Try asking the agent to move back to the original single folder.

Expected Behavior

Adding a root must be reversible: remove one folder, or rebind the chat to the original single-folder workspace, without starting a new conversation.

Move to should list local workspaces, not only Cloud.

Agents should not be able to exile a chat from its project group with no undo.

Operating System

MacOS

Version Information

Cursor IDE 3.27.22 (macOS)

For AI issues: which model did you use?

Cursor Grok 4.6 (local agent)

Additional Information

Related: Adding Folder to Existing Workspace Bug - Cursor IDE — add-folder creates a new workspace and leaves the chat on the old entry. This report is the inverse: the chat is rebound to the new multi-root workspace, and there is no inverse operation.

Observed workspace ids:

  • original single-folder roger-wilco: ba9b482caabd09a70cedd92eb2c61ca8
  • after agent add: 3d2179d0bf35e8be89c19a283053df43 (roger-wilco-lens-workspace.code-workspace)

Conversation stayed the same (0bcccb36-3bc9-4cb9-9f3d-4f475235417e) but is now filed under the combined workspace, so it no longer appears with the other roger-wilco sessions.

Does this stop you from using Cursor

No - Cursor works, but with this issue

Hey @j_k2, once an agent adds a folder, there’s currently no way to move that chat back to the original project. That isn’t intended, and we’ve let the team know.

You can get the original chat back under roger-wilco, since it was archived when the folder was added:

  1. Restart Cursor, then click the Customize Sidebar (filter) icon above your project list and turn on Archived.
  2. Right-click the chat under roger-wilco, choose Unarchive, then turn Archived off.

It has the history up to the move. To pull in the later turns, type @ in it and pick the newer chat.

To just drop lens, right-click the combined workspace, choose Edit Workspace, remove it, and Save. The chat stays in that group, though.

I’ll post here when there’s an update.