Follow Discord
Sweep 22 Sep 2026 · 17:19Z Build v2.1.280 501 read Stable v2.1.267 Latest v2.1.280 Next v2.1.280 Feeds RSS JSON llms.txt Unofficial

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

TierUse it nowhow much it should matter to you
Useful3my rating, 1 to 5
Signal2worth watching, 1 to 5
AreaCompactionwhat it touches
KindNew Featuresin v2.1.267,
Use it now Notable

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

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