Follow Discord
Sweep 03 Dec 2026 · 19:13Z Build v2.1.336 553 read Stable v2.1.332 Latest v2.1.336 Next v2.1.336 Feeds RSS JSON llms.txt llms-full.txt Unofficial

Claude Code v2.1.333 ·

SDK permission requests gain managed_rules_only, plan_floor_ask_only and refusal codes

Permission requests sent to SDK host apps gain managed_rules_only, plan_floor_ask_only and ask_only_false_cause, plugin asks and rule refusal codes

Group of 3 You'll notice New Features
JSON All of v2.1.333
You'll noticeTier: how much it should matter to you
3Useful: my rating, 1 to 5
3Signal: worth watching, 1 to 5
Plugin APIArea: what it touches
New FeaturesKind: in v2.1.333,
New FeaturesSection of the release

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_cause and managed_rules_only.
  • managed_rules_only: true is added to outgoing can_use_tool requests 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_only as well as server_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 refusal code: empty, certified_namespace, invalid_rule, not_found or twin_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.

How sure we are
Something disagreesSomething we can check disagrees with this entry, or the writer said they could not settle it.
The writer flagged doubtWhat each of the three new control request fields does is not stated.

See this entry in the whole of v2.1.333 →

Feedback