claude-code - 💡(How to fix) Fix [BUG] renaming chat [1 comments, 2 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#46227Fetched 2026-04-11 06:25:48
View on GitHub
Comments
1
Participants
2
Timeline
7
Reactions
0
Timeline (top)
labeled ×5commented ×1unlabeled ×1

Error Message

Error Messages/Logs

Root Cause

This suggests the revert is not caused by a stale state reload on chat switch (as described in #40787), but by an active auto-title process that fires on a timer or event and overwrites the user-set name regardless of whether navigation has occurred. The race condition may not be between two user actions but between the rename and an automatic background title generation that does not check whether a manual rename has been applied.

Code Example

None. The name change reverts back... silent and deadly.
RAW_BUFFERClick to expand / collapse

Preflight Checklist

  • I have searched existing issues and this hasn't been reported yet
  • This is a single bug report (please file separate reports for different bugs)
  • I am using the latest version of Claude Code

What's Wrong?

My behavior is different from the original report. The OP describes the rename reverting after switching to a different chat and switching back. In my case, the rename reverts within approximately 20 seconds while staying in the same chat, with no navigation away. I do not switch chats, close panels, or trigger any other user action. The auto-generated title simply overwrites the manual rename unprompted.

This suggests the revert is not caused by a stale state reload on chat switch (as described in #40787), but by an active auto-title process that fires on a timer or event and overwrites the user-set name regardless of whether navigation has occurred. The race condition may not be between two user actions but between the rename and an automatic background title generation that does not check whether a manual rename has been applied.

Environment:

VS Code 1.112.0 (Universal), macOS Claude Code extension (latest) Model: Opus

What Should Happen?

You should type, "Hey, rename this chat "XYZ" and then Claude Code does it.

Error Messages/Logs

None. The name change reverts back... silent and deadly.

Steps to Reproduce

Rename your file. Wait a few seconds. Poof - it changes back.

Claude Model

Opus

Is this a regression?

I don't know

Last Working Version

No response

Claude Code Version

4.6

Platform

Other

Operating System

macOS

Terminal/Shell

VS Code integrated terminal

Additional Information

No response

extent analysis

TL;DR

The issue can be mitigated by investigating and potentially disabling the auto-title generation process that overwrites manual renames.

Guidance

  • Investigate the Claude Code extension's auto-title generation process to understand its trigger and timing, as it may be causing the rename to revert.
  • Check the extension's settings or documentation for any options to disable or configure the auto-title generation.
  • Verify if the issue persists when using a different model or version of the Claude Code extension.
  • Consider reporting this issue to the extension developers with detailed steps to reproduce, as it may be a bug that needs to be fixed.

Example

No code snippet is provided as the issue is related to the behavior of the Claude Code extension and not a specific code implementation.

Notes

The root cause of the issue is uncertain, but it appears to be related to the auto-title generation process. The provided information suggests that the issue is not related to navigation or stale state reloads, but rather an active background process that overwrites manual renames.

Recommendation

Apply workaround: Investigate and potentially disable the auto-title generation process, as it may be causing the rename to revert. This is recommended because the issue appears to be related to the extension's behavior, and disabling the auto-title generation may mitigate the problem until a fix is available.

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…

Still need to ship something?

×6

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

Back to top recommendations

TRENDING