C:/Program Files/Git/resume should show session summary or custom name instead of first prompt

Resolved 💬 3 comments Opened Apr 1, 2026 by vbozhkov Closed May 23, 2026

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:

  1. customName (user-set via /rename or similar command)
  2. summary (auto-generated)
  3. 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

View original on GitHub ↗

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