
Show Notes
Learn about Claude Code version 2.1.295 and the crucial new onFailure: "block" setting for command and HTTP hooks. We dive into how to prevent broken or missing guard scripts from failing open, plus key caveats to consider before updating your configuration.
Show Notes
Releases · anthropics/claude-code - GitHub: https://github.com/anthropics/claude-code/releases
More from The Claude Code Changelog
Claude Code 2.1.307 adds the claude_code.safety_event OpenTelemetry event, letting teams track when permissions, safety checks, hooks, or the sandbox stop, prompt, or send back a tool call. Learn how to query the event for sandbox violations and recurring permission prompts, plus caveats about interpreting the counts. We also cover the release’s MCP retry and authentication fixes, checkout-hook timeouts, and pull-request review controls.
Claude Code 2.1.305 adds sandbox.allowNestedUserNamespaces for Linux and WSL2, enabling tools such as headless Chromium and rootless Podman to run inside the Bash sandbox. Learn how to enable it and why it weakens the sandbox’s file protections. The hosts also cover fixes and quality-of-life updates in 2.1.304–2.1.306, including gateway retries, /usage fixes, and retry-watchdog configuration.
Claude Code 2.1.304 expands /auto-mode-setup to more provider and gateway sessions, helping you draft trusted environment rules from project files and recent activity. Learn what the setup scans, how to review and verify its all-at-once settings changes, and why managed settings are safer for team-wide rules. Plus, a few useful fixes and quality-of-life updates from the release.
How Claude Code’s experimental /advisor pairs a lower-cost executor with a stronger model that can review the full session and offer guidance. Learn how to enable it, prompt for consultations, inspect advice, and check provider, model-pairing, and cost caveats. We also cover smaller improvements in versions 2.1.301–2.1.303.
Claude Projects is becoming a coordinator for parallel Claude Code cloud sessions: learn how to connect repositories, set project instructions, choose thread models and effort, and manage local-only work. We also cover practical limits and cost traps, including paused sandboxes, pull-request follow-up threads, and usage-limit resumption, plus smaller fixes in 2.1.301 and 2.1.302.