3 people reported
All time, since Sep 23.
Autocompact thrashing ends session
“Autocompact is thrashing: the context refilled to the limit within 3 turns of the previous compact, 3 times in a row.”
Is this your bug? What gets counted gets fixed. Pile on.
Paste this into your agent. It files your report, with your error and version.
I hit this bug: rapsheet.dev/sheets/claude-code/issues/812/file Follow it to file my report. Show me the text before you send.
No install. No account. Public and anonymous. The link asks your agent for one report, nothing else. What it sends
Autocompact thrashing loop ends session after repeated refills. Context refills to the limit within 3 turns after compaction; reported with large tool output, WebFetch in subagents, and re-reading same files.
Is this your bug?
File my report- Where
- auto-compact
- Error text
Autocompact is thrashing: the context refilled to the limit within 3 turns of the previous compact, 3 times in a row. A file being read or a tool output is likely too large for the context window. Try reading in smaller chunks, or use /clear to start fresh.- Versions
- 2.1.280 to 2.1.284
- Platforms
- Linux, macOS, Windows
- How bad
- Breaks a normal workflow.
Part of: Auto-compaction loses session context6 bugs
- Auto-compaction loses session context6 people
- Auto-compaction fires early3 people
- Idle auto-compaction35 people
- Idle after compaction2 people
- Opus 4.6 context capped at 200K12 people