[BUG] Renaming and resuming leads to forgetting name in favour of "[Request interrupted by user for tool use]"
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?
So in Claude Code 2.1.34 on my Ubuntu machine (OS: Ubuntu 22.04.5 LTS x86_64, Kernel: 6.8.0-94-generic), a Lenovo 82N6 Legion 7 16ACHg6, if i try to \rename a chat and then \resume another one, the names are lost. in particular all the chat i try renaming after one are then autorenamed to
[Request interrupted by user for tool use]
What Should Happen?
Claude should remember the renamig without doing weird things.
Error Messages/Logs
Steps to Reproduce
e.g. say I am on chat 1 and i want to \rename to "FIRST CHAT", and i get
❯ /rename FIRST_CHAT
⎿ Session renamed to: FIRST_CHAT
<img width="2560" height="1470" alt="Image" src="https://github.com/user-attachments/assets/675153ea-efd6-49f9-8786-e5e3c210a52b" />
then i resume another chat, say chat 2, by going to resume and entering the resume menu of claude,
<img width="2560" height="1470" alt="Image" src="https://github.com/user-attachments/assets/ea8fb8ff-ac14-442f-8ce9-98188b301472" />
and in this chat i do
❯ /rename SECOND_CHAT
⎿ Session renamed to: SECOND_CHAT
<img width="2560" height="1470" alt="Image" src="https://github.com/user-attachments/assets/07b0a7b8-55cf-47cd-a9e4-88723288159f" />
Let's say I now want to go back to the first chat, i reopen the \resume menu and i find the "SECOND CHAT" properly indexed, but the first chat became "[Request interrupted by user for tool use]"
<img width="2560" height="1470" alt="Image" src="https://github.com/user-attachments/assets/5c0df645-bef9-4df9-84c8-7e094ea538fc" />
This is pretty frustrating and annoying cause i am losing track of all of my chats. Not only it also hapens if i before \exit and then come back again to the first chat though the \resume command in the freshly started chat.
Claude Model
Not sure / Multiple models
Is this a regression?
Yes, this worked in a previous version
Last Working Version
_No response_
Claude Code Version
2.1.34
Platform
Anthropic API
Operating System
Ubuntu/Debian Linux
Terminal/Shell
Other
Additional Information
This didnt happen outside of my project actually, i tried to reproduce in a folder with no git stuff. I also think it started since I made claude create some feature branches, might be relate but I am not really sure.
This issue has 2 comments on GitHub. Read the full discussion on GitHub ↗