Agents randomly switching workspace

Where does the bug appear (feature/product)?

Cloud Agent (GitHub, Slack, Web, Linear)

Describe the Bug

Hi, there is a new bug: if you select a workspace for cursor agent and start working, sometimes it switches to another workspace randomly.
In this case you need to stop working and restart in the correct workspace, rly annoying.

Steps to Reproduce

use cursor agents

Operating System

Windows 10/11

Version Information

Version: 3.17.8 (user setup)
VS Code Extension API: 1.128.0
Commit: 2fdd31c9f33f7fbe501f2d57772dc5bf64b63620
Date: 2026-08-20T02:18:12.724Z
Layout: Agent Window
Build Type: Stable
Release Track: Default
Electron: 40.10.3
Chromium: 144.0.7559.236
Node.js: 24.15.0
V8: 14.4.258.32-electron.0
xterm.js: 6.1.0-beta.291
OS: Windows_NT x64 10.0.26200

Does this stop you from using Cursor

Sometimes - I can sometimes use Cursor

Hey, thanks for the report. This looks like something we’re already tracking, but I want to make sure I understand which exact case you’re seeing so I can route it to the right place.

A couple questions:

  1. Does the wrong workspace show up right when the agent starts, like after New Agent or Split, or does it switch in the middle of a run while the agent is doing something?
  2. Do you usually have multiple projects or agents open at the same time?
  3. Are you launching these agents from the desktop Agents window, or somewhere else like web or Slack?

A screenshot right after it happens would help a lot, and also the Request ID from the broken session right corner of the chat > Copy Request ID. I can already see the version 3.17.8 on Windows, thanks.

Once you’ve got that, send it here and I’ll take a look.

Hi,

  1. Sometimes it switches right after launching, but other times it switches while I’m typing the prompt, and I have to manually set it back.
  2. Yes, I have 5–6 projects open, including some combined workspaces (multiple repos together).
  3. I only use the desktop app.

If it happens again, I’ll try to gather more info.

@deanrie

Thanks for the video and the extra info. What you’re describing, the workspace switching when the agent starts or while you’re typing a prompt, especially when multiple projects are open and you’re using combined workspaces with multiple repos, is an issue we’re already tracking in the multi-root scenario. I shared your case with the team along with the details.

This shouldn’t happen, and it’s not something in your setup. I can’t share an exact timeline yet, but I’ll post here when there’s an update.

Any updates? Work is practically impossible.