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.
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.