Answer: By default (`"first-wins"`), Claude Code uses the highest-ranked source that delivers at least one policy key and ignores the rest rather than merging them, apart from the keys read from every admin source; with `"merge"`, it applies every admin source that delivers a policy key and combines them by kind of key. The cross-source keys read from every admin source include the sandbox locks, `allowAllClaudeAiMcps`, `allowManagedMcpServersOnly`, `deniedMcpServers`, `disableClaudeAiConnectors`, the sandbox binary paths, `sandbox.ripgrep`, `sandbox.filesystem.disabled`, `sandbox.network.strictAllowlist`, `useAutoModeDuringPlan`, `syncClaudeAiSkills`, `syncClaudeAiPlugins`, `enableArtifact`, `maxEffortLevel`, the commit-trailer opt-out, `forceRemoteSettingsRefresh`, and `env` merged per variable. Status: Confirmed Entry: tool/claude-code/admin-and-enterprise/combine-managed-sources Revision: 2 Digest: sha256:cef926ed87e84e08 (changes whenever the content changes) Timeline: Created: 2026-11-13T03:04:37Z Last changed: 2026-11-16T12:10:01Z (default behavior: "first-wins" → —) Last verified: 2026-11-20T12:21:58Z Next check: 2026-11-21T12:21:58Z Check interval: Daily Expected change: No fixed schedule Data: Field | Value | Source | As of merge behavior | "merge" | [1] | 2026-11-20 merge version requirement | v2.1.242 | [1] | 2026-11-20 cross-source keys | sandbox.network.allowManagedDomainsOnly | [1] | 2026-11-20 env merge | env | [1] | 2026-11-20 env merge version | v2.1.223 | [1] | 2026-11-20 Sources: [1] Anthropic. "Deploy managed settings". https://code.claude.com/docs/en/managed-settings.md Role: primary. Accessed: 2026-11-20T12:21:58Z Quote: "**`"merge"`**: Claude Code applies every admin source that delivers a policy key and combines them by kind of key" (Supports: merge behavior) Quote: "Requires Claude Code v2.1.242 or later." (Supports: merge version requirement) Quote: "`sandbox.network.allowManagedDomainsOnly` and `sandbox.filesystem.allowManagedReadPathsOnly`: a `true` in any admin source turns the lock on." (Supports: cross-source keys) Quote: "`env`, merged per variable across the admin sources: each variable comes from the highest-priority source that defines it" (Supports: env merge) Quote: "Requires Claude Code v2.1.223 or later." (Supports: env merge version) Published: 2026-11-20T02:57:21Z Snapshot SHA-256: 58fb41173f646877559e2c7bbe2aa1e4e2e93cac67482bbd8fa110ecf912343a (captured 2026-11-20T12:21:57Z) Verification: Method: Automated extraction from [1] with deepseek-flash (JSON output, thinking disabled). Every value was checked by code to appear verbatim in a quoted passage of [1]. Cross-check: not-available at 2026-11-20T12:21:58Z. No independent second source is configured for this entry Last successful check: 2026-11-20T12:21:58Z Last attempt: 2026-11-20T12:21:58Z Notes and limitations: Extracted automatically from a single official source (section "How Claude Code combines managed sources"). Related: https://latestn.com/tool/claude-code/admin-and-enterprise/configure-egress-proxy-auth How do I configure a proxy authorization for egress in Claude Code self-hosted environments? https://latestn.com/tool/claude-code/admin-and-enterprise/configure-llm-gateway How do I configure Claude Code to use my organization's LLM gateway? https://latestn.com/tool/claude-code/admin-and-enterprise/configure-otlp-endpoint How do I configure the OTLP endpoint and authentication for Claude Code telemetry? https://latestn.com/tool/claude-code/admin-and-enterprise/choose-gateway How do I choose between Claude apps gateway and another LLM gateway for Claude Code? https://latestn.com/tool/claude-code/admin-and-enterprise/choose-gateway-address How do I choose the address for a Claude apps gateway so Claude Code accepts it? https://latestn.com/tool/claude-code/admin-and-enterprise/code-review-requirements What access or roles do I need to set up Code Review in Claude? https://latestn.com/tool/ All entries in AI tools Change log: Time | Event | Change | Source 2026-11-16T12:10:01Z | changed | default behavior: "first-wins" → — | [1] 2026-11-13T03:04:37Z | added | Entry created | — Changes for this entry as a feed: https://latestn.com/tool/claude-code/admin-and-enterprise/combine-managed-sources/latest Challenge this entry: Open challenges: None How: If a value here is wrong or out of date, send what is wrong and a link to evidence. Challenges are queued and checked against the evidence; they do not change the entry by themselves. If the entry changes as a result, the change log says so. Form: https://latestn.com/dispute/tool/claude-code/admin-and-enterprise/combine-managed-sources POST: https://latestn.com/dispute/tool/claude-code/admin-and-enterprise/combine-managed-sources with claim, evidence_url, and optionally field and contact (form-encoded or JSON) GET: https://latestn.com/dispute/tool/claude-code/admin-and-enterprise/combine-managed-sources?claim={what is wrong}&evidence_url={link} How to cite: LatestN. (2026). How does Claude Code combine multiple managed settings sources, and which keys are read from every admin source? Revision 2, last verified 2026-11-20T12:21:58Z. https://latestn.com/tool/claude-code/admin-and-enterprise/combine-managed-sources (accessed 2026-11-21T09:58:10Z). @misc{LatestN_tool_claude_code_admin_and_enterprise_combine_managed_sources_r2, title = {How does Claude Code combine multiple managed settings sources, and which keys are read from every admin source?}, author = {{LatestN}}, year = {2026}, howpublished = {\url{https://latestn.com/tool/claude-code/admin-and-enterprise/combine-managed-sources}}, note = {Revision 2; digest sha256:cef926ed87e84e08; last verified 2026-11-20T12:21:58Z; accessed 2026-11-21T09:58:10Z} } Reuse: License: CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/) Attribution: Copying and adapting are allowed, including commercially, if you credit LatestN and link to the entry you used. Each entry ends with a ready-made citation. URL: https://latestn.com/tool/claude-code/admin-and-enterprise/combine-managed-sources