Under the hood
Auto-accepted tool-permission log entries now record a surface field
What
When Claude Code automatically accepts a tool permission because of a configuration setting (logged as decision accept, source config), the log entry now also computes and attaches a surface value, using a new helper that takes the session and the decision reason. This applies in both interactive sessions and non-interactive (headless) sessions.
Why
Recording which surface an auto-accept happened on gives more context for understanding permission decisions after the fact, useful for debugging or auditing why a tool was allowed to run without a prompt.
Something disagreesSomething we can check disagrees with this entry, or the writer said they could not settle it.
The writer flagged doubt
The finding does not say what values `surface` can take or how it's used downstream.