Follow Discord
Sweep 10 Nov 2026 · 02:18Z Build v2.1.322 539 read Stable v2.1.311 Latest v2.1.322 Next v2.1.322 Feeds RSS JSON llms.txt llms-full.txt Unofficial

Claude Code v2.1.280 ·

toolDecisions changed from a plain object to a Map

Session tool-permission decisions (toolDecisions) moved from a plain object to a Map, with related cleanup.

Group of 3 Under the hood Bug Fixes
JSON All of v2.1.280
Under the hoodTier: how much it should matter to you
1Useful: my rating, 1 to 5
1Signal: worth watching, 1 to 5
PermissionsArea: what it touches
Bug FixesKind: in v2.1.280,
Bug FixesSection of the release

Unclear Whether this reset was truly inert or had some subtle effect before removal is not confirmed by the evidence.

What

  • The session-query context now includes a fresh toolDecisions: new Map() alongside the existing permissionRelays, for tracking per-session tool permission decisions.
  • toolDecisions is now read with .get(toolUseId) instead of bracket indexing, confirming it moved from a plain object to a Map.
  • A line that reset toolDecisions to {} when a hook's "ask" decision was being re-surfaced was removed as dead code now that it's no longer a plain object being reset that way.

Why

This cleans up the internal representation of per-session tool permission decisions and removes now-incorrect reset code left over from the old object-based implementation.

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 doubtWhether this reset was truly inert or had some subtle effect before removal is not confirmed by the evidence.

See this entry in the whole of v2.1.280 →

Feedback