[KongchangAI]
ConceptdenyInsteadOfPrompting

permissions.denyInsteadOfPrompting

A Claude Code permission configuration option that, when enabled, directly denies tool calls that would otherwise trigger a permission prompt rather than waiting for human confirmation. It covers terminal sessions, subagents and teammates, and is suited to unattended automation scenarios.

Timeline (last 90 days)

Nov 7

Before enabling denyInsteadOfPrompting, one should review commonly used tool calls, permit safe operations through permission rules such as allowlists, and monitor model behavior to avoid repeated task failures.

Unverified50%
Nov 7

Claude Code version 2.1.319 introduces the permissions.denyInsteadOfPrompting configuration.

Unverified50%
Nov 7

After enabling denyInsteadOfPrompting, any call that would trigger a permission prompt is denied outright, while the conversation turn continues.

Unverified50%
Nov 7

The deny rules of denyInsteadOfPrompting also apply to subagents (subagents included).

Unverified50%
Nov 7

The configuration inheritance of denyInsteadOfPrompting extends to the entire agent tree: once enabled in the main session, subagents at any level deny operations requiring authorization outright instead of bubbling them up as prompts.

Unverified50%
Nov 7

denyInsteadOfPrompting suits highly automated environments such as continuous integration pipelines or unattended scripts.

Unverified50%
Nov 7

The cost of enabling denyInsteadOfPrompting is reduced flexibility: the model may abandon viable paths due to misjudgment, requiring more finely grained tool allowlists to work in tandem.

Unverified50%
Nov 7

denyInsteadOfPrompting and tool allowlists are complementary: the allowlist precisely permits safe, high-frequency operations, while denyInsteadOfPrompting acts as a fallback that uniformly denies the remaining calls that trigger permission checks.

Unverified50%
Nov 7

Without a tool allowlist, the model may fail frequently because many legitimate calls are denied.

Unverified50%
Nov 6

Claude Code v2.1.319 adds the permissions.denyInsteadOfPrompting setting; when enabled, tool calls that would otherwise stop at a permission prompt are directly denied, covering terminal sessions, subagents, and teammates.

Unverified50%

All Facts (10)

Unverified

Before enabling denyInsteadOfPrompting, one should review commonly used tool calls, permit safe operations through permission rules such as allowlists, and monitor model behavior to avoid repeated task failures.

50%
Unverified

denyInsteadOfPrompting and tool allowlists are complementary: the allowlist precisely permits safe, high-frequency operations, while denyInsteadOfPrompting acts as a fallback that uniformly denies the remaining calls that trigger permission checks.

50%
Unverified

Without a tool allowlist, the model may fail frequently because many legitimate calls are denied.

50%
Unverified

After enabling denyInsteadOfPrompting, any call that would trigger a permission prompt is denied outright, while the conversation turn continues.

50%
Unverified

The deny rules of denyInsteadOfPrompting also apply to subagents (subagents included).

50%
Unverified

The configuration inheritance of denyInsteadOfPrompting extends to the entire agent tree: once enabled in the main session, subagents at any level deny operations requiring authorization outright instead of bubbling them up as prompts.

50%
Unverified

denyInsteadOfPrompting suits highly automated environments such as continuous integration pipelines or unattended scripts.

50%
Unverified

The cost of enabling denyInsteadOfPrompting is reduced flexibility: the model may abandon viable paths due to misjudgment, requiring more finely grained tool allowlists to work in tandem.

50%
Unverified

Claude Code version 2.1.319 introduces the permissions.denyInsteadOfPrompting configuration.

50%
Unverified

Claude Code v2.1.319 adds the permissions.denyInsteadOfPrompting setting; when enabled, tool calls that would otherwise stop at a permission prompt are directly denied, covering terminal sessions, subagents, and teammates.

50%

Source Articles