[BUG] session transcript: `custom-title` and `agent-name` entries keep added even when there is no change in the session title
Resolved 💬 3 comments Opened Mar 22, 2026 by zzJinux Closed May 21, 2026
Preflight Checklist
- [x] I have searched existing issues and this hasn't been reported yet
- [x] This is a single bug report (please file separate reports for different bugs)
- [x] I am using the latest version of Claude Code
What's Wrong?
Transcript entries with type custom-title and agent-name are added redundantly for no practical reason, seemingly
What Should Happen?
If the session name is unchanged, don't add more entries for those.
Error Messages/Logs
Steps to Reproduce
- Start a session
- Rename the session
- Exit and enter the session multiple times
- Redundant rename-related entries are added to the transcript
Claude Model
None
Is this a regression?
I don't know
Last Working Version
_No response_
Claude Code Version
2.1.81
Platform
Anthropic API
Operating System
macOS
Terminal/Shell
iTerm2
Additional Information
_No response_
This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗