You'll noticeTier: how much it should matter to you
1Useful: my rating, 1 to 5
1Signal: worth watching, 1 to 5
SDKArea: what it touches
ImprovementsKind: in v2.1.323,
ImprovementsSection of the release
What
When Claude Code needs permission to use a tool, it can pass the question to the app hosting it through the SDK. The field server_policy_ask_only tells that app the question exists only because of server policy.
The field is now also sent for the default prompt of Write or Edit when there is no reason type.
It is also sent for Read, Write or Edit when the file is outside the working directories (workingDir). Before, it was sent only with decision_reason_type 'rule' and for an MCP tool's ask that had no reason.
A new check decides the value from the decision reason, from working-directory asks for edit tools, and from the permission rules.
If any part of that check fails, the field is set to false and the log says 'serverPolicyAskOnly: a check threw, so server_policy_ask_only is false for this ask.'
AskUserQuestion, the tool Claude uses to ask you a question, now reports when the host's own dialog approved the answer, and can use a denial message supplied by the host.
Why
Apps built on the SDK can now decide file-tool permission prompts from this field instead of always showing them.