Preflight Checklist
What's Wrong?
In Claude Desktop (macOS), running /clear resets the current session in-place rather than creating a new session. The current session is renamed to "General coding session" in the sidebar and its message content is replaced with "No messages yet" — making the entire session history inaccessible through the UI.
In the terminal CLI, /clear correctly creates a new context window while preserving the original session as a separate, accessible entry in the session list. The desktop app does not match this behavior.
The raw .jsonl transcript file survives on disk at ~/.claude/projects/<project>/<uuid>.jsonl, but because the desktop app's session cache entry is reset rather than a new one being created, the transcript is permanently orphaned — there is no UI path to access it.
What Should Happen?
/clear in Claude Desktop should behave the same as in the terminal CLI: start a fresh context window (new session entry in the sidebar) while preserving the original session — including its title and full conversation history — as a separate, accessible entry.
Error Messages/Logs
Steps to Reproduce
- Open Claude Desktop (macOS) and start a session with at least a few messages in it
- Run
/clear in the chat input
- Sidebar: the session is renamed to "General coding session"
- Main panel: "No messages yet" — all prior messages are gone
- Navigate away and back; restart the app — the history does not return
- Confirm the
.jsonl transcript still exists on disk at ~/.claude/projects/.../<original-uuid>.jsonl — data is intact but inaccessible
Claude Model
Sonnet (default)
Is this a regression?
I don't know
Last Working Version
No response
Claude Code Version
Claude 1.15200.0 (250bae) 2026-06-23T05:40:53.000Z
Platform
Anthropic API
Operating System
macOS
Terminal/Shell
Other
Additional Information
Screenshots
Before running /clear

After running /clear

Related Issues
Preflight Checklist
What's Wrong?
In Claude Desktop (macOS), running
/clearresets the current session in-place rather than creating a new session. The current session is renamed to "General coding session" in the sidebar and its message content is replaced with "No messages yet" — making the entire session history inaccessible through the UI.In the terminal CLI,
/clearcorrectly creates a new context window while preserving the original session as a separate, accessible entry in the session list. The desktop app does not match this behavior.The raw
.jsonltranscript file survives on disk at~/.claude/projects/<project>/<uuid>.jsonl, but because the desktop app's session cache entry is reset rather than a new one being created, the transcript is permanently orphaned — there is no UI path to access it.What Should Happen?
/clearin Claude Desktop should behave the same as in the terminal CLI: start a fresh context window (new session entry in the sidebar) while preserving the original session — including its title and full conversation history — as a separate, accessible entry.Error Messages/Logs
Steps to Reproduce
/clearin the chat input.jsonltranscript still exists on disk at~/.claude/projects/.../<original-uuid>.jsonl— data is intact but inaccessibleClaude Model
Sonnet (default)
Is this a regression?
I don't know
Last Working Version
No response
Claude Code Version
Claude 1.15200.0 (250bae) 2026-06-23T05:40:53.000Z
Platform
Anthropic API
Operating System
macOS
Terminal/Shell
Other
Additional Information
Screenshots
Before running

/clearAfter running

/clearRelated Issues
/clearsession-preservation failure in CLI (closed stale); my bug is the desktop-app manifestation