[BUG] - Serious Bug - Compacting from previous instances deleted all the files/documentation created during 1,5 hours
Resolved 💬 3 comments Opened Oct 12, 2025 by devdutta Closed Oct 16, 2025
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?
Compact warning appeared at ~95% usage
- Ran /compact command
- Received error: "Cannot compact, navigate with Escape twice"
- Following error instructions deleted all files from current session
- Expected behavior: Compact should work OR navigation should preserve files
- Actual behavior: Files permanently deleted (not in recycle bin). Documentation Files are json workflows created during a 1.5 hour session were all deleted from my drive and could not recover from recycle bins also.
What Should Happen?
Why should a Claude session delete all files created even if the compact was done from last 2 sessions
Error Messages/Logs
Steps to Reproduce
I cannot reproduce the step as all the files are gone
Claude Model
None
Is this a regression?
Yes, this worked in a previous version
Last Working Version
_No response_
Claude Code Version
Claude Code: 2.0.14
Platform
Anthropic API
Operating System
Windows
Terminal/Shell
Cursor
Additional Information
_No response_
This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗