Follow Discord
Sweep 08 Oct 2026 · 18:53Z Build v2.1.295 516 read Stable v2.1.286 Latest v2.1.295 Next v2.1.295 Feeds RSS JSON llms.txt llms-full.txt Unofficial

Claude Code v2.1.290 ·

Warning when a hook pattern starts with a reserved prefix

Claude Code now warns that a hook pattern starting with a reserved prefix will never run

You'll notice Improvements
JSON All of v2.1.290
You'll noticeTier: how much it should matter to you
2Useful: my rating, 1 to 5
2Signal: worth watching, 1 to 5
HooksArea: what it touches
ImprovementsKind: in v2.1.290,
ImprovementsSection of the release

Unclear The reserved prefix itself is not identified.

What

Hooks are your own scripts that Claude Code runs at set moments. Each hook is registered with a pattern that decides when it fires. Claude Code now checks these patterns, and when one starts with a reserved prefix it shows a warning: "that name cannot be a noun, so this hook is never run". A single ! at the start of the pattern is ignored for this check, so ! followed by the reserved prefix triggers the same warning.

Why

Before this check, a hook named this way simply never ran, with nothing telling you why. If you write hooks, the warning now points you to the pattern that needs renaming.

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 doubtThe reserved prefix itself is not identified.

See this entry in the whole of v2.1.290 →

Feedback