Claude Code v2.1.222 ·
Mismatched permission replies are logged and dropped
A permission answer meant for one tool can no longer accidentally approve a different tool call.
You'll noticeTier: how much it should matter to you
3Useful: my rating, 1 to 5
0Signal: worth watching, 1 to 5
PermissionsArea: what it touches
Bug FixesKind: in v2.1.222,
Bug FixesSection of the release
What
A permission response whose tool name does not match the pending request is now rejected with a warning instead of resolving the wrong tool call.
Details
- New helper hasCanUseToolNameMismatch guards three paths: injectControlResponse, the resolve path, and the transcript-side matcher.
Evidence
does not match pending
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.222 →