Under the hood
Claude Code now records tool calls whose permission check crashed, before the error is thrown further up
What
A new small tracking module records the ID of any tool call whose permission check crashed with an unexpected error, rather than a normal halt, keeping a capped list of the most recent crashes and dropping the oldest once the limit is reached. The permission-check function is now wrapped so it records a crash before re-throwing the error.
Why
This gives Claude Code an internal record of tool calls that failed their permission check abnormally, which can help track down why a particular tool call didn't go through as expected.