
Claude Code Keeps Compacting and Losing My Work. Here's What's Actually Happening.
Claude Code compacts your session and suddenly forgets which files it modified, what errors it found, and what it was working on. Here's the technical explanation of why — and how to prevent it.