# Claude Code 2.1.317 asks before a tool call sends your email

> Claude Code 2.1.317 adds a check before a web or shell call sends your account email, and subagents on another model stop inheriting the session's effort.

- URL: https://acceptallhq.com/diff/2026-11-03-claude-code-2-1-317-email-check/
- Section: The Diff
- Published: 2026-11-03T07:02:00-05:00
- Author: MK (https://acceptallhq.com/about/)
- Tool: Claude Code
- Source: https://code.claude.com/docs/en/changelog

## What changed

Claude Code 2.1.317, released November 3, asks before a web or shell tool call sends your account email address to the network. Subagents and teammates on a different model from the main conversation now use that model's saved effort level, or its default, instead of the session's effort level. Agent SDK hook callbacks can set `onFailure: "block"`, so a callback that fails blocks the action instead of letting it run.

## Why it matters if you ship with an agent

Headless runs are the thing to check. A `claude -p` job whose curl or git command carries your account email now hits a new check, and a headless job has nobody to answer it, so run those jobs once by hand after upgrading. If your session runs at high effort and your subagents on a cheaper model, those subagents just dropped to that model's own setting; set it per model if you were counting on the inherited one. SDK hook authors: a hook that errors still lets the action run unless you set the block option.
