Follow Discord
Sweep 03 Dec 2026 · 19:13Z Build v2.1.336 553 read Stable v2.1.332 Latest v2.1.336 Next v2.1.336 Feeds RSS JSON llms.txt llms-full.txt Unofficial

Claude Code v2.1.336 ·

Managed settings detect and can enforce bypass and auto mode locks that lower sources shadow

Claude Code now notices when a lower settings source undercuts an admin's bypass or auto mode lock, warns about it, records it, and can force the lock on

Group of 4 You'll notice Improvements
JSON All of v2.1.336
You'll noticeTier: how much it should matter to you
3Useful: my rating, 1 to 5
3Signal: worth watching, 1 to 5
PermissionsArea: what it touches
ImprovementsKind: in v2.1.336,
ImprovementsSection of the release

Unclear It is not clear whether the internal switch is on by default, so it is unknown whether this enforcement applies yet.

What

Managed settings are settings an administrator puts on a computer. They sit above your own settings files in priority. Bypass permissions mode lets Claude run tools without asking. Auto mode lets Claude approve or reject tool calls automatically. Administrators can turn both off with disableBypassPermissionsMode and disableAutoMode.

When Claude Code merges all settings sources, it now checks whether an administrator tier turns off bypass permissions or auto mode while the merged result does not. This can happen because a lower-priority setting shadows the administrator's lock.

  • Enforcement: when the lock is shadowed and a feature switch is on, Claude Code sets permissions.disableBypassPermissionsMode and permissions.disableAutoMode to "disable". The state of that switch has not been resolved.
  • Recording: the record of which policy sources made up the environment, lastPolicyEnvComposition, now always includes bypassLockShadowed, autoModeLockShadowed and lowerSourceLocksOn. This happens whether or not enforcement is switched on.
  • Notices: new "lower source lock" messages explain that keys such as disableBypassPermissionsMode and disableAutoMode in a lower-priority source either turn those modes off or are not applied.
  • Untrusted folders: a settings file in a folder you have not marked as trusted now also has permissions.defaultMode dropped in some cases. permissions.defaultMode is the setting that picks the starting permission mode. The warning now says "these values in that file are not read". It used to say "so that file can make these settings stricter, not looser".

Why

If your organization locks bypass permissions or auto mode, a setting further down the chain could previously leave that mode available. Administrators can now see when this happens. Where enforcement is switched on, the administrator's lock wins. If you keep permissions.defaultMode in an untrusted folder's settings file, it may now be ignored.

How sure we are
Something disagreesSomething we can check disagrees with this entry, or the writer said they could not settle it.
The writer flagged doubtIt is not clear whether the internal switch is on by default, so it is unknown whether this enforcement applies yet.

See this entry in the whole of v2.1.336 →

Feedback