Under the hoodTier: how much it should matter to you
1Useful: my rating, 1 to 5
1Signal: worth watching, 1 to 5
CompactionArea: what it touches
Internal ChangesKind: in v2.1.267,
Internal ChangesSection of the release
What
When Claude Code compacts a conversation (shrinking old messages into a summary to save space), it now builds a marker recording whether the built-in compaction process actually ran, or whether a session.compact hook replaced it entirely. This is reported along with token counts through a new telemetry event, tengu_compact_replaced_by_hook.
Why
This gives Claude Code (and whoever reviews this telemetry) visibility into whether a custom hook is taking over compaction instead of the default logic, which matters for diagnosing unexpected compaction behavior.