C:/Program Files/Git/resume should show session summary or custom name instead of first prompt
Problem
When using /resume, sessions are always displayed by their firstPrompt text. This is often unhelpful — first prompts can be slash command invocations, pasted data, or long plan descriptions that get truncated into meaningless labels.
The sessions-index.json already has a summary field with good auto-generated descriptions, but /resume doesn't use it.
More importantly, there's no way to persistently rename a session. If you rename during a conversation, it's lost once the session ends.
Proposal
Add a customName field to sessions-index.json entries. The /resume display should prefer fields in this order:
customName(user-set via/renameor similar command)summary(auto-generated)firstPrompt(current fallback)
Implementation sketch
In sessions-index.json:
{
"sessionId": "...",
"customName": "Fix dashboard pie chart",
"summary": "Fix pie chart rendering on dashboard page",
"firstPrompt": "the pie chart is broken can you fix it",
...
}
A /rename <name> command (or persisting the existing rename action) would write to customName. The /resume list would then show the custom name instead of the raw first prompt.
Why this matters
Users with many sessions per project can't find anything in /resume because every entry is a truncated first message. The summary field already exists and is better — surfacing it (and allowing user overrides) would make /resume actually usable for navigation.
🤖 Generated with Claude Code
This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗