Under the hood
Tool permission checks now let a hook adjust the decision before deny/ask logic runs
What
Before Claude Code decides whether to deny or ask about a tool call, both of its permission-decision code paths now run a new step that lets a hook (custom code that runs at a specific point in Claude Code's process) inspect and potentially adjust the in-progress permission decision before the deny or ask branches are evaluated.
Why
This opens a point where custom hook logic can influence permission outcomes earlier in the pipeline, ahead of the standard deny/ask evaluation.