/clear deletes chat history permanently

Resolved 💬 3 comments Opened May 29, 2026 by stixen Closed Jul 2, 2026

I lost multiple days of conversation history in a long-running coding session because /clear wiped the chat without recovery option.

What happened

  • I typed /clear because Claude told me that this will clear his session
  • The entire visible chat history was deleted immediately and permanently
  • There is no undo, no recovery, no archive

Why this is a serious problem

  • Claude told me this will clear the session and not the complete chat
  • Long sessions (multi-day) contain decisions, explanations, and context that cannot easily be reconstructed
  • No warning. No "are you sure?". No backup. Just gone.
  • Additionally: the system automatically compresses/summarizes long sessions without any warning — this also causes visible history loss and looks identical to a /clear from the user's perspective

What should happen instead

  • Keep history visible but reset Claude's context separately
  • Auto-archive before clearing
  • Show a clear warning explaining EXACTLY what /clear does (deletes the entire chat, not just Claude's context)
  • Same warning for auto-compression events

This is a destructive, irreversible action that is triggered too easily.

View original on GitHub ↗

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