All areas Feed Weekly digests

policy

The tracked changes tagged policy, newest release first. Every sentence is an item's summary.

29 items from 11 releases, 8 breaking Sources: Claude Code, Gemini CLI Last change:

Goes with

Changes

Gemini CLI Release v0.70.0

  1. other

    Policy argsPattern evaluation now uses re2js for linear-time matching.

  2. fix

    commandPrefix and commandRegex rules now match against the top-level command argument.

Claude Code v2.1.328

  1. feature

    Apps that embed Claude Code can enable the policy plugin's allowManagedModsOnly option; admin managed settings still take precedence.

  2. feature

    The Claude apps gateway shows a startup warning when a policy's maxEffortLevel is not a valid effort level.

Claude Code v2.1.323

  1. breaking Breaking

    Changed organization settings and policy requests to no longer use a proxy set only by ALL_PROXY; users needing a proxy for them must set HTTPS_PROXY.

  2. breaking Breaking

    Changed the managed settings policyHelper to no longer take environment variables from user or --settings files; set them in managed env or the launching shell.

  3. fix

    Fixed WebFetch not rechecking organization policy and CLAUDE_CODE_DISABLE_WEB_FETCH at each call.

  4. fix

    Fixed an interactive --chrome session giving no reason for starting without Claude in Chrome when organization policy turns it off; a line now says so.

Claude Code v2.1.321

  1. breaking Breaking

    Managed extraKnownMarketplaces no longer lets a declared name be added from another source, hides entries from elsewhere, and reinstalls plugins the declared marketplace lists from it.

  2. breaking Breaking

    With policy_mode layered in the Claude apps gateway, managed MCP servers now add up over every matching policy, including match {}, so a gateway already on it serves more after upgrade.

  3. breaking Breaking

    Managed extraKnownMarketplaces take-overs from an undeclared source now set saved data aside for cleanupPeriodDays, and options and secrets until claude plugin restore-set-aside is run.

  4. fix

    On macOS, a slow MDM profile read no longer produces 'Unable to read managed policy settings' at startup; the read is retried once and a timeout is reported as a timeout.

  5. other

    Mods Claude writes no longer turn on without asking in auto and bypass modes, even with managed allowUnsandboxedCommands false or allowManagedDomainsOnly, and no longer load in dontAsk mode.

+1 more
  1. other

    Claude in Chrome tools provided by an app running Claude Code, such as the desktop app's Code tab, now follow your organization's Claude in Chrome policy.

Claude Code v2.1.316

  1. feature

    Added managed.policy_mode set to layered on the Claude apps gateway, so every matching policy applies, each merged over the policies listed below it, not only the first.

Claude Code v2.1.314

  1. fix

    Fixed the cloud sessions tip and Remote Control idle notice appearing when an organization policy turns those features off.

Claude Code v2.1.304

  1. breaking Breaking

    Changed mods' settings.read hooks to receive each settings layer and rewrite the merged settings, so a managed mod can make an organization's setting a ceiling, including cleanupPeriodDays used by the retention sweep.

  2. breaking Breaking

    Changed skills under a policy that allows hooks from plugins only: a skill used in the main conversation whose hooks are kept out no longer gets its allowed-tools.

  3. fix

    Fixed organization policy not refreshing until the hourly check after approving an ANTHROPIC_API_KEY at startup or switching "Use custom API key" in /config.

  4. fix

    Fixed OpenTelemetry settings delivered through server-managed settings being ignored for the whole session after signing in during first-run setup or the first start after /logout.

Claude Code v2.1.300

  1. breaking Breaking

    claude gateway now stops at start, naming the key, on a desktop: policy key that Claude Desktop cannot use from a gateway, where it previously started with a warning.

  2. fix

    Cloud sessions no longer hang 5 minutes per turn when the organization policy cannot be read; the turn now ends promptly and states why.

  3. other

    Claude Desktop's Code tab now applies managed settings when forceLoginGatewayUrl names an Anthropic-operated gateway serving the session's hostname, which must be reachable at start.

Claude Code v2.1.299

  1. fix

    Fixed the Claude apps gateway serving models blocked by a policy's availableModelsMatch exact or deniedModels; it now answers 400 and omits them from model lists.

  2. fix

    Fixed MCP servers added to a running headless or SDK session connecting before some policy checks ran; a blocked server is now reported as failed without contact.

  3. fix

    Fixed claude mcp list, claude mcp get and subagent MCP servers starting a server a policy check blocks; it is now reported as blocked without starting.

Claude Code v2.1.293

  1. fix

    Fixed the Claude apps gateway refusing to start when a desktop policy sets Claude Desktop's built-in browser keys such as builtinBrowserEnabled.

  2. performance

    Improved startup for Team and Enterprise organizations: policy and managed settings are fetched earlier, and a stalled request is retried after 3 seconds.

Claude Code v2.1.286

  1. fix

    Fixed Remote Control sessions, including claude remote-control, staying connected after organization policy turns Remote Control off; they now disconnect with a notice.