/resume doesn't search by session names set via /rename
Resolved 💬 3 comments Opened Apr 5, 2026 by benjask5360 Closed Apr 9, 2026
Bug
/rename lets you name a session and shows it actively in the UI (top-right badge), but /resume cannot find sessions by that name.
Steps to reproduce
- In a Claude Code CLI session, run
/rename MyProject - Output confirms:
Session renamed to: MyProject - The name appears in the top-right of the CLI UI
- End the session
- Start a new session and run
/resume MyProjector/resume myproject - Result:
Session myproject was not found.
Expected behavior
/resume should match against session names set via /rename, since that's the whole point of naming a session — to find it later.
Actual behavior
/resume only searches session content/summaries, not the custom name. The rename feature appears functional (name shows in UI) but has no practical use since you can't retrieve sessions by name.
Environment
- Claude Code CLI v2.1.90
- Windows 11
This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗