A repository can carry its own .claude settings that change how Claude Code behaves inside it. Claude Code scans these for entries that loosen its limits and flags them. It now skips any entry that matches one already accepted, by the same source file, the same text and the same kind. Before, every entry was flagged on every scan.
This covers:
- Overrides of environment values, the sandbox and permissions.
permissions.allow, the list of tool uses approved without a prompt.sandbox.filesystempaths, which control what sandboxed commands can read and write.additionalDirectories, extra folders Claude Code may work in.
When an entry is refused, the record now also notes what kind of entry it was checked as, in a probedAs field.
This changes when a repository's settings cause Claude Code to refuse to trust it, which matters most for setups that run Claude Code unattended. Settings you have already accepted stop being raised again.