Under the hood
No documentation found
Edit-tool permission denials now carry an explicit deniedByPermissionRule flag used to trigger a callback
What
When the Edit tool is denied by a permission rule, whether through the 'ask' or 'deny' behavior, the response now includes a deniedByPermissionRule: true field alongside the existing denial message and error code. This flag is read downstream to trigger an onPermissionDenial callback.
Why
This lets other parts of Claude Code specifically detect and react when an edit was blocked by a permission rule, rather than only having a generic denial message to work with.