[BUG] renaming chat
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?
My behavior is different from the original report. The OP describes the rename reverting after switching to a different chat and switching back. In my case, the rename reverts within approximately 20 seconds while staying in the same chat, with no navigation away. I do not switch chats, close panels, or trigger any other user action. The auto-generated title simply overwrites the manual rename unprompted.
This suggests the revert is not caused by a stale state reload on chat switch (as described in #40787), but by an active auto-title process that fires on a timer or event and overwrites the user-set name regardless of whether navigation has occurred. The race condition may not be between two user actions but between the rename and an automatic background title generation that does not check whether a manual rename has been applied.
Environment:
VS Code 1.112.0 (Universal), macOS
Claude Code extension (latest)
Model: Opus
What Should Happen?
You should type, "Hey, rename this chat "XYZ" and then Claude Code does it.
Error Messages/Logs
None. The name change reverts back... silent and deadly.
Steps to Reproduce
Rename your file. Wait a few seconds. Poof - it changes back.
Claude Model
Opus
Is this a regression?
I don't know
Last Working Version
_No response_
Claude Code Version
4.6
Platform
Other
Operating System
macOS
Terminal/Shell
VS Code integrated terminal
Additional Information
_No response_
This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗