Claude Code auto-renames window/tab titles, breaking multi-agent workflows
Problem
Claude Code recently started automatically renaming terminal/VS Code window and tab titles based on conversation content. This breaks workflows where users rely on stable, user-assigned window titles to identify and coordinate between multiple concurrent Claude Code sessions.
My Setup
I run multiple Claude Code sessions in parallel (VS Code extension, claudeCode.preferredLocation: "panel"), each with a distinct ALL CAPS title that identifies its role (e.g., "CRM", "WEBSITE", "SYNTH"). These sessions communicate with each other via git commits using an inter-session protocol that depends on knowing which session is which by its window title.
What Changed
Previously, window/tab titles stayed stable after being set. Now Claude Code dynamically overwrites them — presumably via terminal escape sequences — based on the conversation topic. This means:
- I can no longer visually identify which session is working on what
- I lose track of sessions mid-workflow
- The inter-session coordination system breaks because I can't locate the target session
Expected Behavior
Window/tab titles should remain stable once set by the user, OR there should be a setting to disable automatic title updates. Something like:
{
"windowTitle": "static"
}
or a --no-title-update flag, or respecting the --name / -n flag as a lock on the title.
Environment
- Claude Code VS Code extension
- macOS (Darwin 21.6.0)
claudeCode.preferredLocation: "panel"- Multiple concurrent sessions
Workaround Attempted
Added a SessionStart hook instructing the agent not to rename titles, but this only addresses agent-initiated renames — if the title change is happening at the application/runtime level, it won't help.
This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗