Follow Discord
Sweep 20 Nov 2026 · 19:55Z Build v2.1.330 547 read Stable v2.1.323 Latest v2.1.330 Next v2.1.330 Feeds RSS JSON llms.txt llms-full.txt Unofficial
One change · claude-docs

Code in Claude Desktop on 3P changedthird-party/claude-desktop/code

Nearest release: v2.1.329, published 2 hours after 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 19 Nov 2026 16:34 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 19 Nov 2026 16:37 UTC.

Upstream edited
Recorded here
Lines+33added
Lines−0removed
From line 118 where the diff opens
First seen 14 Aug 2026 this site's first read of the page
Recorded edits50to this page, all time

### Policy status on the device

The whole hunk

from line 118, old and new numbered
/
lines
from line 118
118118>
119119> Without a Claude Code `managed-settings.json` file, OS profile, or server-managed settings, Claude Desktop's policy applies automatically and you don't need to set `parentSettingsBehavior`.
120120 
121### Policy status on the device
122 
123Claude Desktop checks whether Claude Code managed settings replace your policy on the device. Each time it starts Claude Code on the device for a Code, Cowork, or Chat session, it asks Claude Code whether it applies the [managed policy](#applied-as-managed-policy) values that Claude Desktop sent. A session over SSH has [its own check](https://claude.com/docs/third-party/claude-desktop/ssh-remote-sessions.md#policy-status-on-the-remote-host), and a WSL session has none. Requires Claude Desktop 5.1231.0 or later.
124 
125If Claude Code answers no, the session continues. Cowork and Chat sessions show no message. A Code session shows a message that begins with these words:
126 
127```text theme={null}
128Your organization's policy isn't fully applied on this computer
129```
130 
131Claude Desktop also reports that answer outside the session:
132 
133* **On the device**: Claude Desktop writes a warning that names the affected session types and the fix to `main.log` in the [logs directory](https://claude.com/docs/third-party/claude-desktop/data-storage.md#where-data-lives) and to the [diagnostic report](https://claude.com/docs/third-party/claude-desktop/installation.md#troubleshooting).
134* **On your collector**: if you set [`otlpEndpoint`](https://claude.com/docs/third-party/claude-desktop/configuration#otlpendpoint), you receive a `desktop_local_policy_check_failed` event under the `service.name` value `claude-desktop`, unless you set [`otlpDesktopLogLevel`](https://claude.com/docs/third-party/claude-desktop/configuration#otlpdesktoploglevel) to `off`.
135 
136To have your Claude Desktop policy apply on the device, change what supplies its Claude Code managed settings:
137 
138* **A `managed-settings.json` file, a configuration profile, a registry policy, or server-managed settings**: set `parentSettingsBehavior` to `"merge"` in each one that holds your Claude Code policy. Claude Code reads the key only from [the highest-priority one](https://code.claude.com/docs/en/managed-settings#how-claude-code-combines-managed-sources) that the session uses. See [Interaction with Claude Code's own managed settings](#interaction-with-claude-code%E2%80%99s-own-managed-settings).
139* **A [`policyHelper`](https://code.claude.com/docs/en/settings-reference#policyhelper)**: put the limits from your Claude Desktop policy in what the helper returns. Claude Code never merges Claude Desktop's values with a helper's output. It still answers no, and the message, the warning, and the event keep appearing.
140 
141To check the fix, have the user start a new session of each type that the warning names, and then generate a [diagnostic report](https://claude.com/docs/third-party/claude-desktop/installation.md#troubleshooting). Once Claude Code answers yes, `managed-config.txt` in the report no longer lists the warning. `main.log` and your collector don't show the recovery.
142 
143The event carries these attributes:
144 
145* **`tab`**: `code` for a Code session, or `cowork` for a Cowork or Chat session
146* **`session_id`**: Claude Desktop's ID for the session that got the answer
147 
148Claude Desktop sends the event when Claude Code first answers no, once for Code sessions and once for Cowork and Chat sessions. It sends the event again if Claude Code answers no after a restart of Claude Desktop, or after it answered yes.
149 
150The event doesn't name the device. To find the device, identify the user from the event's [user attribution](https://claude.com/docs/third-party/claude-desktop/telemetry.md#user-attribution) attributes, and ask that user.
151 
152Claude Code answers yes when it applies at least one of the sent values, not necessarily all of them. Even with no message and no event, Claude Code can still leave out part of your policy.
153 
121154### Start Code sessions through a corporate launcher
122155 
123156If your organization starts Claude Code through a [corporate launcher](https://code.claude.com/docs/en/corporate-launcher), Code sessions in Claude Desktop can go through it too. This takes two settings:
Feedback