Example settings files changedsettings-example
Nearest release: v2.1.335, published 8 hours before upstream edited the page. Shown because the two are within 24 hours of each other. Nothing here says the release caused the edit.
Upstream edited this page at 3 Dec 2026 05:54 UTC, give or take a minute or two: the time comes from Anthropic’s own sitemap rather than from a commit. This site recorded the change at 3 Dec 2026 06:07 UTC.
Upstream edited
Recorded here
Lines+3added
Lines−3removed
From line
94
where the diff opens
First seen
21 Aug 2026
this site's first read of the page
Recorded edits21to this page, all time
The whole hunk
from line 94, old and new numbered
/
from line 94
9494* **Telemetry goes in managed or personal settings.** Claude Code ignores the [OpenTelemetry exporter variables](https://code.claude.com/docs/en/settings-reference.md#variables-claude-code-ignores-in-env) in a repository's settings files, apart from some values that turn telemetry off. Set them in [managed settings](https://code.claude.com/docs/en/monitoring-usage.md#administrator-configuration) for your organization, or in each person's `~/.claude/settings.json`.
9595* **Allow rules wait for trust.** Allow rules and `extraKnownMarketplaces` entries take effect after each person [trusts this folder itself](https://code.claude.com/docs/en/permissions.md#project-allow-rules-and-workspace-trust), not only a parent folder; deny and ask rules apply in every session, trusted or not.
9696* **The hook is a script in the repo.** This file's hook runs `.claude/hooks/block-rm.sh`; [How a hook resolves](https://code.claude.com/docs/en/hooks.md#how-a-hook-resolves) walks through writing it.
97* **Rules match the command and path as written.** `Bash(git push *)` doesn't match [`git -C . push`](https://code.claude.com/docs/en/permissions#bash-rule-limits). `Read(./.env)` on its own stops the file tools and commands that name the file, such as `cat .env`, but not [`grep -r` run over the directory](https://code.claude.com/docs/en/permissions#read-and-edit); the `sandbox` block in this file closes that gap, because the sandbox [adds your `Read` deny paths](https://code.claude.com/docs/en/settings-reference#sandbox-filesystem-denyread) to what every sandboxed command can't read.
97* **Rules match the command and path as written.** `Bash(git push *)` doesn't match [`git -C . push`](https://code.claude.com/docs/en/permissions#bash-rule-limits). Outside the sandbox, some Bash commands [can still read a file that a `Read` deny rule covers](https://code.claude.com/docs/en/permissions#what-read-and-edit-rules-cover), such as `grep -r` run from the directory that holds the file.
9898
9999> [tab] Copyable settings file
100100>
from line 172
172172> "ask": [
173173> "Bash(git push *)"
174174> ],
175> // Deny reads of env files and the secrets folder by the file tools and file-reading commands
175> // Deny reads of env files and the secrets folder by the file tools and file commands Claude Code recognizes, such as cat
176176> "deny": [
177177> "Read(./.env)",
178178> "Read(./.env.*)",
from line 317
317317> ],
318318> "enforceAvailableModels": true,
319319> "permissions": {
320> // Deny curl commands and reads of the project's .env file and secrets folder on every machine
320> // On every machine, deny curl commands, and deny reads of the project's .env file and secrets folder by the file tools and file commands Claude Code recognizes
321321> "deny": [
322322> "Bash(curl *)",
323323> "Read(./.env)",
No line in this hunk matches that.