Follow Discord
Sweep 20 Nov 2026 · 19:55Z Build v2.1.330 547 read Stable v2.1.323 Latest v2.1.330 Next v2.1.330 Feeds RSS JSON llms.txt llms-full.txt Unofficial

Claude Code v2.1.330 ·

Host apps can opt in to resetting the permission-denial streak

New host-only variable CLAUDE_CODE_HOST_ALLOW_RESETS_DENIAL_STREAK adds a denial_limit_host_reset reason to permission requests sent to host apps

Group of 2 Use it now Notable No documentation found New Features
JSON All of v2.1.330
Use it nowTier: how much it should matter to you
4Useful: my rating, 1 to 5
3Signal: worth watching, 1 to 5
SDKArea: what it touches
New FeaturesKind: in v2.1.330,
What probably matters to youSection of the release

Unclear How setting the variable actually changes the denial streak is not confirmed.

What

An environment variable is a named setting handed to a program when it starts. This release adds CLAUDE_CODE_HOST_ALLOW_RESETS_DENIAL_STREAK, which is listed among the variables a host app may set. A host app is a program that embeds Claude Code, such as Desktop or an SDK integration. The variable does nothing unless it is set to exactly true.

  • denial_limit_host_reset is a new value for decision_reason_code in can_use_tool permission requests, which are the messages asking the host whether a tool may run. It is sent only when the variable is set.
  • It covers the prompt raised after three or more blocked actions in a row, but not the one raised after twenty blocked actions in total.
  • When set, Claude Code also records the request's id for the session and later removes it again, which suggests that a host approval resets the denial streak. Only this guard was read, not the full streak logic.
  • Separately, a new variable CLAUDE_CODE_STOP_ON_UNUSABLE_PROFILE is registered alongside CLAUDE_CODE_AUTOMOUNT_ROOTS and CLAUDE_CODE_CUSTOM_OAUTH_URL. What it does when set was not traced.

Why

An SDK host that sets the variable can tell a denial-streak prompt apart from other permission requests. If its approval resets the streak, as the name suggests, repeated blocks stop building up. People using the plain terminal are unaffected.

Read from
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 doubtHow setting the variable actually changes the denial streak is not confirmed.

See this entry in the whole of v2.1.330 →

Feedback