{"version":"2.1.247","anchor":"prompts-typed-mid-turn-are-checked-by-prompt-submit-hooks-at","canonical_anchor":"prompts-typed-mid-turn-are-checked-by-prompt-submit-hooks-at","heading":"Prompts typed mid-turn are checked by prompt-submit hooks at Enter","tier":"notice","area":"Hooks","scope":null,"heads_up":null,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.247\/e\/prompts-typed-mid-turn-are-checked-by-prompt-submit-hooks-at","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.247","markdown":"### Prompts typed mid-turn are checked by prompt-submit hooks at Enter\n\nPrompts you type mid-turn hit your prompt-submit hooks at Enter, so rejections show up immediately.\n\n**What**\n\nA prompt you type while Claude is still working is now run past your prompt-submit hooks the moment you press Enter, instead of only when the queue drains. If a hook rejects it, the prompt is dropped from the queue straight away and you see the hook's message, or `Prompt dropped by a hook` if it gave none. No flag guards this.\n\n**Details**\n\n- The queued entry is marked as awaiting screening, the hook chain runs against a context built for the turn in progress, and the result is settled back onto the queue entry by its id.\n- Drops are counted against the queued-prompt metric with the reason `dropped_by_hook`.\n- The notification is raised with requeue-on-preempt set, so it survives being interrupted.\n- If the hook chain throws, the error is logged and the prompt is left to the normal drain path unchanged.\n\n**Evidence**\n\n`Prompt dropped by a hook`\n\n- Area: Hooks\n- Tier: You'll notice\n- Useful: 4\/5\n- Signal: 2\/5"}