Fix: Claude Code Autocompact Thrashing on a Large File or Tool Output
Claude Code compacts, then a single oversized file read or tool result immediately refills the window and it compacts again. Drop the item with /clear, read files in slices, and force big output to disk.