Unclear What each of the three new control request fields does is not stated.
What
When Claude Code runs inside another app through the SDK, it asks that app for permission before using a tool with a can_use_tool request. The permission messages change in several ways:
- Permission requests accept three new fields:
plan_floor_ask_only,ask_only_false_causeandmanaged_rules_only. managed_rules_only: trueis added to outgoingcan_use_toolrequests that suggest rules to add (addRules) when managed policy, meaning settings set by an administrator, restricts rules. This applies only when the connection is not remote. Forwarded requests have it cleared.- A request that is asked again now clears
plan_floor_ask_onlyas well asserver_policy_ask_only. - A permission request can now come from a plugin. Its prompt text gets a prefix, and it can only be answered by a person.
- When adding or removing a permission rule fails, the reply now carries a
refusalcode:empty,certified_namespace,invalid_rule,not_foundortwin_rule. Before, it carried only a message. The "rule not found" message is reworded to say the file has no rule with that text.
Why
Apps built on the SDK get more structured information about each permission request. For example, they can tell when managed rules apply and adjust which "always allow" options they show, and they can react to the exact reason a rule change was refused.
Something disagreesSomething we can check disagrees with this entry, or the writer said they could not settle it.
The writer flagged doubt
What each of the three new control request fields does is not stated.