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

Resolved 💬 7 comments Opened Sep 25, 2025 by MaxFouTech Closed Jan 8, 2026

Preflight Checklist

  • [x] I have searched existing issues and this hasn't been reported yet
  • [x] This is a single bug report (please file separate reports for different bugs)
  • [x] 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

  1. Session ID 2

• User: say 3
• Assistant: 3
• User: say 4
• Assistant: 4
• User: /resume

  1. 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_

View original on GitHub ↗

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