Autocompletion leaks context between concurrent sessions
Resolved 💬 3 comments Opened Feb 24, 2026 by GitStefHub Closed Feb 27, 2026
Description
When running multiple Claude Code sessions concurrently on the same project/directory, the autocompletion suggestions in one session can contain context from another active session.
Steps to Reproduce
- Open two Claude Code sessions in the same project directory (e.g.
/opt/) - In session A, start a task like "improve error handling in creatorsuites"
- In session B, have a different conversation
- In session B, the autocompletion suggests text that references session A's context (e.g. "ok, try again with the broad request" — which only makes sense in session A's context)
Expected Behavior
Autocompletion should be scoped to the current session only. Sessions should be fully isolated from each other.
Actual Behavior
Autocompletion suggestions leak between concurrent sessions, suggesting text that belongs to another session's context. This confuses the user because:
- It breaks the expectation that sessions are isolated
- Users may accidentally submit prompts based on another session's context by pressing Enter on the suggestion
- It creates confusion about which session is doing what
Environment
- Platform: Linux (Hetzner VPS)
- Multiple concurrent sessions in the same project directory
- Claude Code CLI
This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗