Group of 3 Under the hood
No documentation found
Claude Code now records the permission mode a tool request was made under (permissionModeAtRequest) to resolve 'auto' mode and keep decisions consistent
What
- A new
permissionModeAtRequestfield is now threaded through tool-use handling, capturing the concrete permission mode (default,acceptEdits,dontAsk, orbubble) that an "auto" mode resolves to at the moment a tool request is made;planandbypassPermissionsboth resolve todefault. This replaces an earlier, simpler mode field. - When replying to a tool_use request, Claude Code now restores the permission mode that request was originally made under, but only when the effective mode is "arbiter" and a gate check passes.
- A new telemetry event,
tengu_auto_mode_decided_as_requested_mode, fires when auto-mode's eventual decision matches the mode that was originally requested, recording the tool name, whether it's an MCP tool, and the requested mode.
Why
This keeps permission decisions consistent with the mode that was actually in effect when a tool request was made, and provides telemetry to measure how often auto-mode's decision simply confirms the original request.
Names in the bundlepermissionModeAtRequest