Conversation compaction now respects a PreCompact hook. If the hook blocks, compaction is skipped with the message "Compaction blocked by PreCompact hook." This gives users control over when context compression occurs.
Evidence
Hook integration (search for "Compaction blocked by PreCompact hook")
Strings lifted out of the shipped bundle, so the claim above can be checked against them.