{"version":"2.1.327","anchor":"modshooks-tooljudge-event-and-grep-restriction","canonical_anchor":"modshooks-tooljudge-event-and-grep-restriction","heading":"Mods get a new tool check, and Grep can refuse when a mod checks only Read","tier":"notice","area":"Mods","scope":"individual","heads_up":true,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.327\/e\/modshooks-tooljudge-event-and-grep-restriction","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.327","markdown":"### Mods get a new tool check, and Grep can refuse when a mod checks only Read\n\nA new mod check is consulted before tools run, and Grep won't return file lines when an installed mod checks Read but not Grep\n\n**What**\n\nMods are add-ons that can check Claude's tool calls. A tool call is one action Claude takes, such as reading a file. Several changes affect people with mods installed:\n\n- A new mod event, `tool.judge`, is now consulted alongside the existing `tool.check` and `PreToolUse` checks when Claude Code decides whether tool calls can run at the same time. `PreToolUse` runs before a tool call and can block it.\n\n- If an installed mod checks the Read tool but not Grep, Grep can no longer return lines from files. Claude is told to run grep in the shell instead.\n\n- Hooks that are being restarted now count as active hooks.\n\n**Why**\n\nA mod that inspects file reads could be bypassed if Grep returned the same file contents without passing through it. Tool behaviour can now differ for you depending on which mods you have installed.\n\n- Area: Mods\n- Tier: You'll notice\n- Useful: 2\/5\n- Signal: 3\/5\n- Scope: individual\n- Heads-up: yes"}