• Sources: primary
  • Summary: Claude Code 2.1.329 adds a trust dialog warning naming where a folder's hooks are declared and warns when hooks in managed settings fail to load in Claude Desktop and other non-interactive hosts. In Code Mode, a PreToolUse hook that errors no longer refuses a script's tool call, matching behavior outside Code Mode, so hooks that must block need "onFailure": "block". The release also makes /code-review with no target review the whole branch against the default branch, and removes the 2.1.326 automatic retry on max_tokens errors behind gateways.
  • Why it matters: Teams that rely on PreToolUse hooks as guardrails in Code Mode must set onFailure to block, or a crashing hook now lets the call through.