Follow Discord
Sweep 10 Nov 2026 · 02:18Z Build v2.1.322 539 read Stable v2.1.311 Latest v2.1.322 Next v2.1.322 Feeds RSS JSON llms.txt llms-full.txt Unofficial

Claude Code v2.1.267 ·

session.compact implementation gated by DISABLE_COMPACT

session.compact now blocks itself while DISABLE_COMPACT is set or a turn is still running

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

The underlying implementation behind session.compact (used by /compact and by plugins) now explicitly refuses to run in two cases: when compaction has been switched off for the session via DISABLE_COMPACT, or when a turn is currently in progress, since compaction is only allowed to happen between turns.

Why

This prevents /compact and plugin-triggered compaction from running at an unsafe time or when it's been deliberately disabled, giving a clear error instead of unexpected behavior.

Read from
Names in the bundleDISABLE_COMPACT
How sure we are
One source agreesOne thing we can check says the same as this entry.
Anthropic's release notes agreeFixed resuming a session after /compact or another slash command ran via -p --resume: a spurious "Continue from where you left off." turn is…

See this entry in the whole of v2.1.267 →

Feedback