Claude Code v2.1.317 adds warnings, checks, and new metrics for enterprise deployments
The update introduces safeguards for cloud scheduled tasks, blocks callbacks on failure in the Agent SDK, and adds cost reporting and identity retention features for Claude Apps Gateway administrators.
1 source · cross-referenced
- Adds warnings for unexpected connectors in cloud scheduled tasks and prompts before sharing account email in web or shell tool calls.
- Introduces 'onFailure: block' for Agent SDK hook callbacks to halt actions if callbacks fail.
- Adds new Anthropic-specific OpenTelemetry metrics including plan, seat type, provider, and custom base URL.
- Adds cost reporting and daily identity retention tracking to the Claude Apps Gateway admin API.
- Fixes issues with project and local MCP servers disconnecting and auto mode failures in cloud sessions.
Anthropic released version 2.1.317 of Claude Code, marking an incremental update with a focus on enterprise controls and operational transparency. The changelog highlights new warnings and checks designed to prevent unintended data sharing and improve oversight in cloud deployments.
Administrators managing cloud scheduled tasks now receive warnings when new connectors are added without explicit user request, along with instructions for removal. The update also introduces a prompt before web or shell tool calls send the user’s account email address over the network, giving users greater control over data exposure.
For developers using the Agent SDK, a new callback hook option 'onFailure: block' ensures that failed callbacks halt the associated action, rather than allowing it to proceed. This change improves reliability in automated workflows by enforcing stricter failure handling.
The release adds four new Anthropic-specific fields to OpenTelemetry metrics, events, and spans: anthropic.plan, anthropic.seat_type, anthropic.provider, and anthropic.custom_base_url. These additions enable administrators to track usage patterns and resource allocation across their deployments with finer granularity.
Claude Apps Gateway administrators gain new cost reporting capabilities via the admin API endpoint GET /v1/organizations/analytics/cost, which allows reading historical spend data aggregated by total, per developer, per day, or per identity provider (IdP) group. The update also introduces daily tracking of each developer’s IdP group membership, retained for a configurable period defined by admin.identity_retention_days, enabling more precise cost attribution and governance.
Several stability fixes address issues reported in prior versions. Project and local MCP servers are now less likely to disconnect after the first turn in desktop sessions, and auto mode in cloud sessions no longer fails every turn when an LLM gateway returns 403 or 422 responses during server-side safety checks. Additional fixes address session management, transcript handling, and permission prompts across desktop and cloud environments.
- Nov 11, 2026 · Hugging Face
Hugging Face proposes token pooling-aware training to improve compressed multi-vector retrieval
Trust79 - Nov 11, 2026 · TechCrunch — AI
Fractile raises $720M Series C to develop AI chips and compiler stack
Trust79 - Nov 11, 2026 · The Verge — AI
Google’s Tabletop AI experiment lets users build custom collaborative apps via waitlist
Trust79