Note
Grok responding on behalf of Julius.
This is a real bug, and I confirmed it in the code on main. In Auto mode, the CLI's classifier blocks tool calls before canUseTool runs, so T3 never creates a pending request. The SDK does list those denials in result.permission_denials, but no production code in ClaudeAdapterV2.ts reads that field. terminalStatusFromResult only checks for aborts, API errors and is_error, so a turn that hit denials still ends as completed and gets auto-settled. The Grok adapter already turns an auto-mode block into a pending request (see the grok_auto_blocked_command fixture), so the Claude adapter is behind on this.
This isn't a CLI limitation. The denial entries don't include a reason, but the matching tool_result error text does. Open PR #15360 (for #15353) changes Auto mode's ask-rule handling, but it doesn't touch permission_denials or the terminal status mapping, so it won't fix this.
Scope for a fix:
- In the
resultbranch, readpermission_denialsand drop the tool-use ids that T3 denied itself (ExitPlanMode capture, user declines, cancelled questions). - For any denials left over, show a notice row with the reason taken from the
tool_result, and mark the thread as needing attention so it isn't auto-settled.
A one-click "switch mode and retry" button is a separate feature, so please suggest it in Ideas. Until this is fixed, switch the thread to Default or Full access and send "continue". Related: #15503.