Follow Discord
Sweep 28 Sep 2026 · 18:16Z Build v2.1.284 505 read Stable v2.1.277 Latest v2.1.284 Next v2.1.284 Feeds RSS JSON llms.txt llms-full.txt Unofficial

Claude Code v2.1.284 ·

Auto-compact now counts context the server has already cleared

Server-reported context_management results are kept on assistant messages, and auto-compact adds the cleared tokens to its estimate

Group of 2 You'll notice Improvements
JSON All of v2.1.284
You'll noticeTier: how much it should matter to you
2Useful: my rating, 1 to 5
3Signal: worth watching, 1 to 5
CompactionArea: what it touches
ImprovementsKind: in v2.1.284,
ImprovementsSection of the release

What

The server can clear parts of the conversation itself, for example old tool results, through a feature called context_management. Claude Code now keeps and uses that information:

  • When a streamed reply is put together, context_management from the final message_delta is now copied onto the stored message. Before, only stop_reason, stop_sequence, stop_details and research were copied.
  • A new helper also copies message.context_management when assistant messages are merged.
  • The auto-compact check (which decides when to summarize a long conversation to save space) now adds the tokens the server reported as cleared (the applied_edits on the last assistant message) to its token estimate before choosing a compact level.
  • The debug log line gains a serverCleared= part.

Why

For sessions where the server has been clearing context, auto-compact can now start earlier than before. The debug log shows how much the server cleared.

How sure we are
Something disagreesSomething we can check disagrees with this entry, or the writer said they could not settle it.
The writer flagged doubtIt is not clear why the cleared tokens are added to the estimate rather than taken away from it.

See this entry in the whole of v2.1.284 →

Feedback