Follow Discord
Sweep 03 Dec 2026 · 19:13Z Build v2.1.336 553 read Stable v2.1.332 Latest v2.1.336 Next v2.1.336 Feeds RSS JSON llms.txt llms-full.txt Unofficial

Claude Code v2.1.334 ·

Permission requests carry more detail about why they were asked

Permission requests now carry protected-file, command-reason, ask-rule-source and repo-server details, and repo-server prompts stay in front of you

Group of 5 You'll notice Improvements
JSON All of v2.1.334
You'll noticeTier: how much it should matter to you
3Useful: my rating, 1 to 5
2Signal: worth watching, 1 to 5
PermissionsArea: what it touches
ImprovementsKind: in v2.1.334,
ImprovementsSection of the release

What

A permission request is the prompt Claude Code shows before it does something that needs your approval, such as editing a file or running a command. These requests now carry more detail about why they were raised:

  • protectedFile / protected_file is set when Claude asks to write to a protected file. Its value is claude_config for Claude Code's own configuration files and sensitive for other sensitive files. These denial messages are now built by a shared helper, so their wording may differ from the old inline messages, such as "Claude requested permissions to edit ... which is a sensitive file." Several path checks behind them now use shared helpers such as walked(...).holds.
  • commandReason / command_reason and askRuleSource / ask_rule_source are passed on by the permission request handler along with protectedFile. MCP servers are add-ons that give Claude Code extra tools.
  • askedOfRepoServer / asked_of_repo_server marks a prompt that was asked on behalf of a server provided by the repository.

When asked_of_repo_server is true, the prompt can no longer stay behind new input you type; it is kept in front of you. The condition for offering an always-allow rule in this path also changed. It used to require that the MCP server came from an account plugin, and it now requires different, stricter MCP server details.

One path blanks protected_file, command_reason and ask_rule_source on can_use_tool control requests, the permission requests sent to an app that hosts Claude Code.

Why

Prompts can say why they appeared, such as a protected file or a matching ask rule. Prompts asked on behalf of a repository's server cannot slip behind new input. Some clients receive can_use_tool requests without these extra fields.

See this entry in the whole of v2.1.334 →

Feedback