Claude Code: Enterprise Deployment
# Rolling Claude Code out to an organization comes down to three decisions: which cloud provider serves the models, which managed settings every user gets, and…
Rolling Claude Code out to an organization comes down to three decisions: which cloud provider serves the models, which managed settings every user gets, and…
Rolling Claude Code out to an organization comes down to three decisions: which cloud provider serves the models, which managed settings every user gets, and how the rollout is staged and audited.
Covered here: a comparison of the cloud providers, managed settings deployment, the processWrapper corporate launcher, an enterprise CLAUDE.md, rollout strategy, audit and compliance, and the Analytics API for admins.
Cloud Provider Comparison
| Feature | Anthropic direct | Amazon Bedrock | Google Cloud’s Agent Platform (formerly Vertex AI) | Microsoft Foundry |
|---|---|---|---|---|
| Auth | Claude plan sign-in or API key | IAM/API key | GCP credentials | Entra ID/API key |
| Cost tracking | Console (API); claude.ai analytics (Team, Enterprise) | AWS Cost Explorer | GCP Billing | Azure Cost Mgmt |
| Audit logging | Compliance API (Enterprise plan); OpenTelemetry events | CloudTrail | Cloud Audit Logs | Azure Monitor |
| SSO | Yes on Claude for Teams and Enterprise; none for a bare API key | IAM Identity Center | IAM | Entra ID |
Claude Platform on AWS is a fifth route: the Anthropic-operated Claude API with AWS authentication, IAM access control, and AWS Marketplace billing, on the same Opus 5.5 default as the Anthropic API.364
Claude Models on Google Cloud (Anthropic managed) is a sixth: the Claude API, run by Anthropic and reached through your Google Cloud project, with Google Cloud IAM for access and Google Cloud Marketplace for billing. Anthropic launched it on October 22, 2026, and no Claude Code release note carried it. It is separate from Agent Platform, which Google manages. Claude Code needs v2.1.307 or later, Application Default Credentials (gcloud auth application-default login, or a service account key file), the roles/claude.user IAM role on the project, and three variables in the env block of ~/.claude/settings.json: CLAUDE_CODE_USE_ANTHROPIC_GOOGLE_CLOUD=1, ANTHROPIC_GOOGLE_CLOUD_PROJECT, and ANTHROPIC_GOOGLE_CLOUD_WORKSPACE_ID (a wrkspc_ value). /status then shows an API provider line containing on Google Cloud. The docs’ alias table gives it Opus 5.5, Sonnet 5.5, and Haiku 4.5, and an Opus 5.5 default.528535
Sessions on AWS Bedrock, Google Cloud’s Agent Platform (formerly Vertex AI), and Claude Platform on AWS default to Claude Opus 5.5 (v2.1.280+).204218 On Microsoft Foundry the default is Sonnet 5.5 from v2.1.332 and Sonnet 4.5 before it (see Available Models).527528561 Since v2.1.207, auto mode needs no CLAUDE_CODE_ENABLE_AUTO_MODE opt-in on Bedrock, Agent Platform, or Microsoft Foundry; admins turn it off with the disableAutoMode managed setting.182
Managed Settings Deployment
Deploy organization-wide policies via managed-settings.json:
Location:
- macOS:
/Library/Application Support/ClaudeCode/managed-settings.json - Linux and WSL:
/etc/claude-code/managed-settings.json - Windows:
C:\Program Files\ClaudeCode\managed-settings.json
Example policy:
{
"permissions": {
"allow": [
"Read",
"Glob",
"Grep",
"Bash(npm run:*)",
"Bash(git:*)"
],
"deny": [
"Bash(rm -rf:*)",
"Bash(curl:*)",
"Read(.env*)",
"WebFetch"
],
"defaultMode": "default",
"disableBypassPermissionsMode": "disable"
},
"model": "claude-opus-5-5",
"allowManagedPermissionRulesOnly": true,
"allowManagedHooksOnly": true
}
disableBypassPermissionsMode nests under permissions; that is the only place Claude Code documents it, so a copy at the top level of the file does not turn bypass mode off. The Bash(...) deny rules stop the usual spelling of a command, not the program (/usr/bin/curl or sh -c 'curl ...' gets past Bash(curl:*)), so pair them with the sandbox network allowlist where the restriction has to hold, with sandbox.network.strictAllowlist (or managed allowManagedDomainsOnly) on: without one of them, a sandboxed command that reaches a host outside the list gets a prompt in Manual mode and is allowed in bypassPermissions mode.365366391
Settings administrators deploy (managed-only unless marked):
| Key | Effect |
|---|---|
allowManagedPermissionRulesOnly |
Prevent user/project settings from defining permission rules; only managed rules apply |
allowManagedHooksOnly |
Only managed hooks run, plus Agent SDK hooks and hooks from plugins your managed settings force-enable365 |
allowAllClaudeAiMcps |
Enterprise setting to load claude.ai cloud MCP connectors alongside managed-mcp.json (v2.1.149+) |
allowClaudeInChromeWithManagedMcp |
Let claude --chrome run alongside an exclusive managed-mcp.json (v2.1.282+) |
deniedModels / availableModelsMatch |
Block specific models even when availableModels allows them; "exact" limits each availableModels entry to the version it names (v2.1.283+) |
allowedProviders |
Limit which API providers a machine may use: Anthropic API, a custom endpoint, Bedrock, Mantle, Agent Platform, Foundry, Claude Platform on AWS, or a Cloud gateway (v2.1.285+)447 |
strictKnownMarketplaces |
Allowlist of plugin marketplaces (empty array = lockdown). As of v2.1.223, entries accept an "owner/*" wildcard to allow every marketplace repo under a GitHub org: one line instead of enumerating repos, and new repos under the org are covered automatically. blockedMarketplaces takes the same wildcard form. v2.1.232 adds friendlier aliases: allowedMarketplaces for this key, additionalMarketplaces for extraKnownMarketplaces; GitLab repo URLs (nested subgroups included) are accepted marketplace sources.197252 As of v2.1.321, a marketplace name declared in managed extraKnownMarketplaces cannot be added from another source: an entry from elsewhere is hidden, and the plugins the declared marketplace lists are reinstalled from it.283 |
allowedMcpServers |
Allowlist of MCP servers users can configure (empty array = lockdown). It does not check the servers in managed-mcp.json or managedMcpServers (v2.1.259+), except a managed-mcp.json server that uses ${VAR} expansion outside env; to keep a managed server off, add a deniedMcpServers entry for it208425 As of v2.1.305 it also stops filtering managed-mcp.json stdio servers that use ${VAR} only in env, so one your allowlist left out loads on upgrade; use deniedMcpServers to keep it off275 Works in any settings file; enforce it from managed settings365 |
deniedMcpServers |
Denylist of MCP servers (takes precedence over allowlist). As of v2.1.318, URL entries also block Anthropic-provided servers whose upstream URL matches, and connectors in cloud sessions and on self-hosted runners283 Since v2.1.330 a name entry hides only the named claude.ai connector, not others at its URL (deny the exact URL to block them all), and since v2.1.328 an entry of the form claude.ai <name> applies to that connector in cloud and self-hosted runner sessions too527 Works in any settings file; enforce it from managed settings365 |
managedMcpServers |
Provide HTTP/SSE MCP servers to every user, entries in the same shape as .mcp.json; entries naming a command to run are skipped (v2.1.259+)208 |
permissions.disableBypassPermissionsMode |
Set to "disable" to reject --dangerously-skip-permissions and ignore permissionMode: bypassPermissions in agent definitions; nests under permissions. Works in any settings file; enforce it from managed settings365 |
disableAutoMode |
Disable Auto Mode org-wide: the admin-side control now that gateway users no longer opt in via env var (v2.1.207+)182 Also accepted as permissions.disableAutoMode. Works in any settings file; enforce it from managed settings365 |
forceLoginMethod |
Restrict how users authenticate (works in any settings file; enforce it from managed settings365). Enforced in the terminal, the VS Code extension, the SDK, claude setup-token, and /install-github-app (v2.1.212+)186. As of v2.1.261, "gateway" also evicts leftover credentials: a machine pinned to a Claude apps gateway ignores a lingering API key or claude.ai login and asks for /login instead; Bedrock, Agent Platform, and Foundry sessions are unaffected211. As of v2.1.265, a machine with forceLoginGatewayUrl in managed settings is a Claude apps gateway session from startup the same way – a leftover claude.ai login or API key is not used212 |
gatewayInternalNetworks |
Allow /login to a Claude apps gateway on the organization’s own public IPv4 block (v2.1.268+)213 |
attributionProjectPolicy |
Managed only: {"default": "<Project UUID or ID>"} sets the organization’s default claude.ai Project for usage reports. CLAUDE_CODE_ATTRIBUTION_PROJECT in the launch environment and then a valid attributionProject in a settings file take precedence over it (v2.1.305 or later)561 |
modelPricing |
Contracted per-model rates and a discount multiplier (v2.1.334 adds the rate keys cacheWrite5m, cacheWrite1h and, for Haiku 5.5, longPrompt; the earlier keys still work560); /usage, the status line, and telemetry cost figures use them instead of list price (v2.1.242 or later per the settings reference; listed under 2.1.243 in the release notes)247383; as of v2.1.271 the multiplier may run above 1, up to 10, for marked-up internal chargeback rates – the Claude apps gateway pricing block accepts the same213 |
disableSkillShellExecution |
Prevent inline shell execution in skills, custom commands, and plugin commands134 Works in any settings file; a true in managed settings cannot be overridden elsewhere365 |
forceRemoteSettingsRefresh |
Block startup until remote managed settings are freshly fetched; exit if fetch fails (fail-closed)135 |
parentSettingsBehavior |
Admin-tier key ("first-wins" or "merge") that opts SDK managedSettings (parent tier) into the policy merge rather than letting them lose to the first-wins default (v2.1.133+)157 |
Users cannot override managed settings. Managed settings have highest precedence in the configuration hierarchy.
Admin-console controls reach the CLI too: as of v2.1.260, Claude Code follows the organization’s Claude in Chrome admin setting – when an admin turns it off, --chrome, /chrome, and the browser tools are unavailable in members’ sessions (see Claude in Chrome).209
Claude apps gateway hardening (v2.1.268): the gatewayInternalNetworks managed setting lets administrators allow /login to a gateway on the organization’s own public IPv4 block; a gateway whose access_control.allow_cidrs is empty now warns at startup, and warns once the first time a request arrives from a public address; and with pricing: set in gateway.yaml, signed-in Claude Code clients receive the same rates through managed settings, so /usage and telemetry match the gateway’s spend meter.213
Claude apps gateway behind a forward proxy (v2.1.277): two additions for gateways in locked-down networks. CLAUDE_GATEWAY_PROXY_IS_EGRESS_BOUNDARY=1 is for gateways whose only egress is a forward proxy: every outbound request hands the proxy the hostname instead of resolving it locally, so a gateway host with no direct route out – and no working DNS for external names – still reaches its providers through the proxy. And gateway upstreams accept an optional headers: map, sending static headers to a proxy you run in front of a provider – the hook for proxies that authenticate or route on their own header. The same release also improves the gateway’s loopback error messages to name CLAUDE_GATEWAY_ALLOW_LOOPBACK, and fixes the gateway’s telemetry relay ignoring a collector hostname or domain listed in NO_PROXY when a proxy is set.216
Claude apps gateway additions (v2.1.281): Bedrock upstreams accept assume_role, so the gateway calls Bedrock as an IAM role it assumes through STS, in another AWS account if needed and optionally with one session per developer, and guardrail: {id, version}, which applies an Amazon Bedrock guardrail to every request sent through them (set it on all Bedrock upstreams or none). telemetry.resource_attributes puts fixed labels on the telemetry of Claude Desktop and /login sessions, and desktop policy blocks accept newer Claude Desktop keys, including blockReadsOutsideWorkingDirectories and disableBypassPermissionsMode. The gateway now refuses to start when a managedMcpServers entry’s envHelper path starts with \??\ or /??/, a path form current Claude Desktop refuses to run.221
Claude apps gateway additions (v2.1.312 to v2.1.317): oidc.user_id_claim identifies people by an id_token claim other than sub, such as Microsoft Entra ID’s oid (v2.1.312). An upstream’s optional groups list sends only developers in those IdP groups to it, on failover too, and guardrail_trace: true beside a Bedrock upstream’s guardrail logs which Amazon Bedrock guardrail filter fired on a request, without the matched text (v2.1.314).281
In v2.1.316 and v2.1.317, pooled_budget on the spend limits admin API gives a group one monthly budget its members share on top of each member’s own limit; managed.policy_mode: layered applies every policy that matches a developer, each merged over the ones listed below it, where a user otherwise got only the first match, and a gateway older than v2.1.316 refuses to start when it finds the key; and guardrail.input_tagging wraps prompts in the input tags a Bedrock guardrail’s prompt attacks filter needs, with all_messages_and_system tagging the system prompt too (v2.1.316). GET /v1/organizations/analytics/cost on the admin API reports past spend over a date range in total, per developer, per day, or per IdP group, from a daily record of each developer’s groups kept for admin.identity_retention_days (default 90) on gateways with admin: set (v2.1.317). The gateway also checks every model a request names against availableModels, deniedModels, and models, answering 400 with the field (v2.1.316), and passes through Bedrock’s “Input is too long.” error, so a session compacts instead of failing (v2.1.317). Reference: Claude apps gateway configuration.281282
Claude apps gateway additions (v2.1.318 to v2.1.321): assume_role works on mantle upstreams, for a role in another AWS account and for per-developer AWS cost attribution (v2.1.318). admin.pooled_conflict_rule (default_order, the default, or priority_list) sets the order in which the gateway tries the pooled group budgets of a developer in several groups, and admin.pooled_priority_order names up to 50 groups whose budgets are tried first; a gateway server earlier than v2.1.319 refuses to start when it finds either key, so upgrade every replica before adding them. The top-level login_notice key shows an operator-defined message of up to 500 characters on the gateway’s browser verification page and on Claude Code’s sign-in screen; CLAUDE_GATEWAY_LOG_FORMAT=json turns operational log lines into JSON with severity, time, and message; and /usage shows spend for today, this week, and this month to developers who have no spend limit (all v2.1.319).283
Under policy_mode: layered, managed MCP servers now add up over every matching policy, match: {} included, so a gateway already on it serves more after the upgrade. Bedrock, Vertex, and Foundry upstreams also ignore the ANTHROPIC_*_BASE_URL variables in the gateway’s environment, so set base_url on the upstream to use another endpoint (v2.1.321).283
Claude apps gateway additions (v2.1.323 to v2.1.332): oidc.groups_jsonpath reads groups from the matching entries of a list of objects, using a small subset of JSONPath (RFC 9535), and CLAUDE_GATEWAY_IDP_CONNECT_BY_HOSTNAME=1 makes sign-in requests hand the proxy an https IdP’s hostname under oidc.use_proxy: true, even with NO_PROXY set (v2.1.331). The attributionProject setting names a session’s billing group on gateways that set admin.billing_group_tag, and the gateway hint headers add x-claude-code-managed-settings-checksum (v2.1.327). The start-up warning shown while access_control.allow_cidrs is empty is now a notice at every start, boxed in text logs, that says never to expose the gateway to the public internet (v2.1.329). A policy whose maxEffortLevel is not a valid effort level produces a startup warning (v2.1.328). claude gateway --config <file> --check config checks a config file without starting the gateway, and a start reports a bad managed policy before it connects to Postgres (v2.1.334).560 In the gateway’s built-in model list, Sonnet 5.5 replaces Sonnet 4.5 as the second model, and Claude Desktop starts on it where a policy allows no Opus 4.6 (v2.1.332). CLAUDE_CODE_AUTO_MODE_MODEL is read from managed settings for Claude Desktop sessions on third-party providers (v2.1.323).527
Managed settings in v2.1.323 through v2.1.331. Managed settings that turn the sandbox on do not run sandboxed commands without prompts: for that, set sandbox.autoAllowBashIfSandboxed: true in your highest-ranking managed source (v2.1.325). Organization settings and policy requests no longer use a proxy set only by ALL_PROXY, so set HTTPS_PROXY if your network needs one for them, and a managed policyHelper no longer takes environment variables from user or --settings files (v2.1.323). A managed autoMode.environment list without "$defaults" replaces every built-in entry in Claude Desktop and Agent SDK apps too (v2.1.326). A managed-mcp.json added during a session may apply at the next check, and open sessions need a restart for it to apply in full (v2.1.326). On Windows, an HKLM policy outranks managed-settings.json and a broken registry value can stop the start, so check registry settings before upgrading (v2.1.331). Organizations managed in Anthropic’s Enterprise Admin Console can be signed in to from the CLI: after claude auth login, Claude Code applies the organization’s settings and uses its cloud provider or gateway (v2.1.330).527
Platform-native deployment (v2.1.51+): In addition to JSON files, managed settings can be deployed through a macOS configuration profile or the Windows Registry, which fits existing MDM (Mobile Device Management) and Group Policy infrastructure:105365
- macOS: deploy a configuration profile through your MDM (Jamf, Intune, or similar) to the
com.anthropic.claudecodemanaged preferences domain, using the same top-level keys asmanaged-settings.json, with nested settings as dictionaries and lists as plist arrays - Windows: deploy the JSON as a
REG_SZorREG_EXPAND_SZvalue namedSettingsunderHKLM\SOFTWARE\Policies\ClaudeCodethrough Group Policy or Intune
Which managed source wins: by default, the sources are not merged (see managedSourcesBehavior below for the opt-in merge). When more than one managed source is present, Claude Code uses the first source, in this order, that delivers at least one policy key and ignores the rest (a handful of cross-source keys such as the sandbox locks, forceRemoteSettingsRefresh, and the per-variable env merge are still read from every admin source):245
- Remote settings from claude.ai (server-managed settings) or a Claude apps gateway, fetched when the session has an eligible credential, signs in to a gateway with
/login, or runs in Claude Desktop’s Code tab behind a gateway that serves that session settings523 - MDM or OS-level policies: the macOS plist or the
HKLMregistry key - Managed settings files:
managed-settings.d/*.jsonandmanaged-settings.json, merged together - The
HKCUregistry on Windows (and on WSL oncewslInheritsWindowsSettingsis on), read only when no admin source above it is present (one that sets a policy key, or anHKLMvalue, managed settings file, ormanaged-settings.ddirectory that exists but cannot be read) and no host-supplied parent settings supply a restrictive key523
A file or policy that contains only the control key wslInheritsWindowsSettings does not count, and Claude Code moves on to the next source. It shows no warning for the sources it skips; as of v2.1.243, /status prints a Skipped sources line naming the managed sources present but not applied because a higher-precedence source is active (for example a managed-settings.json sitting under an MDM plist).247
v2.1.273 closes an enforcement gap in this machinery: allowManagedMcpServersOnly, deniedMcpServers, and disableClaudeAiConnectors set via MDM or managed-settings.json were ignored when server-managed settings were also present – the MCP and connector locks now hold with both sources active.214
Opting into a merge: managedSourcesBehavior: "merge". First-wins is only the default. Setting the managedSourcesBehavior control key to "merge" in the highest-ranked source you deploy composes every admin source instead, by kind of key. Lists such as permissions.allow, hooks, and sandbox.network.allowedDomains combine their entries across sources. Locks such as allowManagedHooksOnly and permissions.disableBypassPermissionsMode take the strictest value any source sets. Restriction allowlists (availableModels, allowedMcpServers, strictKnownMarketplaces, allowedChannelPlugins, and the fallbackModel chain) are taken whole from the highest-ranked source that sets them, with no entries added from lower sources, and so are sandbox.credentials.awsPairs and sandbox.ripgrep (v2.1.257+). A plain key such as model or cleanupPeriodDays takes its value from the highest-ranked source that sets it. The HKCU registry never merges with another source, and managedSourcesBehavior itself is a control key rather than a policy key, so a source that sets only it does not count as delivering policy.208523
Diagnostics and the security approval dialog (v2.1.248 to v2.1.251): server-managed settings that fail to load produce a startup warning, and /doctor and /status explain the load failure or say why the settings weren’t fetched at all – a Bedrock/Vertex/third-party-provider session, or a custom ANTHROPIC_BASE_URL, never fetches them (v2.1.248).203
For Team and Enterprise logins, settings fetched from Anthropic’s API have applied without an approval prompt since v2.1.316 (next paragraph), while the docs page still describes the dialog covered here.454 The approval dialog around risky managed settings tightened in v2.1.251: since that release, server-managed settings that terminate sandbox TLS, route sandbox traffic through your own proxy, inject credentials, or weaken sandbox isolation require approval before they apply, and ANTHROPIC_CUSTOM_HEADERS from managed or project settings requires approval when it sets a credential, org/tenant, routing, or API-behavior header (for example Authorization or Host). The dialog lists only the settings that changed since you last approved them, no longer reappears after signing in again to the same Claude apps gateway when the settings are unchanged, and client-side timeout, MCP startup-mode, and stream-watchdog env vars no longer trigger it at all (v2.1.248).203 As of v2.1.259, a managed settings source that fails to parse makes Claude Code refuse to start, naming the failing source.208 And v2.1.260 takes one setting out of the dialog: a managed CLAUDE.md (the claudeMd setting) no longer triggers the security approval dialog, while hooks, shell-command, sandbox, and unsafe env settings still require approval.209
Server-managed settings without the prompt (v2.1.314 to v2.1.317): for Team and Enterprise logins, settings fetched from Anthropic’s API apply without an approval prompt, and a stored copy that does not verify is refused (v2.1.316). That is the release note’s wording; today’s docs page still describes a security approval dialog for shell-command, sandbox, env, and hook settings, so check what your own organization’s settings do before you rely on either description.454 Claude’s file tools ask before editing the local copy of your organization’s server-managed settings, as they do for your own settings files (v2.1.314). forceRemoteSettingsRefresh set only in remote managed settings keeps applying after the stored copy expires, so a session does not start without policy when the server cannot be reached (v2.1.314). The desktop app’s Code tab shows a notice while the organization’s remote managed settings have not loaded for the session, and another once they do (v2.1.317). Owners configure these settings from the claude.ai console; the docs page is Configure server-managed settings.281282
Corporate Launcher: processWrapper (v2.1.208)
Organizations that need every process on a managed endpoint launched through a security or monitoring shim can route Claude Code’s self-spawned processes through one. On macOS and Linux, the CLAUDE_CODE_PROCESS_WRAPPER environment variable (v2.1.208) or the processWrapper setting (v2.1.210) names a launcher that Claude Code places in front of the background processes it starts from its own binary: the background service, the sessions it hosts in agent view, and relaunches after an update. That gives EDR attribution, process-level policy, and corporate launcher integration without patching the CLI. A session you start yourself in a terminal is not covered, Windows ignores the variable, and project and local settings cannot set the launcher. Anthropic documents the pattern on a dedicated corporate launcher page.183367
Enterprise CLAUDE.md
Deploy organization-wide context:
Location:
- macOS:
/Library/Application Support/ClaudeCode/CLAUDE.md - Linux and WSL:
/etc/claude-code/CLAUDE.md - Windows:
C:\Program Files\ClaudeCode\CLAUDE.md368
Content:
# Company Standards
## Security Requirements
- Never commit secrets or credentials
- All external API calls require security review
- Use parameterized queries for all database access
## Code Standards
- Follow company style guide at @docs/STYLE.md
- All PRs require two approvals
- Test coverage minimum: 80%
## Approved Tools
- npm, yarn, pnpm for package management
- Jest for testing
- ESLint + Prettier for formatting
Rollout Strategy
- Start with documentation: Get CLAUDE.md right before deploying
- Pilot group: Begin with 5-10 developers
- Q&A phase: Let pilots use Claude for code exploration
- Guided development: Progress to small bug fixes
- Full deployment: Roll out with managed settings
- Monitor costs: Track per-team usage
Audit and Compliance
Data handling:
- Session transcripts are stored locally in plaintext under
~/.claude/projects/(30 days by default;cleanupPeriodDayschanges it) - Beyond model requests, Claude Code sends usage metrics and error reports. Metrics never include code, prompts, or file paths. Error reports carry error messages and stack traces from Claude Code’s own internals, and Claude Code redacts known patterns of secrets, file paths, email addresses, and other personal information before a report leaves the machine.
DISABLE_TELEMETRY=1turns metrics off andDISABLE_ERROR_REPORTING=1turns error reports off. Error reporting is on only for a Pro, Max, or Ultra sign-in on v2.1.198 or later that connects directly to the Claude API, in an organization with no zero data retention or HIPAA agreement. Both are off by default on Bedrock, Agent Platform, Foundry, and Claude Platform on AWS, except that metrics default to on there when a host platform setsCLAUDE_CODE_PROVIDER_MANAGED_BY_HOST369520 - API requests go to
api.anthropic.com(direct) or through your cloud provider (Bedrock, Agent Platform, Foundry, Claude Platform on AWS) - Under commercial terms (Team and Enterprise plans, the API, and third-party platforms), Anthropic does not train models on code or prompts sent to Claude Code unless the customer opts in. Free, Pro, Max, and Ultra accounts are used for training when the account’s model-improvement setting is on369
- For data residency requirements, route inference through your own cloud provider; the Claude apps gateway is designed for organizations that must do that. On Bedrock, Claude Code takes the region from
AWS_REGION, thenAWS_DEFAULT_REGION, then your AWS profile, and falls back tous-east-1, so set it explicitly. On Agent Platform,CLOUD_ML_REGIONtakes a specific region such asus-east5, a multi-region location such aseuorus, orglobal525
SSO and identity:
- Anthropic direct: Claude for Teams and Claude for Enterprise include SSO, and
claude auth login --ssoforces SSO sign-in at the CLI; Enterprise adds domain capture, role-based permissions, and the compliance API. SSO, SCIM provisioning, and seat assignment are configured at the Claude account level. An API key in the environment involves no sign-in, so it carries no SSO358364 - Claude apps gateway: developers sign in through your OIDC identity provider in front of Bedrock, Claude Platform on AWS, Google Cloud, or Foundry (SAML and LDAP are not supported)364
- Amazon Bedrock: IAM roles and SSO via AWS IAM Identity Center
- Google Cloud’s Agent Platform: GCP IAM with Workforce Identity Federation for SAML/OIDC
- Microsoft Foundry: Entra ID with native SSO
Compliance frameworks:
- Anthropic lists SOC 2 Type I and Type II, ISO 27001:2022, ISO/IEC 42001:2023, and a HIPAA-ready configuration with a BAA available; request the reports through the Anthropic Trust Portal369
- Cloud providers (AWS, GCP, Azure) carry their own compliance certifications (SOC 2, HIPAA BAA, ISO 27001, FedRAMP), and traffic routed through one falls under that provider’s agreements
- Healthcare: an Anthropic BAA extends to Claude Code on a Claude for Enterprise account with the HIPAA configuration applied, or with Zero Data Retention enabled. Under the HIPAA configuration, cloud sessions, Remote Control, Claude Code in the mobile app, and traffic routed through a third-party cloud provider or a gateway are not covered. If you run on Bedrock, Agent Platform, or Foundry instead, the agreement that applies is that cloud provider’s own369
Logging and monitoring:
- OpenTelemetry events are the audit data source for Claude Code activity on any plan or provider: each event carries identity attributes that tie tool calls, MCP activity, and permission decisions to the user369
- Use cloud provider logging for model-request audit (CloudTrail, Cloud Audit Logs, Azure Monitor)
- Consider LiteLLM proxy for detailed usage tracking across teams
- Managed settings enforce compliance policies
- The Analytics API provides daily usage aggregates per user for Claude Console organizations (see below)
Analytics API (Admin)
Claude Console (API) organizations can read daily Claude Code usage through the Claude Code Analytics Admin API. It does not return usage from people signed in with a Pro, Max, Ultra, Team, or Enterprise subscription: Team and Enterprise have the analytics dashboard in claude.ai, Claude Enterprise has its own Enterprise Analytics API with an Analytics API key, and OpenTelemetry export works on any plan.370
Endpoint: GET /v1/organizations/usage_report/claude_code
Authentication: Requires an Admin API key (sk-ant-admin01-..., created in the Claude Console by an organization admin), an OAuth token with the org:admin scope, or a personal or service account key that is not scoped to a workspace; workspace API keys do not work.370455
Metrics Available:
| Category | Metrics |
|---|---|
| Productivity | Sessions, lines added/removed, commits, PRs per user |
| Tool Usage | Acceptance/rejection rates by tool (Edit, MultiEdit, Write, NotebookEdit) |
| Cost | Estimated cost breakdown by user and model |
Request Parameters:
starting_at- UTC date for daily aggregation (YYYY-MM-DD); returns that single daylimit- Records per page (default 20, max 1000)page- Thenext_pagecursor from the previous response- Returns user-level data for the specified day
Example:
curl "https://api.anthropic.com/v1/organizations/usage_report/claude_code?starting_at=2026-01-25&limit=20" \
-H "anthropic-version: 2026-10-21" \
-H "x-api-key: $ANTHROPIC_ADMIN_KEY"
Limitations:
- Daily aggregates only (~1hr delay for consistency)
- For real-time monitoring, use OpenTelemetry integration
- Covers Claude API usage only: not subscription sign-ins, and not Bedrock, Agent Platform, or Foundry. On Claude Platform on AWS, read Claude Code usage on the Usage page in the Claude Console
Cost: Free for organizations with Admin API access.
References
-
Claude Code CHANGELOG, section 2.1.51, fetched November 11, 2026: “Managed settings can now be set via macOS plist or Windows Registry.” ↩
-
GitHub Releases v2.1.91. v2.1.91: MCP
_meta["anthropic/maxResultSizeChars"]up to 500K,disableSkillShellExecutionsetting, pluginbin/executables, multi-line deep link prompts, Edit tool shorterold_stringanchors, improved/claude-apiskill, transcript chain break fix. April 2, 2026. ↩ -
GitHub Releases v2.1.92. v2.1.92:
forceRemoteSettingsRefreshfail-closed policy, interactive Bedrock setup wizard, per-model+cache-hit/costbreakdown,/release-notesinteractive picker, Remote Control hostname prefix, prompt cache expiry footer hint, removed/tagand/vim, Linux sandboxapply-seccomphelper, Write tool 60% faster diff for large files. April 4, 2026. ↩ -
Claude Code v2.1.133 release notes. May 7, 2026. Adds
worktree.baseRefsetting (fresh|head); per the release notes, “the defaultfreshchangesEnterWorktree’s base back toorigin/<default>(it has been localHEADsince 2.1.128)”, and “setworktree.baseRef: "head"to keep unpushed commits in new worktrees.” Hooks now receive the active effort level via theeffort.levelJSON input field and the$CLAUDE_EFFORTenv var; Bash tool commands can also read$CLAUDE_EFFORT. Addssandbox.bwrapPathandsandbox.socatPathmanaged settings (Linux/WSL) for custom bubblewrap and socat binary locations. AddsparentSettingsBehavioradmin-tier key ('first-wins' | 'merge') to opt SDKmanagedSettings(parent tier) into the policy merge. Fixes subagents not discovering project, user, or plugin skills via theSkilltool. Other fixes: parallel-session 401-after-refresh-token race, drive-root allow-rule scoping, MCP OAuth proxy and mTLS support, Remote Control stop/interrupt completing the cancel, cross-session/effortleakage,--remote-controllisted in--help. ↩ -
Claude Code v2.1.207 release notes. July 2026. v2.1.207: Auto Mode no longer requires the
CLAUDE_CODE_ENABLE_AUTO_MODEopt-in on AWS Bedrock, Google Vertex AI, and Microsoft Foundry, where administrators disable it with thedisableAutoModemanaged setting; Bedrock, Vertex AI, and Claude Platform on AWS now default to Claude Opus 4.8; theautoModesetting is no longer read from a repository’s.claude/settings.local.json(use~/.claude/settings.json); plugin security:${user_config.*}interpolation is rejected in shell-form plugin commands (use the exec form or the$CLAUDE_PLUGIN_OPTION_<KEY>env var), andpluginConfigsis no longer read from project-level.claude/settings.json. Fetched July 17, 2026. ↩↩ -
Claude Code v2.1.208 release notes, the Claude Code accessibility docs, and the Claude Code corporate launcher docs. July 2026. v2.1.208: screen reader mode via
claude --ax-screen-reader,CLAUDE_AX_SCREEN_READER=1, or the"axScreenReader": truesetting, documented on the new accessibility page; theprocessWrappersetting /CLAUDE_CODE_PROCESS_WRAPPERenv var routes all Claude Code self-spawned processes through a wrapper executable for corporate launcher integration; thevimInsertModeRemapssetting defines vim insert-mode key remaps (e.g.jj→ Escape); catastrophic removals (such asrm -rf ~) inside command substitution ($(...), backticks,<(...)) now prompt even in--dangerously-skip-permissionsand auto mode. Fetched July 17, 2026. ↩ -
Claude Code v2.1.212 release notes. July 2026. v2.1.212:
/forknow copies the conversation into a new background session with its own row inclaude agents, and the previous in-session fork behavior is renamed/subtask; newclaude auto-mode resetsubcommand with--yesto skip confirmation; per-session budgets: WebSearch calls and subagent spawns each default to 200 per session viaCLAUDE_CODE_MAX_WEB_SEARCHES_PER_SESSIONandCLAUDE_CODE_MAX_SUBAGENTS_PER_SESSION, with/clearresetting the subagent budget; MCP tool calls running longer than 2 minutes automatically move to the background, threshold configurable viaCLAUDE_CODE_MCP_AUTO_BACKGROUND_MS; the Task tool’smodeparameter is deprecated and ignored: subagents inherit the parent session’s permission mode; the enterpriseforceLoginMethodsetting is now enforced for the VS Code extension, the SDK,claude setup-token, and/install-github-app(previously terminal-only). Fetched July 17, 2026. ↩ -
Claude Code v2.1.223 release notes, August 6, 2026. Adds
"owner/*"wildcard entries tostrictKnownMarketplacesandblockedMarketplaces; makes/reviewan alias of/code-reviewwith last-typed effort-level memory (/code-review ultrafor deep cloud review); widensCLAUDE_CODE_DISABLE_1M_CONTEXTto hold every native-1M model to 200K via auto-compaction with a startup warning, and addsCLAUDE_CODE_DISABLE_UNKNOWN_MODEL_WINDOW_ENFORCEMENTfor unrecognized model IDs; security fixes for a crafted-command Bash permission bypass, invisible-Unicode command padding in approval dialogs, workflow-script dynamicimport()sandbox escape, and agent-definitionbypassPermissionsignoring the org disable policy. Fetched August 6, 2026. ↩ -
Claude Code CHANGELOG, sections 2.1.248, 2.1.250, and 2.1.251, fetched August 30, 2026. npm published 2.1.248 on August 27, 2026 at 20:35 UTC and 2.1.250 at 22:27 UTC the same day (its section is the verbatim “Bug fixes and reliability improvements”), and 2.1.251 on August 28, 2026 at 15:34 UTC (dist-tag latest: 2.1.251); 2.1.249 was never published on npm. Verbatim 2.1.248: “Added
--restricted(orCLAUDE_CODE_RESTRICTED=1): removes the built-in tools that run commands or code andWebFetch(unless named in--tools), keeps file tools inside the working directory, refusesbypassPermissions, and ignores user, project and local settings files”; “Addedexperimental.cacheTtl("5m"or"1h") to agent frontmatter: a per-agent prompt cache TTL used when no subagent TTL setting is configured”; “Addedclaude self-hosted-runner --client-label <label>(orSELF_HOSTED_RUNNER_CLIENT_LABEL) to override the label the runner registers with (default: hostname)”; “Added server-managed settings diagnostics: a startup warning when the settings fail to load, and a/doctorand/statusline explaining a load failure or why they weren’t fetched (Bedrock/Vertex/third-party provider, customANTHROPIC_BASE_URL)”; “Added/usage-creditsfor Enterprise organizations billed through AWS Marketplace, self-serve Enterprise, and Enterprise trials, so members can request a higher usage limit from their admin”;“Added cross-session messaging (
SendMessage/ListAgents) between sessions on the same machine on Bedrock, Vertex, and Foundry, and when telemetry is disabled”; the desktop-retention fix: “the transcript cleanup now keeps desktop-written sessions while they are in the app (unless org policy manages retention); the newdesktopSessionCleanupPeriodDayssetting caps the exemption”; “Improved managed settings: client-side timeout, MCP startup-mode, and stream-watchdog env vars no longer trigger the settings-approval prompt”; “Changed/loop: self-paced dynamic mode and the no-prompt autonomous default are now always available, including on Bedrock/Vertex/Foundry”; “Improved the Workflow tool’s prompt footprint: its description is now about 1k tokens instead of 5.7k, with the script-writing reference moved into a bundledworkflow-authoringskill”; and the upload fix: “Fixed/ultrareviewand locally seeded cloud sessions uploading uncommitted edits toprod.env-style and*.tfvarsfiles, or to editor swap, temp, and backup copies of credential files (e.g.key.pem.tmp,id_rsa.swo); they now stay on your machine”.Verbatim 2.1.251: “Added
PreModelSwitchandPostModelSwitchhook events (block, confirm, or annotate a model switch);SessionStartresume hooks now receive session staleness and the estimated re-cache cost”; “Added live streaming of a foreground subagent’s tool calls and results to Remote Control clients (background subagents, the default, still show status only)”; “Added a Spend limit bar to/usageand arate_limits.spend_limitstatus line field for developers behind a Claude apps gateway with spend limits”; “Added a per-session prompt-cache line to/cost(hit ratio, misses, tokens re-cached, warm/cold) and a matchingprompt_cacheobject for status line scripts”; “Addedattach,logs,stop,respawn, andrmtoclaude --help; the--resumemessage for a running background session now names the exactclaude attach <id>command”; “Changed Claude in Chrome so browser actions always go through Claude Code’s permission checks, including in sessions with telemetry disabled, which previously used the Chrome extension’s own prompts”; “ChangedCLAUDE_CODE_SUBAGENT_MODELto set the default subagent model rather than override everything: an agent definition’smodel:and an explicit per-spawn model now take precedence over it”; “Changed the default model for seat-based Enterprise subscriptions to Opus 5, matching other premium plans”; “Changed/effortto save your default effort level per model, so each model keeps its own setting when you switch”;“Changed server-managed settings that terminate sandbox TLS, route sandbox traffic through your own proxy, inject credentials, or weaken sandbox isolation to require approval before they apply”; “Changed
ANTHROPIC_CUSTOM_HEADERSfrom managed or project settings to require approval when it sets a credential, org/tenant, routing, or API-behavior header (e.g.Authorization,Host)”; “Changed project-level.claude/settings.jsonenvto no longer setCLAUDE_CONFIG_DIR,CLAUDE_CODE_TMPDIR, orTMPDIR/TMP/TEMP; set them in your shell, user, or managed settings instead”; “Fixed/usage-creditsfor Team and Enterprise members whose admin set the org’s usage-credit limit to $0: it now offers to ask the admin instead of saying a cap was reached”; security fixes verbatim: “Fixed file tools (Read, Write, Edit) following a symlink swapped inside the working directory after the permission check, which could read or write outside the approved location”; “Fixed plugin commands declared in a marketplace entry being able to point outside the plugin directory; such paths are now rejected with a path-traversal error”; “Fixed Bash permission checks auto-approving commands that assign an arithmetic expression to an integer shell variable (e.g.OPTIND=1/0,RANDOM=2+2); these now prompt for approval”; “Fixed Grep and Glob not applyingRead(...)deny rules to files reached through a symlinked search path”. ↩↩ -
Model configuration, fetched August 30, 2026, section “
defaultmodel setting”. Verbatim: “The behavior ofdefaultdepends on your account type”; “Max, Team Premium, Enterprise pay-as-you-go, and Anthropic API: defaults to Opus 5”; “Claude Platform on AWS, Amazon Bedrock, and Google Cloud’s Agent Platform: defaults to Opus 5”; “Pro, Team Standard, and Enterprise subscription seats: defaults to Sonnet 5”; “Microsoft Foundry: defaults to Sonnet 4.5”; “Enterprise pay-as-you-go means an Enterprise organization billed by usage rather than by subscription seat.” History note verbatim: “Before v2.1.219,defaultresolved to Opus 4.8 on the Anthropic API, Max, Team Premium, and Enterprise pay-as-you-go from v2.1.154, and on Claude Platform on AWS, Amazon Bedrock, and Google Cloud’s Agent Platform from v2.1.207. Before v2.1.207,defaultresolved to Opus 4.7 on Claude Platform on AWS and to Sonnet 4.5 on Amazon Bedrock and Google Cloud’s Agent Platform.” The Enterprise-seat row is the one surface the CLI has already moved past: the v2.1.251 CHANGELOG (August 28, 2026) says “Changed the default model for seat-based Enterprise subscriptions to Opus 5, matching other premium plans”, which is newer than the docs page – the guide reports Opus 5 for seats and notes the docs lag. ↩ -
Claude Code release notes v2.1.257 and v2.1.258 (both September 1, 2026) and v2.1.259 (September 2, 2026), and the canonical CHANGELOG on September 3, 2026. npm dist-tags that day: latest and next both 2.1.259, stable 2.1.236; npm’s published versions jump from 2.1.252 to 2.1.257 – 2.1.253 through 2.1.256 were never published and have no CHANGELOG sections (the 2.1.244/2.1.249 pattern) – so the 2.1.258 note’s “regression introduced in 2.1.255” refers to an unpublished internal build and v2.1.257 is the first installable release carrying Fable 5.1 support. Source for the v2.1.257 items: Fable 5.1 support with the gateway caveat (in Claude apps gateway sessions the
fableandbestaliases keep resolving to Fable 5 for now, since a gateway not yet configured for Fable 5.1 rejects it – select it in/modelinstead);timeFormat/timeZone; the auto-mode “Containment Escape” rule (cloud metadata-credential fetches, egress evasion, and cross-tenant reach not auto-approved unless the environment marks them expected);CLAUDE_CODE_SUBAGENT_MODEL_FORCE; the one-time prompt before the first file read outside the working directories pluspermissions.blockReadsOutsideWorkingDirectories;/effort sand the session-scoped--effort; project/localdefaultMode: "bypassPermissions"ignored; themanagedSourcesBehavior: "merge"refinement (sandbox.credentials.awsPairsandsandbox.ripgrepread whole from the highest source that sets them); BashRead()/Edit()deny-rule coverage of< fileinput redirects and reader commands such astacandegrep; and the network-path refusal (UNC shares,/net/<host>automounts) on--add-dir,/add-dir, andadditionalDirectories.Source for the v2.1.258 fixes: a macOS 12 launch regression introduced in unpublished 2.1.255, and remote/scheduled sessions failing on requests requiring non-empty content. Source for the v2.1.259 items:
managedMcpServers; theallowedMcpServersscope change to user-added servers only;--permission-prompts none(anything that would prompt is denied automatically while the active permission mode keeps deciding); managed settings that fail to parse refusing startup and naming the source; frontmattermodel:on custom commands and skills honored in interactive sessions, with auto mode keeping the session model instead of running a turn on an unsupported frontmatter model;claude plugin validate --json; and the option-value/operand extension of BashRead()deny coverage (--ignore-revs-file=.env,-f.env,@filearguments,git diff/git grepoperands,cd DIR && cat FILEcompounds, andgrep -r/cp -rover a directory holding a denied file now asking). The settings docs do not yet documenttimeFormat/timeZoneormanagedMcpServers, and the CLI reference does not yet list--permission-prompts– the CHANGELOG is the source for those as of September 3, 2026. ↩↩↩↩ -
Claude Code v2.1.260 release notes, published September 3, 2026 at 23:48 UTC (4:48 PM PT; the npm publish preceded it at 22:32 UTC), and the canonical CHANGELOG the same evening. npm dist-tags that evening: latest and next both 2.1.260, stable 2.1.236. Revert verbatim: “Reverted the 2.1.259 change applying
Read()deny rules to Bash arguments; it deniednpm run buildunder aRead(./**/build/**)rule in every mode and madecd … && grepprompt even in auto mode” – the v2.1.257 redirect and reader-command coverage is not named in the revert and stands. Source for: the/difffullscreen diff panel (“Added a diff panel that opens beside the conversation in fullscreen mode and shows your uncommitted changes as Claude edits; toggle it with/diff”); the parenthesis-path permission fixes (rules with parentheses in the path “being dropped as invalid or ignored by the Bash sandbox, which left ‘read-only’ folders writable”; an uncompilable pattern such as an unclosed[no longer “making every file edit fail withInvalid regular expression”, such a deny rule now guarding the literal path it spells; the improved settings error forEdit(C:\dir\(name)\**)where\(reads as an escaped parenthesis rather than a path separator; trailing-text rules such asBash(ls) xreported as invalid settings);the four Fable 5.1 launch-cluster fixes (the
/modelpicker showing Fable 5.1 for organizations that can use it, previously “only accepted when typed as/model claude-fable-5-1”; prompt caching covering “the context attached after tool results, so it was re-sent as uncached input on every tool-call turn” before the fix; mid-session/effortchanges no longer invalidating the prompt cache;model: fableagents honoring the[1m]tag on anANTHROPIC_DEFAULT_FABLE_MODELpin instead of “silently running with a 200K context window”); the auto-compact improvement (“Opus and Fable sessions now compact shortly before the 1M-token limit, and recovery compaction on very large contexts no longer times out at 10 minutes”); the likely-miss-cause line added to/costand the status line’sprompt_cachefield (“e.g. tool definitions or system prompt changed, idle past the TTL”); the!bash-mode carve-out (“Changed commands typed at the!bash-mode prompt to run outside the sandbox even when strict sandbox mode (sandbox.allowUnsandboxedCommands: false) is on, like typing into your own terminal”); the managed CLAUDE.md change (“a managed CLAUDE.md (claudeMd) no longer triggers the security approval dialog; hooks, shell-command, sandbox, and unsafeenvsettings still require approval”); and Claude in Chrome following “your organization’s Claude in Chrome admin setting; when an admin turns it off,--chrome,/chromeand the browser tools are unavailable”. Strict-sandbox-mode semantics (allowUnsandboxedCommands: falseignoresdangerouslyDisableSandboxentirely, every command must run sandboxed or be listed inexcludedCommands, and the/sandboxOverrides tab labels the state Strict sandbox mode) from the sandboxing docs, fetched September 3, 2026. ↩↩ -
Claude Code v2.1.261 release notes, published September 4, 2026 at 19:58 UTC, and the canonical CHANGELOG the same day. npm dist-tags that day: latest and next both 2.1.261, stable 2.1.236. Keybinding change verbatim: “Changed the prompt’s word-editing keys to match Bash: Ctrl+W deletes back to whitespace, Alt+F and Alt+D stop at word end, punctuation separates words;
keybindingFlavorno longer has any effect.” Source for:/skill-doctor, which shows which loaded skills go unused and what they cost in context, so you can prune them; thebashOutputMaxCharsandtaskOutputMaxCharssettings, which raise how much command output and background-task output Claude receives inline before it is saved to a file, up to 128K characters (a different mechanism fromBASH_MAX_OUTPUT_LENGTH, which the tools reference defines as the read-back window from a command’s working output file, verbatim: it “sets how many characters of output Claude Code reads back from the working file into a command’s result: 30,000 by default, up to a hard ceiling of 150,000”); auto mode treating a link that packs content into a public diagram renderer’s URL (mermaid.live-style, the data encoded in the URL itself) as an upload, no longer auto-approved unless you asked for it; andforceLoginMethod: "gateway"evicting leftover credentials, so machines pinned to a gateway ignore a leftover API key or claude.ai login and ask for/login, with Bedrock, Vertex AI, and Foundry sessions unaffected. ↩ -
Claude Code v2.1.265 release notes, published September 8, 2026 at 20:37 UTC, and the canonical CHANGELOG the same day (the release body and the CHANGELOG section are identical). npm dist-tags that day: latest and next both 2.1.265, stable 2.1.236; npm’s published versions jump from 2.1.261 to 2.1.263 to 2.1.265 – 2.1.262 and 2.1.264 were never published (the 2.1.244/2.1.249/2.1.253-256 pattern) – and 2.1.263 (published September 6) carries only “Bug fixes and reliability improvements”. Source for:
--plugin-dirpointed at a folder of plugins (“each child folder with a manifest loads, and children added or removed while running are picked up”); the two prompt-cache prefix fixes, verbatim: “Fixed resuming a foreground-spawned subagent changing its tool list and system prompt prefix, which broke prompt-cache reuse for that agent” and “Fixed agent teammates and resumed subagents moving SubagentStart hook context and preloaded skills out of the prompt prefix on later turns, which broke prompt-cache reuse”; non-interactive sessions (-pwith stream-json input, Agent SDK, cloud sessions) no longer resetting the shell working directory at each new user message, so acdpersists across turns;MCP servers configured as
httpthat only speak the legacy HTTP+SSE transport now falling back to SSE as the MCP spec describes; the 1 GB cap on tool results saved to disk, with the in-conversation preview saying when a saved file was truncated; machines withforceLoginGatewayUrlin managed settings being Claude apps gateway sessions from startup, likeforceLoginMethod: "gateway", with a leftover claude.ai login or API key not used; Claude apps gateway sessions exporting OpenTelemetry directly to a collector the gateway’s managed settings name inOTEL_EXPORTER_OTLP_ENDPOINTinstead of through the gateway’s relay (sessions without a named collector still use the relay), anduser.emailanduser.groupsadded to the telemetry Claude Desktop and Cowork send through a Claude apps gateway, matching terminal sessions; two-key keyboard shortcuts waiting 3 seconds for the second key and showing a notice when they time out, where they previously cancelled silently when the second key arrived more than a second later, as happens inside tmux; and slash commands typed mid-prompt showing matches in a list (Tab opens it outside fullscreen) instead of a single suggestion, with a plugin skill found by its bare name. ↩ -
Claude Code release notes v2.1.266 (September 8, 2026), v2.1.267 (September 9), v2.1.268 (September 10), v2.1.269 (September 11), v2.1.270 (September 12), v2.1.271 (September 14), and v2.1.272 (npm September 14, GitHub release September 15 at 00:42 UTC), and the canonical CHANGELOG on September 15, 2026 – all seven release bodies and their CHANGELOG sections are identical. npm dist-tags on September 15 (~13:15 PT): latest 2.1.272, next 2.1.273, stable 2.1.236; 2.1.273 (published September 15 at 18:06 UTC) has no GitHub release and no CHANGELOG section, so its content is not documented here; and 2.1.263 still carries only “Bug fixes and reliability improvements” – no backfill ever landed. Source for, verbatim where quoted: the
/output-stylerevival (“Added/output-style [name]to list and switch output styles, including over Remote Control and in cloud and other headless sessions”, v2.1.269);claude plugin eval(“run a plugin’s eval suite against Claude Code and get scored, reproducible results (JSON + HTML report)”, v2.1.269); fast mode in Claude Code Remote sessions (“cloud and self-hosted runners: the host’s fast-mode setting or/fasttyped in the session applies where your organization allows it”, v2.1.271) and the/fast offfix;the
maxEffortLevelsetting (“top-level or per model undermodelSettings: caps the effort level on every provider, including Bedrock, Vertex and Foundry; users can still pick a lower level”, v2.1.267);--system-prompt-snapshot off(v2.1.267); the v2.1.267 prompt-cache stability batch (resumed-session tool-list, tool-description, and MCP-announcement rewrites;/modelswitches re-sending every tool definition, with attribution text now a conversation note;--system-prompt/--append-system-promptsessions recording the prompt and tool definitions once; mid-session MCP and plugin tools as deferred definitions); theeffort:frontmatter fix on pinned-default-effort models (Opus 4.7, Opus 4.8, Fable 5; v2.1.267); the marketplace backslash containment fix (v2.1.267); the task-tracking allowlist (“Changed the task-tracking tools (TaskCreate/Get/Update/List, TodoWrite) to be offered only on” Claude 3.x, Opus 4.0 to 4.7, Sonnet 4.0 to 4.6 and Haiku 4.5, with “setCLAUDE_CODE_ENABLE_TODO_TOOLS=1elsewhere”, v2.1.268); the symlinked-directory andenv -C/evaldeny-rule fixes (v2.1.268); the WebFetch/Artifact rule split (“Changed plainWebFetchdeny and ask rules to no longer apply to Artifact tool reads and updates; use anArtifactrule (orWebFetch(domain:claude.ai)) to block or gate them”, v2.1.268);/pluginchanges applying on menu close (v2.1.268); the WebFetch 300-second deadline andCLAUDE_CODE_WEBFETCH_DEADLINE_MS(v2.1.268);gatewayInternalNetworks, the empty-allow_cidrswarnings, and the gatewaypricing:rate sync (v2.1.268) plus themultiplierabove 1 up to 10 (v2.1.271);the
${VAR}and git-URL secret-hygiene fixes (v2.1.268);configDirectoryinclaude auth status --json(v2.1.268); the third-partyANTHROPIC_BASE_URLHTTP-400 regression fix (v2.1.268);bashEditDiffEnabled(v2.1.269); the attribution-reminder fix (“Fixed the attribution reminder overriding a CLAUDE.md or memory rule against commit and pull request attribution; lines set by managed settings still apply”, v2.1.269); the env varsOTEL_METRICS_INCLUDE_REPOSITORY,CLAUDE_CODE_WORKFLOW_MAX_CONCURRENT_AGENTS(1-256),CLAUDE_CODE_GATEWAY_MODEL_DISCOVERY_TIMEOUT_MS(default 3s), andCLAUDE_CODE_BG_TASKS_REPORT_RUNNING(v2.1.269); the v2.1.247 keyboard-regression fix and the kitty-query keyboard support over SSH (v2.1.269); theEdit()/tee,Bash(tee:*), and leading-!scoping fixes (v2.1.269); per-commandallowed_domainson Bash, PowerShell, and Monitor in auto mode with sandboxing (v2.1.271);omitClaudeMdagent frontmatter and--agentsJSON (v2.1.271); the auto-mode inline-!and subagent hand-back mechanics changes (v2.1.271);claude plugin install/update--accept-command <sha256>(v2.1.271);--resumekeeping[1m]across model families (v2.1.271); the fail-closed unreadablemanaged-mcp.json(v2.1.271); thefmt/column, wildcard-expansion, variable-declaration-flag, andblockReadsOutsideWorkingDirectorieschecker fixes (v2.1.271); and Markdown artifacts rendering as styled document pages with artifact watches rising to 10 (v2.1.271). v2.1.266 carries one line (theCLAUDE_CODE_USE_GATEWAYregression fix), v2.1.270 one line (the v2.1.269 git-prompting regression fix), and v2.1.272 only “Bug fixes and reliability improvements”. ↩↩↩ -
Claude Code v2.1.273 release notes, published September 15, 2026 at 20:23 UTC, and the canonical CHANGELOG on September 16, 2026 – the release body and the CHANGELOG section are identical, 64 lines each. npm dist-tags on September 16 (~10:00 PT): latest 2.1.273, next 2.1.273, and stable 2.1.267 – the stable tag’s first move off 2.1.236. Source for, verbatim where quoted: the deny-rule revert (“Reverted a 2.1.268 change that checked Read and Edit deny rules on Bash lines the permission checker can’t analyze (
eval,env -C); commands liketime -p make buildprompt again instead of being denied”); the unanalyzable-command and subshell fixes (“Fixed Bash commands the permission checker cannot fully analyze skipping the prompt underpermissions.blockReadsOutsideWorkingDirectories, and a subshell hiding a dangerousrmin bypass mode”); the memory-directory fix (“Fixedpermissions.blockReadsOutsideWorkingDirectories: a memory directory chosen by a repository’s settings is no longer loaded into the prompt, recalled, indexed, or used by memory extraction”); the gateway classifier default (“Changed auto mode on Bedrock, Vertex and Foundry to use the local classifier by default for now; setCLAUDE_CODE_AUTO_MODE_SERVER=1to use the platform’s server-side classifier”); the hint headers (“Addedx-claude-code-request-class,x-claude-code-agent-type,x-claude-code-prev-tool-durations,x-claude-code-compactionandx-claude-code-context-compactedrequest headers for LLM gateways; opt in withCLAUDE_CODE_GATEWAY_HINT_HEADERS=1”);the managed-settings precedence fix (“Fixed
allowManagedMcpServersOnly,deniedMcpServersanddisableClaudeAiConnectorsset via MDM ormanaged-settings.jsonbeing ignored when server-managed settings are also present”); the context-meter fix (“Fixed the context meter and auto-compact counting advisor-tool turns at roughly twice their real context size, which made auto-compact fire at about half the real window”); the prompt-cache fix (“Fixed/login,/upgrade, and/extra-usagediscarding earlier thinking from the conversation, which forced a full prompt-cache rewrite on the next request”); the telemetry change (“ChangedOTEL_LOG_TOOL_DETAILS=1to also include real agent, skill, plugin and MCP server names on cost and token metrics”); the/bug//feedbackdata minimization (“Changed/bugand/feedbackreports to include only model-behavior params (model, system prompt, tools) from the last API request, omitting request metadata andCLAUDE_CODE_EXTRA_BODYfields”); the sign-in change (“Changed sign-in with a Claude account to also request access to your claude.ai plugins”); Remote Control forking (“Added forking a session started withclaude --remote-controlor/remote-controlfrom the Claude app; the fork runs as a background session on your computer”); and the stream-json fix (“Fixed SDK and--output-format stream-jsonoutput dropping a subagent’s remaining messages and final report after it is moved to the background mid-run (e.g. byCLAUDE_AUTO_BACKGROUND_TASKS)”). ↩ -
Claude Code release notes v2.1.277 (npm published September 18, 2026 at 16:22 UTC; GitHub release 18:06 UTC) and v2.1.278 (npm September 19 at 01:48 UTC; GitHub release 03:10 UTC), and the canonical CHANGELOG on September 21, 2026. Source for every v2.1.277 and v2.1.278 item in this guide. Key quotes: “Added AGENTS.md support: in a project with no CLAUDE.md, Claude Code reads AGENTS.md instead; change it under "Project instructions" in
/config(not yet on Bedrock, Vertex or Foundry)”; “Changed auto mode for Claude API and Enterprise users, and on Bedrock, Vertex, Foundry and gateways, to default to the server-side classifier, which does not charge for classifier overhead”; “Added anAuto mode serverrow to/statusshowing whether this session’s auto mode classifier runs on the server”. Supporting docs fetched September 21, 2026: Memory, AGENTS.md section (load matrix, Project instructions values, theagents-md@builtinpluginConfigslocation, files not read) and Auto mode classifier request charges (fallback notice text and delivery, the/statusrow values, gateway pass-through, and the variable’s temporary status). ↩ -
Anthropic canonical model documentation, fetched September 22, 2026: Models overview and the Claude Code model configuration docs. Source for Claude Opus 5.5: Claude API ID and alias
claude-opus-5-5; Amazon Bedrock IDanthropic.claude-opus-5-5, Google Cloud, Microsoft Foundry, and Claude Platform on AWS IDsclaude-opus-5-5; pricing “$4 / input MTok, $20 / output MTok”; cache reads at 5% of the base input price (“Cache hits and refreshes on Claude Opus 5.5 and Claude Sonnet 5.5 are priced at 0.05x the base input price”), which is $0.20/MTok; thinking “Adaptive (always on)” – the same designation as Claude Fable 5.1, where Claude Sonnet 5 reads “Adaptive”; default effortmedium(Claude Fable 5.1 and Claude Sonnet 5 both readhigh); context window 1M tokens; max output 128K tokens, with Opus 5.5 named among the models supporting “up to 300k output tokens with the output-300k-2026-03-24 beta header” on the Message Batches API; reliable knowledge cutoff Jun 2026 and training data cutoff Jun 2026, tying Claude Fable 5.1; retirement “Not sooner than September 22, 2027”; the overview’s recommendation to “start with Claude Opus 5.5 for most workloads”; and Claude Opus 5 now listed in the Legacy models table alongside Fable 5, Opus 4.8, 4.7, 4.6, 4.5 and Sonnet 4.6, 4.5. Re-read November 25, 2026; the quotations that had drifted are given in that day’s wording.From the model-config docs, the by-plan default table verbatim: “Pro, Max, Team, Enterprise, and Anthropic API: defaults to Opus 5.5”; “Claude Platform on AWS, Amazon Bedrock, and Google Cloud’s Agent Platform: defaults to Opus 5.5”; “Microsoft Foundry: defaults to Sonnet 4.5”; the
opusalias table (Anthropic API, Claude Platform on AWS, Amazon Bedrock and Google Cloud’s Agent Platform all resolve to Opus 5.5; Microsoft Foundry resolves to Opus 4.6); the version floor (“Opus 5.5 requires Claude Code v2.1.280 or later. Opus 5 requires v2.1.219 or later. Sonnet 5 requires v2.1.197 or later.”); and the history note (“Before v2.1.280,defaultresolved to Sonnet 5 on Pro and Team Standard, and to Opus 5 on Max, Team Premium, Enterprise, the Anthropic API, Claude Platform on AWS, Amazon Bedrock, and Google Cloud’s Agent Platform from v2.1.219.”). ↩ -
Claude Code v2.1.281 release notes (npm published September 23, 2026 at 17:01 UTC; GitHub release 19:19 UTC; 176 bullets, identical to the 2.1.281 section of the canonical CHANGELOG, fetched September 24, 2026, which runs 2.1.280 to 2.1.281 with no gap). Source for every v2.1.281 item in this guide. npm dist-tags on September 24: latest and next 2.1.281, stable 2.1.273. Key quotes: “Changed send now (ctrl+enter or ctrl+x ctrl+s) to move running tools to the background instead of cancelling the turn”; “Changed
CLAUDE_CODE_AUTO_MODE_SERVERto also apply on a direct Anthropic API connection:0opts out of the server-side auto mode classifier (the local classifier then counts toward usage),1opts in”; “Changed the dangerousrmprompt in--dangerously-skip-permissionsand auto mode to wait 2 minutes for an answer, then deny the command with a rewrite hint”; “Added"attribution": falseinsettings.jsonto hide all commit and PR attribution”. The/agentswizard removal is from the 2.1.198 section of the same CHANGELOG: “Removed the/agentswizard; ask Claude to create or manage subagents, or edit.claude/agents/directly.” The auto mode classifier billing docs, fetched September 24, 2026, still read “The variable isn’t read on a direct connection to the Anthropic API”; by September 26 the page reads “On a direct connection to the Anthropic API, the variable requires Claude Code v2.1.281 or later.” The settings reference, same date, documents theattributionobject and marksincludeCoAuthoredBydeprecated; by September 26 it also documents thefalsevalue. ↩ -
Claude Code documentation, fetched August 26, 2026. Managed settings, “Which managed source Claude Code uses”: “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 in Keys read from every admin source”; “Claude Code shows no warning for the sources it skips;
/statusnames the source it used and the ones it skipped”; order, highest priority first: “1. Remote settings, delivered from claude.ai as server-managed settings or by a Claude apps gateway … 2. MDM or OS-level policies: the macOS plist or the HKLM registry key 3. Managed settings files,managed-settings.d/*.jsonandmanaged-settings.jsonmerged together 4. The HKCU registry, on Windows, and on WSL once the HKLM registry or the Windows managed settings file turnswslInheritsWindowsSettingson and the HKCU value also sets it.” Re-read November 25, 2026; the quotations that had drifted are given in that day’s wording.Prompt caching: “Unless you choose a TTL yourself, Claude Code requests the one-hour TTL only on a Claude subscription within your plan’s included usage”; the per-bucket table gives Main conversation: One hour (subscription, within plan usage) / Five minutes (usage credits, API key, or cloud provider) and Everything else: “Five minutes, except the server-controlled helper requests, which get one hour” / Five minutes; “Both settings and both environment variables require Claude Code v2.1.242 or later”; precedence: “1.
FORCE_PROMPT_CACHING_5M=1, which forces five minutes for both buckets 2. The bucket’s environment variable 3. The bucket’s setting 4.ENABLE_PROMPT_CACHING_1H=1, which requests one hour for both buckets 5. The default for the request’s bucket.”Settings reference,
modelPicker: “Scope: User or managed. Claude Code reads the key from managed settings,--settings, and user settings, and ignores it in project and local settings so a repository you clone can’t relabel the picker”; “Type: object with anoptionsarray of rows and an optionalreplaceBuiltInOptionsBoolean”; “AnavailableModelsallowlist still applies to these rows”; “A label changes what the picker shows, not which model Claude Code runs”; “Requires Claude Code v2.1.242 or later” (the guide’s example reuses the page’s own Bedrock rows).promptCacheTtlandsubagentPromptCacheTtl: “Scope: Any file”; “Type: string, one of:"5m"…"1h"”; “Requires Claude Code v2.1.242 or later.” Provider IDs in the settings example come from Amazon Bedrock (“Primary model | Opus 5, for exampleus.anthropic.claude-opus-5in aus-*region”), Google Cloud (“Primary model |claude-opus-5”), and Microsoft Foundry (export ANTHROPIC_DEFAULT_OPUS_MODEL='claude-opus-4-8', the newest Opus ID that page names). ↩ -
Claude Code CHANGELOG, section 2.1.243, fetched August 26, 2026. npm published 2.1.242 on August 24, 2026 at 19:16 UTC and 2.1.243 at 23:10 UTC; 2.1.242 has no CHANGELOG section, 2.1.244 was never published, and the docs pin the v2.1.242 floor for
modelPicker,promptCacheTtl, and the/usageLoops rows. Verbatim: “Added a Loops breakdown to/usage: per-loop run count, total tokens, tokens per run, and last run, so runaway or chatty/looptasks are easy to spot”; “AddedmodelPickersetting: curate the/modelpicker with an ordered, labeled list of models (any id spelling, including Vertex/Bedrock ids), appended to or replacing the built-in lineup”; “AddedpromptCacheTtlandsubagentPromptCacheTtlsettings so API-key and cloud-provider users can keep a 1-hour prompt cache on the main conversation while subagents stay at 5 minutes”; “AddedmodelPricingmanaged setting so an organization’s contracted per-model rates and discount multiplier are used for/cost, the status line, and telemetry cost figures instead of list price”; “Added a keyless sign-in under/login→ Anthropic Console: ‘Sign in with your Console account’ (recommended) alongside creating an API key, so organizations that don’t allow API keys can sign in”;“Added a
Skipped sourcesline to/statusthat lists managed settings sources (for examplemanaged-settings.json) present but not applied because a higher-precedence managed source is active”; “Added amanagedmarker in/mcpand/pluginson claude.ai connectors whose authentication is managed by your organization”; “Added a tip pointing claude.ai users who haven’t connected GitHub for Claude Code on the web to/web-setup”; “Added a/statusline showing whether GitHub is connected for Claude Code on the web (Pro/Max), pointing to/web-setupwhen it isn’t”; “Added the model (and effort level) each subagent ran on to/tasksand the agent detail dialogs”; “Improved/loop: consecutive wake-ups where Claude has nothing to do now fold into a single line in the terminal instead of printing each one”; “Fixed/web-setuprepeatedly asking you to log in when an older GitHub CLI (withoutgh auth token) was already authenticated”; “Improved native install and auto-update download size: the binary is now zstd-compressed (about 75 MB instead of 340 MB on Linux x64)”; “Changed the cross-session messaging inbox socket to close connections that send no complete line within 30 seconds; scripts posting to it should connect once their data is ready”. ↩↩ -
Claude Code v2.1.231 and v2.1.232 release notes, August 13, 2026. v2.1.231: MCP OAuth redirect-URI fix for pre-registered clients. v2.1.232: subagent forking on by default with prompt-cache inheritance;
@-mention of live sessions with bare-name exact-matchSendMessagedelivery; unique per-machine session names;/configrows for dialog expiry and cross-session inbound; GitLab token-family redaction,glabcredential protection, and GitLab plugin marketplaces;additionalMarketplaces/allowedMarketplacesaliases; gateway desktop-overlay schema validation and policy-entry boot validation; Fable 5 in/advisor; PowerShell, Cygwin-symlink, and nested-git-trust security fixes. Fetched August 14, 2026. ↩ -
Claude Code canonical CHANGELOG, sections 2.1.303 through 2.1.310, fetched October 23, 2026 (17:20 PT), and npm registry metadata for
@anthropic-ai/claude-coderead at the same time: 2.1.303 published October 18 at 21:15 UTC, 2.1.304 October 19 at 19:47 UTC, 2.1.305 October 20 at 19:29 UTC, 2.1.306 October 21 at 02:28 UTC, 2.1.307 October 21 at 20:47 UTC, 2.1.308 October 22 at 04:19 UTC, 2.1.309 October 22 at 20:34 UTC, 2.1.310 October 23 at 21:20 UTC; dist-tags latest 2.1.310, next 2.1.310, stable 2.1.308. The GitHub releases carry 1, 76, 38, 2, 43, 1, 79, and 26 bullets, identical to the CHANGELOG. Source for every v2.1.303 to v2.1.310 item in this guide.Key quotes, 2.1.304: “Added
/auto-mode-setup: a guided setup that reads your project and recent sessions to teach auto mode about your environment, now also available on Bedrock, Vertex, Foundry, Claude apps gateway and telemetry-disabled sessions”; “Addeddecider: "person"to a mod’stool.checkanswer: only the permission dialog or a host’s callback can approve the ask, and it is refused with the mod’s reason where nobody can be asked”; “Added a warning on Pro and Max plans when resuming an inactive conversation would use a noticeable share of your 5-hour usage limit”; “Changed tool search to be on by default behind a customANTHROPIC_BASE_URL; a 400 or 422 from the gateway is retried without it”; “Changed mods’settings.readhooks to receive each settings layer and rewrite the merged settings, so a managed mod can make an organization’s setting a ceiling”; “Changed skill hooks: the skills of one source (a repo, your own folder, or a plugin) can register at most 1,024 hooks and 16,384 matcher characters per session”.2.1.305: “Added
sandbox.allowNestedUserNamespacesso sandboxed commands on Linux can create user namespaces (Chromium, rootless podman); this lets them get around the sandbox’s file protections”; “AddedCLAUDE_CODE_RETRY_WATCHDOG_USAGE_LIMIT_RECHECK_MSso unattended retry mode (CLAUDE_CODE_RETRY_WATCHDOG) notices a usage limit that was lifted before its reset”; “Fixed every request failing on Vertex, Bedrock and other providers when the endpoint or a gateway rejects tool search, and behind gateways with ToolSearch disallowed or left out of--tools(a 2.1.304 regression): Claude Code now retries without it”; “Improved/usage: each warning is now a one-line fix that names its source, andfapplies the fixes; the same fixes appear in VS Code and/doctor”; “ChangedallowedMcpServersto stop filteringmanaged-mcp.jsonstdio servers that use${VAR}only inenv: one your allowlist left out now loads on upgrade; usedeniedMcpServersto keep it off”.2.1.307: “Added
/claude-api api-versionto move Claude API code to API version2026-10-21”; “Added theclaude_code.safety_eventOpenTelemetry event for each tool call a permission rule, auto mode, a safety check, a hook or the sandbox stopped, prompted or sent back”; “Improved fork subagents launched together: each is now told which launch is its own, so forks are much less likely to try to start each other’s work”; “[Code Review] Added@claude review stop(alsooffandpause) to Code Review, ending an@claude review alwayssubscription on a pull request without starting a new review”. 2.1.309: “Fixed sandboxed Bash commands on macOS and Linux running the shell’s startup files outside the sandbox before each command”; “Changedsed -ito get the standard Bash prompt and run as written, not a simulated file-edit preview; like other Bash edits, it is no longer restored by/rewind”; “Changedclaude ultrareviewto require workspace trust: it asks on a terminal, else refuses; scripts pass--trust-workspace, which takes no value (put a PR number or base branch before it), or setCLAUDE_CODE_DISABLE_ULTRAREVIEW_TRUST_CHECK=1”; “Fixed sessions compacting repeatedly after reading files under a very large nested CLAUDE.md; a nested CLAUDE.md over the size limit now loads only its start”; “Changed worktree creation and reuse so git no longer fetches objects on demand, in ordinary clones and in partial clones with a Bash sandbox configured; such a partial clone fetches them first”.2.1.310: “Added the Monitor tool and plugin monitors on Bedrock, Vertex, and Foundry, and when telemetry or nonessential traffic is disabled; long foreground sleeps are now blocked there too”; “Fixed requests failing behind some gateways and compatible servers that reject the
effort-2025-11-24beta value or mid-conversation system messages; Claude Code now retries without them”; “Linux: Improved/sandboxand the sandbox startup warning to name Ubuntu’s AppArmor restriction on user namespaces, and how to lift it, when it keeps bubblewrap from starting the sandbox”. ↩ -
Claude Code CHANGELOG, v2.1.311 through v2.1.317 (commits 2026-10-26T21:51Z, 10-27T20:23Z, 10-30T01:06Z, 10-31T01:01Z, and 11-03T01:25Z) and the matching GitHub releases v2.1.311 (2026-10-26T21:51:23Z), v2.1.312 (10-27T20:24:20Z), v2.1.314 (10-30T01:06:26Z), v2.1.316 (10-31T01:01:35Z), and v2.1.317 (11-03T01:25:46Z), each identical to its CHANGELOG section; npm publish times from
npm view @anthropic-ai/claude-code time: 2.1.311 2026-10-26T19:47:57Z, 2.1.312 10-27T18:36:10Z, 2.1.314 10-30T00:12:56Z, 2.1.315 10-30T21:05:24Z (no CHANGELOG entry, no GitHub release), 2.1.316 10-31T00:42:05Z, 2.1.317 11-02T23:57:53Z; dist-tags on 2026-11-02:latestandnext2.1.317,stable2.1.311. Verbatim, 2.1.311: “Changedultrathinkin the interactive terminal to run its turn at xhigh effort on Opus 5.5, Sonnet 5.5, Haiku 5.5 and Fable 5.1 through Anthropic’s API; typed while Claude is working, it raises the rest of that turn”. 2.1.316: “Deprecated fast mode for Opus 4.8 as of October 30, 2026; it will be removed on November 30, 2026. After removal, fast mode requests on Opus 4.8 return an error and do not fall back to standard Opus 4.8. Migrate to Opus 5.5 to keep the speedup”. 2.1.314: “Addedpermissions.blockWritesOutsideWorkingDirectories: Write, Edit and NotebookEdit refuse paths outside the working directories in every permission mode”. 2.1.312: “Changed prompt and agent hooks to run at most 24 at a time per session, sub-agents included, plus at most 12 that have waited longer than their event’s timeout; atimeoutunder 1 second now counts as 1 second”; “Changed Claude Code to stop sending theclaude_code.safety_eventOpenTelemetry event”. 2.1.317: “Addedanthropic.plan,anthropic.seat_type,anthropic.providerandanthropic.custom_base_urlto OTel metrics, events and spans”. ↩↩↩ -
Claude Code documentation, fetched November 2, 2026: Speed up responses with fast mode (“Fast mode for Opus 4.8 was deprecated on October 30, 2026, and will be removed on November 30, 2026. If Opus 4.8 is still your model with fast mode on after that date, the API rejects your requests”); Model configuration (“The terminal prompt, where the word shows in rainbow colors when it can raise the turn. Requires Claude Code v2.1.311 or later.”); All settings for
permissions.blockWritesOutsideWorkingDirectories(“Make theWrite,Edit, andNotebookEdittools refuse paths outside your working directories in every permission mode, includingbypassPermissions”; “Once the key is on, Claude Code also removes theEnterWorktreeandExitWorktreetools”),idleCompaction(on by default “in an interactive terminal session, in the VS Code extension’s chat panel, or in the desktop app’s Code tab when the session runs on your machine or over SSH”), anddisableRemoteControl(“Claude Code refusesclaude remote-control, the--remote-controlflag, auto-start, and the in-session toggle”); Re-read November 25, 2026; the quotations that had drifted are given in that day’s wording.Environment variables for
CLAUDE_CODE_SIMPLE_SYSTEM_PROMPT,CLAUDE_CODE_DISABLE_REFUSAL_FALLBACK,CLAUDE_CODE_SYNC_SKILLS,CLAUDE_CODE_TRANSCRIPT_LOCAL_GC,CLAUDE_CODE_SKIP_PROMPT_HISTORY,CLAUDE_CODE_DISABLE_CFC_PROMPT, andFORCE_HYPERLINK(“Before v2.1.314,false,no, andoffenabled hyperlinks instead”); the page does not yet listCLAUDE_CODE_DISABLE_ULTRATHINK,CLAUDE_CODE_SUBAGENT_EFFORT,CLAUDE_CODE_MODEL_CATALOG,CLAUDE_CODE_DISABLE_LOOPED_CROSS_CERT_DROP,CLAUDE_CODE_DISABLE_NESTED_SESSION_ID, orOTEL_EXPORTER_OTLP_TIMEOUT; Create custom subagents (“TheCLAUDE_CODE_EFFORT_LEVELenvironment variable takes precedence over both”); Self-hosted environments reference (--hold-idle-file,--max-hold-min: “Requires Claude Code v2.1.311 or later”); Self-hosted environments (“in public beta on Team and Enterprise plans and are off by default”); Configure server-managed settings; Claude apps gateway configuration (“policy_moderequires Claude Code v2.1.316 or later on the gateway server”;identity_retention_days“Default90”); Continue local sessions from any device with Remote Control. Sitemaplastmodmoved on 137 code.claude.com pages between October 26 and November 3; the Wayback CDX index shows none of them first published in that window. ↩↩ -
Claude Code CHANGELOG, v2.1.318 through v2.1.322 (commits 2026-11-04T00:00Z, 11-06T17:03Z, 11-09T19:22Z, and 11-10T02:29Z) and the matching GitHub releases v2.1.318 (2026-11-04T00:01:03Z), v2.1.319 (11-06T17:04:01Z), v2.1.321 (11-09T19:22:30Z), and v2.1.322 (11-10T02:29:43Z), each identical to its CHANGELOG section (84, 146, 118, and 1 bullets); no v2.1.320 tag, release, or CHANGELOG section exists. npm publish times from
npm view @anthropic-ai/claude-code time: 2.1.318 2026-11-03T21:55:17Z, 2.1.319 2026-11-06T00:58:56Z, 2.1.321 2026-11-09T19:02:47Z, 2.1.322 2026-11-10T01:58:41Z;dist-tagsat 2026-11-10:latest2.1.322,next2.1.322,stable2.1.311. Verbatim, 2.1.321: “Added Claude Fable 5.2 (claude-fable-5-2), now the default Fable model”, with “1M context, $8/$40 per Mtok with $0.20/Mtok cache reads”; “Changed saved Fable 5.1 model picks to move tofable: on Pro and Max plans at once, on Team and Enterprise plans once your organization allows it; use/model claude-fable-5-1to switch back”; “Added--settings <file>toclaude remote-control, which applies a settings file to every session it starts”; “Changed mods Claude writes to turn on without asking in auto and bypass modes … and not to load indontAskmode”; “Changed mods’ own tool calls ($.tool.call,$.mcp.call) to raise no permission prompt”. 2.1.322: “Added fast mode on Vertex in the global, us and eu regions, falling back to standard speed if Vertex refuses it”.2.1.319: “Changed auto mode with telemetry or feature flags off, including behind LLM gateways: calls the server can’t check are asked about or denied, with no fallback to the built-in classifier; set
CLAUDE_CODE_AUTO_MODE_SERVER=0to keep using it (Bedrock, Vertex and Foundry are unchanged)”; “Added support for MCP tasks in the terminal”; “Addedpermissions.denyInsteadOfPromptingsetting: a tool call that would wait on a permission prompt is denied and the turn continues, in terminal sessions, subagents and teammates”; “Added theCLAUDE_CODE_DISABLE_FEATURE_FLAGSenvironment variable, which stops feature-flag fetching without turning off telemetry”; “Changed MCP tasks to work in the terminal without feature-flag fetching (Bedrock, Vertex, Foundry, LLM gateways,DISABLE_TELEMETRY); setCLAUDE_CODE_DISABLE_MCP_TASKS=1to turn them off”; “Changed self-paced/loopto end when a turn finishes without rescheduling … setCLAUDE_CODE_LOOP_KEEPALIVE=1to keep the old behavior”; “Removedshortcuts_listandshortcuts_execute… from Claude Code’s built-in Claude in Chrome tools”. 2.1.318: “Added the date a stored claude.ai sign-in ends toclaude auth status(loginExpiresAt) and toclaude -pJSON results (credential_expires_at)”; “Changed Claude Code to no longer install or update the IDE extension when started in an IDE terminal”; “Changed background subagents to move a shell command to the background after 3 minutes on all providers”. ↩↩↩↩ -
CLI reference: “If you don’t give a name, Claude Code generates one.”; “Use a specific session ID for the conversation (must be a valid UUID)”; “Set a display name for the session”; “(Research preview) MCP servers whose channel notifications Claude should listen for in this session.”; “
--ssoto force SSO authentication”. Fetched November 10, 2026. ↩ -
Authentication: “self-service plan with collaboration features, admin tools, SSO, billing management, and server-managed settings”; “adds domain capture, role-based permissions, and the compliance API”. Set up Claude Code for your organization: “SSO, SCIM provisioning, and seat assignment are configured at the Claude account level.” Claude apps gateway for Amazon Bedrock, Claude Platform on AWS, Google Cloud, and Microsoft Foundry: “Developers sign in with your corporate identity provider (IdP) instead of holding API keys or cloud credentials.”; “SAML and LDAP aren’t supported.” Claude Code on Claude Platform on AWS: “Claude Platform on AWS is the Anthropic-operated Claude API with AWS authentication, IAM access control, and AWS Marketplace billing.” Fetched November 10, 2026. ↩↩↩
-
All settings: “is the only supported target; Claude Code ignores other entries.”; “
true: only managed hooks run, plus Agent SDK hooks and hooks from plugins your managed settings force-enable.”; “Atruein managed settings can’t be overridden byfalseelsewhere.”; “Also accepted underpermissionsaspermissions.disableAutoMode.” Configure permissions: “disableBypassPermissionsModeis typically placed in managed settings to enforce organizational policy, but it works from any scope.” Deploy managed settings: “thecom.anthropic.claudecodemanaged preferences domain”; “the JSON as aREG_SZorREG_EXPAND_SZvalue namedSettingsunderHKLM\SOFTWARE\Policies\ClaudeCode”. Fetched November 10, 2026. ↩↩↩↩↩↩↩↩↩ -
Configure permissions: “a deny or ask rule covers the invocation Claude usually produces and isn’t a security boundary around the program”; “Rules are evaluated in order: deny, then ask, then allow.”; “A deny rule doesn’t match the same program by path or inside
sh -c, so pair it with the sandbox network allowlist when the restriction must hold”. Fetched November 10, 2026. ↩ -
Run Claude Code behind a corporate launcher: “
CLAUDE_CODE_PROCESS_WRAPPERrequires Claude Code v2.1.208 or later.”; “The equivalentprocessWrappersetting requires v2.1.210 or later.”; “On Windows, the variable is ignored”; “Project and local settings can’t configure the launcher.” Fetched November 10, 2026. ↩ -
Claude Code CHANGELOG (the first quote is from version 2.0.70, the second from version 2.1.154): “Removed # shortcut for quick memory entry (tell Claude to edit your CLAUDE.md instead)”; “Removed the stale “& for background” hint from the shortcuts help panel”. How Claude remembers your project: “or edit the file yourself via
/memory”; “target under 200 lines per CLAUDE.md file”; “Before v2.1.281, some sessions, such as those on Amazon Bedrock or with telemetry disabled, readCLAUDE.mdfiles only.”; “C:\Program Files\ClaudeCode\CLAUDE.md”. Fetched November 10, 2026. ↩ -
Legal and compliance: “If a customer has executed a Business Associate Agreement (BAA) with Anthropic, that BAA extends to Claude Code in two configurations”; “Claude Code routed through a third-party cloud provider or a gateway aren’t covered”. What Certifications has Anthropic obtained?: “HIPAA-ready configuration (BAA available)”; “ISO 27001:2022”; “ISO/IEC 42001:2023”; “SOC 2 Type I & Type II”; “to request copies of our compliance documentation, please visit our Trust Portal”. Data usage: “Anthropic does not train generative models using code or prompts sent to Claude Code under commercial terms”; “We will train new models using data from Free, Pro, Max, and Ultra accounts when this setting is on”; “Claude Code clients store session transcripts locally in plaintext under
~/.claude/projects/for 30 days by default”; “Metrics never include your code, prompts, or file paths.”; “SetDISABLE_TELEMETRY=1to opt out.”; on error reports, “Claude Code redacts known patterns of secrets, file paths, email addresses, and other personal information before anything leaves your machine. SetDISABLE_ERROR_REPORTING=1to opt out.”; error reports on the Claude API are “On for Pro, Max, and Ultra sign-ins on v2.1.198+, otherwise off.”; “By default, error reporting, telemetry, and bug reporting are disabled when using Amazon Bedrock, Google Cloud’s Agent Platform, Microsoft Foundry, or Claude Platform on AWS.” Monitoring: “OpenTelemetry events are the audit data source for Claude Code activity.” Fetched November 10, 2026; the data usage page was read again on November 11, 2026. ↩↩↩↩↩ -
Claude Code Analytics API: “When someone signs in to Claude Code with a Claude subscription plan, such as Pro, Max, Team, or Enterprise, their usage is attributed to their claude.ai organization, and this API doesn’t return it.”; “This API only tracks Claude Code usage on the Claude API.”; “Number of records per page (default: 20, max: 1000)”; “The Claude Code Analytics API is free to use for all organizations with access to the Admin API.” Fetched November 10, 2026. ↩↩
-
Claude Code Docs, “All settings”; Claude Code Docs, “Authentication”; the Claude Code CHANGELOG; and the npm registry record for
@anthropic-ai/claude-code. Fetched November 11, 2026. ThemodelPricingentry in the settings reference: “Claude Code doesn’t read them from your contract or the Claude Console. Requires Claude Code v2.1.242 or later.” The authentication page, on signing in without an API key: “Choose the Anthropic Console account at the/loginprompt and Claude Code asks how you want to sign in. Requires Claude Code v2.1.242 or later.” The CHANGELOG has a 2.1.243 section and a 2.1.241 section and none for 2.1.242; under 2.1.243 it lists “AddedmodelPricingmanaged setting so an organization’s contracted per-model rates and discount multiplier are used for/cost, the status line, and telemetry cost figures instead of list price” and “Added a keyless sign-in under/login→ Anthropic Console”. The registry’stimefield dates 2.1.242 to 2026-08-24T19:16:14.767Z and 2.1.243 to 2026-08-24T23:10:45.498Z. ↩ -
Claude Code Docs, “Configure the sandboxed Bash tool”, and Claude Code Docs, “All settings.” Fetched November 11, 2026. From the sandboxing page, hosts outside your allowed domains: “In an interactive terminal session, the decision depends on your permission mode”, with the table rows “
bypassPermissionsmode, and plan mode with bypass permissions available” (“Allowed without a prompt”), “Manual mode,acceptEditsmode, and plan mode otherwise” (“You get a prompt”), auto mode (“Refused unless the command listed the host and the classifier approved the list”), anddontAskmode (“Refused”). The strict allowlist: “the built-in sandbox proxy refuses the connection in every permission mode. InbypassPermissionsmode, hosts outside your allowed domains are allowed unless one of them is on.” Where it can be set: “totruein user, managed, or CLI--settingssettings” and “Setting it in a repository’s.claude/settings.jsonor.claude/settings.local.jsonhas no effect. Requires Claude Code v2.1.219 or later.” Thesandbox.network.strictAllowlistentry in the settings reference gives the scope as “User or managed” and adds “A repository can’t turn it on or off.” ↩ -
Control MCP server access for your organization, Claude Code documentation, fetched November 11, 2026: “The servers in
managed-mcp.jsonneed noallowedMcpServersentry, with one exception: Claude Code checks a server against the allowlist when it uses${VAR}expansion outsideenv. Before v2.1.305, it also checked a server that used${VAR}expansion only inenv, and before v2.1.259, every managed server whenever an allowlist was set.”; “Amanaged-mcp.jsonserver that uses${VAR}expansion in its command, arguments, URL, or headers is still checked.”; “deniedMcpServersapplies to managed servers too, so a managed server that matches an entry won’t load.”; “these servers start loading on each user’s first launch of a version that doesn’t check them, with no prompt or notice”. ↩ -
Claude Code Docs. “All settings.” Fetched November 11, 2026. The
worktree.baseRefentry: “"fresh"branches fromorigin/<default-branch>for a clean tree matching the remote;"head"branches from your current localHEAD, so unpushed commits and feature-branch state are present in the worktree.” TheallowedProvidersentry lists its"vertex"value as “Google Cloud’s Agent Platform, formerly Vertex AI”. ↩ -
Claude Code Docs, “Configure server-managed settings”, and the Claude Code CHANGELOG, section 2.1.316. Fetched November 11, 2026. Docs page, “Security approval dialogs”: “Certain settings that could pose security risks require explicit user approval before Claude Code applies them in an interactive session” and “When these settings are present, users see a security dialog explaining what is being configured.”; the list under it names shell command settings, sandbox settings, custom environment variables and hook configurations. CHANGELOG: “Changed server-managed settings for Team and Enterprise logins: settings fetched from Anthropic’s API now apply without an approval prompt, and a stored copy that doesn’t verify is refused” ↩↩
-
Claude Platform Docs. “Claude Code Analytics API.” Fetched November 11, 2026. “You can access them using an Admin API key, an OAuth token with the
org:adminscope, or a personal or service account key that isn’t scoped to a workspace; workspace API keys don’t work.” ↩ -
Data usage, Claude Code documentation, fetched November 11, 2026. Error reports: “error messages and stack traces from Claude Code’s own internals, sent to a third-party error tracking service over TLS. Claude Code redacts known patterns of secrets, file paths, email addresses, and other personal information before anything leaves your machine. Set
DISABLE_ERROR_REPORTING=1to opt out.”; “Error reporting is on only when all of these apply”, followed by “you sign in with a Claude Pro, Max, or Ultra subscription”, “you’re running Claude Code v2.1.198 or later”, “you’re connecting directly to the Claude API”, and “your organization doesn’t have a zero data retention or HIPAA agreement”. Providers: “By default, error reporting, telemetry, and bug reporting are disabled when using Amazon Bedrock, Google Cloud’s Agent Platform, Microsoft Foundry, or Claude Platform on AWS.”; “When a host platform setsCLAUDE_CODE_PROVIDER_MANAGED_BY_HOST, metrics default to on for Google Cloud’s Agent Platform, Amazon Bedrock, Microsoft Foundry, and Claude Platform on AWS, and follow the standardDISABLE_TELEMETRYopt-out.” ↩ -
Deploy managed settings and All settings, Claude Code documentation, fetched November 11, 2026. Remote settings: “Claude Code can fetch this source when the session meets one of these conditions”: “It has an eligible credential”; “It signs in to a gateway with
/login”; “It runs in Claude Desktop’s Code tab behind a gateway that serves that session settings”. The HKCU registry: “Claude Code reads it only when no admin document is present above it and no host-supplied parent settings supply a restrictive key”; a document is present when “It sets any policy key to a value other thannull, even a value Claude Code can’t read” or “It is an HKLM value, managed settings file, ormanaged-settings.ddirectory that exists but can’t be read”. Re-read November 25, 2026; the quotations that had drifted are given in that day’s wording.Merging: “set
managedSourcesBehaviorto"merge"in the highest-ranked source you deploy”; “The user-writable HKCU registry never merges with another source.”; lists: “Combines the entries from every source”; locks: “Applies the strictest value any source sets; a looser value applies only from the highest-ranked source”; restriction allowlists: “Takes the list whole from the highest-ranked source that sets it, without adding entries from lower sources”; values taken whole: “Takes the value whole from the highest-ranked source that sets it, without combining entries or fields from lower sources”; every other key: “Takes the value from the highest-ranked source that sets it”. A policy key is “any settings key other than the two control keys,wslInheritsWindowsSettingsandmanagedSourcesBehavior”. Delivery: “The file in the steps above is one of four ways to get managed settings onto a machine.”; “As a macOS configuration profile or a WindowsHKLMregistry value, through Jamf, Intune, Group Policy, or a similar tool”; “/etc/claude-code/managed-settings.json” under “Linux and WSL”. Settings reference: “Takingsandbox.credentials.awsPairsandsandbox.ripgrepwhole requires Claude Code v2.1.257 or later.” ↩↩↩ -
Claude apps gateway for Amazon Bedrock, Claude Platform on AWS, Google Cloud, and Microsoft Foundry, Claude Code on Amazon Bedrock, and Claude Code on Google Cloud’s Agent Platform, Claude Code documentation, fetched November 11, 2026. Gateway: “The Claude apps gateway is designed for organizations that must, or prefer to, route inference through their own cloud provider, for example to meet data residency requirements.” Bedrock: “Claude Code resolves the region in this order”, then
AWS_REGION,AWS_DEFAULT_REGION, “theregionset on your active AWS profile”, andus-east-1. Agent Platform: “SetCLOUD_ML_REGIONtoglobal, a multi-region location such aseuorus, or a specific region such asus-east5.” ↩ -
Claude Code CHANGELOG, v2.1.323 through v2.1.332, fetched November 25, 2026 (294, 139, 367, 173, 144, 130, 142, 135, and 150 top-level bullets for 2.1.323, 2.1.325, 2.1.326, 2.1.327, 2.1.328, 2.1.329, 2.1.330, 2.1.331, and 2.1.332; no 2.1.324 section), and the GitHub releases v2.1.323 (2026-11-12T22:12:13Z), v2.1.325 (11-13T20:40:01Z), v2.1.326 (11-16T22:11:05Z), v2.1.327 (11-17T23:17:45Z), v2.1.328 (11-19T01:14:04Z), v2.1.329 (11-19T22:14:41Z), v2.1.330 (11-20T22:32:56Z), v2.1.331 (11-23T21:34:41Z), and v2.1.332 (11-25T01:32:14Z); no v2.1.324 release exists. npm publish times from
npm view @anthropic-ai/claude-code time: 2.1.323 2026-11-12T20:29:28Z, 2.1.324 11-13T18:42:36Z, 2.1.325 11-13T20:07:25Z, 2.1.326 11-16T18:43:39Z, 2.1.327 11-17T20:33:19Z, 2.1.328 11-18T23:09:39Z, 2.1.329 11-19T18:40:25Z, 2.1.330 11-20T19:16:01Z, 2.1.331 11-23T18:36:26Z, 2.1.332 11-24T22:06:38Z;dist-tagson 2026-11-25:latest2.1.332,next2.1.332,stable2.1.326. Verbatim, 2.1.332: “Changed the default model on Microsoft Foundry to Sonnet 5.5: deployclaude-sonnet-5-5, or setANTHROPIC_DEFAULT_SONNET_MODELto a model you have deployed”; “Changed thesonnetmodel alias on Google Cloud’s Agent Platform and Microsoft Foundry to Sonnet 5.5, and Foundry’sopusalias to Opus 5.5;sonneton Amazon Bedrock stays at Sonnet 4.5”; “Added aPreSkillShellCommandhook event that can refuse a skill or command’s inline shell commands as it loads; on 2.1.331 and older, a settings file naming it opens a dialog at start”; “Added skills from MCP servers (beta). They show asserver:skillin the/menu; other skills keep their names”; “Changed/schedule, permission prompts and/loop’s cloud offer to say “cloud scheduled task” instead of “routine” or “cloud schedule”;/routinesstill works”. 2.1.330: “Changed recurring scheduled tasks and/loopto run up to 30 days instead of 7 while their session keeps running, and say when they end; tasks made before this release still end at 7 days”. 2.1.328: “Added auto mode for Claude Opus 4.6 and Sonnet 4.6 on Amazon Bedrock, Google Cloud’s Agent Platform, Microsoft Foundry and Claude apps gateway; interactive sessions with no permission mode start in it”. 2.1.325: “Changed sandboxed Bash commands to follow the normal permission flow by default; setsandbox.autoAllowBashIfSandboxed: trueto keep running them without prompts”. 2.1.323: “Added Code Mode, an experimental opt-in in which Claude writes JavaScript to call its tools”; “Removed thesubagentStatusLinesetting: subagent rows always use the default look, and settings files that still hold the key load as before”; “Changed the context window assumed for a model ID that Claude Code doesn’t recognize from 200K to 1M; use/autocompactto compact earlier, orCLAUDE_CODE_DISABLE_1M_CONTEXT=1to keep 200K”; “ChangedMCP_SDK_GENERATION=v1to run the v2 MCP client in a compatibility mode (earlier handshake, relaxed OAuth sign-in checks), because the v1 MCP client is removed”. ↩↩↩↩ -
Claude Code documentation, fetched November 25, 2026: Model configuration (sitemap
lastmod2026-11-25), Claude Code on Microsoft Foundry and Claude Code on Google Cloud’s Agent Platform (bothlastmod2026-11-24). Model configuration, alias table: “Anthropic API | Opus 5.5 | Sonnet 5.5 | Haiku 5.5”; “Claude Platform on AWS | Opus 5.5 | Sonnet 4.6 | Haiku 4.5”; “Claude Models on Google Cloud (Anthropic managed) | Opus 5.5 | Sonnet 5.5 | Haiku 4.5”; “Amazon Bedrock, Google Cloud’s Agent Platform | Opus 5.5 | Sonnet 4.5 | Haiku 4.5”; “Microsoft Foundry | Opus 4.6 | Sonnet 4.5 | Haiku 4.5”. Default model: “Claude Platform on AWS, Claude Models on Google Cloud (Anthropic managed), Amazon Bedrock, and Google Cloud’s Agent Platform: defaults to Opus 5.5”; “Microsoft Foundry: defaults to Sonnet 4.5”. Foundry page: “Pin specific model versions for every deployment”; “WithoutANTHROPIC_DEFAULT_OPUS_MODEL, theopusalias on Microsoft Foundry resolves to Opus 4.6”. Agent Platform page: “withoutANTHROPIC_DEFAULT_SONNET_MODEL, thesonnetalias resolves to Sonnet 4.5”. These pages had not caught up with the v2.1.332 release notes on that date. ↩↩ -
Claude Code with Claude Models on Google Cloud (Anthropic managed), Claude Code documentation, fetched November 25, 2026 (sitemap
lastmod2026-11-14; first Wayback Machine capture 2026-11-15): “the Claude API, run by Anthropic and reached through your Google Cloud project”; “install Claude Code v2.1.307 or later”; theenvblock withCLAUDE_CODE_USE_ANTHROPIC_GOOGLE_CLOUD,ANTHROPIC_GOOGLE_CLOUD_PROJECT, andANTHROPIC_GOOGLE_CLOUD_WORKSPACE_ID; “TheAPI providerline containson Google Cloud”. Launch date from the Claude Platform release notes, October 22, 2026: “We’ve launched Claude Models on Google Cloud (Anthropic managed), the Claude API operated by Anthropic and reached through your Google Cloud project. Google Cloud IAM controls access. Google Cloud Marketplace handles billing.” The Claude Code CHANGELOG does not mention the provider or its variables. ↩ -
Claude Code CHANGELOG, section 2.1.334, and the v2.1.334 release, read December 1, 2026. npm registry: 2.1.334 published 2026-12-01T18:55:49Z; GitHub release 2026-12-01T22:12:28Z; dist-tags that day:
latestandnext2.1.334,stable2.1.331. Verbatim: “Changed auto-compact’s per-model auto setting to near 400K on most current 1M models,-pand SDK runs too (rolling out; on now with third-party providers or telemetry off); see/autocompact”; “Added an Auto-compact window row to/configto see and change the size that/autocompactsets”; “Added folder-level REVIEW.md support to/code-review: local reviews also follow REVIEW.md files in folders above a committed change”; “Gateway: Addedclaude gateway --config <file> --check configto check a config file without starting, and a start now reports a bad managed policy before it connects to Postgres”; “AddedcacheWrite5m,cacheWrite1hand, for Haiku 5.5,longPrompttomodelPricing, andcache_write_5m,cache_write_1h,long_promptto gatewaypricing.overrides; old keys still work”; “Windows: Added/desktopandclaude --desktopon Arm computers”; “Changed managedPostToolUsehooks so that when a tool can’t use a rewrite, Claude gets an error that says so; return the tool’s own output shape to keep the rewrite”. The 2.1.333 and 2.1.334 sections carry no entry forextraKnownMarketplacesor for fast mode. ↩↩ -
Documentation read December 1, 2026. Model configuration: “On
autoat 400K, compaction runs at about 367K tokens”; “run/autocompact 1Min your session. On your own machine, the size is saved for later sessions on that model version, and compaction runs at about 967K tokens”; “The managed entry replaces the size a developer saved for that model”; the alias table row “Google Cloud’s Agent Platform, Microsoft Foundry | Opus 5.5 | Sonnet 5.5 | Haiku 4.5”; “Microsoft Foundry: defaults to Sonnet 5.5”. CLI reference,claude mcp add --web <name> <url>: “Requires Claude Code v2.1.330 or later, and v2.1.332 or later on Team and Enterprise plans”; MCP: “This requires a claude.ai login and Claude Code v2.1.330 or later on a Pro, Max, or Ultra plan.” Environment variables,CLAUDE_CODE_ATTRIBUTION_PROJECT: “Name the claude.ai Project your usage is reported under: its UUID or ID. Set it in the launch environment”;CLAUDE_CODE_DISABLE_REPLAYED_THINKING_PROBE: “Set to1to turn off both retries. Requires Claude Code v2.1.334 or later”. Settings reference,attributionProjectPolicy: “Set your organization’s default Project for usage reports”. Fast mode: “Fast mode for Claude Fable 5.2 and Claude Opus 5.5 is available. Fast mode for Claude Opus 5 is in research preview”; “Fast mode for Opus 4.8 was deprecated on October 30, 2026, and removed on November 30, 2026. If Opus 4.8 is still your model with fast mode on, the API rejects your requests.” Plugin loading: automatic updates are “off for every other marketplace”. Commands,/desktop: “Requires macOS or x64 Windows and a Claude subscription”. Model deprecations: “claude-sonnet-4-5-20250929 | Retired | September 30, 2026 | November 30, 2026”; “This model was retired on Anthropic-operated platforms on November 30, 2026. It is available as a deprecated model on Amazon Bedrock (bedrock-runtime)”; “The dates on this page apply to Anthropic-operated platforms: the Claude API, Claude Platform on AWS, Claude Models on Google Cloud (Anthropic managed), and Microsoft Foundry. Partner-operated platforms, Claude Models on Google Cloud (Google managed) and Amazon Bedrock, set their own retirement schedules”. ↩↩