Under the hoodTier: how much it should matter to you
1Useful: my rating, 1 to 5
1Signal: worth watching, 1 to 5
HooksArea: what it touches
Internal ChangesKind: in v2.1.328,
Internal ChangesSection of the release
Unclear Which detail of a prompt hook is now compared, and so which near-identical hooks will now both be kept, is not stated.
What
A hook is a rule you set up so that something runs automatically at a certain point in a session. A prompt hook is one that sends a piece of text to the model. Claude Code used to treat two prompt hooks as the same hook when their prompt text and their other shared details matched. It now also compares one more detail, so two prompt hooks that differ only in that detail count as different hooks.
Why
This changes when Claude Code decides two prompt hooks are duplicates of each other.
How sure we are
Something disagreesSomething we can check disagrees with this entry, or the writer said they could not settle it.
The writer flagged doubtWhich detail of a prompt hook is now compared, and so which near-identical hooks will now both be kept, is not stated.