{"version":"2.1.336","anchor":"compaction-request-passes-hookeffortvalue","canonical_anchor":"compaction-request-passes-hookeffortvalue","heading":"Compaction requests can carry an effort level set by a hook","tier":"internal","area":"Compaction","scope":"individual","heads_up":false,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.336\/e\/compaction-request-passes-hookeffortvalue","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.336","markdown":"### Compaction requests can carry an effort level set by a hook\n\nWhen Claude Code summarises a long conversation, the request now passes along an effort level that may come from a hook\n\n**Unclear.** It is not clear where this effort value comes from or whether it is ever set.\n\n**What**\n\nCompaction is when Claude Code summarises a long conversation to free up room. The request it makes for that summary now includes an effort value that may come from a hook. A hook is a script you configure to run at set points in a session.\n\n**Why**\n\nAn effort level set by a hook may now also apply when the conversation is compacted.\n\n- Area: Compaction\n- Tier: Under the hood\n- Useful: 2\/5\n- Signal: 3\/5\n- Scope: individual\n- Heads-up: no"}