{"version":"2.1.334","anchor":"mcp-elicitation-permission-request-carries-protected-file-c","canonical_anchor":"mcp-elicitation-permission-request-carries-protected-file-c","heading":"Permission requests carry more detail about why they were asked","tier":"notice","area":"Permissions","scope":"individual","heads_up":false,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.334\/e\/mcp-elicitation-permission-request-carries-protected-file-c","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.334","markdown":"### Permission requests carry more detail about why they were asked\n\nPermission requests now carry protected-file, command-reason, ask-rule-source and repo-server details, and repo-server prompts stay in front of you\n\n**What**\n\nA 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:\n\n- `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`.\n\n- `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.\n\n- `askedOfRepoServer` \/ `asked_of_repo_server` marks a prompt that was asked on behalf of a server provided by the repository.\n\nWhen `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.\n\nOne 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.\n\n**Why**\n\nPrompts 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.\n\n- Area: Permissions\n- Tier: You'll notice\n- Useful: 3\/5\n- Signal: 2\/5\n- Scope: individual\n- Heads-up: no"}