Skip to content

[BUG] Session switching with /resume shows wrong conversation in CC #8176

Closed as not planned

Description

@MaxFouTech

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?

When resuming a session with /resume, the conversation shown to the user does not match the session actually loaded into the model’s context. This creates confusion because the assistant responds based on one session while the UI shows another.

What Should Happen?

The displayed conversation and the model’s context should always match the same selected session.

Error Messages/Logs

Steps to Reproduce

Steps to Reproduce

mkdir new_folder
cd new_folder
claude
1. Session ID 1
• User: say 1
• Assistant: 1
• User: say 2
• Assistant: 2
• User: /clear
2. Session ID 2
• User: say 3
• Assistant: 3
• User: say 4
• Assistant: 4
• User: /resume
3. Select the first session.

Expected Behavior
• The user should see the conversation from Session ID 1 (say 1, say 2).
• The assistant should use Session ID 1 as context.

Actual Behavior
• The user sees the conversation from Session ID 2 (say 3, say 4).
• But the model is actually loaded with Session ID 1 as context.
• Example:
• User: Repeat the last number
• Assistant: 2 (from Session ID 1, not Session ID 2).

Claude Model

Sonnet (default)

Is this a regression?

I don't know

Last Working Version

No response

Claude Code Version

2.0.1

Platform

Anthropic API

Operating System

macOS

Terminal/Shell

Terminal.app (macOS)

Additional Information

No response

Activity

  1. FlowTether commented on Sep 25, 2025

    @FlowTether

    That happened to me a couple of times now. I was sure it had switched but convinced myself that i just got mixed up, but didn't believe it. Nice to see it's a thing!

  2. MaxFouTech commented on Sep 26, 2025

    @MaxFouTech
    Author

    Issue is still present in the version 1.0.126

  3. MaxFouTech commented on Sep 26, 2025

    @MaxFouTech
    Author

    The issue has been reproduced with the version 1.0.48
    The workaround is to use "claude -r" rather than "/resume" to switch between sessions.

  4. changed the title [-][BUG] Session switching shows wrong conversation in CC[/-] [+][BUG] Session switching with /resume shows wrong conversation in CC[/+] on Sep 26, 2025
  5. MaxFouTech commented on Sep 30, 2025

    @MaxFouTech
    Author

    The issue has been reproduced with the version 2.0.1

  6. github-actions commented on Dec 6, 2025

    @github-actions

    This issue has been inactive for 30 days. If the issue is still occurring, please comment to let us know. Otherwise, this issue will be automatically closed in 30 days for housekeeping purposes.

  7. github-actions commented on Jan 8, 2026

    @github-actions

    This issue has been automatically closed due to 60 days of inactivity. If you're still experiencing this issue, please open a new issue with updated information.

  8. github-actions commented on Jan 16, 2026

    @github-actions

    This issue has been automatically locked since it was closed and has not had any activity for 7 days. If you're experiencing a similar issue, please file a new issue and reference this one if it's relevant.

  9. locked as resolved and limited conversation to collaborators on Jan 16, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:coreautocloseIssue will be closed automaticallybugSomething isn't workinghas reproHas detailed reproduction stepsplatform:macosIssue specifically occurs on macOS

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions