Session disappears from sidebar list after context auto-compaction
Resolved 💬 3 comments Opened May 8, 2026 by GitHubxSuperKai Closed May 11, 2026
Summary
When Claude Code auto-compacts the context window, the session disappears from the session list in the left sidebar. The session is still alive and the transcript is on disk, but there is no way to navigate back to it from the UI.
Steps to Reproduce
- Start a long Claude Code session
- Wait for (or trigger) automatic context compaction
- Observe: session disappears from the left sidebar session list
- Clicking away from the window makes the session permanently unreachable via the UI
Expected Behavior
Session remains visible in the sidebar after compaction. Compaction is an internal memory management event and should be invisible to the user from a navigation standpoint.
Actual Behavior
Session vanishes from the sidebar list. If the user navigates away, they cannot return to the session through normal UI. The only workaround is to stay on the window and use "Continue from where you left off" in a new session.
Environment
- Platform: Windows 11 Pro
- Shell: PowerShell
This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗