claude-code - 💡(How to fix) Fix Session auto-titler reverts manual rename in Cursor extension [2 comments, 3 participants]

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

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#53338Fetched 2026-04-26 05:18:20
View on GitHub
Comments
2
Participants
3
Timeline
7
Reactions
0
Timeline (top)
labeled ×5commented ×2

Root Cause

  • Sessions with bad auto-titles are unfindable in the panel.
  • Manual renames are the obvious user remedy. When they don't persist, users can't curate their session history.
  • The ~/.claude/projects/<encoded-cwd>/<session-id>.jsonl file does not appear to contain a top-level title field, suggesting the title is auto-derived on display rather than stored persistently after a manual rename.
RAW_BUFFERClick to expand / collapse

Environment

  • IDE: Cursor (Anthropic.claude-code extension)
  • macOS

Issue

A chat session is auto-titled with a single ; (semicolon) character. When I rename it manually via the right-side session panel, the rename appears to work but reverts back to ; shortly after (likely on next panel refresh or session reload).

Expected behavior

A manually renamed session title should persist and not be overwritten by the auto-titler.

Reproduction (best guess)

  1. Have a session whose first user message contains only ; or starts in a way that the auto-summarizer outputs ;.
  2. In the right-side Claude session panel, rename the session to something descriptive (e.g. "eventhaul build").
  3. Refresh the panel or reload the window.
  4. The title reverts to ;.

Why this matters

  • Sessions with bad auto-titles are unfindable in the panel.
  • Manual renames are the obvious user remedy. When they don't persist, users can't curate their session history.
  • The ~/.claude/projects/<encoded-cwd>/<session-id>.jsonl file does not appear to contain a top-level title field, suggesting the title is auto-derived on display rather than stored persistently after a manual rename.

Suggested fix

Persist manual renames (e.g. in Cursor extension state / sqlite) and prefer the manual rename over the auto-titler when both exist.

extent analysis

TL;DR

Manually renaming a session title should be persisted, potentially by storing the manual rename in the Cursor extension state or a local database, to prevent auto-titler overwrites.

Guidance

  • Investigate the Cursor extension's state management to determine if manual renames can be stored and retrieved.
  • Consider adding a title field to the ~/.claude/projects/<encoded-cwd>/<session-id>.jsonl file to persist manual renames.
  • When displaying session titles, check for the existence of a manual rename and prefer it over the auto-derived title.
  • Review the auto-titler's logic to ensure it doesn't overwrite manual renames on panel refresh or session reload.

Example

No code example is provided due to the lack of specific implementation details.

Notes

The suggested fix relies on modifying the Cursor extension or the underlying data storage. The exact implementation will depend on the extension's architecture and the requirements of the Claude platform.

Recommendation

Apply a workaround by modifying the Cursor extension to store manual renames in its state or a local database, and prefer the manual rename over the auto-derived title when displaying session titles. This approach allows for a more flexible and user-friendly session management experience.

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

A manually renamed session title should persist and not be overwritten by the auto-titler.

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 auto-titler reverts manual rename in Cursor extension [2 comments, 3 participants]