{"version":"2.1.324","anchor":"cloud-session-hook-matcher-length-limit-now-computed-per-mat","canonical_anchor":"cloud-session-hook-matcher-length-limit-now-computed-per-mat","heading":"Cloud-session hook matchers now have a length limit set per matcher","tier":"notice","area":"Hooks","scope":"individual","heads_up":true,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.324\/e\/cloud-session-hook-matcher-length-limit-now-computed-per-mat","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.324","markdown":"### Cloud-session hook matchers now have a length limit set per matcher\n\nThe error for an over-long hook matcher in cloud sessions now reports a limit worked out for that matcher instead of one fixed number\n\n**What**\n\nA hook is a command you configure to run at certain points, and its matcher is the pattern that decides which tool names it runs for. In a cloud session, Claude Code rejects a matcher that is too long. That limit used to be one fixed number for every matcher. It is now worked out for each matcher, and the error message says the matcher is longer than \"the most that a cloud session tests this matcher against\".\n\n**Why**\n\nDifferent matchers can now be allowed different lengths in cloud sessions, so a matcher that hit the old fixed limit may behave differently.\n\n- Area: Hooks\n- Tier: You'll notice\n- Useful: 1\/5\n- Signal: 1\/5\n- Scope: individual\n- Heads-up: yes"}