Fixed prompt and agent hooks handling for instruction-based blocking
Fixed a bug where prompt and agent hooks written as blocking instructions were not working correctly. Improved evaluation of Stop and SubagentStop hooks so Claude is less likely to stop early when hooks are written as conditional instructions.
- Fixed
promptandagenthooks written as instructions (such as "Block commands that...") allowing what they should block - Improved how
prompthooks on Stop and SubagentStop written as instructions (such as "Carry on if the build is broken") are judged, so Claude is less likely to stop early
Source: original entry ↗
More from Claude Code
Follow Claude Code to get its new changes in your feed and email digest.
Claude Code 2.1.304: Plugin hooks, auto-mode setup, and Code Review improvements
This release adds transcript visibility for plugin hook skipping, introduces /auto-mode-setup for environment configuration, expands mod tooling with permission controls, and enhances Code Review with review levels and organization-wide repository scanning. Multiple changes improve plugin behavior, skill management, and VSCode integration.
Bug fixes and reliability improvements
This release includes bug fixes and reliability improvements to enhance overall product stability and performance.
2.1.302 — Model selection, idle compaction control, and session improvements
Added configuration options for auto mode model selection and idle compaction control, plus a banner showing why cloud session runs didn't start. Enhanced subagent handling, session management, and Claude Tag admin settings organization.