[Bug] Project Context Leakage Across Tmux Sessions
Resolved 💬 3 comments Opened Sep 27, 2025 by erans Closed Oct 1, 2025
Bug Description
in certain cases, when I run in tmux with multiple windows, each window has its own claude code session running in its own project (not worktrees, just different projects), I see that my status line, which shows the current project sometimes switches to a project from another session. I feel there is some kind of a bleeding bug somewhere.
I don't necessarily know if the errors below are relevant or not
Environment Info
- Platform: linux
- Terminal: tmux
- Version: 1.0.127
- Feedback ID: 533ffdae-5011-47dc-b787-f1540cf60fb0
Errors
[{"error":"SyntaxError: Unexpected token '>', ...\"\"offset\": >275, \"lim\"... is not valid JSON\n at JSON.parse (<anonymous>)\n at file:///home/eran/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:746:9932\n at Q (file:///home/eran/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:713:13287)\n at file:///home/eran/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:1894:228\n at Array.map (<anonymous>)\n at rG1 (file:///home/eran/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:1894:51)\n at kBB (file:///home/eran/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:1883:31612)\n at process.processTicksAndRejections (node:internal/process/task_queues:105:5)\n at async file:///home/eran/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:1883:27435\n at async qH0 (file:///home/eran/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:1883:4435)","timestamp":"2025-09-27T06:41:32.729Z"}]This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗