{"version":"2.1.312","anchor":"prompt-hook-overrides-can-be-bypassed-by-a-new-check","canonical_anchor":"prompt-hook-overrides-can-be-bypassed-by-a-new-check","heading":"Some prompt-rewriting hooks can now be skipped by a new check","tier":"internal","area":"Hooks","scope":"individual","heads_up":false,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.312\/e\/prompt-hook-overrides-can-be-bypassed-by-a-new-check","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.312","markdown":"### Some prompt-rewriting hooks can now be skipped by a new check\n\nThe `prompt.section`, `agent.offer` and `attribution.text` hooks now also skip when a new condition is met\n\n**Unclear.** It is not stated what condition makes these hooks skip.\n\n**What**\n\nHooks are points where an add-on can change what Claude Code does. Three hooks that can rewrite parts of the prompt and related text, `prompt.section`, `agent.offer` and `attribution.text`, used to run whenever their feature was enabled. They now also skip when an extra condition is met.\n\n**Why**\n\nIn some situations these hooks will not rewrite the prompt even when their feature is enabled.\n\n- Area: Hooks\n- Tier: Under the hood\n- Useful: 2\/5\n- Signal: 3\/5\n- Scope: individual\n- Heads-up: no"}