You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[BUG] Multiple Claude Code Desktop sessions in DIFFERENT directories all execute the last prompt — sessions cross-contaminate #27658
I have searched existing issues and this hasn't been reported yet
This is a single bug report (please file separate reports for different bugs)
I am using the latest version of Claude Code
What's Wrong?
When running 3 simultaneous sessions in the Claude Desktop app (Code tab), each pointed at a completely different local folder, all sessions converge to execute only the last prompt sent to any of the 3 sessions.
Session 1: Folder_A with Prompt A
Session 2: Folder_B with Prompt B
Session 3: Folder_C with Prompt C
All 3 folders are at completely different paths on disk. After sending prompts to all 3 sessions, all 3 started showing the exact same output — identical task progress, identical transcript file paths (all pointing to Session 2's folder), and identical task summaries.
The last prompt sent hijacked all active sessions. The other 2 abandoned their original tasks and began executing work from the 3rd session.
This is NOT the CLI — this is the Claude Desktop app's built-in Code interface on Windows.
What Should Happen?
Each session should be completely isolated. A prompt sent to Session 3 should have zero effect on Sessions 1 and 2. Each session should only work on its assigned task within its own directory.
Error Messages/Logs
No error messages. The sessions silently switch to executing the wrong task without any warning or error.
Steps to Reproduce
Open Claude Desktop app on Windows
Go to the "Code" tab
Create Session 1 → select Folder A → send a prompt
Create Session 2 → select Folder B → send a different prompt
Create Session 3 → select Folder C → send a different prompt
Observe: all 3 sessions show the same output from the last prompt sent
This makes parallel workflows completely unusable. In the Desktop app there is no workaround available (no --fork-session or --resume flags). The only option is to run one session at a time.
This issue has been automatically locked since it was closed and has not had any activity for 7 days. If you're experiencing a similar issue, please file a new issue and reference this one if it's relevant.
Activity
github-actions commentedon Feb 22, 2026
Found 3 possible duplicate issues:
This issue will be automatically closed as a duplicate in 3 days.
🤖 Generated with Claude Code
maniktracks commentedon Feb 22, 2026
been having this problem for the last two days ever since new install
github-actions commentedon Mar 23, 2026
Closing for now — inactive for too long. Please open a new issue if this is still relevant.
github-actions commentedon Mar 31, 2026
This issue has been automatically locked since it was closed and has not had any activity for 7 days. If you're experiencing a similar issue, please file a new issue and reference this one if it's relevant.