AI Compass / News
Claude Code 2.1.317 asks before your email address goes out to the network
The 3 November release adds two new safeguard prompts and a hook option that stops the action when a check fails, along with many fixes.
Source: Claude Code changelog, version 2.1.317,
Note: I use Claude and Claude Code for my own work. Anthropic does not pay me, and the links are not affiliate links.


What happened: Version 2.1.317 of Claude Code, Anthropic’s coding assistant for the terminal, came out on 3 November 2026. Three changes are about protecting your data and your workflows:
- A prompt before your email address is sent: Before a web or shell tool call would send your Claude account’s email address to the network, Claude Code now asks first.
- A warning for scheduled cloud tasks: If a new task you schedule with
/schedulegets connectors (links to other services) you did not ask for, Claude Code warns you and shows how to remove them. - Hooks that block: Hooks are your own checks that run on certain events. If you build with the Agent SDK, you can now set
onFailure: "block". When the check fails, the action is stopped instead of going ahead anyway.
There are also many fixes. Two examples: auto mode no longer fails on every turn when an AI gateway in front of it answers its safety check with 403 or 422. And claude -p now reports an error (exit code 1) when a full disk stops it from saving the transcript, instead of pretending it succeeded.
What this means: The email prompt guards against personal data quietly leaking out, for example when a command sends your address to an outside site. The /schedule warning matters because a scheduled task runs without you, so what it can access should be a deliberate choice. onFailure: "block" is useful for anyone who builds safety rules as hooks: until now, a check that crashed could let the action through.
What you can do:
- Update:
claude updategets you the latest version. Newer versions have already followed 2.1.317, and they keep these changes. - Take the prompt seriously: If Claude Code asks about your email address, look at the command before you agree.
- Review scheduled tasks: When you see the warning, remove any connectors the task does not need.
- Switch your safety hooks: If you build Agent SDK hooks that are meant to prevent something, set
onFailure: "block"on them.
Context: The details come from the Claude Code changelog. It does not say exactly when the email prompt kicks in. I have not tested these features myself.
My workshops show you how to bring AI into your team. See the workshops