Session auto-titler uses raw XML markup and overrides /rename
Resolved 💬 4 comments Opened Feb 4, 2026 by davidlinjiahao Closed Mar 6, 2026
Bug Description
Session auto-naming displays raw internal XML markup instead of generating human-readable titles. Sessions show names like:
<command-name>/clear</command-name> <command-message>clear</comman...
<command-name>/rename</command-name> <command-message>rename</comm...
Steps to Reproduce
- Start a new Claude Code session
- Use a slash command as the first interaction (e.g.,
/clearor/rename) - Check the session list with
claude --resume - Session name shows raw XML tags instead of a clean title
Additional Issue
When manually renaming with /rename <name>, the auto-titler overrides the custom name and reverts it back to the raw XML markup. There is no config setting to disable auto session title generation.
Expected Behavior
- Session auto-titler should strip/parse internal XML tags before generating names
- Manual
/renameshould persist and not be overwritten by auto-titler - Ideally, a config option to disable auto session title generation
Environment
- macOS (Darwin 25.2.0)
- Claude Code latest
- Running 18+ concurrent sessions with
CLAUDE_CODE_DISABLE_TERMINAL_TITLE=1
🤖 Generated with Claude Code
This issue has 4 comments on GitHub. Read the full discussion on GitHub ↗