Under the hood
Internal refactor of how Claude Code picks which sub-command permission result to surface as an 'ask' prompt
What
When Claude Code checks permissions across several sub-commands and needs to decide which result is worth surfacing as an "ask" prompt, this logic was previously two separate passes (one excluding a certain reason, one including it). It's now a single reusable function that takes a boolean flag for whether to exclude that reason, and this function is now called from multiple places.
Why
This is an internal code cleanup consolidating duplicated logic; the finding describes no change in what prompts are shown to users.