What
A 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.
Details
- 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.
- Drops are counted against the queued-prompt metric with the reason
dropped_by_hook. - The notification is raised with requeue-on-preempt set, so it survives being interrupted.
- If the hook chain throws, the error is logged and the prompt is left to the normal drain path unchanged.
Evidence
Prompt dropped by a hook
Strings lifted out of the shipped bundle, so the claim above can be checked against them.