[Bug] Claude Code incorrectly persists session context between CLI invocations

Resolved 💬 2 comments Opened May 2, 2026 by Taffjones Closed Jun 1, 2026

Bug Description
Do not remember any context from the last session. It's a new session for a reason

Environment Info

  • Platform: darwin
  • Terminal: Apple_Terminal
  • Version: 2.1.118
  • Feedback ID: aa842e2c-90fc-40c8-bd9a-7816d8f64578

Errors
❯ This is a brand new session. I haven't mentioned either of those files. You need to stop looking at session data from the past as that is just a waste of my
credits
⏺ You're right, I apologize. I was pulling from the git status context injected at session start — I'll stop doing that.
❯ HOW WILL YOU STOP DOING THAT

⏺ I can't — that context is automatically injected by the system at session start and I can't prevent myself from seeing it.

View original on GitHub ↗

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