Claude Code 2.1.301 adds a usage-limit wait cap for retry mode and classifier fields in OpenTelemetry
Claude Code 2.1.301 adds a cap on how long unattended retry mode waits at a usage limit, auto mode classifier fields on OpenTelemetry tool_decision events, a vim % motion and LaTeX in VS Code, and changes how mod hooks' .catch and $.env.set behave.
What does this mean for me?
Engineering leadership
Cost, risk, timeline, team impact Worth knowingRoutine Claude Code release. Unattended runs can now stop instead of idling for hours at a usage limit, and auto mode decisions become visible in OpenTelemetry, which helps audit what the classifier blocked.
Engineer
What to change, what breaks, what to test Worth knowingUpdate to 2.1.301. Set CLAUDE_CODE_RETRY_WATCHDOG_MAX_USAGE_LIMIT_WAIT_MS for unattended retry jobs, and if you write mods, recheck hook .catch handlers and code that reads $.env.set results, both of which changed behaviour.
General consumer
Using the Claude apps, not the API No impactNothing to do — this is a Claude Code release and does not change the Claude apps.
Claude Code 2.1.301 adds CLAUDE_CODE_RETRY_WATCHDOG_MAX_USAGE_LIMIT_WAIT_MS, so unattended retry mode (CLAUDE_CODE_RETRY_WATCHDOG) ends a request at a usage limit that resets too far away instead of waiting for it. OpenTelemetry tool_decision events gain classifier_verdict and permission_mode, which tell auto mode classifier decisions apart from permission rules, and classifier_category (with OTEL_LOG_TOOL_DETAILS=1) naming the built-in rule a classifier block matched. It also adds the % motion to vim mode, multi-line rows inputs for mods, and LaTeX math rendering plus a “Get more usage” link in the VS Code and JetBrains panels.
Behaviour changes: switching to a model with a smaller context window now summarizes a too-long conversation with the previous model first, and a related fix stops that switch spending usage credits on a summary without asking. The fable and best model aliases now retry once on the previous Fable model when the newest one is not available to the organization, instead of erroring. Grep and Glob now return an error when the search program fails rather than reporting no matches. For mod authors, a hook’s .catch handler now runs only when the hook throws or times out, and $.env.set resolves with {} on success or { deny } when the write is refused.
The rest is bug fixes, including several for the self-hosted runner, vim mode, and terminal rendering.
The changelog carries no release dates. This entry is dated October 16, 2026 because 2.1.301 appeared between the previous run’s fetch on October 15 and this run’s.
Topics: Coding tools, Prices and limits
Terms on this page: Context window