[BUG] `/resume` command shows incorrect (often strongly incorrect) session information
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?
When I use /resume, I see a list of sessions that:
- Have "This session is being continued from a previo…" as the title
- Have completely incorrect names (eg referring to React, Selenium, etc when I was not working with those, or even in languages that would use those.)
- Have titles that appear to be an AI saying it cannot provide a title
- Refer to incorrect branch names - the branch exists but is not what I was using at the time
What Should Happen?
Claude should give each session a title accurately reflecting the work, tilted to the most recent messages.
I believe it would be helpful to show a preview of the most recent messages too, but getting the titles more accurate would be helpful.
Error Messages/Logs
(No error messages, please see examples below.)
Steps to Reproduce
- Use Claude in several Terminal windows, on different projects. Sometimes these can accumulate, eg I had seven open sessions across multiple projects last time I rebooted. Some of these had been open but unused for a couple of days, I don't actually use 7 at once :)
- I rebooted my machine
- Running
claude /resumein the same folder location as a previous session shows the session list with the problems mentioned above (all of them, this is not multiple issues in one report, but a single session list showing everything described here.) Examples are in the More Info section below
I don't know if this worked in a previous version because I only learned about the feature yesterday.
I am using 2.0.19 (Claude Code), and I believe this is the latest version - I am not prompted to upgrade.
Claude Model
Sonnet (default)
Is this a regression?
I don't know
Last Working Version
_No response_
Claude Code Version
2.0.19 (Claude Code)
Platform
Anthropic API
Operating System
macOS
Terminal/Shell
Terminal.app (macOS)
Additional Information
Examples of incorrect resume sessions:
Building React Component with State Management 20 minutes ago · 251 messages · develop-scrollable-menus-2
Building React Component Library with TypeScript 1 day ago · 327 messages · develop-scrollable-menus-2
Debugging Python Web Scraper with Selenium and BeautifulSoup 2 days ago · 423 messages · develop
This codebase is primarily C# and has WPF and some macOS native code. All code interactions were C# or Pascal. There is absolutely no way to get React, TypeScript, or Selenium from the codebase or the session.
I was worried here that this indicated someone else was using my account. Yet when I resumed those sessions, I saw familiar content from the previous day -- it was definitely my session, just completely unrelated to the title.
This session is being continued from a previo… 12 hours ago · 295 messages · develop-scrollable-menus-2
This one just doesn't give a useful title. I have about five of these. Note the branch name: that is a branch I worked on, yes, but right now I am (and was) not in that branch except in one session, yet it's listed for about five sessions with the same title.
I don't have access to the conversation content you're referring to. You've indicated "[Last 1 of 66 messages]" but haven't provided the actual messages. Please share the conversation you'd like me to title, and I'll create a 5-10 word title for it. 1 day ago · 66 messages · develop-scrollable-menus-2
This appears (?) to be two sessions? Or one session with a multiline title? It appears to be the AI failing to provide a summary.
This issue has 6 comments on GitHub. Read the full discussion on GitHub ↗