{"version":"2.1.267","anchor":"precomputed-compaction-gains-a-veto-mechanism-to-avoid-repea","canonical_anchor":"precomputed-compaction-gains-a-veto-mechanism-to-avoid-repea","heading":"Precomputed compaction gains a veto mechanism to avoid repeat attempts","tier":"internal","area":"Compaction","scope":null,"heads_up":null,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.267\/e\/precomputed-compaction-gains-a-veto-mechanism-to-avoid-repea","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.267","markdown":"### Precomputed compaction gains a veto mechanism to avoid repeat attempts\n\nPrecomputed compaction now remembers when a plugin hook rejected it, to avoid retrying the same attempt\n\n**What**\n\nWhen Claude Code tries to arm a precomputed (background) compaction, it now checks whether that attempt has already been vetoed. If a `session.compact` plugin hook previously rejected the compaction, the attempt is skipped, and a veto is recorded whenever a hook-driven compact is skipped this way.\n\n**Why**\n\nThis stops Claude Code from repeatedly trying to precompute the same compaction that a plugin hook keeps rejecting, avoiding wasted work.\n\n- Area: Compaction\n- Tier: Under the hood\n- Useful: 2\/5\n- Signal: 2\/5"}