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.