You'll noticeTier: how much it should matter to you
2Useful: my rating, 1 to 5
2Signal: worth watching, 1 to 5
SDKArea: what it touches
ImprovementsKind: in v2.1.323,
ImprovementsSection of the release
What
When a message is refused, its result can now carry two extra fields, policy_answer and policy_answer_reason, read from the organization's policy. If Claude Code can't work out whether the policy answer may be included, the result goes without it and an error is logged.
Separately, Claude Code can now mark a state as denied by policy.
Why
Programs that use Claude Code, and the install flow, can see that a refusal came from organization policy, and why.
Read from
Names in the bundlepolicy_answerpolicy_answer_reason
Feature flag
tengu_org_policy_deniedNot enough to say
Nothing here resolved what this flag was doing on this version, so nothing here should be read as on or off.
This account: no value returned · anonymous baseline: no value returned · compiled default in v2.1.323: not a boolean we can read
These values were read against a different version of Claude Code, so treat them as the nearest reading available instead of one taken on this release.