⌨️Protected Paths
Also known as Protected directories, Claude Code protected paths
Folders like .git and .claude that get an extra check.
Think of it like
It is like the room in a house where the fuse box is. Nobody goes in without asking.
Example
During a big refactor in accept edits mode, Claude wants to change a git hook in .husky. Claude Code stops and asks Emma, even though edits are on.
Why it matters
Definition
Common mistake
Key takeaways
- 1A short list. .git, .claude and more.
- 2Extra check. In every mode.
- 3Allow rules skip nothing. The check runs first.