My Claude Code MCP hook had onFailure: block. Until 2.1.328, all 6 failures still ran the command.
Summary
Side-by-side tests of Claude Code 2.1.327 and 2.1.328 show that onFailure:"block" on an mcp_tool PreToolUse hook was silently ignored before 2.1.328: all six failure modes ran the command with exit code 0 and no warning. 2.1.328 blocks all six and names the reason.
Was this useful to you?
Related
Seven security practices for Claude Code, from version checks to sandbox and MCP permissions
X · kimuai08
How do you orchestrate multiple agents?
r/AI_Agents · kwerkee
Postmortem: Making CUT THE COUNT in Four Days with Claude Code
hiroyukitsunoda.itch.io · HiroyukiTsunoda
How I Wired a 1,000-Agent Harness from One Folder and Nine Prompts
X · 0xNeuroBlue
Anthropic Just Released the New Rules of Claude Code
X · nateherk