Follow Discord
Sweep 22 Oct 2026 · 04:32Z Build v2.1.308 527 read Stable v2.1.308 Latest v2.1.308 Next v2.1.308 Feeds RSS JSON llms.txt llms-full.txt Unofficial

Claude Code v2.1.248 ·

DISABLE_COMPACT now takes effect mid-session

Setting or clearing DISABLE_COMPACT now takes effect immediately, not just at startup.

Use it now Notable Improvements
JSON All of v2.1.248
Use it nowTier: how much it should matter to you
4Useful: my rating, 1 to 5
2Signal: worth watching, 1 to 5
CompactionArea: what it touches
ImprovementsKind: in v2.1.248,
What probably matters to youSection of the release
What

The auto-compact suggestion and the /compact command read DISABLE_COMPACT from the environment each time they are checked, instead of a snapshot taken at startup. Setting or clearing it during a session now changes behaviour immediately.

Details
  • Decides whether the context-limit banner offers "/clear to continue" or "/compact or /clear to continue".
  • The value goes through a truthiness helper at the point of use.
  • Separately, a startup check that read CI now passes a literal false.
Evidence

/compact or /clear to continue, Context exceeds the ${l}-token limit by ${t} tokens, Free up context by summarizing the conversation so far, process.env.DISABLE_COMPACT

Strings lifted out of the shipped bundle, so the claim above can be checked against them.

Read from
Names in the bundleDISABLE_COMPACT/compact
Since it was published

The entry above is what we published on the day. These lines were added later, as Anthropic's own pages caught up, and they sit beside the original rather than replacing it.

Added since A small documentation edit on whats-new-fable-5-1 touched a line naming /compact after this was published. To keep thinking valid across a long session, treat the conversation as append-only. Add instructions with a [mid-conversation system message](https://platform.claude.com/docs/en/build-with-claude/mid-conversation-system-messages) ([turn-s… models/fable-5-1/whats-new-fable-5-1 see the edit
Confirmed since Anthropic's documentation has since written up /compact, on Claude Code changelog. * Fixed the conversation summary produced by `/compact` and auto-compact mangling text that contained `$` sequences changelog see the edit
How sure we are
One source agreesOne thing we can check says the same as this entry.
Anthropic's documentation agreesAnthropic's documentation has since written up /compact, on Claude Code changelog.

See this entry in the whole of v2.1.248 →

Feedback