← Back to the briefs
Tools

Anthropic adds safety event telemetry and subagent coordination fixes in Claude Code v2.1.307

Anthropic updated Claude Code to version 2.1.307, adding OpenTelemetry tracking for tool calls halted by safety checks, restricting HTTP tool retries to idempotent calls, and improving coordination between parallel fork subagents.

Safety telemetry and tool execution boundaries

Anthropic updated Claude Code to version 2.1.307, introducing an OpenTelemetry event named claude_code.safety_event. The system emits this event whenever auto mode, sandboxing, a security check, an intervention hook, or a configured permission rule halts, prompts, or bounces back an attempted tool execution.

The release also hardens remote tool execution across Model Context Protocol servers. When an HTTP MCP connection drops during a call, the runtime no longer repeats the request blindly. Claude Code restricts automatic retries strictly to operations classified as read-only or idempotent, avoiding repeated side effects on remote services.

Permission management received targeted fixes in the local command approval workflow. Approving an entry inside the Recently Denied menu now explicitly references the underlying shell command rather than a text summary. This change fixes behavior where the auto mode local classifier overlooked manual approvals on retried commands.

Subagent isolation and call recovery

Tool call handling now tolerates syntax defects from language models. Claude Code retries malformed or unparseable tool calls up to twice before failing the execution turn. Parallel multi-agent workflows also receive clearer boundaries. When users trigger concurrent fork subagents, the runtime provides each subagent with information designating its specific task invocation to prevent overlapping efforts.

Reporting and behavioral guardrails saw further refinement. Streamed subagent transcripts now record actual stop reasons instead of blank markers and placeholder token metrics. Additionally, once a session exhausts its WebSearch budget, the agent receives an instruction explicitly blocking it from opening external search engines through browser automation or computer control.

Our assessment

Engineering teams supervising autonomous coding agents should route the new safety telemetry into centralized security dashboards to detect unexpected privilege prompts or recurring sandbox rejections. Developers building custom MCP tools must also ensure that state-modifying operations are not marked idempotent, ensuring failed network connections do not trigger unintended retries.

Source: Anthropic original publication.

Original source

Read the original material

Anthropic (opens in a new tab)

The article date belongs to Agentic Horizon. The source publication date is listed separately. Vendor claims remain attributed; we have not independently tested the reported capability.

Search the publication

Find a story by title, topic, or keyword.

Press Escape to close

Ask HorizonYour site guide
Your guide to the publication

Ask Horizon.

Ask a question about the publication.

Privacy