claude-code - 💡(How to fix) Fix Session name from /rename not shown in /resume picker [1 comments, 2 participants]

Official PRs (…)
ON THIS PAGE

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…
GitHub stats
anthropics/claude-code#51975Fetched 2026-04-23 07:39:54
View on GitHub
Comments
1
Participants
2
Timeline
4
Reactions
0
Timeline (top)
labeled ×3commented ×1

After renaming a session with /rename, the custom name appears in the status bar during the active session but does not appear in the /resume picker. Instead, /resume shows the first user message as the session label.

Error Message

The /resume picker shows the first user message as the label (e.g., "Using warrensbox/tap/tfswitch Error: No available formula...") instead of the custom name.

Root Cause

After renaming a session with /rename, the custom name appears in the status bar during the active session but does not appear in the /resume picker. Instead, /resume shows the first user message as the session label.

RAW_BUFFERClick to expand / collapse

Description

After renaming a session with /rename, the custom name appears in the status bar during the active session but does not appear in the /resume picker. Instead, /resume shows the first user message as the session label.

Steps to reproduce

  1. Start a new Claude Code session
  2. Rename it with /rename (e.g., "DATAPLAT-1137")
  3. Confirm the name appears in the status bar (top right)
  4. Exit the session
  5. Run /resume

Expected behavior

The /resume picker should show the custom session name ("DATAPLAT-1137").

Actual behavior

The /resume picker shows the first user message as the label (e.g., "Using warrensbox/tap/tfswitch Error: No available formula...") instead of the custom name.

Screenshots

Status bar shows custom name: The renamed session shows "DATAPLAT-1137" in the top-right status bar while the session is active.

/resume shows first message instead: The session list displays the truncated first user message, not the custom name.

Environment

  • Claude Code CLI (macOS)
  • Model: claude-opus-4-6

extent analysis

TL;DR

The issue can be addressed by ensuring that the custom session name is properly persisted and retrieved when resuming a session.

Guidance

  • Verify that the /rename command correctly updates the session metadata, including the custom name.
  • Check if there's a caching mechanism that might be causing the outdated session label to be displayed in the /resume picker.
  • Investigate the session persistence logic to ensure that the custom name is being saved and loaded correctly.
  • Consider adding logging or debugging statements to track the session metadata and label updates.

Example

No code snippet is provided as the issue does not contain sufficient information about the implementation details.

Notes

The root cause of the issue is unclear, but it appears to be related to the session metadata not being updated or persisted correctly. Further investigation is needed to determine the exact cause.

Recommendation

Apply a workaround by manually updating the session label after resuming a session, if possible, until the underlying issue is resolved. This is because the custom name is not being displayed as expected in the /resume picker.

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

FAQ

Expected behavior

The /resume picker should show the custom session name ("DATAPLAT-1137").

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING

claude-code - 💡(How to fix) Fix Session name from /rename not shown in /resume picker [1 comments, 2 participants]