Follow Discord
Sweep 20 Nov 2026 · 19:55Z Build v2.1.330 547 read Stable v2.1.323 Latest v2.1.330 Next v2.1.330 Feeds RSS JSON llms.txt llms-full.txt Unofficial

Claude Code v2.1.329 ·

Clearer error when a session's --hook-label value is not allowed

A session whose --hook-label value isn't allowed now fails with its own message: use another value or ask an admin to allow it

You'll notice Improvements
JSON All of v2.1.329
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.329,
ImprovementsSection of the release
What

Sometimes the environment does not allow the value a session has for --hook-label. In that case Claude Code now rejects the session with a dedicated error. The message tells you to start a new session with a different value, or to ask an administrator to allow this one.

Why

An administrator can limit which label values sessions may use, for example in remote or managed sessions. When that limit rejects a session, you now see what went wrong and what to do next.

See this entry in the whole of v2.1.329 →

Feedback