Source Intelligence

DisclaimerUnofficial, and not affiliated with Anthropic. Nearly all of this is read straight out of what ships: npm bundles, captured prompts, published docs. Anthropic's own notes go in verbatim, marked as theirs. The rest is my reading, and every entry carries the strings behind it. If one looks wrong, vote it down and say why.

All of v2.1.213 Home All releases olderv2.1.212 v2.1.214newer
Claude Code v2.1.213

SDK Protocol: matched_ask_rule in Permission Requests

What

When Claude Code escalates a tool call to the host for permission (auto-mode escalation), the permission request now includes a matchedAskRule object describing which rule triggered the ask.

Details
  • Fields: source, toolName, and optionally ruleContent
  • Lets SDK hosts make informed decisions about why a specific call was escalated rather than just seeing that it was
Evidence

Permission protocol addition (search for "matched_ask_rule" in SDK message schema)

Strings lifted out of the shipped bundle, so the claim above can be checked against them.

See this entry in the whole of v2.1.213 →