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.
Names in the bundleDISABLE_COMPACT
One source agreesOne thing we can check says the same as this entry.
Anthropic's release notes agree
Fixed resuming a session after /compact or another slash command ran via -p --resume: a spurious "Continue from where you left off." turn is…