/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

  1. In a Claude Code CLI session, run /rename MyProject
  2. Output confirms: Session renamed to: MyProject
  3. The name appears in the top-right of the CLI UI
  4. End the session
  5. Start a new session and run /resume MyProject or /resume myproject
  6. 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

View original on GitHub ↗

This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗