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

Quiet. No reports in the last two weeks, down from 2 a week at the late-September peak.

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

  1. Auto-compaction loses session context6 people
  2. Auto-compaction fires early3 people
  3. Idle auto-compaction35 people
  4. Idle after compaction2 people
  5. Opus 4.6 context capped at 200K12 people

Original reports3, newest first

  1. Autocompact thrashing crashes subagent researching auto-compact behavior itself (invalid_request error)#98158
  2. Auto-compact repeatedly re-reads same files instead of continuing from prior state#96414
  3. Autocompact thrashing due to context window refill within 3 turns#96379

Do you work on Claude Code?

Claim its RAP Sheet to see what your users report and answer them in one place.