Changes on
33 changes detected
--- a/2026-w32.md
+++ b/2026-w32.md
@@ -1,4 +1,4 @@
-Releases [v2.1.220 → v2.1.224](</docs/en/changelog#2-1-220>)3 features · August 3–7
+Releases [v2.1.220 → v2.1.224](</docs/docs/en/changelog#2-1-220>)3 features · August 3–7
Cross-session messagingv2.1.224
@@ -12,13 +12,13 @@
The other session shows a `Message from` row once Claude has read the message; press `Ctrl+O` to expand it. To see which sessions Claude can reach, run `/list-agents`.
-[Message another session](</docs/en/cross-session-messaging#message-another-session>)
+[Message another session](</docs/docs/en/cross-session-messaging#message-another-session>)
Self-hosted environmentsv2.1.224
-Self-hosted environments run Claude Code cloud sessions on your organization’s own infrastructure, in public beta on Team and Enterprise plans. Run `claude self-hosted-runner` on your machines or containers to turn them into runners. When someone picks your environment while starting a session from claude.ai, the mobile or desktop apps, or `claude --cloud`, that session runs inside your network, with access to your internal services. An Owner or admin turns on **Allow self-hosted environments** in [admin settings](<https://claude.ai/admin-settings/cloud-environments>) first.
+Self-hosted environments run Claude Code cloud sessions on your organization’s own infrastructure, in public beta on Team and Enterprise plans. Run `claude self-hosted-runner` on your machines or containers to turn them into runners. When someone picks your environment while starting a session from claude.ai, the mobile or desktop apps, or `claude --cloud`, that session runs inside your network, with access to your internal services. An Owner turns on **Allow self-hosted environments** in [admin settings](<https://claude.ai/admin-settings/cloud-environments>) first.
-Signed in as an Owner or admin, run the guided setup, which walks you through creating the environment and starts a runner:
+Signed in as an Owner, run the guided setup, which walks you through creating the environment and starts a runner:
terminal
@@ -26,7 +26,7 @@
The environment shows **Healthy** in admin settings once the runner registers.
-[Self-hosted environments quickstart](</docs/en/self-hosted-environments-quickstart#set-up-an-environment-and-runner>)
+[Self-hosted environments quickstart](</docs/docs/en/self-hosted-environments-quickstart#set-up-an-environment-and-runner>)
Auto mode becomes the defaultCLI
@@ -44,34 +44,34 @@
New sessions then show `auto mode on` in the status bar.
-[Auto mode requirements and controls](</docs/en/permission-modes#eliminate-prompts-with-auto-mode>)
+[Auto mode requirements and controls](</docs/docs/en/permission-modes#eliminate-prompts-with-auto-mode>)
Other wins
-The VS Code extension gets [Focus view](</docs/en/vs-code#extension-settings>), which hides tool activity behind one expandable row per turn; toggle it from the command menu or with `Ctrl+Alt+F` (`Ctrl+Option+F` on Mac)
+The VS Code extension gets [Focus view](</docs/docs/en/vs-code#extension-settings>), which hides tool activity behind one expandable row per turn; toggle it from the command menu or with `Ctrl+Alt+F` (`Ctrl+Option+F` on Mac)
-Sandbox credential files accept [`mode: “mask”`](</docs/en/sandboxing#mask-credential-files>) on Linux and WSL2, so sandboxed commands read a sentinel copy while the sandbox proxy substitutes the real value on egress; credential masking also gains `extract`, JWT-aware `decode`, and AWS SigV4 re-signing options
+Sandbox credential files accept [`mode: “mask”`](</docs/docs/en/sandboxing#mask-credential-files>) on Linux and WSL2, so sandboxed commands read a sentinel copy while the sandbox proxy substitutes the real value on egress; credential masking also gains `extract`, JWT-aware `decode`, and AWS SigV4 re-signing options
-Marketplaces can distribute a plugin as a [zip archive](</docs/en/plugin-marketplaces#zip-archives>) with the new `archive` source, downloaded over HTTPS with an optional SHA-256 pin, so installs work without git or npm
+Marketplaces can distribute a plugin as a [zip archive](</docs/docs/en/plugin-marketplaces#zip-archives>) with the new `archive` source, downloaded over HTTPS with an optional SHA-256 pin, so installs work without git or npm
-`/review` is now an alias of [`/code-review`](</docs/en/code-review#review-a-diff-locally>), and `/code-review` with no effort level reuses the level you typed last
+`/review` is now an alias of [`/code-review`](</docs/docs/en/code-review#review-a-diff-locally>), and `/code-review` with no effort level reuses the level you typed last
-A session you copy with [`/fork`](</docs/en/agent-view#copy-the-session-with-%2Ffork>) now makes its code changes in a worktree of its own instead of the original session’s checkout
+A session you copy with [`/fork`](</docs/docs/en/agent-view#copy-the-session-with-%2Ffork>) now makes its code changes in a worktree of its own instead of the original session’s checkout
-Plugins you install from [`/plugin`](</docs/en/discover-plugins#install-plugins>) activate in the current session when it’s safe to do so; the install summary reports `Plugin is now active.` or tells you to run `/reload-plugins`
+Plugins you install from [`/plugin`](</docs/docs/en/discover-plugins#install-plugins>) activate in the current session when it’s safe to do so; the install summary reports `Plugin is now active.` or tells you to run `/reload-plugins`
-[Background sessions](</docs/en/agent-view#how-file-edits-are-isolated>) that changed code in a worktree now commit and push before finishing, open a draft pull request only when the task calls for one, and follow the git instructions in your `CLAUDE.md`
+[Background sessions](</docs/docs/en/agent-view#how-file-edits-are-isolated>) that changed code in a worktree now commit and push before finishing, open a draft pull request only when the task calls for one, and follow the git instructions in your `CLAUDE.md`
-The 200-subagent-per-session cap is removed, so long-running sessions no longer refuse new subagents; the [concurrency](</docs/en/sub-agents#concurrent-subagent-limit>) and depth limits still apply
+The 200-subagent-per-session cap is removed, so long-running sessions no longer refuse new subagents; the [concurrency](</docs/docs/en/sub-agents#concurrent-subagent-limit>) and depth limits still apply
-A repository’s checked-in settings can no longer turn on [Remote Control auto-connect](</docs/en/remote-control#enable-remote-control-for-all-sessions>); set `remoteControlAtStartup` in your user or managed settings instead, and project and local settings can only turn it off
+A repository’s checked-in settings can no longer turn on [Remote Control auto-connect](</docs/docs/en/remote-control#enable-remote-control-for-all-sessions>); set `remoteControlAtStartup` in your user or managed settings instead, and project and local settings can only turn it off
-[Worktree isolation](</docs/en/worktrees#how-claude-code-enforces-isolation>) now blocks not only file edits but also Bash commands and git redirects that reach the main checkout, in every session type and in the session’s subagents
+[Worktree isolation](</docs/docs/en/worktrees#how-claude-code-enforces-isolation>) now blocks not only file edits but also Bash commands and git redirects that reach the main checkout, in every session type and in the session’s subagents
A Bash command can no longer hide part of itself from permission checks, and tab or invisible-Unicode padding no longer hides part of a command from the approval dialog
PreToolUse auto-allow hooks no longer bypass tool restrictions in Claude Code’s internal side tasks such as summaries and compaction
-The [Ultraplan](</docs/en/ultraplan>) research preview is removed, including the `/ultraplan` command and the `ultraplan` keyword; use plan mode or Claude Code on the web instead
+The [Ultraplan](</docs/docs/en/ultraplan>) research preview is removed, including the `/ultraplan` command and the `ultraplan` keyword; use plan mode or Claude Code on the web instead
[Full changelog for v2.1.220–v2.1.224 →](</docs/en/changelog#2-1-220>)
--- a/2026-w33.md
+++ b/2026-w33.md
@@ -0,0 +1,63 @@
+Releases [v2.1.225 → v2.1.233](</docs/docs/en/changelog#2-1-225>)3 features · August 10–14
+
+Auto-continue after a usage limit on DesktopDesktop
+
+When you hit your session limit in the Code tab of Claude Code Desktop, the limit card now offers an **Auto-continue when limits reset** checkbox. Check it, and the Desktop app retries the interrupted turn after the reset. The card shows the retry time. The weekly-limit card doesn’t offer it.
+
+The next time a session-limit card appears, check **Auto-continue when limits reset** and leave the session open. The card shows `Auto-resuming at` followed by the reset time, and the turn picks up on its own once the limit resets.
+
+[What to do when you hit a usage limit](</docs/docs/en/errors#youve-hit-your-session-limit>)
+
+Fork mode on by defaultv2.1.232
+
+Fork mode is now on by default in interactive sessions. Claude can request the `fork` subagent type, which inherits the full conversation and prompt cache instead of starting fresh, so you don’t have to re-explain the context for a side task. Subagents Claude spawns in interactive sessions, apart from the ones an agent-team teammate spawns, also run in the background by default.
+
+Start a fork yourself with a task that needs everything you’ve discussed so far:
+
+Claude Code
+
+ > /subtask draft unit tests for the parser changes so far
+
+The fork appears in the panel below your prompt and its result arrives in your conversation when it finishes. To turn fork mode off, set `CLAUDE_CODE_FORK_SUBAGENT=0`.
+
+[Turn fork mode on or off](</docs/docs/en/sub-agents#turn-fork-mode-on-or-off>)
+
+GitLab merge requests and marketplacesv2.1.232
+
+Plugin marketplaces clone bare `gitlab.com` URLs, including nested subgroups. On v2.1.233 or later, pass a GitLab merge request URL to `—worktree` to branch from it, and the `claude agents` view labels sessions linked to a merge request as `!N`. Claude Code also redacts GitLab token families such as `glpat-` and `glrt-`, and protects the `glab` CLI’s config store the same way it protects `gh`.
+
+Start a session in a worktree branched from a merge request:
+
+terminal
+
+ claude --worktree https://gitlab.com/group/project/-/merge_requests/42
+
+When `origin` is on gitlab.com, Claude Code fetches `merge-requests/42/head` and opens the session on that branch in its own worktree.
+
+[Branch a worktree from a pull or merge request](</docs/docs/en/worktrees#branch-from-a-pull-request>)
+
+Other wins
+
+Type `@` in the prompt to [mention another Claude session](</docs/docs/en/cross-session-messaging#message-another-session>) by name, and Claude messages it directly with `SendMessage`; a bare name that matches exactly one live session now delivers without a confirmation step
+
+Interactive sessions on one machine keep [unique names](</docs/docs/en/cross-session-messaging#see-which-sessions-claude-can-reach>): if you start or rename a session with a name another live session already uses, Claude Code gives yours a `name-word-word` variant and tells you
+
+Plugin marketplaces accept [`command` sources](</docs/docs/en/plugin-marketplaces#command-sources>): a local command prints the plugin directory, which Claude Code re-resolves each session and applies without a restart
+
+On Linux and WSL, set [`CLAUDE_CODE_TOOL_MEMORY_LIMIT`](</docs/docs/en/tools-reference#memory-limit-on-linux-and-wsl>) to a size such as `4G` to cap the memory Bash and PowerShell tool commands can use
+
+The task-tracking tools, such as `TaskCreate`, `TaskUpdate`, and `TodoWrite`, are [no longer available on Opus 4.8, Sonnet 5, Fable 5, Mythos 5, and later models in those families](</docs/docs/en/tools-reference#task-tool-availability>); set `CLAUDE_CODE_ENABLE_TODO_TOOLS=1` to re-enable them
+
+[`/code-review`](</docs/docs/en/code-review#review-a-diff-locally>) at high, xhigh, and max effort now runs in a background agent like the other levels
+
+[`/plugin install plugin@marketplace`](</docs/docs/en/discover-plugins#install-plugins>) refreshes the marketplace first, so newly published plugins install without a manual marketplace update
+
+Settings accept [`additionalMarketplaces` and `allowedMarketplaces`](</docs/docs/en/settings-reference#marketplace-key-aliases>) as aliases for `extraKnownMarketplaces` and `strictKnownMarketplaces`
+
+On newer models, Claude can [overwrite an existing file with the Write tool](</docs/docs/en/tools-reference#write-tool-behavior>) without reading it first this session, matching the Edit tool’s rules; older models require the read
+
+The VS Code extension can [organize the sessions list into groups](</docs/docs/en/vs-code#organize-sessions-into-groups>): right-click to create, rename, or delete a group, and Cmd/Ctrl- or Shift-click to move several sessions at once
+
+If your organization routes Claude Code through a [Claude apps gateway with spend limits](</docs/docs/en/claude-apps-gateway-spend-limits>), Claude Code shows the limit period, its reset time, and the operator’s message when you reach the limit
+
+[Full changelog for v2.1.225–v2.1.233 →](</docs/en/changelog#2-1-225>)
--- a/2026-w34.md
+++ b/2026-w34.md
@@ -0,0 +1,75 @@
+Releases [v2.1.234 → v2.1.239](</docs/docs/en/changelog#2-1-234>)3 features · August 17–21
+
+/designresearch preview
+
+The `/design` skill brings Claude Design’s artboard workflow into the CLI and Claude Code Desktop, built on artifacts. Run it with a brief and Claude publishes a canvas of editable artboards for your UI. Pick one, tweak it, then have Claude implement it. Available on Pro, Max, Team, and Enterprise. Requires v2.1.233 or later.
+
+Describe what you want designed and let Claude draft the options:
+
+Claude Code
+
+ > /design redesign the composer based on what people actually use it for
+
+Claude prints a link to the published canvas. Open it, pick an artboard, and tell Claude which option to implement.
+
+[Where artifacts are available](</docs/docs/en/artifacts#availability>)
+
+Concise output stylev2.1.237
+
+Concise is a new built-in output style. Claude leads with the result and skips preamble and narration, while doing the work as thoroughly as in the Default style. When you ask for an explanation or more detail, Claude answers in full. Error reports, security warnings, and confirmations for destructive actions keep their complete content.
+
+Turn it on under **Output style** in `/config`, or set it in your settings file:
+
+~/.claude/settings.json
+
+ {
+ "outputStyle": "Concise"
+ }
+
+Run `/clear` or start a new session, and Claude’s replies lead with the result.
+
+[Built-in output styles](</docs/docs/en/output-styles#built-in-output-styles>)
+
+Start a session on your machine from your phonemobile
+
+Any machine running `claude remote-control` now shows up as a device card at the top of the Code tab in the Claude app. Remote Control is also out of research preview.
+
+Start Remote Control on the machine you want to reach, then open the Code tab on your phone:
+
+terminal
+
+ claude remote-control
+
+Your machine appears as a device card at the top of the Code tab. Tap it to pick a directory and start a session there.
+
+[Start a Remote Control session](</docs/docs/en/remote-control#start-a-remote-control-session>)
+
+Other wins
+
+Claude Code now continues your session automatically when a claude.ai usage limit resets; turn it off from the **Continue automatically at usage limit** row in `/config`
+
+The optional [`spellcheck` setting](</docs/docs/en/interactive-mode#check-spelling-as-you-type>) underlines misspelled words in the prompt input as you type, using your installed `aspell`, `hunspell`, or `ispell`
+
+On a branch with an open GitLab merge request, with the `glab` CLI authenticated through `glab auth login`, the footer shows an [`MR !N` badge](</docs/docs/en/interactive-mode#gitlab-merge-requests>) colored by whether the merge request is a draft, open, or mergeable
+
+Change the effort level from your phone or claude.ai/code and it [applies to the session on your machine](</docs/docs/en/remote-control#what-connected-devices-see>); Remote Control sessions hosted by Desktop or VS Code also show connected devices the session’s current permission mode
+
+You can open [`/permissions`](</docs/docs/en/permissions#manage-permissions>) or run `/add-dir <path>` while Claude is working; permission rule changes apply to the rest of the current turn
+
+When background tasks keep a [`/goal`](</docs/docs/en/goal#background-work-defers-evaluation>) waiting, Claude checks in on them after 30 minutes instead of waiting indefinitely and keeps checking in, at longer intervals while the session sits idle; set `CLAUDE_CODE_GOAL_CHECKIN_MINUTES=0` to opt out
+
+Your own prompts now render markdown in the transcript, with highlighted code blocks, inline code, and lists, the same way replies do
+
+The new [`ANTHROPIC_DEFAULT_MODEL`](</docs/docs/en/model-config#set-a-default-model-for-new-sessions>) environment variable sets the model new sessions start on; a `/model` pick still overrides it and persists across restarts
+
+With the `notify_when_idle` input on `SendMessage`, Claude can ask another Claude Code session on the same machine to [send one notice when it next goes idle](</docs/docs/en/cross-session-messaging#get-a-notice-when-another-session-goes-idle>)
+
+Set [`keybindingFlavor`](</docs/docs/en/interactive-mode#make-ctrl-w-delete-back-to-whitespace>) to `“readline”` to make `Ctrl+W` in the prompt delete back to the previous whitespace, as Bash does, instead of stopping at punctuation such as `/`
+
+On native Windows, your Claude Code sessions can now [message each other](</docs/docs/en/cross-session-messaging#availability>) with `SendMessage` and find each other with `ListAgents`, as on macOS and Linux
+
+Self-hosted runners accept `--defer-shutdown-max-min`, which [keeps serving attached sessions](</docs/docs/en/self-hosted-environments-deploy#defer-the-drain-past-the-first-signal>) for a set number of minutes after SIGTERM
+
+Self-hosted runners accept `--proxy-authorization-command` or `--proxy-authorization-file` to supply a fresh `Proxy-Authorization` header for [egress proxies that require one](</docs/docs/en/self-hosted-environments-deploy#authenticate-to-an-egress-proxy>)
+
+[Full changelog for v2.1.234–v2.1.239 →](</docs/en/changelog#2-1-234>)
--- a/admin-setup.md
+++ b/admin-setup.md
@@ -88,7 +88,7 @@
[Required version range](</docs/en/settings-reference#requiredminimumversion>)| Refuse to start at all when the running version is outside an org-approved range. Stronger than `minimumVersion`, which only blocks downgrades| `requiredMinimumVersion`, `requiredMaximumVersion`
[Telemetry opt-out](</docs/en/data-usage#telemetry-services>)| Turn off Anthropic-bound usage metrics, error reports, and surveys on every device| `env` with `CLAUDE_CODE_DISABLE_NONESSENTIAL_TRAFFIC` set to `1`; the linked section lists the per-category variables
-Organizations whose members authenticate through claude.ai or the Anthropic API can also govern models without deploying settings: [organization model restrictions](</docs/en/model-config#organization-model-restrictions>) disable individual models, an [organization default model](</docs/en/model-config#organization-default-model>) sets which model new sessions start on, and [organization effort limits](</docs/en/model-config#organization-effort-limits>) cap effort levels per role. All three controls require a Claude Enterprise plan. Model restrictions and effort limits are enforced server-side; the default model is a starting point that users can change, unless the organization enforces it. Enforcement is available to a limited set of organizations; ask your Anthropic account team about availability. None of these controls reach sessions on Amazon Bedrock, Google Cloud’s Agent Platform, Microsoft Foundry, or [Claude Platform on AWS](</docs/en/claude-platform-on-aws>); on those providers, use `availableModels` above for restrictions and the `model` key in managed settings for a default. [Claude Code on the web](</docs/en/claude-code-on-the-web>) has its own admin surface: on the Cloud environments page in admin settings, owners and admins create [organization-shared environments](</docs/en/cloud-environments#organization-shared-environments>) that set the [network access level](</docs/en/cloud-environments#network-access>), environment variables, and setup script for members’ cloud sessions. Owners and admins choose the organization’s default environment separately, at [claude.ai/admin-settings/claude-code](<https://claude.ai/admin-settings/claude-code>). Permission rules and sandboxing cover different layers. Denying WebFetch blocks Claude’s fetch tool, but if Bash is allowed, `curl` and `wget` can still reach any URL. Sandboxing closes that gap with a network domain allowlist enforced at the OS level. For the threat model these controls defend against, see [Security](</docs/en/security>).
+Organizations whose members authenticate through claude.ai or the Anthropic API can also govern models without deploying settings: [organization model restrictions](</docs/en/model-config#organization-model-restrictions>) disable individual models, an [organization default model](</docs/en/model-config#organization-default-model>) sets which model new sessions start on, and [organization effort limits](</docs/en/model-config#organization-effort-limits>) cap effort levels per role. All three controls require a Claude Enterprise plan. Model restrictions and effort limits are enforced server-side; the default model is a starting point that users can change, unless the organization enforces it. Enforcement is available to a limited set of organizations; ask your Anthropic account team about availability. None of these controls reach sessions on Amazon Bedrock, Google Cloud’s Agent Platform, Microsoft Foundry, or [Claude Platform on AWS](</docs/en/claude-platform-on-aws>); on those providers, use `availableModels` above for restrictions and the `model` key in managed settings for a default. [Claude Code on the web](</docs/en/claude-code-on-the-web>) has its own admin surface: on the Cloud environments page in admin settings, Owners create [organization-shared environments](</docs/en/cloud-environments#organization-shared-environments>) that set the [network access level](</docs/en/cloud-environments#network-access>), environment variables, and setup script for members’ cloud sessions. Owners choose the organization’s default environment separately, at [claude.ai/admin-settings/claude-code](<https://claude.ai/admin-settings/claude-code>). Permission rules and sandboxing cover different layers. Denying WebFetch blocks Claude’s fetch tool, but if Bash is allowed, `curl` and `wget` can still reach any URL. Sandboxing closes that gap with a network domain allowlist enforced at the OS level. For the threat model these controls defend against, see [Security](</docs/en/security>).
##
--- a/auto-mode-config.md
+++ b/auto-mode-config.md
@@ -7,6 +7,7 @@
* Add a human checkpoint for pushes and pull requests with `permissions.ask`
* Choose where to set rules across CLAUDE.md, user settings, and managed settings
* Define trusted infrastructure with `autoMode.environment`
+ * Generate environment entries with `/auto-mode-setup`
* Override the block and allow rules when the defaults don’t fit your pipeline
* Route all shell commands through the classifier with `autoMode.classifyAllShell`
* Inspect your effective config with the `claude auto-mode` subcommands
@@ -142,6 +143,63 @@
+Generate environment entries with `/auto-mode-setup`
+
+Run `/auto-mode-setup` to have Claude Code draft `autoMode.environment` entries, and sometimes rule entries too, from your project and your recent sessions in it. If you accept the draft, Claude Code writes it to `~/.claude/settings.json`.
+
+`/auto-mode-setup` requires a Pro, Max, or Team plan and Claude Code v2.1.228 or later. On native Windows it requires v2.1.233 or later. You can’t run it in [Claude Code on the web](</docs/en/claude-code-on-the-web>). It also needs [feature-flag fetching](</docs/en/env-vars#features-that-need-feature-flag-fetching>), so you can’t run it in a session where you’ve turned flag fetching off.
+
+###
+
+
+
+What `/auto-mode-setup` reads
+
+If `~/.claude/settings.json` already holds `autoMode` entries, Claude Code starts by asking whether to add to your environment list or replace it, and keeps the rules you wrote either way. Claude Code then asks how you use this project and offers two optional scans before it scans anything. In the scan, Claude Code always reads these sources:
+
+ * This project’s `CLAUDE.md`, `README.md`, config files, and git remotes
+ * Your `autoMode` and `permissions.allow` settings
+ * The hosts, buckets, and command names from the commands Claude ran in your recent sessions in this project, never your messages
+
+The two optional scans add one source each:
+
+ * The first word of each command in your shell history
+ * The remote hosts and names of the repositories under your home directory
+
+###
+
+
+
+Review and save the draft
+
+Claude Code scans in the background, then shows you the draft. You accept or discard it as a whole, so edit `~/.claude/settings.json` afterwards to adjust single entries. When you accept, Claude Code writes the draft and reconciles it with the settings you already have:
+
+ * Claude Code writes the `environment` list without `"$defaults"`, because the draft spells out the built-in entries it left unchanged
+ * Claude Code includes `"$defaults"` in each of the `allow`, `soft_deny`, and `hard_deny` lists the draft adds entries to, unless you already wrote an `allow` list without it, so the built-in rules you haven’t replaced stay in effect
+ * After saving, Claude Code offers to remove `permissions.allow` rules in `~/.claude/settings.json` that auto mode ignores, such as `Bash(*)`, or that auto-approve destructive commands
+
+Then run `claude auto-mode config` to see the effective result.
+
+###
+
+
+
+Turn off `/auto-mode-setup`
+
+Once auto mode has blocked several actions and you still have no `autoMode.environment` entries, Claude Code shows a dialog titled “Teach auto mode about your environment?” at the end of a turn and offers to run `/auto-mode-setup` for you. To stop the offer but keep the command, select **Don’t show again** in that dialog. To turn off both the command and the offer, add this [`skillOverrides`](</docs/en/skills#override-skill-visibility-from-settings>) entry to `~/.claude/settings.json`:
+
+ {
+ "skillOverrides": {
+ "auto-mode-setup": "off"
+ }
+ }
+
+`/auto-mode-setup` is a built-in command rather than a [bundled skill](</docs/en/skills#bundled-skills>), so this `skillOverrides` entry still applies to it, but [`disableBundledSkills`](</docs/en/settings-reference#disablebundledskills>) doesn’t turn it off.
+
+##
+
+
+
Override the block and allow rules
Three additional fields let you replace the classifier’s built-in rule lists:
@@ -279,7 +337,7 @@
Fix repeated denials
-Repeated denials for the same destination usually mean the classifier is missing context. Add that destination to `autoMode.environment`, then run `claude auto-mode config` to confirm it took effect. To react to denials programmatically, use the [`PermissionDenied` hook](</docs/en/hooks#permissiondenied>).
+Repeated denials for the same destination usually mean the classifier is missing context. Add that destination to `autoMode.environment`, or run `/auto-mode-setup` to have Claude Code draft the entries, then run `claude auto-mode config` to confirm the change took effect. To react to denials programmatically, use the [`PermissionDenied` hook](</docs/en/hooks#permissiondenied>).
##
--- a/changelog.md
+++ b/changelog.md
@@ -1,4 +1,20 @@
This page is generated from the [CHANGELOG.md on GitHub](<https://github.com/anthropics/claude-code/blob/main/CHANGELOG.md>). Run `claude --version` to check your installed version.
+
+
+
+2.1.241
+
+August 23, 2026
+
+ * Bug fixes and reliability improvements
+
+
+
+2.1.240
+
+August 22, 2026
+
+ * Bug fixes and reliability improvements
--- a/chrome.md
+++ b/chrome.md
@@ -1,4 +1,7 @@
-Claude Code integrates with the [Claude in Chrome browser extension](<https://chromewebstore.google.com/detail/claude/fcoeoabgfenejglbffodgkkbkcdhcgfn>) to give you browser automation capabilities from the CLI or the [VS Code extension](</docs/en/vs-code#automate-browser-tasks-with-chrome>). Build your code, then test and debug in the browser without switching contexts. Claude opens new tabs for browser tasks and shares your browser’s login state, so it can access any site you’re already signed into. Browser actions run in a visible Chrome window in real time. When Claude encounters a login page or CAPTCHA, it pauses and asks you to handle it manually.
+Claude Code integrates with the [Claude in Chrome browser extension](<https://chromewebstore.google.com/detail/claude/fcoeoabgfenejglbffodgkkbkcdhcgfn>) to give you browser automation capabilities from the CLI or the [VS Code extension](</docs/en/vs-code#automate-browser-tasks-with-chrome>). Build your code, then test and debug in the browser without switching contexts. Claude opens new tabs for browser tasks and shares your browser’s login state, so it can access any site you’re already signed into. Browser actions run in a visible Chrome window in real time. When Claude encounters a login page or CAPTCHA, it pauses and asks you to handle it manually. The extension collects the tabs Claude opens into a Chrome tab group tied to your session. In local sessions, whether Claude Code closes that group when the session ends depends on how it ends:
+
+ * When you type `/clear`, Claude Code closes the group, open pages included, unless work that survives the clear is still running
+ * When you switch sessions with a command like `/resume`, exit Claude Code, or run a `/clear` while work that survives it is still running, Claude Code closes the group only if it holds nothing but empty new tabs, so pages you may still be reading stay open
Chrome integration works with Google Chrome and Microsoft Edge. Claude Code also detects the extension and sets up the connection in other Chromium-based browsers, including Brave, Arc, Vivaldi, and Opera. Chrome integration isn’t supported in Windows Subsystem for Linux (WSL).
modified
Claude apps gateway for Amazon Bedrock, Claude Platform on AWS, Google Cloud, and Microsoft Foundry
View current →
--- a/claude-apps-gateway.md
+++ b/claude-apps-gateway.md
@@ -249,7 +249,7 @@
Deliver policy to Claude Desktop sessions
-Claude Desktop runs embedded Claude Code sessions and passes policy to each one it launches. It builds that policy from the configuration the gateway serves it at `/user/bootstrap`: the model allowlist, disabled tools, and egress allowlist derived from the matched policy’s `cli` block, plus the [`desktop` overlay](</docs/en/claude-apps-gateway-config#claude-desktop-overlay>). Other `cli` keys, such as hooks, `env`, and scoped permission rules like `Bash(npm *)`, reach only clients that sign in through `/login`. Claude Desktop is pointed at the gateway through its own managed configuration and signs in with its own flow, separate from the `forceLoginMethod` and `forceLoginGatewayUrl` keys in Set the gateway URL. Settings passed by a launching process are parent settings. Claude Code ignores parent settings on any machine that has an admin-deployed managed source, unless the highest-priority source sets `parentSettingsBehavior: "merge"`.
+Claude Desktop runs its Cowork and Code tabs, plus the Chat tab when you enable it, on embedded Claude Code sessions and sends their model requests through the gateway. It passes policy to each of those sessions, built from the configuration the gateway serves it at `/user/bootstrap`: the model allowlist, disabled tools, and egress allowlist derived from the matched policy’s `cli` block, plus the [`desktop` overlay](</docs/en/claude-apps-gateway-config#claude-desktop-overlay>). Other `cli` keys, such as hooks, `env`, and scoped permission rules like `Bash(npm *)`, reach only clients that sign in through `/login`. Claude Desktop reads the gateway URL from its own managed configuration and signs in with its own flow, separate from the `forceLoginMethod` and `forceLoginGatewayUrl` keys in Set the gateway URL. Settings passed by a launching process are parent settings. Claude Code ignores parent settings on any machine that has an admin-deployed managed source, unless the highest-priority source sets `parentSettingsBehavior: "merge"`.
####
@@ -356,7 +356,7 @@
Connect Claude Desktop
-[Claude Desktop](</docs/en/desktop>) connects to the same gateway through a different MDM key: set `bootstrapUrl` in Claude Desktop’s [managed configuration](<https://claude.com/docs/third-party/claude-desktop/configuration>) to `<listen.public_url>/user/bootstrap`, and opt the user’s policy in with a `desktop` key. [Claude Desktop overlay](</docs/en/claude-apps-gateway-config#claude-desktop-overlay>) covers both halves. Requires Claude Code v2.1.203 or later on the gateway server. Claude Desktop signs the developer in through the gateway’s identity provider with the same browser SSO step, then fetches its configuration from the gateway instead of from Anthropic. Model access and policy follow the same per-group rules as the CLI. A developer who uses both the CLI and Claude Desktop signs in to each separately; the gateway session isn’t shared between them.
+[Claude Desktop](</docs/en/desktop>) connects to the same gateway through a different MDM key: set `bootstrapUrl` in Claude Desktop’s [managed configuration](<https://claude.com/docs/third-party/claude-desktop/configuration>) to `<listen.public_url>/user/bootstrap`, and opt the user’s policy in with a `desktop` key. [Claude Desktop overlay](</docs/en/claude-apps-gateway-config#claude-desktop-overlay>) covers both halves. Requires Claude Code v2.1.203 or later on the gateway server. Claude Desktop signs the developer in through the gateway’s identity provider with the same browser SSO step, then fetches its configuration from the gateway instead of from Anthropic. Model access and policy follow the same per-group rules as the CLI. A developer who uses both the CLI and Claude Desktop signs in to each separately; the gateway session isn’t shared between them. Once connected, Claude Desktop sends model requests from every enabled tab through the gateway. It shows the Cowork and Code tabs by default. To turn on the Chat tab as well, set `chatTabEnabled` to `true` in Claude Desktop’s [managed configuration](<https://claude.com/docs/third-party/claude-desktop/configuration>), or in the policy’s [`desktop` block](</docs/en/claude-apps-gateway-config#claude-desktop-overlay>) on a gateway running Claude Code v2.1.227 or later.
###
@@ -401,7 +401,7 @@
---|---|---
Inference forwarding (Amazon Bedrock, Claude Platform on AWS, Google Cloud’s Agent Platform, Microsoft Foundry, Anthropic)| Available| With per-upstream model translation and failover. The Amazon Bedrock upstream uses the `bedrock-runtime` endpoint and the AWS default credential chain; the Amazon Bedrock [Mantle endpoint](</docs/en/amazon-bedrock#use-the-mantle-endpoint>) is not a supported upstream. The [Claude Platform on AWS upstream](</docs/en/claude-apps-gateway-config#claude-platform-on-aws>) requires Claude Code v2.1.198 or later on the gateway server.
Model access and managed settings by IdP group| Available| Model access is enforced server-side; managed settings are delivered per IdP group and applied by the CLI at the [managed settings tier](</docs/en/settings#settings-precedence>)
-Claude Desktop| Available with opt-in| The gateway serves Claude Desktop’s configuration at `/user/bootstrap` once a policy [opts in with a `desktop` key](</docs/en/claude-apps-gateway-config#claude-desktop-overlay>). Requires Claude Code v2.1.203 or later on the gateway server.
+Claude Desktop| Available with opt-in| The gateway serves Claude Desktop’s configuration at `/user/bootstrap` once a policy [opts in with a `desktop` key](</docs/en/claude-apps-gateway-config#claude-desktop-overlay>), and Claude Desktop sends model requests from its Cowork and Code tabs, and from the Chat tab when you enable it, through the gateway. To turn on the Chat tab, see Connect Claude Desktop. Requires Claude Code v2.1.203 or later on the gateway server.
Telemetry fan-out (OTLP/HTTP)| Available| Identity-stamped per export; both protobuf and JSON encodings
OIDC identity providers| Available| Any OIDC-compliant IdP; the gateway runs standard OIDC discovery and the authorization-code flow. See [Identity provider setup](</docs/en/claude-apps-gateway-deploy#identity-provider-setup>) for per-IdP configuration
Per-user and per-group spend limits| Available| See [Spend limits](</docs/en/claude-apps-gateway-spend-limits>)
--- a/cloud-environments.md
+++ b/cloud-environments.md
@@ -17,7 +17,7 @@
With only **Default** available, every session runs in it. When you have more than one environment, sessions choose one per surface:
- * On the web, the Desktop app, and the mobile app, sessions use the environment shown in the selector. An admin-set organization default fills the selection when you haven’t picked one.
+ * On the web, the Desktop app, and the mobile app, sessions use the environment shown in the selector. An organization default set by an Owner fills the selection when you haven’t picked one.
* From the CLI, sessions use your `/remote-env` pick, or fall back to your first available cloud environment. For a [self-hosted environment](</docs/en/self-hosted-environments>), passing `--environment <environment-id>` with its `ccpool_` ID [when you dispatch a session](</docs/en/self-hosted-environments-testing#run-the-test-loop>) overrides both for that invocation. The flag rejects Anthropic-hosted `env_` IDs, so use `/remote-env` to target those. The flag requires Claude Code v2.1.224 or later.
Configure an environment when the default isn’t enough: when Claude needs to reach domains outside the default allowlist, needs environment variables set for its sessions, or needs dependencies installed before it starts working.
@@ -28,7 +28,7 @@
Configure your environment
-Create, edit, and archive environments from the environment selector at [claude.ai/code](<https://claude.ai/code>), which you reach after [web onboarding](</docs/en/web-quickstart>). Environments you create are personal to your account; shared environments created by your admins appear in the same selector. See Installed tools for what’s available without any configuration.
+Create, edit, and archive environments from the environment selector at [claude.ai/code](<https://claude.ai/code>), which you reach after [web onboarding](</docs/en/web-quickstart>). Environments you create are personal to your account; shared environments created by an Owner appear in the same selector. See Installed tools for what’s available without any configuration.
1
@@ -82,7 +82,7 @@
Organization-shared environments
-Owners and admins on Team and Enterprise plans can create cloud environments that are shared with every member of the organization; the same roles manage everything else on the **Cloud environments** admin page, including [self-hosted environments](</docs/en/self-hosted-environments>). Shared environments appear in each member’s environment selector alongside their personal ones, so a team can standardize on one configuration instead of each member recreating it. Create, edit, and archive shared environments from the **Cloud environments** page in [admin settings](<https://claude.ai/admin-settings>). Each shared environment has a name, a network access level, environment variables in `.env` format, and a setup script. Owners and admins choose the organization’s default environment separately, at [claude.ai/admin-settings/claude-code](<https://claude.ai/admin-settings/claude-code>). Values in a shared environment reach every member’s sessions in that environment. Like personal environments, shared environments have no dedicated secrets store, so don’t include secrets. In [Claude Tag](<https://claude.com/docs/claude-tag/overview>) channels, Claude works as your organization’s shared identity, not as any member, so channel sessions use shared environments only. You can set the environment a channel uses in two ways:
+On Team and Enterprise plans, an Owner can create cloud environments that are shared with every member of the organization. The same role manages everything else on the **Cloud environments** admin page, including [self-hosted environments](</docs/en/self-hosted-environments>); the Admin role can’t open the page. The full list of roles that can open it is the one for [managing server-managed settings](</docs/en/server-managed-settings#access-control>). Shared environments appear in each member’s environment selector alongside their personal ones, so a team can standardize on one configuration instead of each member recreating it. Create, edit, and archive shared environments from the **Cloud environments** page in [admin settings](<https://claude.ai/admin-settings>). Each shared environment has a name, a network access level, environment variables in `.env` format, and a setup script. Owners choose the organization’s default environment separately, at [claude.ai/admin-settings/claude-code](<https://claude.ai/admin-settings/claude-code>). Values in a shared environment reach every member’s sessions in that environment. Like personal environments, shared environments have no dedicated secrets store, so don’t include secrets. In [Claude Tag](<https://claude.com/docs/claude-tag/overview>) channels, Claude works as your organization’s shared identity, not as any member, so channel sessions use shared environments only. You can set the environment a channel uses in two ways:
* Set a shared environment as the organization’s default environment at [claude.ai/admin-settings/claude-code](<https://claude.ai/admin-settings/claude-code>).
* [Pin one to a channel](<https://claude.com/docs/claude-tag/admins/troubleshooting#channel-sessions-use-the-wrong-environment-or-can%E2%80%99t-find-one>) in the Claude Tag admin settings.
@@ -183,10 +183,10 @@
Your repo’s `.claude/rules/`| Yes| Part of the clone
Your repo’s `.claude/skills/`, `.claude/agents/`, `.claude/commands/`| Yes| Part of the clone
Plugins declared in `.claude/settings.json`| Yes| Installed at session start from the [marketplace](</docs/en/plugin-marketplaces>) you declared. Requires network access to reach the marketplace source
-Your organization’s [server-managed settings](</docs/en/server-managed-settings>)| Yes| Fetched from Anthropic’s servers when the session starts. See [Surface coverage](</docs/en/model-config#surface-coverage>) for how `availableModels` is enforced in cloud sessions. Settings deployed to your device through MDM or managed settings files don’t apply, because the session runs on an Anthropic-managed VM; in a [self-hosted environment](</docs/en/self-hosted-environments>), sessions read the managed settings file in the runner image only when server-managed settings deliver no keys, per [settings precedence](</docs/en/server-managed-settings#settings-precedence>)
+Your organization’s [server-managed settings](</docs/en/server-managed-settings>)| Yes| Fetched from Anthropic’s servers when the session starts. See [Surface coverage](</docs/en/model-config#surface-coverage>) for how `availableModels` is enforced in cloud sessions. Settings deployed to your device through MDM or managed settings files don’t apply, because the session runs on an Anthropic-managed VM; in a [self-hosted environment](</docs/en/self-hosted-environments>), sessions read the managed settings file in the runner image only when server-managed settings deliver no keys, per [settings precedence](</docs/en/server-managed-settings#settings-precedence>), apart from the [keys Claude Code reads from every admin source](</docs/en/managed-settings#keys-read-from-every-admin-source>)
Your user `~/.claude/CLAUDE.md`| No| Lives on your machine, not in the repo
Your user `~/.claude/skills/`, `~/.claude/agents/`, `~/.claude/commands/`| No| Live on your machine, not in the repo. Commit them to the repo’s `.claude/` directory instead. Cloud sessions automatically load skills you enable on claude.ai
-Plugins enabled only in your user settings| No| User-scoped `enabledPlugins` lives in `~/.claude/settings.json`. Declare them in the repo’s `.claude/settings.json` instead
+Plugins enabled only in your user settings| No| User-scoped `enabledPlugins` lives in `~/.claude/settings.json`. Declare them in the repo’s `.claude/settings.json` instead, or enable them for your claude.ai account so Claude Code loads them as [synced plugins](</docs/en/plugins-reference#synced-plugins>)
MCP servers you added with `claude mcp add` at the default local scope or the user scope| No| Those write to `~/.claude.json` on your machine, not the repo. Add the server with `claude mcp add --scope project`, which writes the repo’s [`.mcp.json`](</docs/en/mcp#project-scope>), and commit that file
Transport variables in your repo’s `.claude/settings.json` `env` block, such as `NODE_EXTRA_CA_CERTS` and the [mTLS client certificate variables](</docs/en/network-config#mtls-authentication>)| No| The hosting environment manages the session’s API connection, so Claude Code ignores these keys and notes each ignored key in the session’s debug log
Static API tokens and credentials| No| No dedicated secrets store exists yet. See below
--- a/commands.md
+++ b/commands.md
@@ -31,6 +31,7 @@
`/advisor [model|off]`| Enable or disable the [advisor tool](</docs/en/advisor>), which consults a second model for guidance at key moments during a task. Accepts `fable`, `opus`, `sonnet`, or a full model ID. `fable` requires [Fable 5 access](</docs/en/advisor#choose-an-advisor-model>). Without an argument, opens a picker
`/agents`| As of v2.1.198, running `/agents` prints a reminder to ask Claude to create or manage [subagents](</docs/en/sub-agents>), or to edit `.claude/agents/` or `~/.claude/agents/` directly. On v2.1.197 and earlier, opens an interactive interface for creating and managing subagent configurations
`/artifacts`| List the [artifacts](</docs/en/artifacts#find-an-artifact-again>) you own or that are shared with you, then attach one to the session, open it in your browser, or copy its link. Available where [artifacts](</docs/en/artifacts#availability>) are. Requires Claude Code v2.1.208 or later; attaching with `Enter` requires v2.1.216
+`/auto-mode-setup`| [Draft `autoMode.environment` entries](</docs/en/auto-mode-config#generate-environment-entries>) from your project and recent sessions, then review the draft and save it to your user settings. Requires a Pro, Max, or Team plan and Claude Code v2.1.228 or later. On native Windows, requires v2.1.233 or later
`/autocompact [auto|<tokens>]`| Set the auto-compact window: how full the context window gets before Claude Code compacts automatically. Pass a size such as `500k`, or `auto` to return to the window tuned for your model. Claude Code saves the value to user settings and applies it to the current session. See [Set the auto-compact window](</docs/en/model-config#set-the-auto-compact-window>) for accepted values and what overrides it. Without an argument, opens a dialog that shows the current window. Requires Claude Code v2.1.221 or later
`/autofix-pr [prompt]`| Spawn a [Claude Code on the web](</docs/en/claude-code-on-the-web#auto-fix-pull-requests>) session that watches the current branch’s PR and pushes fixes when CI fails or reviewers leave comments. Detects the open PR from your checked-out branch with `gh pr view`; to watch a different PR, check out its branch first. By default the cloud session is told to fix every CI failure and review comment; pass a prompt to give it different instructions, for example `/autofix-pr only fix lint and type errors`. Requires the `gh` CLI and access to [Claude Code on the web](</docs/en/claude-code-on-the-web>)
`/background [prompt]`| Detach the current session to run as a [background agent](</docs/en/agent-view>) and free this terminal. Pass a prompt to send one more instruction before detaching. Monitor the session with `claude agents`. To copy the conversation into a new background session while this one keeps running, use `/fork`. Alias: `/bg`
@@ -40,7 +41,7 @@
`/bug [report]`| Report a bug or share your conversation. You choose how much session history to include and confirm on a consent screen before anything is sent. When you’re signed in to Anthropic on a first-party connection, the report goes to Anthropic; on a third-party provider, or without Anthropic credentials, Claude Code writes the report to a [local archive under `~/.claude/feedback-bundles/`](</docs/en/data-usage#telemetry-services>) that you forward yourself. In the [VS Code extension](</docs/en/vs-code#use-the-prompt-box>), `/bug` opens the extension’s own feedback dialog instead; requires Claude Code v2.1.229 or later. When you run it while Claude is responding, Claude Code opens the dialog immediately. Before v2.1.232, Claude Code queued the command until the turn finished. Alias: `/share`. Before v2.1.212, `/bug` and `/share` were aliases of `/feedback`
`/cd <path>`| Move this session to a new working directory, keeping the conversation and its prompt cache. Type a partial path to see matching directory suggestions; press `Tab` to accept one. Claude Code prompts you to [trust the workspace](</docs/en/permissions#project-allow-rules-and-workspace-trust>) if you haven’t worked in it before, and `--resume` [finds the moved session](</docs/en/sessions#resume-a-session>) afterward. To grant access to an extra directory without moving the session, use `/add-dir`. Restrict or disable `/cd` targets with [`Cd` permission rules](</docs/en/permissions#cd>). Requires Claude Code v2.1.169 or later
`/chrome`| Configure [Claude in Chrome](</docs/en/chrome>) settings
-`/claude-api [migrate|managed-agents-onboard|prompt-audit]`| **[Skill](</docs/en/skills#bundled-skills>).** Load [Claude API](<https://platform.claude.com/docs/en/api/overview>) and Managed Agents reference material for your project’s language. Also activates automatically when your code imports `anthropic` or `@anthropic-ai/sdk`. Run `migrate` to upgrade existing Claude API code to a newer model, `managed-agents-onboard` for a walkthrough that creates a new Managed Agent, or `prompt-audit` to flag instructions written for older models in your prompts, skills, and tool descriptions and propose fixes as a diff. The `prompt-audit` subcommand requires Claude Code v2.1.221 or later
+`/claude-api [migrate|upgrade|managed-agents-onboard|prompt-audit]`| **[Skill](</docs/en/skills#bundled-skills>).** Load [Claude API](<https://platform.claude.com/docs/en/api/overview>) and Managed Agents reference material for your project’s language. Also activates automatically when your code imports `anthropic` or `@anthropic-ai/sdk`. Run `migrate` to update existing Claude API code to a newer model; `upgrade` to move your project’s Anthropic SDK dependency across a major version, currently the Python `anthropic` package from 0.x to 1.x; `managed-agents-onboard` for a walkthrough that creates a new Managed Agent; or `prompt-audit` to flag instructions written for older models in your prompts, skills, and tool descriptions and propose fixes as a diff. The `prompt-audit` subcommand requires Claude Code v2.1.221 or later, and `upgrade` requires v2.1.236 or later
`/clear [name]`| Start a new conversation with empty context. Pass a name to label the previous conversation in the `/resume` picker. To free up context while continuing the same conversation, use `/compact` instead. Resume the previous conversation with `/resume`, or, in the same Claude Code process, restore it from [the rewind menu’s previous-session entry](</docs/en/checkpointing#rewind-past-a-cleared-conversation>). Aliases: `/reset`, `/new`
`/code-review [low|medium|high|xhigh|max|ultra] [--fix] [--comment] [pr#|branch|path]`| **[Skill](</docs/en/skills#bundled-skills>).** Review the current diff, or a PR number, branch, or path you pass, for correctness bugs and cleanup opportunities. Pass `--fix` to apply findings, `--comment` to post them as inline GitHub PR comments, or `ultra` to run a deep [cloud review](</docs/en/ultrareview>). With `ultra` on a `github.com` PR target, `--post` preselects [posting the finished findings to the PR](</docs/en/ultrareview#post-findings-to-the-pull-request>) in the launch dialog. See [Review a diff locally](</docs/en/code-review#review-a-diff-locally>) for the effort levels, targeting, and how it relates to `/simplify`. Alias: `/review`
`/color [color|default]`| Set the prompt bar color for the current session. Available colors: `red`, `blue`, `green`, `yellow`, `purple`, `orange`, `pink`, `cyan`. Use `default` to reset, or run with no argument to pick a random color. When [Remote Control](</docs/en/remote-control>) is connected, the color syncs to claude.ai/code. Also available in non-interactive mode (`-p`); requires Claude Code v2.1.205 or later
--- a/debug-your-config.md
+++ b/debug-your-config.md
@@ -71,7 +71,7 @@
The clean session has no user or project settings, hooks, MCP servers, plugins, or memory. On the first launch, expect the first-run setup screens, starting with theme selection. If you see them, the clean configuration directory is in effect. Later launches with the same directory skip these screens because Claude Code saves onboarding state there.
- * Managed settings still apply if your organization deploys them, since they live at a system path outside `~/.claude`
+ * Managed settings still apply if your organization deploys them. Claude Code reads MDM profiles, registry policy, and `managed-settings.json` from locations outside the configuration directory, and [fetches server-managed settings](</docs/en/server-managed-settings#fetch-and-caching-behavior>) again for the clean session once it has credentials
* On Linux and Windows, you’ll be prompted to log in again because credentials are stored under the configuration directory
* On macOS, credentials are in the Keychain and carry over to the clean session
--- a/desktop.md
+++ b/desktop.md
@@ -458,7 +458,7 @@
Install plugins
-[Plugins](</docs/en/plugins>) are reusable packages that add skills, agents, hooks, MCP servers, and LSP configurations to Claude Code. You can install plugins from the desktop app without using the terminal. For local and SSH sessions, click the **+** button next to the prompt box and select **Plugins** to see your installed plugins and their skills. To add a plugin, select **Add plugin** from the submenu to open the plugin browser, which shows available plugins from your configured [marketplaces](</docs/en/plugin-marketplaces>) including the official Anthropic marketplace. Select **Manage plugins** to enable, disable, or uninstall plugins. Plugins can be scoped to your user account, a specific project, or local-only. If your organization manages plugins centrally, those plugins are available in desktop sessions the same way they are in the CLI. The plugin browser is not available in cloud sessions, and plugins you install from the desktop app aren’t available for cloud sessions; to use a plugin in a cloud session, declare it in the repository’s `.claude/settings.json` under [`enabledPlugins`](</docs/en/settings-reference#enabledplugins>) so it [installs at session start](</docs/en/cloud-environments#what-carries-over-from-your-setup>). Plugins aren’t available in WSL sessions. For the full plugin reference including creating your own plugins, see [plugins](</docs/en/plugins>).
+[Plugins](</docs/en/plugins>) are reusable packages that add skills, agents, hooks, MCP servers, and LSP configurations to Claude Code. You can install plugins from the desktop app without using the terminal. For local and SSH sessions, click the **+** button next to the prompt box and select **Plugins** to see your installed plugins and their skills. To add a plugin, select **Add plugin** from the submenu to open the plugin browser, which shows available plugins from your configured [marketplaces](</docs/en/plugin-marketplaces>) including the official Anthropic marketplace. Select **Manage plugins** to enable, disable, or uninstall plugins. You can scope plugins to your user account, a specific project, or local-only. If your organization manages plugins centrally, those plugins are available in desktop sessions the same way they are in the CLI. The plugin browser is not available in cloud sessions, and plugins you install from the desktop app aren’t available for cloud sessions. To use a plugin in a cloud session, either declare it in the repository’s `.claude/settings.json` under [`enabledPlugins`](</docs/en/settings-reference#enabledplugins>) so Claude Code [installs it at session start](</docs/en/cloud-environments#what-carries-over-from-your-setup>), or enable it for your claude.ai account so Claude Code loads it as a [synced plugin](</docs/en/plugins-reference#synced-plugins>). Plugins aren’t available in WSL sessions. For the full plugin reference including creating your own plugins, see [plugins](</docs/en/plugins>).
###
@@ -766,7 +766,7 @@
Which managed settings reach a Desktop session depends on where that session runs. Model restrictions such as [`availableModels`](</docs/en/model-config#restrict-model-selection>) are enforced in Desktop’s Claude Code sessions the same way as in the terminal CLI; see [surface coverage](</docs/en/model-config#surface-coverage>).
* **Local sessions on this machine** : a managed settings file deployed to disk applies. Managed settings pushed remotely through the admin console also reach these sessions on Anthropic’s API when the session authenticates with an [eligible login or key](</docs/en/server-managed-settings#platform-availability>), following the same [settings precedence](</docs/en/settings#settings-precedence>) as the terminal CLI.
- * **Cloud sessions** : receive [server-managed settings](</docs/en/server-managed-settings>); device-deployed files don’t reach them, because they run on Anthropic-managed VMs. Sessions routed to a [self-hosted environment](</docs/en/self-hosted-environments>) fall back to the managed settings file in the runner image when server-managed settings deliver no keys, per [settings precedence](</docs/en/server-managed-settings#settings-precedence>).
+ * **Cloud sessions** : receive [server-managed settings](</docs/en/server-managed-settings>); device-deployed files don’t reach them, because they run on Anthropic-managed VMs. Sessions routed to a [self-hosted environment](</docs/en/self-hosted-environments>) fall back to the managed settings file in the runner image when server-managed settings deliver no keys, per [settings precedence](</docs/en/server-managed-settings#settings-precedence>), apart from the [keys Claude Code reads from every admin source](</docs/en/managed-settings#keys-read-from-every-admin-source>).
* **SSH sessions** : the session reads the managed settings file from the remote host. Desktop itself reads `sshConfigs` and `sshHostAllowlist` from the local machine’s managed settings when creating the connection.
`permissions.disableBypassPermissionsMode` and `disableAutoMode` also work in user and project settings, but placing them in managed settings prevents users from overriding them. For the permission, plugin, and delivery keys only a managed source can set, see [Keys only managed settings can set](</docs/en/managed-settings#managed-only-settings>).
--- a/desktop-scheduled-tasks.md
+++ b/desktop-scheduled-tasks.md
@@ -30,7 +30,7 @@
Create a scheduled task
-In the [**Code** tab](</docs/en/desktop>), click **Routines** in the sidebar, then click **New routine** and choose **Local**. Configure these fields:
+On Claude Desktop before 1.1.5368, local scheduled tasks aren’t available. In the [**Code** tab](</docs/en/desktop>), click **Routines** in the sidebar, then click **New routine** and choose **Local**. If **Routines** is missing from the sidebar, update the Desktop app, and check whether [routines are turned off for your organization](</docs/en/routines#routines-are-disabled-by-your-organizations-policy>). Configure these fields:
Field| Description
---|---
--- a/env-vars.md
+++ b/env-vars.md
@@ -465,6 +465,7 @@
* [Start sessions in auto mode by default](</docs/en/permission-modes#which-mode-a-session-starts-in>) on Pro, Max, and Team plans; Claude Code starts your sessions in Manual instead
* Have the VS Code extension [read settings files for the starting permission mode](</docs/en/permission-modes#switch-permission-modes>)
+ * Run [`/auto-mode-setup`](</docs/en/auto-mode-config#generate-environment-entries>) to draft `autoMode.environment` entries
* Use [Remote Control](</docs/en/remote-control#requirements>)
* Send or receive [cross-session messages](</docs/en/cross-session-messaging#availability>)
* Run [`claude import` or the `/import` command](</docs/en/cli-reference#cli-commands>)
--- a/errors.md
+++ b/errors.md
@@ -63,6 +63,7 @@
`Anthropic profile login expired · Run /login to use your claude.ai account instead, or re-authenticate the profile`| Authentication
`does not meet scope requirement user:profile`| Authentication
`claude.ai rejected the session token` / `session token rejected`| Authentication
+`Issuer mismatch in authorization response (RFC 9207)`| Authentication
`AWS credentials expired or invalid`| Authentication
`AWS authentication failed`| Authentication
`AWS default-chain credential resolve timed out`| Authentication
@@ -117,6 +118,7 @@
`--bg and --print conflict`| Command-line errors
`Error: --json-schema is not a valid JSON Schema`| Command-line errors
`Error: Settings file exceeds the 2MiB limit`| Command-line errors
+`The current directory no longer exists (it was deleted or moved)` / `Can't read the current directory`| Command-line errors
`Error: Workspace not trusted` when starting Remote Control| Command-line errors
``claude import` is not yet available in this build`| Command-line errors
`Could not read Claude Code config`| Command-line errors
@@ -916,6 +918,24 @@
+Issuer mismatch in authorization response
+
+During an [MCP OAuth sign-in](</docs/en/mcp#authenticate-with-remote-mcp-servers>), the authorization server redirected back to Claude Code with an `iss` parameter that doesn’t name the issuer that Claude Code expected from the server’s OAuth metadata. A wrong issuer at this step is how an authorization server mix-up attack looks, so Claude Code fails the sign-in instead of exchanging the authorization code. Claude Code shows the error in the `/mcp` server menu after the browser sign-in:
+
+ Issuer mismatch in authorization response (RFC 9207): expected "https://auth.example.com", received "https://other.example.com"
+
+`expected` is the issuer from the server’s OAuth metadata, and `received` is the `iss` value the redirect carried. A sign-in whose redirect carries no `iss` parameter passes the check, unless the server’s metadata sets `authorization_response_iss_parameter_supported`, in which case Claude Code fails the sign-in. **What to do:**
+
+ * Try the sign-in again from `/mcp`
+ * If the error repeats, report it to the server operator. The fix is server-side: the authorization server must return the same issuer in the `iss` parameter that it advertises in its metadata
+ * To connect while the server is being fixed, start Claude Code with [`MCP_SDK_GENERATION=v1`](</docs/en/env-vars>), whose [runtime](</docs/en/mcp#mcp-client-runtimes>) doesn’t run this check. This removes a protection against mix-up attacks, so prefer the server-side fix
+
+Before v2.1.232, Claude Code used the v2 runtime only in a gradual rollout or when you set `MCP_SDK_GENERATION=v2`.
+
+###
+
+
+
AWS credentials expired or invalid
This message requires Claude Code v2.1.198 or later and only appears when [`awsAuthRefresh`](</docs/en/amazon-bedrock#advanced-credential-configuration>) is set in your settings file. Your AWS session token expired or was rejected, and the automatic refresh Claude Code already ran didn’t produce a credential the API accepts. It appears on a 401 from [Claude Platform on AWS](</docs/en/claude-platform-on-aws>) or the [Mantle endpoint](</docs/en/amazon-bedrock#use-the-mantle-endpoint>), which is how those providers report an expired security token. The action hint in the middle names the `awsAuthRefresh` command from your settings, so it varies. The stable part is the leading `AWS credentials expired or invalid`:
@@ -1618,6 +1638,21 @@
+The current directory no longer exists
+
+You started `claude` from a directory that was deleted or moved after your shell entered it, for example a worktree or temp directory another shell removed. Claude Code can’t read its working directory, so it exits with code 1 before starting the session, in interactive and [non-interactive](</docs/en/headless>) mode alike. Before v2.1.239, Claude Code crashed with minified bundle source and a raw `ENOENT ... uv_cwd` stack on stderr instead of this message.
+
+ The current directory no longer exists (it was deleted or moved). Start Claude Code from an existing directory.
+
+When Claude Code can’t read the working directory for a different reason, such as a permissions change, the message names the error code instead: `Can't read the current directory (EACCES). Start Claude Code from a different directory.` **What to do:**
+
+ * Change to a directory that exists, such as your home or project directory, then run `claude` again
+ * If the directory was recreated at the same path, your shell still holds the deleted one. Run `cd "$PWD"` or leave and re-enter the directory, then run `claude` again
+
+###
+
+
+
Workspace not trusted when starting Remote Control
You started [Remote Control](</docs/en/remote-control>) server mode with `claude remote-control` or its `claude rc` alias in a directory you haven’t trusted. The command doesn’t show the workspace trust dialog itself, so it exits with code 1 and names the fix:
--- a/how-claude-code-works.md
+++ b/how-claude-code-works.md
@@ -177,7 +177,7 @@
Work effectively with Claude Code
-These tips help you get better results from Claude Code.
+These tips help you get better results from Claude Code. For more on specific prompts, verification, and planning, see [Best practices](</docs/en/best-practices>).
###
@@ -221,46 +221,6 @@
-Be specific upfront
-
-The more precise your initial prompt, the fewer corrections you’ll need. Reference specific files, mention constraints, and point to example patterns.
-
- The checkout flow is broken for users with expired cards.
- Check src/payments/ for the issue, especially token refresh.
- Write a failing test first, then fix it.
-
-Vague prompts work, but you’ll spend more time steering. Specific prompts like the one above often succeed on the first attempt.
-
-###
-
-
-
-Give Claude something to verify against
-
-Claude performs better when it can check its own work. Include test cases, paste screenshots of expected UI, or define the output you want.
-
- Implement validateEmail. Test cases: 'user@example.com' → true,
- 'invalid' → false, 'user@.com' → false. Run the tests after.
-
-For visual work, paste a screenshot of the design and ask Claude to compare its implementation against it.
-
-###
-
-
-
-Explore before implementing
-
-For complex problems, separate research from coding. Press `Shift+Tab` until the status bar shows `⏸ plan mode on`, then ask Claude to analyze the codebase first:
-
- Read src/auth/ and understand how we handle sessions.
- Then create a plan for adding OAuth support.
-
-Review the plan, refine it through conversation, then let Claude implement. This two-phase approach produces better results than jumping straight to code.
-
-###
-
-
-
Delegate, don’t dictate
Think of delegating to a capable colleague. Give context and direction, then trust Claude to figure out the details:
--- a/index.md
+++ b/index.md
@@ -2,6 +2,26 @@
+Week 34
+
+v2.1.234–v2.1.239
+
+August 17–21, 2026
+
+**`/design`** : a research preview that brings Claude Design’s artboard workflow into the CLI and Claude Code Desktop, built on artifacts, so Claude drafts editable artboards for your UI and implements the one you pick.Also this week: the built-in **Concise output style** makes Claude lead with the result and skip preamble; any machine running `claude remote-control` shows up as a **device card** on your phone so you can start a session on it from the Code tab; and **`ANTHROPIC_DEFAULT_MODEL`** sets the model new sessions start on.[Read the Week 34 digest →](</docs/en/whats-new/2026-w34>)
+
+
+
+Week 33
+
+v2.1.225–v2.1.233
+
+August 10–14, 2026
+
+**Auto-continue after a usage limit on Desktop** : when you hit your session limit in Claude Code Desktop, check **Auto-continue when limits reset** on the limit card and the app retries the interrupted turn once the limit resets.Also this week: **fork mode** is on by default in interactive sessions, so Claude can hand a side task to a subagent that inherits the full conversation; **GitLab** merge request URLs work with `--worktree` and the `claude agents` view, and marketplaces clone bare `gitlab.com` URLs; and typing **`@`** in the prompt mentions another Claude session by name.[Read the Week 33 digest →](</docs/en/whats-new/2026-w33>)
+
+
+
Week 32
v2.1.220–v2.1.224
--- a/managed-settings.md
+++ b/managed-settings.md
@@ -76,7 +76,7 @@
A deployed policy reaches the developer’s sessions as follows:
* **Surfaces** : every surface that runs Claude Code on the machine reads these sources: the terminal, the VS Code and JetBrains extensions, the desktop app, and [Agent SDK](</docs/en/agent-sdk/typescript>) sessions, which load managed settings even when `settingSources` excludes the user, project, and local files.
- * **Cloud sessions** : a session in an Anthropic-hosted environment doesn’t read a device’s MDM profile or file, so policy for it has to come from server-managed settings. A session in a [self-hosted environment](</docs/en/self-hosted-environments>) reads the managed settings file in its runner image only when server-managed settings deliver no keys.
+ * **Cloud sessions** : a session in an Anthropic-hosted environment doesn’t read a device’s MDM profile or file, so policy for it has to come from server-managed settings. A session in a [self-hosted environment](</docs/en/self-hosted-environments>) reads the managed settings file in its runner image only when server-managed settings deliver no keys, apart from the keys Claude Code reads from every admin source.
* **Running sessions** : a session picks up most changes on the schedule in the table without a restart. Claude Code reads [`forceRemoteSettingsRefresh`](</docs/en/settings-reference#forceremotesettingsrefresh>) and [`requiredMinimumVersion`](</docs/en/settings-reference#requiredminimumversion>) only at session start, arms a new or changed [`policyHelper`](</docs/en/settings-reference#policyhelper>) entry at the next launch, and reads [some user-editable keys once at session start](</docs/en/settings#when-edits-take-effect>).
* **Changes that need approval** : a server-managed change to a setting that [needs approval](</docs/en/server-managed-settings#security-approval-dialogs>), such as a hook or an `env` variable, waits for the developer to accept the dialog in an interactive session, and applies for the current run in a session an IDE extension or the Agent SDK hosts. Other server-managed changes apply on the next poll.
* **Long-lived sessions** : a session left open for weeks can still lag a rollout. [`requiredMinimumVersion`](</docs/en/settings-reference#requiredminimumversion>) blocks an outdated binary from starting and doesn’t end a session that’s already running.
--- a/memory.md
+++ b/memory.md
@@ -372,7 +372,7 @@
How it works
-The first 200 lines of `MEMORY.md`, or the first 25KB, whichever comes first, are loaded at the start of every conversation. Content beyond that threshold is not loaded at session start. Claude keeps `MEMORY.md` concise by moving detailed notes into separate topic files. After Claude writes to `MEMORY.md`, Claude Code measures the file against the 200-line and 25KB read limits. If the file is near a limit, Claude Code reminds Claude to shorten it: keep one line per entry, move detail into topic files, and merge or drop stale entries. If the file is over a limit, the write still succeeds, but Claude Code returns an [error telling Claude to rewrite the index](</docs/en/errors#memory-index-is-over-its-read-limit>), because everything past the limit is dropped on the next load. The check measures only the content that loads: YAML frontmatter and block-level HTML comments are stripped before the index is loaded, so they don’t count toward the limits. Before v2.1.211, Claude Code measured the raw file, and frontmatter or comments could trigger the error even when the loaded content fit. This limit applies only to `MEMORY.md`. Claude Code loads a CLAUDE.md file of up to 4 MiB in full and skips a larger file. Shorter files produce better adherence. Claude Code doesn’t load topic files such as `user_role.md` or `feedback_testing.md` at startup. Claude reads them on demand using its standard file tools when it needs the information. The main conversation’s auto memory isn’t loaded into [subagents](</docs/en/sub-agents#what-loads-at-startup>); the exception is a [fork](</docs/en/sub-agents#fork-the-current-conversation>), which inherits the parent conversation and system prompt. A subagent’s own auto memory, enabled with the subagent `memory` field, is a separate directory. Claude reads and writes memory files during your session. When you see messages like “Saved 2 memories” or “Recalled 2 memories” in the Claude Code interface, Claude is actively updating or reading from `~/.claude/projects/<project>/memory/`. When Claude writes a memory file that begins with YAML frontmatter, Claude Code records the write time in a `modified` frontmatter field as an ISO 8601 timestamp. The timestamp shows how current the fact is, both to you and to Claude when it reads the memory back. Any file that has frontmatter gets the field the next time Claude writes it, including files created on earlier versions; Claude Code never adds frontmatter to a file that has none. The `modified` field requires Claude Code v2.1.214 or later.
+The first 200 lines of `MEMORY.md`, or the first 25KB, whichever comes first, are loaded at the start of every conversation. Content beyond that threshold is not loaded at session start. Claude keeps `MEMORY.md` concise by moving detailed notes into separate topic files. After Claude writes to `MEMORY.md`, Claude Code measures the file against the 200-line and 25KB read limits. If the file is near a limit, Claude Code reminds Claude to shorten it: keep one line per entry, move detail into topic files, and merge or drop stale entries. If the file is over a limit, the write still succeeds, but Claude Code returns an [error telling Claude to rewrite the index](</docs/en/errors#memory-index-is-over-its-read-limit>), because everything past the limit is dropped on the next load. This limit applies only to `MEMORY.md`. Claude Code loads a CLAUDE.md file of up to 4 MiB in full and skips a larger file. Shorter files produce better adherence. Claude Code doesn’t load topic files such as `user_role.md` or `feedback_testing.md` at startup. Claude reads them on demand using its standard file tools when it needs the information. The main conversation’s auto memory isn’t loaded into [subagents](</docs/en/sub-agents#what-loads-at-startup>); the exception is a [fork](</docs/en/sub-agents#fork-the-current-conversation>), which inherits the parent conversation and system prompt. A subagent’s own auto memory, enabled with the subagent `memory` field, is a separate directory. Claude reads and writes memory files during your session. When you see messages like “Saved 2 memories” or “Recalled 2 memories” in the Claude Code interface, Claude is actively updating or reading from `~/.claude/projects/<project>/memory/`. When Claude writes a memory file that begins with YAML frontmatter, Claude Code records the write time in a `modified` frontmatter field as an ISO 8601 timestamp. The timestamp shows how current the fact is, both to you and to Claude when it reads the memory back. Any file that has frontmatter gets the field the next time Claude writes it, including files created on earlier versions; Claude Code never adds frontmatter to a file that has none. The `modified` field requires Claude Code v2.1.214 or later.
###
--- a/model-config.md
+++ b/model-config.md
@@ -202,7 +202,7 @@
[Server-managed settings](</docs/en/server-managed-settings>) from the admin console| Enforced| Enforced| Enforced| Enforced| Not delivered
[MDM or managed settings files](</docs/en/managed-settings#delivery-mechanisms>)| Enforced| Enforced| Not delivered in Anthropic-hosted environments; in [self-hosted environments](</docs/en/self-hosted-environments>), enforced from the runner image when server-managed settings deliver no keys| Enforced| Enforced where deployed
- * Cloud sessions, on [Claude Code on the web](</docs/en/claude-code-on-the-web>) or in the Desktop app, run on Anthropic-managed VMs by default: settings deployed to your device do not reach them, so deliver the allowlist through server-managed settings. Sessions your organization routes to a [self-hosted environment](</docs/en/self-hosted-environments>) run on your own compute and fall back to the managed settings file in the runner image when your organization delivers no server-managed settings; when both exist, the server-managed payload takes precedence, with the per-key `env` merge exception described in [settings precedence](</docs/en/server-managed-settings#settings-precedence>). A mid-session model switch in a cloud session is rejected when the requested model is excluded by the allowlist. Server-side rejection at session creation applies to organization model restrictions, not the `availableModels` settings key.
+ * Cloud sessions, on [Claude Code on the web](</docs/en/claude-code-on-the-web>) or in the Desktop app, run on Anthropic-managed VMs by default: settings deployed to your device do not reach them, so deliver the allowlist through server-managed settings. Sessions your organization routes to a [self-hosted environment](</docs/en/self-hosted-environments>) run on your own compute and fall back to the managed settings file in the runner image when your organization delivers no server-managed settings; when both exist, the server-managed payload takes precedence, apart from the [keys Claude Code reads from every admin source](</docs/en/managed-settings#keys-read-from-every-admin-source>). A mid-session model switch in a cloud session is rejected when the requested model is excluded by the allowlist. Server-side rejection at session creation applies to organization model restrictions, not the `availableModels` settings key.
* Cowork, the agentic-work tab in the Claude Desktop app, is not a Claude Code surface and does not receive server-managed settings by design. A managed settings file applies to Cowork sessions when it is present where the session runs; remote Cowork sessions run on Anthropic-managed VMs, where a device-deployed file is not present.
* Sessions on [third-party providers](</docs/en/server-managed-settings#platform-availability>) such as Amazon Bedrock, Google Cloud’s Agent Platform, Microsoft Foundry, and [Claude Platform on AWS](</docs/en/claude-platform-on-aws>) do not receive server-managed settings, so deliver the allowlist through MDM or managed settings files there.
* Server-managed delivery also requires the session to authenticate with an [eligible login or key](</docs/en/server-managed-settings#platform-availability>). Fleets that generate keys only through an [`apiKeyHelper`](</docs/en/settings-reference#apikeyhelper>) script should deliver the allowlist through MDM or managed settings files.
--- a/plugins-reference.md
+++ b/plugins-reference.md
@@ -350,6 +350,21 @@
+Plugins synced from claude.ai
+
+In [Cowork](<https://claude.com/product/cowork>) and [cloud sessions](</docs/en/cloud-environments#what-carries-over-from-your-setup>), Claude Code downloads the plugins enabled for your claude.ai account into `~/.claude/plugins/synced/` in the session’s own environment and loads each one as `<name>@synced`, with no marketplace and no install record. Claude Code doesn’t load them in sessions you start in your own terminal. On a machine where a synced session has run, `claude plugin list` still shows the downloaded copies, under a `Synced from claude.ai` heading that notes they load only in a synced session. Before v2.1.239, Claude Code loaded these plugins as `<name>@inline`, the identity that `--plugin-dir` plugins use. Manage a synced plugin by the `<name>@synced` ID that `claude plugin list` prints:
+
+ * **Turn one off** : in the synced session, run `claude plugin disable <name>@synced`, or ask Claude to run it. Claude Code saves the choice as `"<name>@synced": false` in that environment’s user-level [`enabledPlugins`](</docs/en/settings-reference#enabledplugins>). To turn the plugin back on, run `claude plugin enable <name>@synced` in the same session. To keep a plugin out of every synced session, [turn it off for your claude.ai account](</docs/en/desktop#extend-claude-code>). To keep it out of one project’s synced sessions in every environment, set `"<name>@synced": false` under `enabledPlugins` in that project’s committed `.claude/settings.json`.
+ * **Manage the plugin itself on claude.ai** : `claude plugin install`, `update`, and `uninstall` don’t apply to a synced plugin. To remove one, turn the plugin off for your claude.ai account; the next synced session starts without it.
+
+When an enabled plugin from any other source, such as a marketplace install, a skills-directory plugin, or a `--plugin-dir` plugin, matches a synced plugin’s name, Claude Code loads that plugin and reports the synced copy as not loaded. To use the claude.ai copy instead, disable your own copy. Before v2.1.239, Claude Code loaded the synced copy instead of a same-named marketplace install.
+
+* * *
+
+##
+
+
+
Plugin manifest schema
The `.claude-plugin/plugin.json` file defines your plugin’s metadata and configuration. The manifest is optional. If omitted, Claude Code auto-discovers components in default locations and derives the plugin name from the directory name. Use a manifest when you need to provide metadata or custom component paths.
@@ -535,7 +550,7 @@
* **`--settings`** : the CLI flag or SDK inline settings
* **Managed settings** : [organization-controlled policy](</docs/en/permissions#managed-settings>)
-When more than one source sets the same key, managed settings take precedence, then `--settings`, then user settings. The [`--setting-sources`](</docs/en/cli-reference#cli-flags>) flag narrows the list further. Entries in a project’s `.claude/settings.json` or `.claude/settings.local.json` are ignored. Both files live in the workspace, so a cloned repository could supply values there, and those values would flow into plugin hook commands, MCP server configs, LSP commands, and monitor commands. Before v2.1.207, these entries were read. The restriction is specific to `pluginConfigs`: [`enabledPlugins`](</docs/en/settings-reference#enabledplugins>) still honors project and local settings.
+When more than one source sets the same key, managed settings take precedence, then `--settings`, then user settings. The only source you can remove from this list is user settings: pass [`--setting-sources`](</docs/en/cli-reference#cli-flags>) without `user` and Claude Code skips them. Managed settings and `--settings` stay whatever you pass. The SDK’s [`settingSources`](</docs/en/agent-sdk/claude-code-features#what-settingsources-does-not-control>) option sets the same list. Entries in a project’s `.claude/settings.json` or `.claude/settings.local.json` are ignored. Both files live in the workspace, so a cloned repository could supply values there, and those values would flow into plugin hook commands, MCP server configs, LSP commands, and monitor commands. Before v2.1.207, these entries were read. The restriction is specific to `pluginConfigs`: [`enabledPlugins`](</docs/en/settings-reference#enabledplugins>) still honors project and local settings.
###
@@ -1056,7 +1071,8 @@
Within an interactive session, `/plugin list` prints a similar listing inline, but it covers marketplace-installed plugins only:
* Plugins loaded from skills directories appear in the `/plugin` interface and in `claude plugin list`, but not in the inline `/plugin list` output.
- * Plugins loaded for the session with `--plugin-dir` or `--plugin-url` appear in the `/plugin` interface, and in `claude plugin list` only when the same flag precedes the subcommand, as in `claude --plugin-dir <dir> plugin list`. They have no installed record, so a bare `claude plugin list` doesn’t show them.
+ * On Claude Code v2.1.239 or later, plugins synced from claude.ai appear in `claude plugin list` on any machine where a synced session has downloaded them, with a note that they load only in a synced session. They don’t appear in the inline `/plugin list` output.
+ * Plugins loaded for the session with `--plugin-dir` or `--plugin-url` appear in the `/plugin` interface, and in `claude plugin list` only when the same flag precedes the subcommand, as in `claude --plugin-dir <dir> plugin list`. Only the flag names their location, so a bare `claude plugin list` can’t find them, unlike synced plugins and skills-directory plugins, whose fixed directories Claude Code scans.
The interactive form accepts `--enabled` or `--disabled` to show only plugins in that state, and `ls` as a shorthand for `list`.
--- a/remote-control.md
+++ b/remote-control.md
@@ -201,7 +201,7 @@
Trusted Devices
-Trusted Devices is currently in beta. Features and functionality may evolve as the experience is refined.Trusted Devices is available on Team and Enterprise plans. It is off by default until an admin enables it.
+Trusted Devices is currently in beta. Features and functionality may evolve as the experience is refined.Trusted Devices is available on Team and Enterprise plans. It is off by default until an Owner enables it.
Trusted Devices is an organization-wide setting that requires members to verify their device before they can view or steer Remote Control sessions from claude.ai, the Claude mobile apps, or Claude Desktop. It ties Remote Control access to a known device and a recent authentication, not just a signed-in account. When the setting is on, interacting with a Remote Control session requires both of the following:
@@ -216,7 +216,7 @@
Enable Trusted Devices for your organization
-Admins enable the setting from the Claude Code admin console.
+An Owner enables the setting from the Claude Code admin console.
1
--- a/routines.md
+++ b/routines.md
@@ -22,7 +22,7 @@
Create a routine
-Create a routine from the web at [claude.ai/code/routines](<https://claude.ai/code/routines>), from the Desktop app, or from the CLI. All three surfaces write to the same cloud account, so a routine you create in one shows up in the others immediately. In the Desktop app’s **Code** tab, click **Routines** in the sidebar, then **New routine** , and choose **Cloud** ; choosing **Local** instead creates a [Desktop scheduled task](</docs/en/desktop-scheduled-tasks>), which runs on your machine rather than in the cloud. The creation form sets up the routine’s prompt, repositories, environment, connectors, and triggers. Routines run autonomously as full Claude Code cloud sessions: there is no permission-mode picker and no approval prompts during a run. The session can run shell commands, use [skills](</docs/en/skills>) committed to the cloned repository, and call any connectors you include. What a routine can reach is determined by the repositories you select, the [environment’s](</docs/en/cloud-environments>) network access and variables, and the connectors you include. Scope each of those to what the routine actually needs. Routines belong to your individual claude.ai account. They are not shared with teammates, and they count against your account’s daily run allowance. Anything a routine does through your connected GitHub identity or connectors appears as you: commits and pull requests carry your GitHub user, and Slack messages, Linear tickets, or other connector actions use your linked accounts for those services.
+Create a routine from the web at [claude.ai/code/routines](<https://claude.ai/code/routines>), from the Desktop app, or from the CLI. All three surfaces write to the same cloud account, so a routine you create in one shows up in the others immediately. In the Desktop app’s **Code** tab, click **Routines** in the sidebar, then **New routine** , and choose **Cloud** ; choosing **Local** instead creates a [Desktop scheduled task](</docs/en/desktop-scheduled-tasks>), which runs on your machine rather than in the cloud. If **Routines** is missing from the Desktop sidebar, routines aren’t available to your account; see “Routines are disabled by your organization’s policy”. The creation form sets up the routine’s prompt, repositories, environment, connectors, and triggers. Routines run autonomously as full Claude Code cloud sessions: there is no permission-mode picker and no approval prompts during a run. The session can run shell commands, use [skills](</docs/en/skills>) committed to the cloned repository, and call any connectors you include. What a routine can reach is determined by the repositories you select, the [environment’s](</docs/en/cloud-environments>) network access and variables, and the connectors you include. Scope each of those to what the routine actually needs. Routines belong to your individual claude.ai account. They are not shared with teammates, and they count against your account’s daily run allowance. Anything a routine does through your connected GitHub identity or connectors appears as you: commits and pull requests carry your GitHub user, and Slack messages, Linear tickets, or other connector actions use your linked accounts for those services.
###
--- a/self-hosted-environments.md
+++ b/self-hosted-environments.md
@@ -26,7 +26,7 @@
Check these before planning a rollout:
- * **Plans** : public beta for Team and Enterprise organizations. Self-hosted environments are off by default; an [Owner or admin](</docs/en/cloud-environments#organization-shared-environments>) turns on **Allow self-hosted environments** on the [**Cloud environments** admin page](<https://claude.ai/admin-settings/cloud-environments>), which requires [Claude Code on the web](</docs/en/claude-code-on-the-web>) to be enabled for the organization.
+ * **Plans** : public beta for Team and Enterprise organizations. Self-hosted environments are off by default; an [Owner](</docs/en/cloud-environments#organization-shared-environments>) turns on **Allow self-hosted environments** on the [**Cloud environments** admin page](<https://claude.ai/admin-settings/cloud-environments>), which requires [Claude Code on the web](</docs/en/claude-code-on-the-web>) to be enabled for the organization.
* **Zero Data Retention** : unavailable for organizations with [Zero Data Retention](</docs/en/zero-data-retention>) enabled.
* **Model inference** : sessions use the Anthropic API, and inference can’t be routed through [Amazon Bedrock, Google Cloud’s Agent Platform, Microsoft Foundry](</docs/en/third-party-integrations>), or an [LLM gateway](</docs/en/llm-gateway>).
* **Surfaces** : sessions started from [Claude Code on the web](</docs/en/claude-code-on-the-web>), the mobile and desktop apps, [scheduled routines](</docs/en/routines>), and the terminal, with [`claude --cloud`](</docs/en/claude-code-on-the-web#from-terminal-to-web>) or an [`--environment` dispatch](</docs/en/self-hosted-environments-testing#run-the-test-loop>), can run in self-hosted environments. [Claude Tag](<https://claude.com/docs/claude-tag/overview>), [Claude Security](</docs/en/claude-security>), and [Code Review](</docs/en/code-review>) sessions don’t route to them yet. Support for those surfaces follows separately.
--- a/self-hosted-environments-configuration.md
+++ b/self-hosted-environments-configuration.md
@@ -1,4 +1,4 @@
-Self-hosted environments are in public beta on Team and Enterprise plans; an [Owner or admin](</docs/en/cloud-environments#organization-shared-environments>) enables them by turning on **Allow self-hosted environments** on the [**Cloud environments** admin page](<https://claude.ai/admin-settings/cloud-environments>). This page assumes a working runner; see the [quickstart](</docs/en/self-hosted-environments-quickstart>) for setup and [Deploy to production](</docs/en/self-hosted-environments-deploy>) for the fleet recipes.
+Self-hosted environments are in public beta on Team and Enterprise plans; an [Owner](</docs/en/cloud-environments#organization-shared-environments>) enables them by turning on **Allow self-hosted environments** on the [**Cloud environments** admin page](<https://claude.ai/admin-settings/cloud-environments>). This page assumes a working runner; see the [quickstart](</docs/en/self-hosted-environments-quickstart>) for setup and [Deploy to production](</docs/en/self-hosted-environments-deploy>) for the fleet recipes.
A [self-hosted environment](</docs/en/self-hosted-environments>) runs Claude Code [cloud sessions](</docs/en/claude-code-on-the-web>) on your own infrastructure, executed by a runner process you deploy. With no configuration, that runner clones the session’s repository, spawns Claude Code, and cleans up. This page is for the platform engineer operating the runners: it covers the extension points for when those defaults don’t fit, from per-session credential provisioning to replacing checkout entirely. Wrappers and hooks run as executable files on the runner host, which is Linux or macOS, and the examples on this page assume a POSIX shell. A few hook environment variables on this page still use `pool`, such as `CLAUDE_RUNNER_POOL_ID`; the CLI flag and env var names use `environment`, such as `--environment-secret-file`.
@@ -221,7 +221,7 @@
1. **Be idempotent on`CLAUDE_RUNNER_ORDER_ID`.** Redelivery of the same request must spawn at most one runner. Derive a deterministic resource name from the ID and let your platform reject the duplicate.
2. **Don’t retry the workload.** One order ID means at most one created workload. If the runner never registers, Anthropic re-requests with a fresh order ID after `--expected-spawn-seconds`.
- 3. **Use the exit-code contract.** Exit 0 means submitted. Exit 1 means retryable failure; the session backs off and is re-offered. Exit 2 or higher means non-retryable; the session is blocked from spawning again until an [Owner or admin](</docs/en/cloud-environments#organization-shared-environments>) selects **Retry** on it in the environment’s **Activity** tab. On non-zero exit, the tail of the hook’s stderr appears there as the failure reason, so write the actionable error to stderr and never secrets. For a pre-warming request there is no session to fail: the orchestrator logs a non-zero exit locally only, and the server re-requests the spawn after the lease.
+ 3. **Use the exit-code contract.** Exit 0 means submitted. Exit 1 means retryable failure; the session backs off and is re-offered. Exit 2 or higher means non-retryable; the session is blocked from spawning again until an [Owner](</docs/en/cloud-environments#organization-shared-environments>) selects **Retry** on it in the environment’s **Activity** tab. On non-zero exit, the tail of the hook’s stderr appears there as the failure reason, so write the actionable error to stderr and never secrets. For a pre-warming request there is no session to fail: the orchestrator logs a non-zero exit locally only, and the server re-requests the spawn after the lease.
4. **Set`--expected-spawn-seconds` to at least your p99 boot time.** This is the server-side lease. All orchestrator replicas must use the same value.
Everything the hook writes to stdout or stderr appears in the orchestrator’s log with credentials automatically redacted. If sessions stay queued, check the orchestrator’s `/healthz` body for queue counts, then open your environment’s **Activity** tab on the [**Cloud environments** admin page](<https://claude.ai/admin-settings/cloud-environments>): expand a failed session there for its spawn error, and select **Retry** to re-request it.
@@ -370,7 +370,7 @@
How each session’s config is assembled
-The runner gives each session its own config directory, seeded from an in-memory snapshot of the host’s `~/.claude/` that the runner captures once at startup: `settings.json`, `CLAUDE.md`, hooks, agents, commands, and skills in your runner image apply to every session as the user-level baseline. Because the snapshot is taken at startup, config changes on a running host take effect only after a runner restart. Set `SELF_HOSTED_RUNNER_HOST_CONFIG_DIR` to seed from a different path, or point it at an empty directory to disable seeding. Repository-committed `.claude/settings.json` layers on top as project settings. Sessions also read [`managed-settings.json`](</docs/en/settings#where-settings-live>) from the standard system path in your runner image, but the managed tier uses one source at a time, and [server-managed settings](</docs/en/server-managed-settings>) are checked first: if your organization delivers any server-managed keys, sessions ignore the runner image’s managed file, except that `env` blocks merge per key across managed sources. See [settings precedence](</docs/en/settings#settings-precedence>). When Anthropic’s control plane supplies a session with [Claude Code hooks](</docs/en/hooks>), the runner installs them alongside, not over, your own configuration. Requires Claude Code v2.1.229 or later.
+The runner gives each session its own config directory, seeded from an in-memory snapshot of the host’s `~/.claude/` that the runner captures once at startup: `settings.json`, `CLAUDE.md`, hooks, agents, commands, and skills in your runner image apply to every session as the user-level baseline. Because the snapshot is taken at startup, config changes on a running host take effect only after a runner restart. Set `SELF_HOSTED_RUNNER_HOST_CONFIG_DIR` to seed from a different path, or point it at an empty directory to disable seeding. Repository-committed `.claude/settings.json` layers on top as project settings. Sessions also read [`managed-settings.json`](</docs/en/settings#where-settings-live>) from the standard system path in your runner image, but the managed tier uses one source at a time, and [server-managed settings](</docs/en/server-managed-settings>) are checked first: if your organization delivers any server-managed keys, sessions ignore the runner image’s managed file except for its cross-source keys. Claude Code still reads the `env` block and the other [keys it reads from every admin source](</docs/en/managed-settings#keys-read-from-every-admin-source>) from that file, such as the sandbox locks, the sandbox binary paths, and `forceRemoteSettingsRefresh`. See [settings precedence](</docs/en/settings#settings-precedence>). When Anthropic’s control plane supplies a session with [Claude Code hooks](</docs/en/hooks>), the runner installs them alongside, not over, your own configuration. Requires Claude Code v2.1.229 or later.
* **Where they land** : the runner writes each supplied hook script to a reserved `hooks/.ccr-launcher/` subdirectory of the session’s config directory and registers the scripts in a separate settings file it passes to the session with `--settings`, leaving the seeded `settings.json` and your own scripts at `hooks/<name>` untouched. The runner recreates the reserved subdirectory for each session and doesn’t seed host content at `~/.claude/hooks/.ccr-launcher/` into sessions.
* **Who authors them** : the control plane populates the scripts from fixed constants in its own deployment, never from per-session or third-party input.
--- a/self-hosted-environments-deploy.md
+++ b/self-hosted-environments-deploy.md
@@ -21,7 +21,7 @@
* An explicit deny for `169.254.169.254` in the session container’s network namespace
The block applies to your wrapper script and lifecycle hooks too, since they share the container. Authenticate any token exchange with the [session JWT](</docs/en/self-hosted-environments-identity>) against your own token service over allowlisted egress, or use a file-based web identity such as IAM Roles for Service Accounts (IRSA) on Amazon EKS.
* **Per-runner filesystem isolation** : each runner process gets its own working directory that no other process on the host can read or write. Make `--hooks-dir`, the wrapper script, and the host’s `~/.claude/` read-only to the session, either built into the image or mounted read-only.
- * **Dispatch is organization-wide** : any member of your Anthropic organization can dispatch a session to any of its environments, and there’s no per-environment access control on dispatch. Treat every runner host as reachable for code execution by every org member, and place data or credentials on a runner host only if every org member is allowed to read them. [`--lock-to-account`](</docs/en/self-hosted-environments-reference#runner-cli-flags>) bounds which account’s sessions a given host executes, but dispatch into the environment itself stays organization-wide. To make self-hosted environments the only picker option, an [Owner or admin](</docs/en/cloud-environments#organization-shared-environments>) can hide Anthropic-hosted environments for the whole organization from the [**Cloud environments** page](<https://claude.ai/admin-settings/cloud-environments>).
+ * **Dispatch is organization-wide** : any member of your Anthropic organization can dispatch a session to any of its environments, and there’s no per-environment access control on dispatch. Treat every runner host as reachable for code execution by every org member, and place data or credentials on a runner host only if every org member is allowed to read them. [`--lock-to-account`](</docs/en/self-hosted-environments-reference#runner-cli-flags>) bounds which account’s sessions a given host executes, but dispatch into the environment itself stays organization-wide. To make self-hosted environments the only picker option, an [Owner](</docs/en/cloud-environments#organization-shared-environments>) can hide Anthropic-hosted environments for the whole organization from the [**Cloud environments** page](<https://claude.ai/admin-settings/cloud-environments>).
* **Enforce the repo-settings guard** : choose the guard mode with [`--confine-repo-settings`](</docs/en/self-hosted-environments-reference#runner-cli-flags>). The default `warn` logs a violation and still spawns the session, `enforce` refuses the session, and `off` disables the scan. The runner scans each repository’s committed settings for:
* A grant that resolves outside that session’s own workspace: an `additionalDirectories` entry, an `Edit`, `Write`, or `NotebookEdit` rule in `permissions.allow`, or a `sandbox.filesystem.allowWrite` or `allowRead` entry
* A non-empty `env` block
--- a/self-hosted-environments-identity.md
+++ b/self-hosted-environments-identity.md
@@ -1,4 +1,4 @@
-Self-hosted environments are in public beta on Team and Enterprise plans; an [Owner or admin](</docs/en/cloud-environments#organization-shared-environments>) enables them by turning on **Allow self-hosted environments** on the [**Cloud environments** admin page](<https://claude.ai/admin-settings/cloud-environments>). This page covers session identity verification; see the [quickstart](</docs/en/self-hosted-environments-quickstart>) for setup and [Deploy to production](</docs/en/self-hosted-environments-deploy>) for the fleet recipes.
+Self-hosted environments are in public beta on Team and Enterprise plans; an [Owner](</docs/en/cloud-environments#organization-shared-environments>) enables them by turning on **Allow self-hosted environments** on the [**Cloud environments** admin page](<https://claude.ai/admin-settings/cloud-environments>). This page covers session identity verification; see the [quickstart](</docs/en/self-hosted-environments-quickstart>) for setup and [Deploy to production](</docs/en/self-hosted-environments-deploy>) for the fleet recipes.
A [self-hosted environment](</docs/en/self-hosted-environments>) lets [Claude Code on the web](</docs/en/claude-code-on-the-web>) sessions run on infrastructure you operate instead of on Anthropic’s. Because the session runs inside your network, Claude can call your internal services directly. Those services need a way to confirm that a request really came from a Claude Code session in your environment, and to identify which user created that session. Every session in a self-hosted environment receives a signed JSON Web Token (JWT) in the `CLAUDE_CODE_SESSION_ACCESS_TOKEN` environment variable. A session presents the token like any bearer credential; for example, a script Claude runs can call your service with `curl -H "Authorization: Bearer $CLAUDE_CODE_SESSION_ACCESS_TOKEN"`. Anthropic signs the token and publishes the verification keys at a public JWKS endpoint. Your services fetch those keys, verify the signature, and read the claims to decide what access to grant.
--- a/self-hosted-environments-quickstart.md
+++ b/self-hosted-environments-quickstart.md
@@ -16,7 +16,7 @@
The claude.ai side needs:
- * **Allow self-hosted environments** turned on by an [Owner or admin](</docs/en/cloud-environments#organization-shared-environments>) on the [**Cloud environments** admin page](<https://claude.ai/admin-settings/cloud-environments>); the **New** button doesn’t appear until it is. If you don’t hold the role, someone who does can create the environment and hand you its secret; the runner and terminal steps on this page need no claude.ai role, and where a step checks status in the admin UI, the runner’s own log lines give you the same signal.
+ * **Allow self-hosted environments** turned on by an [Owner](</docs/en/cloud-environments#organization-shared-environments>) on the [**Cloud environments** admin page](<https://claude.ai/admin-settings/cloud-environments>); the **New** button doesn’t appear until it is. If you don’t hold the role, someone who does can create the environment and hand you its secret; the runner and terminal steps on this page need no claude.ai role, and where a step checks status in the admin UI, the runner’s own log lines give you the same signal.
* A [GitHub connection](</docs/en/claude-code-on-the-web#github-authentication-options>) for your organization, so developers can pick repositories when they start sessions.
###
@@ -53,7 +53,7 @@
Set up an environment and runner
-Claude Code includes a guided setup: an interactive Claude Code session that walks you through creating the environment in the admin UI, starts a local runner with the secret file you save, confirms that the runner registers, and writes a cheat sheet to `./runner-setup/CHEAT-SHEET.md`. Run it on a machine where you’ve signed in with `claude auth login` using an account that holds an Owner or admin role; it isn’t available with API keys or third-party model providers. On hosts where an interactive session isn’t possible, use the manual steps below instead. Confirm the version check passed first: on versions older than 2.1.224, this command starts an ordinary Claude session with the words as the prompt instead of the guided setup. To start the guided setup, run the setup subcommand and follow the prompts:
+Claude Code includes a guided setup: an interactive Claude Code session that walks you through creating the environment in the admin UI, starts a local runner with the secret file you save, confirms that the runner registers, and writes a cheat sheet to `./runner-setup/CHEAT-SHEET.md`. Run it on a machine where you’ve signed in with `claude auth login` using an account that holds an Owner role; it isn’t available with API keys or third-party model providers. On hosts where an interactive session isn’t possible, use the manual steps below instead. Confirm the version check passed first: on versions older than 2.1.224, this command starts an ordinary Claude session with the words as the prompt instead of the guided setup. To start the guided setup, run the setup subcommand and follow the prompts:
claude self-hosted-runner setup
--- a/self-hosted-environments-reference.md
+++ b/self-hosted-environments-reference.md
@@ -1,4 +1,4 @@
-Self-hosted environments are in public beta on Team and Enterprise plans; an [Owner or admin](</docs/en/cloud-environments#organization-shared-environments>) enables them by turning on **Allow self-hosted environments** on the [**Cloud environments** admin page](<https://claude.ai/admin-settings/cloud-environments>). This page is the flag and metric reference; see the [quickstart](</docs/en/self-hosted-environments-quickstart>) for setup and [Deploy to production](</docs/en/self-hosted-environments-deploy>) for the fleet recipes.
+Self-hosted environments are in public beta on Team and Enterprise plans; an [Owner](</docs/en/cloud-environments#organization-shared-environments>) enables them by turning on **Allow self-hosted environments** on the [**Cloud environments** admin page](<https://claude.ai/admin-settings/cloud-environments>). This page is the flag and metric reference; see the [quickstart](</docs/en/self-hosted-environments-quickstart>) for setup and [Deploy to production](</docs/en/self-hosted-environments-deploy>) for the fleet recipes.
This page is the reference for the two processes you run in a [self-hosted environment](</docs/en/self-hosted-environments>): the runner, which executes Claude Code [cloud sessions](</docs/en/claude-code-on-the-web>) on your hosts, and the optional autoscaling orchestrator, which starts runners as sessions queue. Each has its own flag table. Both run on Linux or macOS hosts, which the defaults such as `/workspace` and `~/.claude` assume. Run `claude self-hosted-runner --help` for the authoritative list on your installed version. Metric series and a few API fields still use `pool` for what these pages call an environment; both terms name the same thing. The environment ID is the `pool_id` field, with the form `ccpool_...`: wherever these pages show a `pool` identifier, it names the environment. CLI flags and environment variables spell it `environment`, such as `--environment-secret-file`; the deprecated `pool` spellings still work, as the `--environment-secret-file` row describes.
@@ -163,7 +163,7 @@
`claude_code_self_hosted_orchestrator_poll_errors_total{error_kind}`| Cumulative PollSpawnHints failures by kind: `transport`, `timeout`, `5xx`, `429`, or `4xx`. All five series are present from process start; alert on `rate(...[5m]) > 0`.
`claude_code_self_hosted_orchestrator_queue_pending_sessions`| Spawn requests claimable right now
`claude_code_self_hosted_orchestrator_queue_backing_off_sessions`| Spawn requests in retry backoff after a retryable hook failure
-`claude_code_self_hosted_orchestrator_queue_circuit_broken_sessions`| Spawn requests blocked until an Owner or admin retries them from the environment’s **Activity** tab; alert if above zero
+`claude_code_self_hosted_orchestrator_queue_circuit_broken_sessions`| Spawn requests blocked until an Owner retries them from the environment’s **Activity** tab; alert if above zero
`claude_code_self_hosted_orchestrator_pool_pending_sessions`| Total sessions waiting on a runner for this environment. Environment-wide aggregate, identical on every orchestrator instance: use `MAX` rather than `SUM` across instances.
`claude_code_self_hosted_orchestrator_pool_active_sessions`| Sessions currently assigned to an alive runner in this environment. Environment-wide aggregate, identical on every orchestrator instance: use `MAX` rather than `SUM` across instances.
`claude_code_self_hosted_orchestrator_spawn_hooks_total{result}`| Cumulative `spawn-runner` hook outcomes: `ok`, `retryable`, `non_retryable`. Counts orchestrator hook invocations, not session children the runners spawn: not comparable to `sessions_started_total`, since capacity above one, warm pools, and runners spawned again for the same session all diverge the two.
--- a/self-hosted-environments-testing.md
+++ b/self-hosted-environments-testing.md
@@ -226,9 +226,9 @@
Mint the admin token
-`$ADMIN_TOKEN` is a claude.ai OAuth access token for an account that holds an Owner or admin role, minted the same way as Authenticate from CI:
-
- * **Mint it** : run `claude auth login` with an account that holds an Owner or admin role, then read the current access token from the OS keychain on macOS or `~/.claude/.credentials.json` on Linux and Windows.
+`$ADMIN_TOKEN` is a claude.ai OAuth access token for an account that holds an Owner role, minted the same way as Authenticate from CI:
+
+ * **Mint it** : run `claude auth login` with an account that holds an Owner role, then read the current access token from the OS keychain on macOS or `~/.claude/.credentials.json` on Linux and Windows.
* **Read it fresh each run** : the CLI rotates the access token, and the same 30-day refresh-grant cap applies, so don’t store a copy.
* **Pass it via stdin** : as the example does, so the token never lands in curl’s argument list or your build log.
@@ -249,7 +249,7 @@
ENVIRONMENT_ID=$(jq -er .pool.pool_id <<<"$create")
ENVIRONMENT_SECRET=$(jq -er .pool_secret <<<"$create")
-Until an [Owner or admin turns on **Allow self-hosted environments**](</docs/en/self-hosted-environments#availability-and-limitations>) for the organization, the call fails with a `403` `permission_error` reading `self-hosted runners are disabled by your organization's policy`. Start a runner on this host with `SELF_HOSTED_RUNNER_ENVIRONMENT_SECRET=$ENVIRONMENT_SECRET`, plus the capture hook and `E2E_REPLY_DIR` per Install the capture hook, then run the test script.
+Until an [Owner turns on **Allow self-hosted environments**](</docs/en/self-hosted-environments#availability-and-limitations>) for the organization, the call fails with a `403` `permission_error` reading `self-hosted runners are disabled by your organization's policy`. Start a runner on this host with `SELF_HOSTED_RUNNER_ENVIRONMENT_SECRET=$ENVIRONMENT_SECRET`, plus the capture hook and `E2E_REPLY_DIR` per Install the capture hook, then run the test script.
###
--- a/settings.md
+++ b/settings.md
@@ -340,7 +340,7 @@
* **Shared project settings** (`.claude/settings.json`): read, because the file is part of the clone. Commit a setting there to apply it in cloud sessions.
* **User and project local settings** (`~/.claude/settings.json` and `.claude/settings.local.json`): not read. Both stay on your machine, and the local file isn’t in the clone.
- * **Managed settings** : only [server-managed settings](</docs/en/server-managed-settings>) reach a cloud session; a `managed-settings.json` file or MDM profile on your device doesn’t. A [self-hosted environment](</docs/en/self-hosted-environments>) reads the managed settings file in its runner image only when server-managed settings deliver no keys; see [settings precedence](</docs/en/server-managed-settings#settings-precedence>) on that page.
+ * **Managed settings** : only [server-managed settings](</docs/en/server-managed-settings>) reach a cloud session; a `managed-settings.json` file or MDM profile on your device doesn’t. A [self-hosted environment](</docs/en/self-hosted-environments>) reads the managed settings file in its runner image only when server-managed settings deliver no keys, apart from the [keys Claude Code reads from every admin source](</docs/en/managed-settings#keys-read-from-every-admin-source>); see [settings precedence](</docs/en/server-managed-settings#settings-precedence>).
* **`/config`** : on the web, opens the Claude Code section of your claude.ai settings instead of changing a value. To change a setting for a cloud session, set an [environment variable](</docs/en/cloud-environments#set-environment-variables>) on the environment or commit the key to the repository’s `.claude/settings.json`.
[What carries over from your setup](</docs/en/cloud-environments#what-carries-over-from-your-setup>) lists the rest: `CLAUDE.md`, skills, MCP servers, plugins, and credentials.
--- a/slack.md
+++ b/slack.md
@@ -251,12 +251,12 @@
Sessions from a Claude Tag channel fail to start
-This entry applies to workspaces using [Claude Tag](<https://claude.com/docs/claude-tag/overview>), where Claude works in channels as your organization’s shared identity, not as any member’s account. If you created the channel’s cloud environment at [claude.ai/code](<https://claude.ai/code>), it belongs to your personal account, and Claude can’t start channel sessions in a personal environment. Claude Code fails the session immediately, and retrying doesn’t help. If you’re an Owner or admin, recreate the environment as an [organization-shared environment](</docs/en/cloud-environments#organization-shared-environments>) from the **Cloud environments** page in [admin settings](<https://claude.ai/admin-settings>). You can apply it in two ways:
+This entry applies to workspaces using [Claude Tag](<https://claude.com/docs/claude-tag/overview>), where Claude works in channels as your organization’s shared identity, not as any member’s account. If you created the channel’s cloud environment at [claude.ai/code](<https://claude.ai/code>), it belongs to your personal account, and Claude can’t start channel sessions in a personal environment. Claude Code fails the session immediately, and retrying doesn’t help. If you’re an Owner, recreate the environment as an [organization-shared environment](</docs/en/cloud-environments#organization-shared-environments>) from the **Cloud environments** page in [admin settings](<https://claude.ai/admin-settings>). You can apply it in two ways:
* Set it as the organization default at [claude.ai/admin-settings/claude-code](<https://claude.ai/admin-settings/claude-code>).
* [Set it on the channel](<https://claude.com/docs/claude-tag/admins/troubleshooting#channel-sessions-use-the-wrong-environment-or-can%E2%80%99t-find-one>) in the Claude Tag admin settings.
-If you’re not an Owner or admin, send this entry to one.
+If you’re not an Owner, send this entry to one.
###
--- a/vs-code.md
+++ b/vs-code.md
@@ -465,7 +465,7 @@
Work with git
-Claude Code integrates with git to help with version control workflows directly in VS Code. Ask Claude to commit changes, create pull requests, or work across branches.
+Claude Code integrates with git to help with version control workflows directly in VS Code. Ask Claude to commit changes, create pull requests, or work across branches. To start Claude in an isolated worktree with its own files and branch, see [Run parallel sessions with worktrees](</docs/en/worktrees>).
###
@@ -480,18 +480,6 @@
summarize the changes I've made to the auth module
When creating pull requests, Claude generates descriptions based on the actual code changes and can add context about testing or implementation decisions.
-
-###
-
-
-
-Use git worktrees for parallel tasks
-
-Use the `--worktree` (`-w`) flag to start Claude in an isolated worktree with its own files and branch:
-
- claude --worktree feature-auth
-
-Each worktree maintains independent file state while sharing git history. This prevents Claude instances from interfering with each other when working on different tasks. For more details, see [Run parallel sessions with Git worktrees](</docs/en/worktrees>).
##