claude@cli:~/docs$ cat claude-code.md

Claude Code: Changelog

# This changelog records every update to the guide: the date, what changed in Claude Code, and the sources.

author: words: 67869 read_time: 339m updated: 2026-12-01 00:00

Part 3 of New to Claude Code

This changelog records every update to the guide: the date, what changed in Claude Code, and the sources.

Last updated: 2026-12-01 · 339 min read · 67K+ words

$ less claude-code.md

This changelog records every update to the guide: the date, what changed in Claude Code, and the sources. After the table, one section per group of CLI releases describes what was new, newest first.

Date Change Source
2026-12-01 Guide v2.127: CLI v2.1.333 (November 30, 2026) and v2.1.334 (December 1). Changed default (v2.1.334, rolling out): automatic compaction near 400K tokens on current 1M models; /autocompact 1M keeps the full window. Also v2.1.334: folder-level REVIEW.md, claude gateway --check config, new modelPricing keys, CLAUDE_CODE_DISABLE_REPLAYED_THINKING_PROBE. From the docs: claude mcp add --web, attributionProjectPolicy, Opus 4.8 fast mode removed and Sonnet 4.5 retired on November 30, Projects in beta on Team and Enterprise. Breaking (v2.1.333): --allowedTools and --tools stop the launch on some lists given as several values, so keep each list in one quoted, comma-separated value. Built-in plugins: /plugin gains a Built-in tab, and /stickers and /radio run only while their built-in plugins are on. Also v2.1.333: root REVIEW.md in local /code-review, Code Mode with tracing on. Details in What’s New. CHANGELOG, Model configuration, Projects post
2026-11-28 Guide v2.126: no new CLI release (v2.1.332 is still npm latest and next, stable 2.1.326). Added from the docs, none of it in the release notes: the bundled skills /whiteboard, /motion (Desktop and cloud sessions only) and /claude-approvals; the aliases /ship:review and /ship:steward; and the rule that an Edit(*), Write(*) or NotebookEdit(*) allow rule pre-approves the tool in the working directories only. Structure: the Configuration, Models, Permissions, Slash Commands, Plugins, Enterprise and Changelog sections now open with a summary of what they cover. Commands, Configure permissions
2026-11-25 Guide v2.125: CLI v2.1.323 (Nov 12) through v2.1.332 (Nov 24) (npm latest and next 2.1.332, stable moves to 2.1.326; 2.1.324 on npm only). Act on these: sandboxed Bash commands follow the normal permission flow by default (v2.1.325); Foundry’s default moves to Sonnet 5.5 in the v2.1.332 notes while the docs still say Sonnet 4.5; recurring tasks and /loop last 30 days. Added: the PreSkillShellCommand hook event (34 events), Code Mode, skills from MCP servers, /ship and /steward, Claude Models on Google Cloud (Anthropic managed), engines in plugin.json. Removed or retiring: subagentStatusLine, the v1 MCP client, Opus 4.5 (API retirement January 22, 2027), Sonnet 4.5 (November 30, 2026). Also: a new FAQ section; the Slack section now says that integration is retired. Corrected against the docs: ~/.claude.json holds no login; OTEL_EXPORTER_OTLP_TIMEOUT, skill model, subagent background, eight environment-variable rows, and the Codex column (GPT-6.2); Agent SDK onFailure added. 527528529530531532533534535536537538547548549550551552553
2026-11-11 Guide v2.124: Corrections where the guide promised more than the docs do. Act on these: a CLAUDE_CODE_SHELL_PREFIX wrapper gets each command as one quoted argument in $1 and must re-evaluate it with a shell. A subagent’s permissionMode is ignored when the main conversation is in auto, acceptEdits, or bypassPermissions mode. Bash(git push *) does not match git -C <dir> push. acceptEdits also auto-approves rm, rmdir, and sed inside working directories. sandbox.credentials protects nothing until you list entries. A “don’t ask again” Bash approval in a worktree usually applies to the main checkout and every worktree. Background commands in a text-prompt claude -p run stop after 10 minutes by default, not 30. Also corrected: --dangerously-skip-permissions guidance; the two caps CLAUDE_CODE_MAX_MCP_DESCRIPTION_LENGTH replaces; the Fable 5.2 Bedrock ID; which models carry text watermarks; the “5-hour limit” message; what error reports send; managed-settings sources and merging; what a cloud session inherits; shorter older changelog rows. 480495504488490518478521477482483519520523512
2026-11-11 Guide v2.123: Corrections to match today’s docs. Act on these: do not delete ~/.claude.json, ~/.claude/settings.json, or ~/.claude/plugins/ to reset; start with claude doctor. A deny rule such as Bash(curl *) is not a security boundary, and no allow rule brings back a tool that a "*" deny removed. A skill’s allowed-tools pre-approves tools and restricts nothing. In bypassPermissions mode a sandboxed command reaches hosts outside your allowlist; sandbox.network.strictAllowlist stops that. Auto mode commits and pushes to the repository you are working in without asking. sandbox.excludedCommands needs docker *: docker alone matches only the bare command. MCP hook matchers need .* (mcp__github__.*). Also corrected: install commands (native installer, brew install --cask claude-code); plan prices; claude --cloud replaces the & prefix; the PermissionDenied hook starts at v2.1.89; plugins entered public beta on October 9, 2025; two CVE descriptions; common error messages; and source notes that pointed at dead or wrong pages. 125288304316336349362366390391418416436439450457
2026-11-10 Guide v2.122: CLI v2.1.318 (Nov 3), v2.1.319 (Nov 6), v2.1.321 (Nov 9), and v2.1.322 (Nov 10) + Claude Fable 5.2 (npm latest and next 2.1.322, stable 2.1.311; 2.1.320 never published). Main changes: Fable 5.2 (claude-fable-5-2) is what fable selects from v2.1.321 at $8/$40 with $0.20 cache reads and medium effort in Claude Code; the saved Fable 5.1 pick migration; best now documented as the same model as opus; fast mode on Fable 5.2 at $16/$80 (v2.1.321) and on Agent Platform (v2.1.322); permissions.denyInsteadOfPrompting; auto mode without feature flags no longer falls back to the local classifier; MCP tasks in the terminal; CLAUDE_CODE_DISABLE_FEATURE_FLAGS; claude remote-control --settings; claude auth status sign-in expiry; /tasks, /loop, /model, and /claude-api latency-optimize changes; mods on without asking in auto and bypass modes; the advisor pairings for Fable 5.2; gateway keys; the Ultra plan name. Smaller changes: the remaining fixes. 283284
2026-11-02 Guide v2.121: CLI v2.1.311 (Oct 26) through v2.1.317 (Nov 2) (five releases; npm latest and next 2.1.317, stable moves to 2.1.311; 2.1.313 never published, 2.1.315 on npm only). Main changes: ultrathink runs a terminal turn at xhigh (v2.1.311; CLAUDE_CODE_DISABLE_ULTRATHINK turns it off); CLAUDE_CODE_SUBAGENT_EFFORT and per-model subagent effort; [1m] dropped where it has no effect; the signed model catalog on third-party providers (CLAUDE_CODE_MODEL_CATALOG=off); shorter system prompt and refusal fallback for unrecognized model names; fast mode on Opus 4.8 deprecated October 30, removed November 30; permissions.blockWritesOutsideWorkingDirectories; hooks on Monitor commands, the PreCompact output cap, 24-at-a-time hook concurrency; idle compaction in VS Code, the desktop app, and third-party providers; claude -p exit codes; runner --hold-idle-file and --max-hold-min, CLAUDE_CODE_DISABLE_NESTED_SESSION_ID, and the self-hosted environments docs; disableRemoteControl; six gateway keys and the cost report API; server-managed settings without the prompt; OTel anthropic.* attributes and OTEL_EXPORTER_OTLP_TIMEOUT; safety_event no longer sent; FORCE_HYPERLINK=false. Smaller changes: the remaining fixes. 281282
2026-10-26 Guide v2.120: documentation update; no new CLI release (npm latest 2.1.310, stable 2.1.308; 66 code.claude.com pages changed between October 24 and 26). Main changes: Projects (announced September 17, 2026; public beta on Pro and Max), which no release note ever carried, get a section under Claude Code on the Web: coordinator conversation, threads as cloud sessions, instructions and memory, what a thread loads from a repository, usage caps, Work locally through Remote Control; claude --cloud starts a cloud session from the terminal and -p "msg" --cloud <session-id> queues a message into a running one (--remote is the deprecated alias); cloud scheduled tasks (formerly routines) and desktop scheduled tasks, with a /schedule row and the three-scheduler comparison; /slides and the artifact templates beta; turning artifacts off (enableArtifact, CLAUDE_CODE_DISABLE_ARTIFACT, CLAUDE_CODE_ARTIFACT_AUTO_OPEN); CLAUDE_CODE_DISABLE_WORKFLOWS replaces the v2.1.147 opt-in in the env-var reference (workflows are on by default except on Pro); CLAUDE_CODE_MAX_TURNS. 277278279280
2026-10-23 Guide v2.119: CLI v2.1.303 (Oct 18) through v2.1.310 (Oct 23) (eight releases; npm latest and next 2.1.310, stable moves to 2.1.308). Three What’s New sections. Main changes: /auto-mode-setup; /usage one-line fixes with f; the Pro/Max 5-hour resume warning; sandbox.allowNestedUserNamespaces; CLAUDE_CODE_RETRY_WATCHDOG_USAGE_LIMIT_RECHECK_MS, CLAUDE_CODE_AUTO_COMPACT_WINDOW suffixes, CLAUDE_CODE_DISABLE_ULTRAREVIEW_TRUST_CHECK; claude ultrareview workspace trust; claude_code.safety_event; mods e.isReadOnly, decider: "person", settings.read layers, the 45% docked pane, Image in tmux; sandbox hardening (shell startup files, denyWrite through symlinks, --mcp-config protection, sed -i runs as written); worktree and skills housekeeping; Code Review levels and @claude review stop; the tool-search default behind a custom base URL and its regression fix; allowedMcpServers and ${VAR} servers; Monitor on Bedrock, Vertex, and Foundry. Docs (Oct 23) now carry most of it, plus the 2.1.302 -p and fork-mode rules; still release-notes only: decider, settings.read, review stop, sed -i, the resume warning, the tool-search default. 275276
2026-10-21 Guide v2.118: hook output corrected against the October 21 hooks reference. The generic JSON-output example showed message and modifications fields the reference does not define; it is now the reference’s three kinds of output fields and the universal-field table (continue, stopReason, suppressOutput, which is accepted but has no effect, systemMessage, and terminalSequence with its interactive-only limit). Exit codes: on 0, JSON fields apply and the action proceeds unless they block, deny, or stop it, and stdout reaches context only on UserPromptSubmit, UserPromptExpansion, SessionStart, and PostModelSwitch; on codes other than 0 or 2, the action goes ahead unless the hook’s failure blocks it, the transcript notice carries the first line of stderr when stdout is plain text or empty, and validated JSON still applies unless the hook’s failure blocks the action. 274
2026-10-17 Guide v2.117: CLI v2.1.301 (Oct 15) + v2.1.302 (Oct 16). Main changes: claude -p and the SDK start in Manual again on third-party providers, with telemetry off, and on fresh installs (v2.1.302 reverses v2.1.285; box bullet, availability table, mode table, and a new paragraph); fork subagents on by default in -p, the SDK, desktop, and VS Code, desktop and VS Code always background the main conversation’s subagents, prompt and agent hooks cap at 12 of one event; CLAUDE_CODE_AUTO_MODE_MODEL and CLAUDE_CODE_RETRY_WATCHDOG_MAX_USAGE_LIMIT_WAIT_MS; OTel classifier_verdict, permission_mode, classifier_category; vim %; mods rows, .catch, $.env.set; /config Idle compaction row; Claude Design closes by Dec 14, 2026; fable/best retry; smaller-context model switches summarized by the previous model. Docs-lag: everything except vim % and VS Code LaTeX is release-notes only as of Oct 17, and the permission-modes, env-vars, and sub-agents pages still state the pre-2.1.302 rules. 272273
2026-10-14 Guide v2.116: CLI v2.1.300 (Oct 14) (npm 14:27Z under next, GitHub release 18:24Z, 88 bullets identical to the canonical CHANGELOG; by evening latest and next 2.1.300, stable moves to 2.1.292). Main changes: the advisor tool reaches Claude Platform on AWS, and the guide gains its first Advisor Tool section (/advisor, advisorModel, --advisor, CLAUDE_CODE_DISABLE_ADVISOR_TOOL, pairing rules, cost) from the docs page; mods virtualText, $.ui.view, dir, prompt.change, agent.spawn rewrites; OTel cache-write split and GenAI span attributes; CLAUDE_CODE_GZIP_REQUEST_BODIES; updatedInput validation; claude remote-control loses --sandbox/--no-sandbox; transcripts record each request’s system prompt and tools. Fixes: SessionEnd on exit, tool search auto, headless compaction resumes, MCP schema 400s, claude daemon stop --any. 270271
2026-10-14 Guide v2.115: CLI v2.1.299 (Oct 14) (npm 00:23Z, GitHub release 02:49Z, 190 bullets identical to the canonical CHANGELOG; 2.1.297 and 2.1.298 never published; next at 2.1.300 since 14:27Z with no notes yet; stable 2.1.287). Main changes: idle compaction of 200K+ conversations after about 54 idle minutes ("idleCompaction": false, CLAUDE_CODE_IDLE_COMPACT_MIN_TOKENS), CLAUDE_CODE_DISABLE_FILE_MENTIONS, MCP allow rules and agent tools: lists matching a server’s whole name, first-party MCP descriptions uncut, UserPromptSubmit before command expansion, turn.start for subagents and the other mod API additions, /effort and /fast in agent view, /usage warnings, claude plugin eval --disallow-tools, --shutdown-drain-sec, CLAUDE_CODE_ATTRIBUTION_HEADER, CLAUDE_CODE_STRICT_INLINE_SHELL_RM_PROMPT. Docs caught up on autoCompactWindow and CLAUDE_CODE_OVERLOADED_RETRY_MAX_DELAY_MS; CLAUDE_CODE_WORKFLOW_SUBAGENT_MODEL and serverToolUses still release-notes only. Two 2.1.296 regressions fixed. 268269
2026-10-13 Guide v2.114: docs catch-up against the October 13 pages, no new CLI release (npm latest and next still 2.1.296, stable 2.1.287). The hooks reference now dates the per-hook --debug lines and the PowerShell handling of CLAUDE_ENV_FILE to v2.1.296, the gateway docs describe the per-developer forceLoginGatewayUrl setup and the code policy key, and the mods reference lists e.agentId, e.ceiling, and prompt.autocomplete; the v2.1.295, v2.1.296, and mod-API passages say so. Still release-notes only: autoCompactWindow, CLAUDE_CODE_WORKFLOW_SUBAGENT_MODEL, CLAUDE_CODE_OVERLOADED_RETRY_MAX_DELAY_MS, serverToolUses. Also, on October 12, the sandbox section was corrected to the boundary Anthropic documents: writes confined to the project and allowed paths, reads across most of the machine unless denyRead is set, the built-in file and web tools following permission rules, and hooks, local MCP servers, and helper commands running with full access.266 267
2026-10-11 Guide v2.113: CLI v2.1.293 (Oct 7) through v2.1.296 (Oct 9) (npm latest and next 2.1.296, stable moves to 2.1.287; four release bodies identical to the canonical CHANGELOG: 56, 2, 143, and 79 bullets). New model: Claude Haiku 5.5 is what haiku selects on the Anthropic API (v2.1.293): model table, Haiku paragraph, pricing table, cost examples, quick reference, comparison table, and thinking list updated; Sonnet 5.5 cache reads corrected to $0.10. Hooks: onFailure: "block" (v2.1.295). Changed defaults: MCP description cap 4,096 (v2.1.296), tool-search descriptions 16,384 and 32 preloaded skills (v2.1.295). Added: autoCompactWindow, CLAUDE_CODE_WORKFLOW_SUBAGENT_MODEL, CLAUDE_CODE_OVERLOADED_RETRY_MAX_DELAY_MS, CLAUDE_CODE_RETRY_WATCHDOG_MAX_WAIT_MS, VERTEX_REGION_CLAUDE_HAIKU_5_5, Read allow_large, the gateway code policy key. Docs catch-up: the v2.1.292 row’s three lag items are now documented. Smaller changes: the v2.1.294 hook-judgment fixes and the VS Code, cloud-session, Claude Tag, and Code Review fixes. 235236237
2026-10-06 Guide v2.112: CLI v2.1.288 (Oct 2) through v2.1.292 (Oct 6) (npm latest and next 2.1.292, stable still 2.1.285; nothing skipped since 2.1.287). Renamed: claude project purge is now claude purge, the old name kept with a notice. Changed defaults: the interactive WebSearch budget refills at 100 calls/hour (CLAUDE_CODE_WEB_SEARCH_REFILLS_PER_HOUR) instead of ending at 200; stdio MCP servers negotiate protocol 2026-07-28 on every install (MCP_PROTOCOL_NEGOTIATION=legacy opts out); background command limits only in unattended sessions; project settings can no longer turn on Claude in Chrome; pyright asks. Added: CLAUDE_CODE_OVERLOADED_RETRY_BASE_DELAY_MS, CLAUDE_CODE_DISABLE_STRUCTURED_OUTPUTS, Agent tool effort, claude plugin install --marketplace, /code-review --max-findings, partial names for claude attach/logs, mod API additions. Fixes: v2.1.291 repairs two regressions (session-end message loss from 2.1.288, dropped cloud permission answers from 2.1.290); a UNC-read prompt bypass is closed. 231232233234
2026-10-01 Guide v2.111: CLI v2.1.286 (Sep 30) + v2.1.287 (Oct 1) (npm 17:14Z and 16:59Z; GitHub releases 19:10Z and 18:00Z; 88 and 106 bullets, identical to the canonical CHANGELOG; nothing skipped since 2.1.285; npm stable moves from 2.1.280 to 2.1.285). Changed defaults: Opus 4.7+ and Fable run with 1M context on Bedrock, Vertex, Foundry, and the Claude apps gateway (v2.1.287); CLAUDE_AX_PREPARK_MS drops to 0; a flagged-message model switch keeps your effort level; --bare connects only command-line MCP servers (v2.1.286). Added: mods and the built-in You should know mod, URL prompts on the 2025-11-25 MCP protocol (bareElicitationCapability), alwaysLoad: false, the agents-view n:<text> filter, OTel prompt_text, and prompts for shell writes through committed symlinks. Docs: the permission-modes table now matches v2.1.285. Smaller changes: the retry limit and the screen reader, VS Code, Remote Control, and cloud-session fixes. 228229230
2026-09-29 Guide v2.110: CLI v2.1.284 (Sep 28) + v2.1.285 (Sep 29) (npm 17:11Z and 17:32Z; GitHub releases 18:02Z and 19:27Z; 100 and 136 bullets, identical to the canonical CHANGELOG; nothing skipped since 2.1.283; npm stable moves from 2.1.274 to 2.1.280). Changed defaults: sonnet selects Claude Sonnet 5.5 ($2/$10) on the Anthropic API (v2.1.284); auto mode starts interactive sessions on every plan and provider (v2.1.284) and claude -p and Python Agent SDK sessions on third-party providers or with telemetry off (v2.1.285); Ultracode no longer forces xhigh; background shell commands stop at their timeout; custom base URLs get the 1M window. Added: allowedProviders, claude --desktop, claude plugin configure, CLAUDE_CODE_DISABLE_WEB_FETCH, CLAUDE_CODE_NONSTREAMING_TIMEOUT_RETRIES, /mcp reconnect all, effort-slider keybindings. Smaller changes: retry-budget, Remote Control, VS Code, and /ultrareview fixes. 225226227
2026-09-26 Guide v2.109: CLI v2.1.282 (Sep 24) + v2.1.283 (Sep 25) (npm 15:56Z and 18:46Z; GitHub releases 18:38Z and 21:50Z; 86 and 94 bullets, identical to the canonical CHANGELOG; nothing skipped since 2.1.281; npm stable moves from 2.1.273 to 2.1.274). Changed defaults: auto mode is the built-in starting mode for interactive terminal and VS Code sessions on every plan and provider (v2.1.283); a direct API session with telemetry off uses the server-side auto-mode checks (v2.1.282); project and local settings ignore OpenTelemetry export and content variables (v2.1.282). Added: maxProseWidth, deniedModels, availableModelsMatch, allowClaudeInChromeWithManagedMcp, /doctor prompt-audit, the x-claude-code-prompt-id hint header, the reserved anthropic-skills name, and a project excludedCommands limit; the Opus picker row drops “(1M context)”. Docs: the auto-mode billing page and the "attribution": false settings entry caught up; hint headers are on by default for direct API connections. Smaller changes: extended-thinking, plugin, MCP, and vim fixes. 222223224
2026-09-24 Guide v2.108: CLI v2.1.281 (Sep 23) (npm 17:01Z, GitHub release 19:19Z, 176 bullets, identical to the canonical CHANGELOG; nothing skipped since 2.1.280; npm stable moves from 2.1.267 to 2.1.273). Changed defaults: send now moves running tools to the background instead of cancelling the turn; CLAUDE_CODE_AUTO_MODE_SERVER applies on direct Anthropic API connections; server-reviewed read-only and sandboxed shell commands wait for review; the dangerous rm prompt denies after 2 minutes in unattended modes. Added: "attribution": false, MCP URL-mode elicitation, claude plugin validate MCP checks, --agents JSON file paths, gateway assume_role, guardrail, and telemetry.resource_attributes, runner system-prompt files, three prompt-cache fixes. Correction: the /agents surfaces now say the wizard was removed in v2.1.198. Smaller changes: resume, streaming, and proxy reliability fixes; claude --bg asks for workspace trust; --setting-sources reaches spawned sessions. 221
2026-09-23 Guide v2.107: Correctness and readability pass; no new CLI release (npm latest and next still 2.1.280, stable 2.1.267). Corrections: Opus 5.5 added to the API pricing table with its 0.05x cache-read rate; fast mode now lists Opus 5.5 at $8/$40, the fast-mode default since v2.1.280; Opus 5.5’s medium effort default and always-on thinking stated wherever effort and MAX_THINKING_TOKENS=0 come up; opus[1m] qualified for Bedrock, Agent Platform, and Foundry; the AGENTS.md differences now match the docs, with the first-session caveat; Claude Platform on AWS added to the server-side auto-mode list; an unsourced v2.1.280 billed-fallback claim removed; config examples moved to current model IDs. New: an Opus 5.5 breaking-changes block and Claude Code’s content-based fallback. Readability: a shorter TL;DR, the auto-mode intro split into paragraphs and a table, and release-note footnotes trimmed to citations. 216217219220
2026-09-22 Guide v2.106: CLI v2.1.280 (Sep 22) + Claude Opus 5.5 (npm latest and next 2.1.280, stable 2.1.267; 2.1.279 never published). Main changes: Opus 5.5 (claude-opus-5-5) is the default Opus model: 1M context, $4/$20 per MTok with $0.20 cache reads, 128K max output, always-on adaptive thinking, medium effort by default, and it requires v2.1.280; Pro and Team Standard move from Sonnet to Opus, so Opus 5.5 is the default on every Anthropic plan and first-party provider except Microsoft Foundry, and the “Default model by plan” table drops from five rows to three; CLAUDE_CODE_MAX_MCP_DESCRIPTION_LENGTH overrides the 2,048-character cap on MCP tool descriptions and server instructions for the whole session; the symlink write-path security fix, after which the permission prompt names where a write lands; auto mode denies once when a safety check declines to review and stops the turn after ten unanswered checks in a row; two prompt-cache fixes; PermissionRequest agent hooks are refused; Ctrl+C or Ctrl+D twice closes a dialog instead of quitting Claude Code; the v2.1.260 Ctrl+L and Cmd+K transcript clear is reverted. Smaller changes: the remaining fixes. 217218
2026-09-21 Guide v2.105: CLI v2.1.277 (Sep 18) + v2.1.278 (Sep 19) (npm latest and next 2.1.278, stable 2.1.267). Main changes: AGENTS.md support (v2.1.277): in a project with no CLAUDE.md, Claude Code reads AGENTS.md instead, configurable under “Project instructions” in /config and not yet on Bedrock, Vertex, or Foundry; the memory section gains an “AGENTS.md Support” subsection, and the Codex migration advice to rename the file becomes the pre-2.1.277 fallback; auto mode defaults to the server-side classifier (v2.1.278) for Claude API and Enterprise users and on Bedrock, Vertex, Foundry, and gateways, with no charge for classifier overhead when the server performs the checks, CLAUDE_CODE_AUTO_MODE_SERVER=0 as the opt-out, a one-time warning on billed fallback, and an Auto mode server row in /status; CLAUDE_GATEWAY_PROXY_IS_EGRESS_BOUNDARY=1 for gateways whose only egress is a forward proxy; claude -p and Agent SDK internal errors report the error and exit 1 instead of hanging; sandbox.excludedCommands globs must match every part of a compound command; three prompt-cache fixes; the TaskOutput tool is removed. Smaller changes: the remaining fixes. 216
2026-09-17 Guide v2.104: CLI v2.1.274 and v2.1.275 (Sep 17) and the v2.1.276 regression fix (Sep 18) (npm latest and next 2.1.276, stable 2.1.267). Main changes: claude.ai account skills and plugins sync into terminal sessions (v2.1.275) signed in with that account, with syncClaudeAiSkills: false and syncClaudeAiPlugins: false as opt-outs; the send-now key (Ctrl+Enter, or Ctrl+X Ctrl+S) interrupts the current turn and sends all queued messages; /plugin install <plugin> --marketplace <source> offers to add the marketplace first; plugins from an npm source are fetched with npm pack --ignore-scripts, so package install scripts no longer run; CLAUDE_CODE_MCP_STARTUP_WAIT_MS bounds the first non-interactive turn’s wait for MCP servers (v2.1.274); Bedrock, Vertex, Foundry, and telemetry-disabled installs default to the v2 MCP client, with MCP_SDK_GENERATION=v1 and MCP_PROTOCOL_NEGOTIATION=legacy as opt-outs; "type": "sdk" MCP entries in config files are skipped with a warning; the product phrase becomes “cloud session”; artifact watching no longer starts a turn when a new version is published elsewhere; v2.1.276 fixes the 2.1.275 regression that failed every request when ANTHROPIC_BASE_URL points at a proxy or gateway, so never pin 2.1.275 there. Smaller changes: the remaining fixes. 215
2026-09-16 Guide v2.103: CLI v2.1.273 (Sep 15) (npm latest and next 2.1.273; the stable tag moved from 2.1.236 to 2.1.267). Main changes: v2.1.273 reverts v2.1.268’s check on Bash lines the permission checker cannot analyze (“commands like time -p make build prompt again instead of being denied”), while the v2.1.268 symlinked-directory fixes and the v2.1.260 revert stand; such commands no longer skip the prompt under permissions.blockReadsOutsideWorkingDirectories, and a subshell hiding a dangerous rm no longer skips confirmation in bypass mode; auto mode on Bedrock, Vertex, and Foundry uses the local classifier by default, with CLAUDE_CODE_AUTO_MODE_SERVER=1 to opt into the server-side classifier; CLAUDE_CODE_GATEWAY_HINT_HEADERS=1 sends five x-claude-code-* hint headers to LLM gateways; allowManagedMcpServersOnly, deniedMcpServers, and disableClaudeAiConnectors from MDM or managed-settings.json are no longer ignored when server-managed settings are also present; advisor-tool turns are no longer counted at about twice their real size, which had fired auto-compact at about half the window; /login, /upgrade, and /extra-usage no longer discard earlier thinking; /bug and /feedback send less data; a claude --remote-control session can be forked from the Claude app. Smaller changes: the remaining fixes. 214
2026-09-15 Guide v2.102: CLI v2.1.266 through v2.1.272 (Sep 8 to 14) (npm latest 2.1.272; 2.1.273 on the next tag only). Main changes: /output-style is revived (v2.1.269) after its deprecation from v2.1.73 through v2.1.268; claude plugin eval (v2.1.269) runs scored, reproducible plugin eval suites; fast mode in Remote sessions (v2.1.271); the maxEffortLevel setting (v2.1.267) caps effort top-level or per model on every provider; Bash deny-rule fixes for symlinked directories, env -C, eval, and tee destinations (v2.1.268 to v2.1.271); about ten prompt-cache stability fixes (v2.1.267); --system-prompt-snapshot off; task-tracking tools offered only on Claude 3.x, Opus 4.0 to 4.7, Sonnet 4.0 to 4.6, and Haiku 4.5, with CLAUDE_CODE_ENABLE_TODO_TOOLS=1 elsewhere; plain WebFetch deny and ask rules no longer cover Artifact reads; the gatewayInternalNetworks managed setting and a gateway pricing multiplier up to 10; per-command allowed_domains in auto mode with sandboxing; omitClaudeMd agent frontmatter; an unreadable managed-mcp.json fails closed; --json on the plugin install, uninstall, update, enable, and disable commands. Smaller changes: the remaining fixes; v2.1.266 and v2.1.270 are one-line regression fixes and v2.1.272 reads only “Bug fixes and reliability improvements”. 213
2026-09-08 Guide v2.101: CLI v2.1.265 (Sep 8) (npm latest and next 2.1.265, stable 2.1.236; 2.1.262 and 2.1.264 never published; 2.1.263 reads only “Bug fixes and reliability improvements”). Main changes: --plugin-dir accepts a folder of plugins: each child folder with a manifest loads, and children added or removed while the session runs are picked up; two prompt-cache prefix fixes for resumed subagents and agent teammates; cd persists across turns in non-interactive sessions (-p with stream-json input, the Agent SDK, and cloud sessions); the MCP http transport falls back to legacy HTTP+SSE, so a legacy server no longer needs --transport sse; a 1 GB cap on tool results saved to disk; forceLoginGatewayUrl makes a machine a gateway session from startup, and gateway sessions can export OTLP directly to a collector named in the gateway’s managed OTEL_EXPORTER_OTLP_ENDPOINT; two-key chords wait 3 seconds for the second key, up from 1; mid-prompt slash commands show a suggestion list. Smaller changes: the remaining fixes. 212
2026-09-04 Guide v2.100: CLI v2.1.261 (Sep 4) (npm latest and next 2.1.261, stable 2.1.236). Main changes: keybindingFlavor is retired, and the prompt’s word-editing keys match Bash (“Ctrl+W deletes back to whitespace, Alt+F and Alt+D stop at word end, punctuation separates words; keybindingFlavor no longer has any effect”); /skill-doctor shows which loaded skills go unused and what they cost in context; bashOutputMaxChars and taskOutputMaxChars raise how much command and background-task output Claude receives inline before it is saved to a file, up to 128K characters; auto mode treats a link that packs content into a public diagram renderer’s URL as an upload and no longer auto-approves it unless you asked for it; forceLoginMethod: "gateway" ignores a leftover API key or claude.ai login and asks for /login; no deny-rule change. Smaller changes: --append-subagent-system-prompt-file, an “Organization policy” line in /status and claude doctor, and the remaining fixes. Corrected the same day: BASH_MAX_OUTPUT_LENGTH restated as the read-back window from the Bash working output file (30K default, 150K hard ceiling), and the diagram-renderer sentence rephrased. 211
2026-09-03 Guide v2.99: Weekly limits change on September 14 — no CLI release involved. New paragraph in the rate-limits area: the temporary 50% weekly-limit increase ends September 14, replaced by a permanent 25% increase over the pre-boost baseline (Pro, Max, Team, seat-based Enterprise); Anthropic’s own follow-up puts it at “a 17% reduction in weekly limits on Claude Code” compared to today. Five-hour limits unchanged. Source: the two Claude Developers posts of August 29, 2026, quoted verbatim. 210
2026-09-03 Guide v2.98: CLI v2.1.260 (Sep 3), released hours after the v2.97 row below (npm latest and next 2.1.260, stable 2.1.236). Main changes: the v2.1.259 extension of Read() deny rules to Bash arguments is reverted: “it denied npm run build under a Read(./**/build/**) rule in every mode and made cd … && grep prompt even in auto mode”; the v2.1.257 coverage of input redirects and reader commands stands, and the v2.97 row below records what v2.1.259 shipped; /diff opens a fullscreen diff panel beside the conversation; a security fix for permission rules with parentheses in the path, which had been dropped as invalid or ignored by the Bash sandbox; four Fable 5.1 fixes (the /model picker, prompt caching of context attached after tool results, mid-session /effort changes, and the [1m] tag on a pinned fable); auto-compact near the 1M limit extends to Opus and Fable; /cost names a likely cache-miss cause; ! bash-mode commands run outside the sandbox even under strict sandbox mode; a managed claudeMd no longer triggers the security approval dialog; Claude in Chrome follows the org admin setting. Smaller changes: the remaining fixes. 209
2026-09-03 Guide v2.97: CLI v2.1.257 and v2.1.258 (Sep 1), v2.1.259 (Sep 2) + the Claude Fable 5.1 launch (Sep 1) (2.1.253 through 2.1.256 never published on npm, so v2.1.257 is the first installable release with Fable 5.1). Main changes: Fable 5.1 (claude-fable-5-1): $10/$50 per MTok with cache reads at $0.25, 1M context, 128K output, always-on adaptive thinking, high effort by default, three breaking changes against Fable 5, and the fable alias resolves to it; Fable 5 moves to the docs’ Legacy models table; timeFormat and timeZone settings; the auto-mode “Containment Escape” rule; CLAUDE_CODE_SUBAGENT_MODEL_FORCE; permissions.blockReadsOutsideWorkingDirectories; /effort s and a session-scoped --effort; Bash Read() and Edit() deny rules cover input redirects (< file) and reader commands like tac and egrep, the narrower version of the checks added in v2.1.232 and reverted in v2.1.233; --add-dir refuses network paths; the managedMcpServers managed setting (v2.1.259); allowedMcpServers now governs only servers users add, so a managed server an allowlist used to filter out loads again on upgrade (use deniedMcpServers); --permission-prompts none; managed settings that fail to parse refuse startup; claude plugin validate --json; Read() deny coverage of option values and operands. Smaller changes: the remaining fixes. 208238239240241
2026-09-01 Guide v2.96: Auto Mode gains the caveat it was missing — no CLI release involved. The Auto Mode section documented a steadily-hardening classifier without stating what that classifier is not. Added: Johann Rehberger’s August 26 chain against Claude Code Opus 5 in auto mode (the server answers WebFetch with HTTP 415 so the agent falls back to curl; the fetched archive’s struct.py is picked up by the agent’s own decoder when base64 imports struct), reported at 60-80% on small samples (3 of 5 for the python3 C2 chain; 3 of 5 and 4 of 5 for two claude -p subprocess configurations) with the author’s small-sample caveat, and his report that in a few runs auto mode denied Claude’s cleanup command after the compromise was noticed; plus Anthropic’s disposition (closed Informative, working as designed) and the framing to design around — best-effort classifier rather than security guarantee, injection chains built from benign steps outside classifier scope, OS-level isolation and network egress control as the real boundary. Guidance added for untrusted-input sessions: container or VM, restricted egress, monitoring, credentials out of the agent’s home directory. Also reconciles the marketed 0.00% prompt-injection ASR figure (commissioned 72-scenario evaluation) with a working chain that was not in that set, and notes the August 30 reclassification of the chain — raised by a Lobste.rs reader, endorsed in Willison’s update — as a confused environment attack rather than a classic prompt injection. No hardening claim was removed; the section now carries the frame those claims belong in. 207
2026-08-31 Guide v2.95: CLI v2.1.252 (Aug 31): four fixes, recorded in this row only. Verbatim: fixed Bash commands failing with “task output swap refused (tasks dir moved or linked)” on some Macs; “always allow” not saving in a project with no .claude/settings.local.json yet; Remote Control sessions hosted by Claude Desktop or VS Code stalling for minutes after a tool finished on degraded claude.ai connections; and background task notifications with very large failure output exceeding the API request size limit. All four restore documented behavior. v2.1.252 is the latest release at the time of this row. 203
2026-08-30 Guide v2.94: CLI v2.1.248 and v2.1.250 (Aug 27) and v2.1.251 (Aug 28) (2.1.249 never published on npm). Correction, default model by plan: Max, Team Premium, Enterprise pay-as-you-go, the Anthropic API, Claude Platform on AWS, Bedrock, and Google Cloud’s Agent Platform default to Opus 5; Pro and Team Standard default to Sonnet 5; Microsoft Foundry defaults to Sonnet 4.5; seat-based Enterprise subscriptions move to Opus 5 in v2.1.251. Also corrected: cross-session messaging has worked on native Windows since v2.1.239, and v2.1.248 extends same-machine SendMessage and ListAgents to Bedrock, Vertex, and Foundry and to sessions with telemetry disabled. Main changes: --restricted and CLAUDE_CODE_RESTRICTED=1; experimental.cacheTtl agent frontmatter; desktopSessionCleanupPeriodDays; /usage-credits; /loop self-paced mode always available; the v2.1.251 approval dialog for server-managed settings that weaken isolation; PreModelSwitch and PostModelSwitch hook events and SessionStart resume-cost fields; /effort saved per model; a Spend limit bar in /usage; a per-session prompt-cache line in /cost; CLAUDE_CODE_SUBAGENT_MODEL becomes a default instead of an override; Claude in Chrome actions always pass Claude Code permission checks. Smaller changes: four v2.1.251 security fixes and the remaining fixes. 203204205206
2026-08-27 Guide v2.93: CLI v2.1.247 (Aug 26) (2.1.244 remains unpublished on npm). Main changes: the SendFeedback tool and feedbackDrafts setting: when something goes wrong in a session, Claude can draft a feedback report for you to review and send from /feedback; spinnerTipsOverride accepts {id, text, cooldownSessions, priority} tip entries plus tipsFile and label keys; /claude-api cost-optimize profiles a project’s Claude API spend and works through cost levers one measured change at a time, and the skill gains Admin API coverage; Sonnet 5’s default auto-compact window is its full 1M context, so 1M-window sessions auto-compact at about 967K tokens instead of about 934K; Bash permission prompts offer “Yes, and switch to auto mode”; cross-session peer messages collapse by default to a one-line preview, and Ctrl+O expands them. Smaller changes: subagents that fail on a first-call model 404 use the session’s fallback model chain; oversized error output from a hook or background agent can no longer wedge the session on “Prompt is too long”; the remaining fixes. 242
2026-08-26 Guide v2.92: CLI v2.1.242 to v2.1.246 (Aug 24 to 25) (2.1.242 and 2.1.244 have no CHANGELOG section, and 2.1.244 never reached npm). Corrections: Sonnet 5’s $2/$10 is now the list price, and sonnet[1m] is a no-op on Sonnet 5; managed-source precedence rewritten (the first source with a policy key wins: remote, MDM, managed-settings files, then HKCU; nothing is merged), with the /status Skipped sources line; the prompt-cache TTL section replaced with the two-bucket table plus promptCacheTtl and subagentPromptCacheTtl; the effort table drops the nonexistent min level and adds ultracode; web availability fixed; stale model IDs in the settings examples replaced. Main changes: modelPicker; modelPricing; keyless Console sign-in; the /permissions Auto mode tab; the Bash wildcard-before-subcommand warning; /cd applies settings, hooks, MCP, skills, and agents at once; maxTurns partial results; the /goal three-check-in cap; the /usage Loops breakdown; /web-setup. Smaller changes: the zstd-compressed native binary (about 75 MB instead of 340 MB on Linux x64) and the remaining fixes. Footnote 229 had two definitions, so the v2.1.235 to v2.1.238 release-notes citations carry footnote 236. 248247246245244
2026-08-24 Guide v2.91: CLI v2.1.239 (Aug 21); v2.1.240 and v2.1.241 (Aug 22 and 23) are fixes-only. Main changes: /claude-api upgrade: migrates Python projects from anthropic 0.x to 1.x, skill reference updated for 1.x; 1.1× US-only-inference premium for data-residency workspaces now included in /cost, status line, and --max-budget-usd estimates; Windows cross-session messaging (SendMessage/ListAgents now on all three platforms); name@synced claude.ai plugins with claude plugin enable/disable <name>@synced, never overriding same-named local installs; ListAgents self-name + live-teammate listing; "readline" word keys (Alt+F/Alt+D/Ctrl+Y, punctuation-separated); /goal check-in backoff (30m→1h→2h) and goal restore via the --resume picker; one-time fullscreen offer on Bedrock/Vertex/Foundry (new installs there start fullscreen). Status changes from the Week 34 docs digest: /design research preview added to the slash-command table (editable UI artboards on artifacts; Pro/Max/Team/Enterprise; v2.1.233+); it had shipped inside an already-covered version window without body coverage; Remote Control is out of research preview: both body labels corrected, device cards noted. Smaller changes: retry watchdog fails fast on spend-limit/out-of-credits; Bedrock streaming proxy double-billing fix; Esc-race/idle-session fix; WebFetch 15-minute cache actually honored; /resume directory-collision and deleted-worktree fixes; UTF-8-BOM agent/skill files no longer ignored; OTel trace-fragmentation fix for hook-deferred tools; masked-input paste/history hardening. v2.1.241 is the latest release at the time of this row. 202
2026-08-20 Guide v2.90: CLI v2.1.235 to v2.1.238 (Aug 18 to 20). Main changes: the built-in “Concise” output style (v2.1.237); ANTHROPIC_DEFAULT_MODEL sets the model new sessions start on, and a /model pick still overrides it and persists (v2.1.236); an optional spellcheck setting using an installed aspell, hunspell, or ispell (v2.1.235); the keybindingFlavor setting, "readline" or the default "classic" (v2.1.238); headersHelper for plugin marketplaces and MCP mints short-lived HTTP headers through a local command (v2.1.238); notify_when_idle on cross-session SendMessage, with refused and dropped messages now reported to the sender; auto mode sets aside Monitor allow rules and runs its classifier with Claude API defaults on Bedrock, Vertex, and Foundry and with telemetry off (v2.1.236); on macOS, wildcard read-deny rules such as **/.env win inside allowed read regions (v2.1.236); a usage-credits spend row in /usage for Team and Enterprise; self-hosted runners gain --defer-shutdown-max-min and per-connection --proxy-authorization-command. Smaller changes: slash-command typos no longer run the closest fuzzy match; SIGTERM in print and SDK mode exits with code 143; the remaining fixes. 243
2026-08-18 Guide v2.89.1: Content-marking section completed: C2PA file metadata was the missing half. Anthropic’s support page (Aug 11, three days before the engineering post v2.89 sourced) describes two marking components: the statistical text watermark already covered, plus C2PA signed provenance metadata on generated files (.svg/.png/.jpg). The support page states that both components follow the same future-model timeline (“Claude models launched on or after August 2, 2026 will support machine-readable marking at launch”); the press’s “applies everywhere now” framing is wrong for files too, so the section’s core tense claim (nothing from current models is marked today) strengthens rather than corrects. Section retitled to “Content Marking: Text Watermarks and C2PA File Metadata”; adds the product list, file-side stripping vectors (format conversion, re-saving, screenshots), absent-mark-proves-nothing, and one sentence retiring the viral “watermarking made Opus 5 feel worse” theory (impossible: not live in any current model). New 201. 249201
2026-08-17 Guide v2.89: Text watermarking announced (Aug 14): new subsection in the models area. Anthropic’s announcement says watermarking applies to future models; the entire current lineup (Fable 5, Opus 5, Sonnet 5, Haiku 4.5) launched before the EU AI Act Article 50 cutoff (Aug 2) and sits in a transition period; Claude Code output today is not yet watermarked, contra “Claude now watermarks everything” headlines. Mechanism: SynthID-Text variant, randomness-source token selection, model-level (all surfaces once live). Code = sparse watermark (comments/naming; “negligible effect on the actual code produced”). Light edits survive it, full rewrites remove it, Claude translations re-mark. Detection API planned; detection proves involvement, not authorship; no opt-out mentioned. 249
2026-08-17 Guide v2.88: CLI v2.1.234 (Aug 17). Main changes: sessions continue automatically when a claude.ai usage limit resets (the /config toggle “Continue automatically at usage limit”); new env vars CLAUDE_CODE_PROJECT_DIR_NAME (a short per-project transcript-directory name) and CLAUDE_CODE_GOAL_CHECKIN_MINUTES (background tasks stalling a /goal for 30 minutes or more get checked on; 0 opts out); /goal clears itself when a turn dies on an unrecoverable error. Smaller changes: /permissions and /add-dir open mid-turn, with rule changes applying to the rest of the turn; a GitLab MR badge in the footer and statusline through an authenticated glab; the selection:clear keybinding action; the built-in claude-api skill’s context cost drops from about 200k to about 25k tokens; Windows NT-namespace (\??\) paths are rejected across remote reads, session restore, CLAUDE.md includes, workflow scripts, and uploads; strictKnownMarketplaces closes an SCP-style host-mismatch hole; the “Default teammate model” setting is removed; the remaining fixes. 250
2026-08-15 Guide v2.87: CLI v2.1.233 (Aug 14). Main changes: todo/task-tracking tools (TodoWrite, TaskCreate/Get/Update/List) off by default on Opus 4.8, Sonnet 5, Fable 5, Mythos 5, and newer; CLAUDE_CODE_ENABLE_TODO_TOOLS=1 restores (env table + TaskCreated hook row updated); new env vars CLAUDE_CODE_TOOL_MEMORY_LIMIT (opt-in Linux memory cgroup for Bash commands) and CLAUDE_CODE_WEBFETCH_CACHE_TTL_MS; GitLab MR URLs in --worktree with !N display in claude agents; forward_user_identity apps-gateway setting for per-user spend attribution behind proxies. Corrections to v2.1.232’s record: the Cygwin-style-symlink Bash permission change and the input-redirection (< file) checks were reverted (a narrower version is promised later), and a v2.1.232 auto-mode regression (repeated approval prompts on ordinary cd && command > file on Windows) is fixed. Smaller changes: NTLM credential-leak fix for NT \??\ device-prefix paths; self-hosted-runner faster session start; MCP v2 subscriptions/listen reconnect fix vs serverless hosts; Notification hooks now fire for permission prompts under Desktop/VS Code; idle-session 100%-CPU fix on sandboxed Linux; bundled-skill alias shadowing fix (/checkup, /review in -p mode); argument-substitution re-expansion fix; claude plugin validate checks bare .claude/skills; screen-reader /effort improvements; [claude-code:unrecognized_model] stderr diagnostic in print mode; GitHub-app tip suppressed on gitlab/bitbucket origins. v2.1.233 is the latest release at the time of this row. 251
2026-08-14 Guide v2.86: CLI v2.1.231 + v2.1.232 (both Aug 13). v2.1.232 main changes: subagent forking on by default: subagent_type: "fork" inherits the full conversation and prompt cache, non-teammate interactive spawns run in the background (see Subagents); @-mention live sessions in the prompt, routed via SendMessage, with bare-name exact-match delivery replacing the [ref] confirmation, unique per-machine session names (name-word-word variants), and /config rows for Dialog expiry + cross-session inbound (see Cross-Session Messaging); GitLab parity: nine GitLab token families redacted (glrt-, gloas-, glptt-, glagent-, glimt-, glsoat-, glcbt-, glft-, glffct-; routable glpat-/gldt- fully redacted), glab CLI config gets gh-grade sandbox protection, bare gitlab.com marketplace URLs clone like GitHub’s; marketplace settings aliases additionalMarketplaces/allowedMarketplaces (see Managed Settings); Fable 5 returns to /advisor for orgs with access. Security fixes: PowerShell $PSDefaultParameterValues permission bypass, Git Bash Cygwin-symlink write bypass, nested git repos no longer inherit parent trust. Smaller changes: gateway desktop: overlay accepts all Desktop settings schema-validated at boot, empty policy-group/admin-group and malformed email-domain entries fail at boot, Remote Control bridge/resume/history fixes, MCP connect-timeout fix, mTLS cert hot-reload, region-fallback and stream-idle-recovery fixes on Bedrock/Vertex. v2.1.231 (Aug 13) is a single fix: MCP OAuth redirect-URI mismatch for pre-registered clients (e.g. Slack). v2.1.232 is the latest release at the time of this row. 252
2026-08-12 Guide v2.85: CLI v2.1.228 (Aug 11) + v2.1.229 (Aug 12). v2.1.229 main changes: plugin marketplace command sources: a local command prints the plugin directory, re-resolved each session without restart, mode: "link" uses it in place (see Plugin Management); claude remote-control --continue resumes the most recent Remote Control session; ListAgents marks disconnected Remote Control sessions offline and labels cloud sessions cloud; /commit-push-pr no longer auto-approves git/gh commands with dangerous flags (--force, --amend, --no-verify); sandbox domain lists require bracketed IPv6 literals, enforced fail-closed and flagged by /doctor; self-hosted runners honor server-supplied hooks and Windows requires explicit --base-dir; workflow fan-outs stagger same-prefix siblings for prompt-cache reuse (CLAUDE_CODE_WORKFLOW_PREFIX_STAGGER_MS=0 disables); VSCode gains sidebar session groups and a resizable /btw panel. v2.1.228 main changes: the Write tool now matches Edit’s rules on newer models (overwriting an unread file no longer requires a prior read this session); skills synced from claude.ai are hardened (no shadowing local commands/MCP prompts, sanitized labeled descriptions, no !/@ expansion). Smaller changes across both: TUI redraw/streaming/crash fixes (narrow-terminal RangeError could break --resume), cross-session inbox-on-first-install fix and inline message display, Remote Control /resume history-leak fix, Vertex credential fail-fast, MCP OAuth 127.0.0.1 redirect, /model 1M-on-gateway fix, auto-mode attribution-header fix, self-hosted-runner checkout/cleanup fixes, memory-folder cleanup fix, marketplace settings-merge fix, 32MB-request compaction clarity, OTel Desktop-gateway fix, /login token-override warning repeat, auto-mode cost note removed from first-use notice. v2.1.229 is the latest release at the time of this row. 253 254
2026-08-12 Guide v2.85: Three lookup sections added. “Settings Lookup: The Most-Searched Flags” (disableBundledSkills, sandbox.excludedCommands, strictAllowlist, worktree.bgIsolation, allowAllClaudeAiMcps, wslInheritsWindowsSettings), “Where Are the Official Docs for Each Topic?” (topic, canonical code.claude.com page, in-guide section; ten rows), and “Claude Code Hooks vs Agent SDK Hooks” (include_hook_events / includeHookEvents stream consumption, payload-shape parity with the Agent SDK hooks doc, and the fail-open caveat at lifecycle edges). -
2026-08-11 Guide v2.84: Auto mode becomes the default permission mode on Pro, Max, and Team, effective August 14, 2026 (announced August 7; no CLI release — a plan-level rollout). Sessions on those plans start in auto mode: each tool call routes through a classifier “targeted at blocking actions that are irreversible, destructive, or aimed outside your environment.” Anthropic’s stated basis: a 1,053-tester study where auto mode caught 89% of dangerous commands vs 13.6% for human review, with users approving 97% of permission prompts; classifier token overhead is no longer billed on Pro/Max/Team. Opt-outs: Shift+Tab per session, defaultMode to pin, disableAutoMode managed setting org-wide. Enterprise/API/Bedrock/Google Agent Platform/Foundry stay opt-in with a stated coming-month plan to follow. Updated: TL;DR, Permission Modes table + new announcement paragraph, Auto Mode availability prose (the “not available on Pro” era is over — kept as history), quick-reference line. 200
2026-08-11 Guide v2.83: CLI v2.1.227 (Aug 10): bug fixes and polish only, recorded in this row; no guide section needed an update. Fixes: feature flags were evaluated without the user’s subscription tier when a session started on an expired login token, which could wrongly prompt Max users to enable usage credits for Fable; every Bash command failed under claude-code-action with allowed_non_write_users on GitHub-hosted runners; /tui brought back a conversation that had been rewound to before its first message. Improvements: slash-command menu highlighting (blue marks only the selected row, matched characters are bolded, emoji and accented names keep their glyphs) and fewer event-loop stalls on file-not-found suggestions and at-mention size checks. v2.1.227 is the latest release at the time of this row. 255
2026-08-09 Guide v2.82: Full-guide corrections: 15 stale passages fixed. Model-currency cluster rewritten to the current lineup across six surfaces: plan-default table, Opus tier intro, API pricing table (Opus 5 flagship, 4.8/4.7 legacy), Quick Reference model block, ANTHROPIC_DEFAULT_OPUS_MODEL example, Codex-comparison foundation row, with April data retained and labeled historical. Hard contradictions fixed: the removed --enable-auto-mode flag no longer taught as the way into auto mode (--permission-mode auto); auto-mode classifier updated to Sonnet 5 (v2.1.210) in both sections and the stale Team-first/4.6-requirement availability note replaced; subagent concurrency normalized to the 20-default in four places (diagram, intro, Codex table, Agent Teams comparison); Explore’s model card now says inherits-session-model (v2.1.198); the Codex-table hook count 22 → 31 (missed by v2.81’s reconciliation, whose row is amended); Ctrl+F kill-all-agents rebound to Ctrl+X Ctrl+K (v2.1.83). TL;DR: the v2.1.202 /review split now carries its v2.1.223 re-merge inline, and a v2.1.221 to v2.1.226 sentence covers cross-session messaging, self-hosted runners, plugin archive source, credential-masking extensions, Focus view, /fork worktrees, and the 200-cap/ultraplan removals. Smaller fixes: a stale v2.1.154 version stamp removed; Extended Thinking section fronted with an August-2026 model-support note; Claude-in-Chrome ToC anchor fixed and Microsoft 365 added to the ToC; MCP ecosystem count normalized to 3,000+ servers; phantom PreCommit hook event replaced with real mechanisms; expired rollout phrasing (Fable 5, Voice Mode) moved to past tense; cross-session transport wording no longer contradicts the v2.1.225 initiate change. No new CLI release. 184191194196197198199256
2026-08-09 Guide v2.81: Available Events table completed to the reference’s full 31-event roster: six documented events were missing rows: UserPromptExpansion (blocks/audits typed-command expansions), PostToolBatch (fires between a parallel tool batch and the next model call; exit 2 halts the agentic loop), MessageDisplay (display-only text transform via displayContent, v2.1.152), TaskCreated (exit 2 rolls back creation, v2.1.84), and CwdChanged/FileChanged (v2.1.83; FileChanged watches paths registered via the SessionStart hook’s watchPaths output). Also reconciled stale hook counts in the competitor-comparison sections (12+/22 → 31; the Codex-table 22 was missed in that pass and corrected in v2.82 the same day). Correction, phantom $FILE_PATH: five hook code examples used a $FILE_PATH (or $TOOL_INPUT_FILE_PATH) environment variable that Claude Code does not set: the reference documents no such variable; tool input reaches command hooks only as stdin JSON. All five rewritten to the documented jq -r '.tool_input.file_path' stdin pattern (the guide’s own protect-files example already had it right); the Hook Environment Variables table was always correct. No new CLI release. 3
2026-08-08 Guide v2.80: coverage expansion, no new release. Cross-Session Messaging rebuilt from Anthropic’s dedicated docs page (published alongside v2.1.224): /list-agents+/peers and the /status Peer address row; the four receiving-side rules (no approvals, no config changes, commands as text, prompts still fire); crossSessionInbound accept/hold/refuse with the two-permission-class default, five-minute dialogExpiry, 100-held cap; headless -p workers bind sockets but need accept to take messages unattended; transport table (same-machine Unix socket never via Anthropic servers, cross-machine reply-only through Remote Control, filesystem-visibility reachability); isolatePeerMachines tighten-only semantics; scripted inboxes via CLAUDE_CODE_MESSAGING_SOCKET with platform-dependent own-child verification; loop throttling (rate-limit, dedupe, 50 unread cap); availability traps including the four feature-flag env vars that silently disable it. Companion post: Cross-Session Messaging in Claude Code. 256
2026-08-07 Guide v2.79: CLI v2.1.225–v2.1.226 (both Aug 7 PST). v2.1.225 refines the v2.1.224 feature wave. SendMessage can now start a conversation with your Remote Control sessions on other machines by name — ListAgents shows them as name [ref]; previously reply-only (see Cross-Session Messaging). A confirmed Remote Control recipient is never silently swapped for a same-named local session. Gateway spend-limit support in the usage warning: the limit-reached message names the cap, its reset time, and the operator’s message (needs the gateway on 2.1.225). claude agents gains the workspace trust prompt for untrusted directories, matching claude. Fixes worth knowing: a transient 401 could replace a long-lived CLAUDE_CODE_OAUTH_TOKEN with a stored login’s short-lived token, breaking headless sessions until restart; macOS MCP OAuth servers could fail with 401 bursts after a keychain read timeout; auto mode no longer counts a safety-filter refusal of its own permission check toward the consecutive-block limit; cross-session messages no longer park silently in headless sessions; claude self-hosted-runner exits at startup with a clear error when --base-dir is unwritable instead of failing every session; VSCode Focus view keeps the latest to-do list and pending questions unfolded. v2.1.226 is bug fixes and reliability improvements only. v2.1.226 was the latest release at the time of this row. 199
2026-08-07 Guide v2.78: CLI v2.1.224. Main changes: self-hosted runners: claude self-hosted-runner lets Claude Code web, mobile, and desktop sessions execute on your own machines or containers (Team and Enterprise); cross-session messaging: sessions message each other across your machines through SendMessage with ListAgents discovery (macOS and Linux), and the crossSessionInbound and dialogExpiry settings hold messages to bypassed-permission sessions for approval; the archive plugin source installs plugins from a zip over HTTPS with optional SHA-256 pinning; sandbox credential masking gains extract, decode: "jwt" with maskClaims, and awsPairs with sigv4 re-signing; the 200-subagent-per-session spawn cap is removed, while the concurrency (20) and depth (3) limits still apply and CLAUDE_CODE_MAX_SUBAGENTS_PER_SESSION is now a no-op. Security fixes: project paths over 200 characters could resolve to another project’s session directory; sandbox filesystem deny entries written with a trailing slash (denyRead: "~/.aws/") were bypassable on Linux and macOS. Privacy note: the feedback survey’s transcript share also uploads the last request’s system prompt (including CLAUDE.md), tool definitions, and model parameters with consent, secrets redacted. Smaller changes: ANTHROPIC_BEDROCK_REGION_PREFIX and the remaining fixes. 198
2026-08-06 Guide v2.77: CLI v2.1.223. Main changes: /review is an alias of /code-review: the two-command split from v2.1.202 is gone, /code-review ultra is the deep cloud review, and bare /code-review reuses the last effort level you typed; strictKnownMarketplaces and blockedMarketplaces accept "owner/*" wildcards; CLAUDE_CODE_DISABLE_1M_CONTEXT now holds every model with a native 1M window to 200K through auto-compaction, and auto-compact keeps sessions on unrecognized model IDs inside the assumed window (CLAUDE_CODE_DISABLE_UNKNOWN_MODEL_WINDOW_ENFORCEMENT=1 restores the earlier behavior). Security fixes: a crafted command could hide parts of itself from Bash permission checks; commands padded with tabs or invisible Unicode could hide part of the command from the approval dialog; workflow scripts could use dynamic import() to run code outside the workflow sandbox; an agent definition’s bypassPermissions mode ignored the org policy that disables bypass. Smaller changes: a warning when a requested subagent model is restricted and the parent model runs instead; server-delivered managed settings no longer disable the env block of a machine-local managed-settings.json; the remaining fixes. 197
2026-08-05 Guide v2.76: CLI v2.1.221 and v2.1.222 (Aug 4). Main changes (v2.1.221): the VS Code Focus view hides tool activity behind a per-turn summary (Ctrl+Alt+F); sandbox.credentials files gain mode: "mask" on Linux and WSL, which falls back to deny on macOS; background sessions commit and push to preserve work, open a draft PR only when the task calls for one, and report where the work lives; /fork copies get their own worktree; /plugin install refreshes a stale marketplace catalog, and installs activate at once when safe; security fixes for hidden commands in zsh [[ ]] regex conditionals and for quoted-character paths in PowerShell. Main changes (v2.1.222): Remote Control auto-start can no longer be enabled by repo-local settings; worktree isolation applies to file edits and Bash in every session type; PreToolUse auto-allow hooks no longer bypass tool restrictions in background agent tasks; SendMessage payloads to other sessions pass the permission classifier before dispatch; ultraplan is removed. Smaller changes: org-restricted model aliases step down to the newest org-allowed model in the family; /diff uses raw git blob content; the remaining fixes. 196
2026-07-28 Changelog rendering fix: a truncated row restored. The 2026-05-28 entry wrote a plugin-scope example as a single inline-code span containing raw pipe characters. python-markdown’s table parser splits on pipes before inline code is processed, so the row parsed as five cells against a three-column header: it rendered truncated mid-sentence at “applies review findings to the working tree”, and displayed the word “project” where its Source citation belonged. About 7,000 characters of that entry - the v2.1.152 through v2.1.154 detail - never reached the published page. Rewritten so the pipe sits outside any code span. -
2026-07-25 Guide v2.75: CLI v2.1.219 and v2.1.220 + Claude Opus 5. Main changes: Opus 5 (claude-opus-5) is the default Opus and what /model opus selects (v2.1.219): 1M context, 128K max output, $5/$25 per MTok (the same as Opus 4.8), adaptive thinking, and effort defaulting to high; Opus 4.8 moves to the docs’ Legacy models table; two breaking changes against Opus 4.8: thinking is on by default for requests with no thinking field, and thinking: {type: "disabled"} with effort xhigh or max returns a 400. Correction, fast mode: /fast applies to Opus 5 and Opus 4.8 at $10/$50 per MTok; Opus 4.7 was removed, and claude-opus-4-7 with speed: "fast" now errors; the guide had described fast mode as Opus 4.6 only at $30/$150. Correction, subagent nesting: subagents spawn nested subagents up to depth 3 by default, and CLAUDE_CODE_MAX_SUBAGENT_SPAWN_DEPTH=1 disables nesting. Also: the DirectoryAdded hook event; sandbox.network.strictAllowlist; dynamic workflows default to a medium size guideline, with the workflowSizeGuideline key; nested subagents surface in stream-json with --forward-subagent-text. Smaller changes: the remaining fixes; v2.1.220 (July 25) is bug fixes only. Also corrected: the MCP HTTP-status and whitespace-warning item in the 2026-07-24 row shipped in v2.1.219, not v2.1.218. 193194195
2026-07-24 Guide v2.74: CLI v2.1.218. Main changes: /code-review runs as a background subagent, so review work no longer fills your conversation; context: fork skills run in the background by default, with the background: false frontmatter key to opt out per skill; in auto mode the dangerous-rm, background-&, and suspicious-Windows-path checks no longer open permission dialogs, and the classifier decides them, as it does for plan-mode Bash commands the static analyzer cannot prove read-only; agent frontmatter hooks no longer run from untrusted folders; /deep-research is manual-invoke only. Smaller changes: server-managed settings skip the approval prompt for benign feature and cost toggles; agent names containing : are rejected; skill and plugin frontmatter booleans accept yes, no, on, off, 1, and 0; the remaining fixes. Correction of 2026-07-25: the claude mcp list HTTP-status and whitespace-warning item first credited here shipped in v2.1.219. 192193
2026-07-22 Guide v2.73: CLI v2.1.217. Main changes: subagents no longer spawn nested subagents by default; set CLAUDE_CODE_MAX_SUBAGENT_SPAWN_DEPTH to allow deeper nesting (recursion had been the default from v2.1.172 to v2.1.216); at most 20 subagents run concurrently by default (CLAUDE_CODE_MAX_CONCURRENT_SUBAGENTS), separate from the v2.1.212 per-session spawn total of 200 (CLAUDE_CODE_MAX_SUBAGENTS_PER_SESSION); --max-budget-usd stops background subagents: once the cap is reached, new spawns are denied and running background agents are halted; emoji shortcode autocomplete in the prompt input (emojiCompletionEnabled: false turns it off). Smaller changes: background-session isolation canonicalizes symlinked working directories; a managed OTEL_EXPORTER_OTLP_ENDPOINT governs all signals; warnings when transcript writes fail; the login-expiry warning moves to 3 days from 5; the remaining fixes. 191
2026-07-21 Guide v2.72: CLI v2.1.214 to v2.1.216 (v2.1.213 never released). Main changes: single-segment dir/** allow rules such as Edit(src/**) match only <cwd>/dir from v2.1.214; write **/dir/** for any depth, while deny and ask rules keep any-depth matching and hook if: conditions get the same scoping; a batch of permission checks that now fail closed (Windows PowerShell 5.1, Bash fd redirects, commands over 10,000 characters, zsh subscripts in [[ ]], docker and Podman daemon-redirect flags); the EndConversation tool lets Claude end sessions on highly abusive input or jailbreak attempts; SessionStart hooks report source "fork" for forked sessions; CLAUDE_CODE_OTEL_CONTENT_MAX_LENGTH; Claude no longer auto-runs the /verify and /code-review skills (v2.1.215); the sandbox.filesystem.disabled setting skips filesystem isolation and keeps network egress control (v2.1.216). Smaller changes: settings files over 2 MiB fail at startup with a clear error; hook exit code 2 blocks as documented when stdout JSON fails schema validation; worktree-isolated subagents can no longer redirect git to the shared checkout; the remaining fixes. 187 188 189 190
2026-07-17 Guide v2.71: CLI v2.1.206 to v2.1.212. Main changes: /fork copies the conversation into a new background session, and the old in-session fork is renamed /subtask (v2.1.212); claude auto-mode reset; WebSearch and subagent spawns each default to 200 per session; MCP tool calls over 2 minutes move to the background; the Task tool mode parameter is ignored, and subagents inherit the parent session’s permission mode; --forward-subagent-text (v2.1.211); “Always allow” rules save at the repository root; a startup warning for Write(path), NotebookEdit(path), and Glob(path) permission rules (v2.1.210); screen reader mode (--ax-screen-reader), the corporate launcher through processWrapper, and vimInsertModeRemaps (v2.1.208); auto mode needs no CLAUDE_CODE_ENABLE_AUTO_MODE opt-in on Bedrock, Vertex, or Foundry, autoMode is no longer read from a repository’s .claude/settings.local.json, and ${user_config.*} is rejected in shell-form plugin commands (v2.1.207); /login supports Anthropic-operated public gateway endpoints (v2.1.206). Smaller changes: the remaining fixes. 181 182 183 184 185 186
2026-07-09 Guide v2.70: CLI v2.1.203 to v2.1.205. Auto-mode hardening (v2.1.205): session transcript files are tamper-blocked; rm -rf on a variable the classifier cannot resolve now asks first; background-task notifications explicitly state no human input occurred, so fabricated in-transcript approvals cannot be laundered into real ones (see Auto Mode). /doctor is now a full setup checkup that diagnoses and fixes issues, with /checkup as an alias (see slash-command table). v2.1.203: a grey ⏸ footer badge shows manual permission mode; the session’s additional working directories are exposed to MCP servers via roots/list (with notifications/roots/list_changed); fixed background sessions dropping a shell-exported ANTHROPIC_BASE_URL (requests went to the default endpoint and 401’d). v2.1.204: bug-fix only (headless SessionStart hook streaming). Smaller changes: agent-view rows get classifier-written headlines and PR links; auto-updater streams downloads (~400 MB less peak memory); “Claude Browser” MCP name reserved. v2.1.205 was the latest release at the time of this row. 180
2026-07-07 Guide v2.69: CLI v2.1.200 to v2.1.202. Permission mode default renamed to “Manual” (v2.1.200) across the CLI, --help, VS Code, and JetBrains; the config value is unchanged, and --permission-mode manual / "defaultMode": "manual" are accepted as aliases (see Permission Modes). Same release: AskUserQuestion dialogs no longer auto-continue by default (opt into an idle timeout via /config), plus a wave of startup and background-session crash/reliability fixes. v2.1.201: Sonnet 5 sessions stop using the mid-conversation system role for harness reminders. v2.1.202: a “Dynamic workflow size” /config control (advisory small/medium/large agent counts, not an enforced cap) and workflow.run_id/workflow.name OTel attributes; /review <pr> returns to a fast single-pass review while the multi-agent pass stays on /code-review <level> <pr#> (see slash-command reference); re-invoking an already-loaded skill no longer duplicates its instructions in context; and a clearer MCP error when a server config has url but no type. v2.1.202 was the latest release at the time of this row. 179
2026-07-03 Guide v2.68: CLI v2.1.196 to v2.1.199. Sonnet 5 becomes the default model in Claude Code (v2.1.197, June 30) with native 1M context and $2/$10 promo pricing through Aug 31; the model-selection guidance, alias table, and TL;DR now reflect it. v2.1.196 (June 29): org default models (admin-set, “Org default” in /model); readable default session names; Cmd/Ctrl-click file attachments; security: claude mcp list/get no longer spawn repo-self-approved .mcp.json servers in untrusted workspaces; streaming idle watchdog on by default (CLAUDE_ENABLE_STREAM_WATCHDOG=0 to disable); /code-review finder consolidation (~25% fewer tokens). Correction: our July-1 row stated v2.1.196 “was not present” per the canonical changelog at the time; it has since been published there with exactly the features an early GitHub summary described. v2.1.198 (July 1): subagents run in the background by default; Claude in Chrome GA; background agents commit/push/open a draft PR from worktrees; Notification hook fires agent_needs_input/agent_completed; /dataviz skill; Explore inherits the session model (capped at Opus); subagents/compaction inherit extended-thinking config; /agents wizard removed (edit .claude/agents/ directly). v2.1.199 (July 2): stacked slash-skill invocations load up to 5 leading skills; transient 429s auto-retry with backoff for subscribers; CLAUDE_CODE_RETRY_WATCHDOG defaults to 300 retries for non-capacity errors and lifts the CLAUDE_CODE_MAX_RETRIES cap; plus a large reliability wave for background agents/daemons. v2.1.199 was the latest release at the time of this row. 178
2026-07-01 Guide v2.67: Claude Sonnet 5 (June 30, 2026). New Sonnet tier, selectable in Claude Code via /model sonnet / /model claude-sonnet-5. Model ID claude-sonnet-5 (dateless pinned snapshot); 1M context, 128K max output (300K on Batches with the output-300k-2026-03-24 beta header), adaptive thinking only, Jan-2026 knowledge cutoff. Pricing $3/$15 per MTok, introductory $2/$10 through Aug 31 2026, ~40% below Opus 4.8; Anthropic positions it “close to Opus 4.8 at lower prices.” effort defaults to high on the Claude API and Claude Code. Added to the model alias table, the Sonnet prose entry (Sonnet 4.6 marked superseded), and the pricing table. Source: the Anthropic model docs (platform.claude.com). 177
2026-06-30 Guide v2.66: CLI v2.1.193 to v2.1.195 (v2.1.192 and v2.1.194 were not released). Hooks: matchers with hyphenated identifiers (code-reviewer, mcp__brave-search) now exact-match instead of accidentally substring-matching; to match every tool from a hyphenated MCP server use a pattern like mcp__brave-search__.* (see Matchers). Auto Mode: new autoMode.classifyAllShell setting routes all Bash/PowerShell commands through the classifier (not just code-execution patterns), and denial reasons now appear in the transcript, the toast, and /permissions. Telemetry: new claude_code.assistant_response OTel log event carries the model’s response text, gated by OTEL_LOG_ASSISTANT_RESPONSES, which follows OTEL_LOG_USER_PROMPTS when unset, so prompt-logging deployments start logging responses on upgrade (set it to 0 to keep prompts-only). New env vars: CLAUDE_CODE_DISABLE_MOUSE_CLICKS (disable fullscreen mouse, keep wheel scroll), CLAUDE_CODE_DISABLE_BG_SHELL_PRESSURE_REAP (turn off idle-background-shell reaping). Plus live file-path autocomplete in bash mode (!) and a startup notice when MCP servers need auth. v2.1.195 is otherwise voice/background/plugin reliability fixes. v2.1.195 was the latest release at the time of this row. 176
2026-06-25 Guide v2.65: CLI v2.1.191. /rewind across /clear: /rewind can now resume a conversation from before a /clear (see slash-command reference). Hooks: comma-separated matchers (e.g. Bash,PowerShell) now fire correctly; earlier versions silently dropped them (see Matchers). Sandbox: the network-permission dialog remembers hosts you allow for the rest of the session. Fixes: stopping a background agent from the tasks panel is now permanent (no resurrection); /permissions Recently-denied approvals persist on close; /voice explains an org-policy restriction instead of a generic message; Cmd+click links in Ghostty over ssh/tmux; claude agents no longer sends builtin slash commands as prompt text or shows raw image paths; welcome-splash overflow on 80×24; forceRemoteSettingsRefresh via MDM. Performance: ~37% less CPU during streaming responses; reduced long-session memory growth from the terminal-output cache. v2.1.191 was the latest release at the time of this row. 175
2026-06-24 Guide v2.64: Claude Tag (ecosystem note, not a CLI release). Anthropic launched Claude Tag, a Slack-native managed agent for Claude Enterprise and Team customers: tag @Claude in a channel to delegate a task, which the agent decomposes into stages and completes asynchronously, posting results back; a shared single Claude identity lets teammates hand off in-progress work; admins scope tool, data-source, and memory access per channel with token-spend limits and activity logs; runs on Opus 4.8. Added a short subsection under the agents material distinguishing Claude Tag from the Claude Code CLI (different surface and control model). No CLI release. 174
2026-06-24 Guide v2.63: CLI v2.1.190. Bug-fix and reliability release: no user-facing feature, setting, command, or pricing changes. (v2.1.188 and v2.1.189 were not released.) v2.1.190 was the latest release at the time of this row. 257
2026-06-23 Guide v2.62: CLI v2.1.187. Security: the sandbox.credentials setting blocks sandboxed commands from reading credential files and secret environment variables (see Sandbox Mode); org-configured model restrictions apply across the /model picker, --model, /model, and ANTHROPIC_MODEL, with a “restricted by your organization’s settings” message when a restricted model is selected (see enforceAvailableModels). UX: mouse-click selection in fullscreen menus (permission prompts, /model, /config); /install-github-app makes the GitHub Actions workflow step optional; /btw gains ←/→ navigation; /plugin surfaces unused plugins for cleanup; claude --help now lists --bg/--background. Fixes: --json-schema / workflow agent({schema}) no longer re-call StructuredOutput after success and reliably return structured output on follow-up turns; remote MCP tool calls that hang abort after 5 min instead of blocking; --resume no longer fails with “No conversation found” when the original -p run produced no model turns; subagent depth tracking restores spawn depth on resume and counts forked subagents toward the cap; leaked agent worktree registrations are cleaned up; pasted Korean/CJK no longer turns into mojibake; background jobs no longer stick in “working” when a turn ends without structured output. v2.1.187 was the latest release at the time of this row. 173
2026-06-23 Guide v2.61: CLI v2.1.184 to v2.1.186 (v2.1.184 was not released). Main changes (v2.1.186): claude mcp login <name> and claude mcp logout <name> authenticate MCP servers from the CLI without the /mcp menu (--no-browser completes sign-in over SSH); ! bash commands trigger Claude to respond to the output, and "respondToBashCommands": false keeps the earlier context-only behavior; Agent(type) deny rules and Agent(x,y) allowed-type restrictions are enforced for named subagent spawns; background subagents surface permission prompts in the main session instead of auto-denying; /review <pr> uses the same engine as /code-review medium; skill frontmatter keys accept kebab-case, snake_case, and camelCase, and a malformed SKILL.md frontmatter loads the body with empty metadata; teammateMode: "iterm2"; CLAUDE_CODE_MAX_RETRIES caps at 15 (use CLAUDE_CODE_RETRY_WATCHDOG for unattended sessions). Smaller changes: streaming requests no longer fail with “Content block not found” after the machine wakes from sleep; Workflow agent({schema}) subagents abort after 5 validation failures; in v2.1.185 the stream-stall hint triggers after 20 seconds of silence, up from 10; the remaining fixes. 172
2026-06-19 Guide v2.60: CLI v2.1.180 to v2.1.183. v2.1.183: auto mode now hard-blocks destructive commands unless you asked: destructive git (git reset --hard, git checkout -- ., git clean -fd, git stash drop), git commit --amend on non-agent commits, and terraform/pulumi/cdk destroy without a named stack (see Auto Mode on Max); attribution.sessionUrl setting omits the claude.ai session link from commits/PRs; /config --help lists shorthand keys and the /config UI now saves on Esc; deprecated-model warnings extended to agent frontmatter (stderr in -p); removed the startup “setup issues” line. v2.1.181: /config key=value sets any setting from the prompt (e.g. /config thinking=false); sandbox.allowAppleEvents opt-in (macOS Apple Events); CLAUDE_CLIENT_PRESENCE_FILE env var suppresses mobile push while you’re at the machine; bundled Bun upgraded to 1.4; line-by-line streaming of long paragraphs; mid-thinking connection-drop auto-retry; subagent-panel polish (idle auto-hide, 5-row cap). (v2.1.180 and v2.1.182 were not released.) v2.1.183 was the latest release at the time of this row. 171
2026-06-17 Guide v2.59: CLI v2.1.177 to v2.1.179. v2.1.178 (the substantive release): Tool(param:value) permission rules match a tool’s input parameters with a * wildcard, e.g. Agent(model:opus) to block Opus subagents (see Permission Rules Syntax); nested .claude/skills now load when you work on files under them (name clash → <dir>:<name>), and nested .claude/ agents/workflows/output-styles resolve closest-to-cwd on collision (project-scope workflow saves target the closest existing .claude/workflows/); auto mode now vets subagent spawns before launch via the classifier, closing a spawn-as-bypass gap; compaction honors the --fallback-model chain; the disallowedTools MCP-spec fix (mcp__server, mcp__server__*, mcp__* were silently ignored); plus /doctor flat-tree layout, /bug now requires a description, the workflow keyword triggers only on explicit phrases, and many subagent-transcript / Remote Control / auth fixes. v2.1.179: bug-fix release: preserves partial responses on mid-stream connection drops, fixes WSL2 mouse-wheel scrolling (a v2.1.172 regression), fixes a sandbox denyRead glob that had made large-tree Linux sessions unusable, dedups welcome-screen promos, and improves remote/plugin reliability. v2.1.177: CHANGELOG/feed.xml chore only. v2.1.179 was the latest release at the time of this row. 170
2026-06-15 Guide v2.58: CLI v2.1.174 to v2.1.176 (all June 12). v2.1.174: wheelScrollAccelerationEnabled setting (disable mouse-wheel scroll acceleration in fullscreen); /model picker shows the family the Default resolves to as its own row (Opus on Max/Team Premium/Enterprise/PAYG-API, Sonnet on Pro/Team); VSCode /usage adds attribution (cache misses, long context, subagents, per-skill/agent/plugin/MCP over 24h/7d); fixes for Bedrock GovCloud inference-profile prefix, background-session provider-env inheritance, git co-author model name, and the Fable 5 “consuming usage credits” banner on enterprise usage-billing accounts. v2.1.175: enforceAvailableModels managed setting: the availableModels allowlist also constrains the Default model (falls back to the first allowed model), and user/project settings can no longer widen a managed list. v2.1.176: session titles generated in your conversation’s language (pin via language setting); footerLinksRegexes setting for regex-matched footer link badges; hook if conditions now match Read/Edit/Write path patterns (e.g. Edit(src/**), Read(.env)); availableModels enforcement closes the alias-redirect gap and /fast refuses models outside the allowlist; Bedrock credentials cached to their Expiration; auto mode falls back from Fable 5 to the best available Opus for orgs without Opus 4.8; plus a large pile of Remote Control, background-session, claude agents, /cd git-branch, and tmux-over-SSH clipboard fixes. v2.1.176 was the latest release at the time of this row. 169
2026-06-11 Guide v2.57.1: CLI v2.1.173. Fable 5 [1m] suffix auto-normalized: a claude-fable-5[1m] model name is now automatically normalized/stripped to claude-fable-5, because Fable 5 already includes 1M context by default and the suffix was only ever meaningful on Opus/Sonnet (which gate 1M behind [1m]). Plus a Windows fix for a spurious “sandbox dependencies missing” warning shown at startup. 168
2026-06-10 Guide v2.57: CLI v2.1.172. Recursive sub-agents — sub-agents can now spawn their own sub-agents, up to 5 levels deep (recursive delegation). Bedrock region from ~/.aws — when AWS_REGION is unset, the AWS region is read from ~/.aws, and /status shows the resolved source. Plugin marketplace search — /plugin adds a search bar to the marketplace. OTEL — the claude_code.lines_of_code.count metric gains a model attribute. Fixes: stuck sessions on 1M context without credits, image-processing errors, a background sub-agent stuck state, model picker/restrictions, and team-memory recall. 168
2026-06-10 Guide v2.56.1: Claude Code-specific Fable 5 detail from the model-config docs. The short /model fable alias (and best = Fable where available, else latest Opus) is the documented selector; Fable 5 supports the full low–max effort scale (high default); thinking cannot be disabled on Fable 5 (session toggle, alwaysThinkingEnabled, and MAX_THINKING_TOKENS=0 are all no-ops — it always reasons adaptively); the claude-fable-5[1m] extended-context variant and the ANTHROPIC_DEFAULT_FABLE_MODEL / DISABLE_PROMPT_CACHING_FABLE config knobs round out the fable family. No new release (v2.1.170 remains latest). 258
2026-06-09 Guide v2.56: CLI v2.1.170. Claude Fable 5, a new model tier above Opus (Anthropic’s most powerful, most intelligent model; “Mythos-class” frontier capability made safe for general use), becomes selectable in Claude Code after claude update, via /model claude-fable-5. Model ID claude-fable-5; 1M context, 128K output; $10/$50 per MTok (≈2× Opus 4.8); safety classifiers fall back to Opus 4.8 on cyber/bio-chem/distillation queries; rolling out to subscription plans through June 22. Shares Opus 4.8’s request surface (adaptive thinking only) with one new breaking change: an explicit thinking: {type: "disabled"} returns 400; omit the param instead. Opus 4.8 stays Claude Code’s agentic default. Also a bug fix: sessions launched from the VS Code integrated terminal (or any shell that inherited Claude Code environment variables) failing to save transcripts and not appearing in --resume. 258
2026-06-08 Guide v2.55: CLI v2.1.169. --safe-mode flag (and CLAUDE_CODE_SAFE_MODE env var) launches a session with every customization disabled (CLAUDE.md, plugins, skills, hooks, MCP servers) for clean-room troubleshooting. /cd moves a session to a new working directory without breaking the prompt cache mid-session. disableBundledSkills setting (and CLAUDE_CODE_DISABLE_BUNDLED_SKILLS) hides bundled skills, workflows, and built-in slash commands from the model. Plus ~20 fixes: Up/Down arrow navigation through wrapped visual rows; enterprise MCP policy (allowedMcpServers/deniedMcpServers) enforcement on reconnect and IDE-typed configs; a 30-50ms macOS UI stall with claude.ai credentials; claude -p performance on Windows; Remote Control reconnection; Git Credential Manager popup on Windows; footer hints with a custom statusline; stale permission/dialog prompts reappearing on remote sessions; claude agents --json omitting blocked sessions; TaskCreate input auto-repair; reduced streaming CPU; restored 5-minute idle timeout for Vertex/Foundry; skill-tag color contrast; background-session flag preservation across retire→wake. 259
2026-06-06 Guide v2.54: CLI v2.1.166 to v2.1.168. v2.1.166: Fallback model chain: the fallbackModel setting configures up to three fallback models tried in order when the primary is overloaded or unavailable, and --fallback-model now applies to interactive sessions (not just mid-session); Claude Code also retries a turn once on the fallback model when the API returns an unexpected non-retryable error. MCP deny globs: the deny rule tool-name position accepts a glob ("*" denies all tools); allow rules reject non-MCP globs. (This row first said a "*" deny could be followed by allow rules that bring tools back. It cannot: deny rules are evaluated first. Corrected on 2026-11-11.) Security: messages relayed via SendMessage from other Claude sessions no longer carry user authority (cross-session messaging hardening). Thinking control: MAX_THINKING_TOKENS=0, --thinking disabled, and the per-model thinking toggle now actually disable thinking on models that think by default. UX: claude update announces the target version before downloading. Plus fixes for image processing, remote-session stability, and terminal rendering (JetBrains IDEs, WezTerm/Ghostty keyboards). v2.1.167 and v2.1.168 (both June 6): bug fixes and reliability improvements only, no individually documented user-facing changes. 260
2026-06-05 Guide v2.53.1: CLI v2.1.165 (June 5) ships bug fixes and reliability improvements with no individually documented user-facing changes (no v2.1.164 was published). Recorded here to keep the version line continuous; guide content current through v2.1.165 per the canonical changelog. 261
2026-06-04 Guide v2.53: CLI v2.1.163 (v2.1.161/162 were not published; the changelog jumps 160→163). Hooks: Stop and SubagentStop hooks can now return hookSpecificOutput.additionalContext to hand Claude feedback and keep the turn going without the response being labeled a hook error, a softer steering channel than the block/approve binary. Enterprise version pinning: new requiredMinimumVersion and requiredMaximumVersion managed settings make Claude Code refuse to start outside the allowed version range and point the user at an approved version. Plugins: /plugin list lists installed plugins with --enabled/--disabled filters. Skills: \$ escape includes a literal $ before a digit in command bodies. MCP: stdio servers receive the same CLAUDE_CODE_SESSION_ID as hooks/Bash on --resume. UX: /btw gains a “c to copy” raw-markdown shortcut; clearer / menu descriptions; subscription-switch suggestion moved to the startup announcement slot. Plus ~17 fixes: claude -p no longer hangs when a backgrounded command never exits (background shells stopped ~5s after the final result once stdin closes); claude -p on Bedrock/Vertex/Foundry no longer demands ANTHROPIC_API_KEY under CI=true; $TMPDIR override scoped back to sandboxed commands only (2.1.154 regression that broke bazel/EDR-protected Go); Windows session-env EEXIST under OneDrive/read-only; org-managed permission rules applying late on fresh config dirs; background sessions keeping running tasks across an update (and updating in the background to avoid cold restarts); agent-view Esc hang; paste end-marker input lockup; hook if: "Bash(...)" patterns now matching inside subshells/backticks instead of firing on every $(); deny rules on ~ paths now blocking $HOME references; stray “(no content)” transcript lines. 261
2026-06-02 Guide v2.52: CLI v2.1.160. Security, edit-becomes-execution gating: acceptEdits now prompts before writing shell startup files (.zshenv, .zlogin, .bash_login), ~/.config/git/, and build-tool configs that grant code execution (.npmrc, .yarnrc*, bunfig.toml, .bazelrc, .pre-commit-config.yaml, .devcontainer/, etc.), extending the existing .claude//.git//.vscode/ write protections to the wider class of files where an edit turns the next shell/install/commit into an execution vector. Workflow keyword rename: the dynamic-workflow trigger keyword changed from workflow to ultracode (highlighted violet in the prompt input); the word “workflow” no longer triggers a run, though asking for one in your own words still works. Edit ergonomics: a single-file grep/egrep/fgrep now satisfies the read-before-edit check, so Edit no longer requires a separate Read after viewing a file via grep. Removed: CLAUDE_CODE_OPUS_4_6_FAST_MODE_OVERRIDE is now a no-op (fully removed); the JetBrains plugin install suggestion is gone from startup. Plus ~25 fixes: WSL copy-on-select via PowerShell interop (not OSC 52), claude agents session restore dropping chat history / re-running the original prompt, overnight-retired background sessions losing conversation, claude --bg “socket missing” cold-start race, Windows background-session input unresponsiveness under load, terminal sync-output artifacts on Apple Terminal/tmux, CJK IME caret position in claude agents, file:///C:/... link rewriting on Windows, voice mode with non-ASCII project/branch names, the auto-mode-unavailable message on Bedrock/Vertex/Foundry now correctly pointing to CLAUDE_CODE_ENABLE_AUTO_MODE, /effort ultracode no longer offered on models that can’t run xhigh, and SIGTERM-before-SIGKILL on background-session teardown so cleanup handlers run. 262
2026-05-31 Guide v2.51: CLI v2.1.156 to v2.1.159 (2.1.155 was never published). v2.1.156 (May 29): fixed an Opus 4.8 thinking-block mutation that surfaced as API errors. v2.1.157 (May 29): plugins placed in a project’s .claude/skills/ directory now auto-load without a marketplace; claude plugin init <name> scaffolds a fresh plugin in ~/.claude/skills/<name>/; /plugin arguments gained autocomplete; EnterWorktree can now switch between Claude-managed worktrees mid-session; background worktrees are left unlocked after the agent finishes so git worktree remove/prune work cleanly; tool_decision telemetry events include tool_parameters when OTEL_LOG_TOOL_DETAILS=1; plus fixes for unprocessable images crashing requests (now degrade to text placeholders), sandbox network permission prompts in auto/bypass mode across desktop/IDE/SDK, background sessions not retiring with parked subagents, slow “opening…” not cancelling on Esc in the agents list, background worktrees orphaned after the 30-day job retention sweep, --resume not reporting running background subagents, terminal rendering and clipboard fixes (tmux, VS Code, Cursor, Windsurf), WSL image paste / Windows 11 screenshot paste / Windows Explorer drag, performance on long resumed conversations, and /terminal-setup disabling GPU acceleration in integrated terminals to prevent garbled text. v2.1.158 (May 30): Auto mode is now opt-in on Bedrock, Vertex, and Foundry for Opus 4.7 and Opus 4.8 with CLAUDE_CODE_ENABLE_AUTO_MODE=1, which closes the last “API-direct only” gap on the permission-mode docs. v2.1.159 (May 31): internal infrastructure only, no user-facing changes. 263
2026-05-28 Guide v2.50: CLI v2.1.152 to v2.1.154 (2.1.151 never published). Main changes (v2.1.152, May 27): /code-review --fix applies review findings to the working tree; skills and slash commands can set disallowed-tools in frontmatter; /reload-skills; the MessageDisplay hook event; the pluginSuggestionMarketplaces managed setting; auto mode no longer requires opt-in consent. Main changes (v2.1.153, May 28): the skipLfs option on plugin marketplace sources; /model saves the selection as the new-session default, and s switches the model for the current session only; status-line commands receive COLUMNS and LINES. Main changes (v2.1.154, May 28): Opus 4.8 is the default, with high effort by default, and /effort xhigh is new; dynamic workflows orchestrate tens to hundreds of agents in the background through /workflows; fast mode on Opus 4.8 at twice the standard rate for 2.5 times the speed; the lean system prompt is the default for all models except Haiku, Sonnet, and Opus 4.7 and earlier; /simplify returns to a cleanup-only review; claude agents supports ! <command>; plugins can declare defaultEnabled: false; claude mcp list and get show unapproved .mcp.json servers as pending approval instead of connecting; CLAUDE_CODE_OPUS_4_6_FAST_MODE_OVERRIDE is deprecated. Smaller changes: the remaining fixes. 264
2026-05-24 Guide v2.49: CLI v2.1.148-v2.1.150. v2.1.148: fixed a Bash tool regression where some users saw exit code 127 on every command. v2.1.149: /usage now breaks down limit usage by category (skills, subagents, plugins, and per-MCP-server cost); /diff detail view supports keyboard scrolling; Markdown renders GFM task-list checkboxes; Enterprise adds allowAllClaudeAiMcps; and fixes cover a PowerShell cd permission bypass, git-worktree sandbox write-allowlist scope, PowerShell prefix/wildcard and stale-variable permission analysis, Bash find exhausting macOS file/vnode tables, managed-settings startup freezes, /ultraplan / remote-session no-change capture failures, otelHeadersHelper paths with spaces, status-bar effort from skill/agent frontmatter, Ctrl+O transcript tailing, /insights, Remote Control session rename sync, and /feedback context before compaction. v2.1.150: internal infrastructure improvements only, no announced user-facing changes. 167
2026-05-21 Guide v2.48: CLI v2.1.147. Workflow and review: added the off-by-default Workflow tool for deterministic multi-agent orchestration via CLAUDE_CODE_WORKFLOWS=1 (that variable is in neither the environment variables reference nor the CHANGELOG as of November 11, 2026; workflows are now on by default except on the Pro plan, where enableWorkflows turns them on474); /simplify is now /code-review [effort], focused on correctness bugs, with --comment for inline GitHub PR comments. Agent View and background work: pinned background sessions stay alive while idle, restart in place to apply updates, and are shed under memory pressure only after non-pinned sessions. Security and reliability: REPL and Workflow sandboxes are hardened against prototype-pollution and thenable escapes; auto-updater failures report categories / OS error codes and show the current version; large diff rendering is faster; prompt history dedupes consecutive duplicates; enterprise login restrictions, PowerShell output/rules, MCP resource/template/prompt pagination, hook if matching, pasted-text delivery, Agent View CJK rows, plugin component counts, slash-command parsing, and stripped-image loops are fixed. 166
2026-05-19 Guide v2.47: CLI v2.1.145. Agent View and scripting: claude agents --json lists live sessions as JSON for scripting, Agent View tab titles show awaiting-input counts, voice push-to-talk is fixed in the reply pane, and fullscreen slash-command / @-mention suggestions support mouse hover and click. Observability and hooks: claude_code.tool OTEL spans include agent_id and parent_agent_id, background subagent spans parent under the dispatching Agent tool span, status-line JSON includes detected GitHub repo and PR information, and Stop/SubagentStop hook input now includes background_tasks and session_crons. Plugins and safety: pre-install plugin screens show commands, agents, skills, hooks, and MCP/LSP servers; bare non-allowlisted Bash environment-variable assignments no longer bypass permission prompts; skill context: fork self-invocation loops are fixed; and the Read tool returns a truncated partial view instead of hard-failing when a whole-file read exceeds the token limit. 165
2026-05-19 Guide v2.46: CLI v2.1.144. Background sessions: /resume now includes sessions started through claude --bg or Agent View and marks them with bg; background subagent completion notifications include elapsed duration; /bg and detach preserve added directories. Model and usage UX: /model now changes only the current session unless you press d to set the default, and /extra-usage is renamed /usage-credits with the old command retained as an alias. Plugins and diagnostics: plugin browse/discover panes show last-updated dates, /doctor shows an exec-form example for command hooks missing command, and skill-listing truncation is moved out of startup notifications. Reliability: startup side-channel calls time out faster when api.anthropic.com is unreachable, terminal display corruption now self-heals, macOS background-session startup under Full Disk Access-protected folders is fixed, MCP paginated tools/list responses are no longer truncated, unsupported MCP image MIME types degrade safely, and several Agent View/background-session interaction bugs are fixed. 164
2026-05-18 Guide v2.45: CLI v2.1.143. Plugins: dependency enforcement prevents disabling a plugin that another enabled plugin depends on, while enable force-enables transitive dependencies; the plugin marketplace browse pane now shows projected context cost. Worktrees/background sessions: worktree.bgIsolation: "none" lets background sessions edit the working copy directly for repos where worktrees are impractical, and background sessions preserve model/effort after waking from idle. Windows/PowerShell: PowerShell now passes -ExecutionPolicy Bypass; CLAUDE_CODE_POWERSHELL_RESPECT_EXECUTION_POLICY=1 opts out, and the PowerShell tool is enabled by default for Bedrock, Vertex, and Foundry users unless CLAUDE_CODE_USE_POWERSHELL_TOOL=0 is set. Reliability: stop hooks that block repeatedly now cap at eight consecutive blocks unless CLAUDE_CODE_STOP_HOOK_BLOCK_CAP overrides it; /goal evaluator no longer fires while background shells or delegated subagents are still running; claude agents dispatch flags now apply consistently from the dashboard and background sessions. 163
2026-05-15 Guide v2.44: CLI v2.1.142. Agent View: claude agents can configure dispatched background sessions with --add-dir, --settings, --mcp-config, --plugin-dir, --permission-mode, --model, --effort, and --dangerously-skip-permissions. Fast mode: Fast mode now defaults to Opus 4.7; set CLAUDE_CODE_OPUS_4_6_FAST_MODE_OVERRIDE=1 to pin the old Opus 4.6 default. Plugins: root-level plugin SKILL.md files without a skills/ directory now surface as skills, plugin details show LSP servers, plugin cache cleanup avoids deleting the active version, and skills: ["./"] no longer raises a false escape error. Reliability: fixes cover MCP_TOOL_TIMEOUT on remote HTTP/SSE MCP servers, pre-existing git worktrees in background sessions, daemon sleep/wake and post-upgrade cleanup, Chrome-extension background-agent crashes, Agent View editor/link handling, Windows network-drive startup deadlocks, and redundant remote-client /model breadcrumbs. 162
2026-05-14 Guide v2.43: CLI v2.1.141. Hooks: terminalSequence in hook JSON output lets hooks emit terminal-control sequences for desktop notifications, window titles, and bells without needing a controlling terminal. Plugins: CLAUDE_CODE_PLUGIN_PREFER_HTTPS clones GitHub plugin sources over HTTPS instead of SSH in environments without GitHub SSH keys. Enterprise auth: ANTHROPIC_WORKSPACE_ID scopes workload-identity-federated tokens to a specific workspace when a federation rule covers more than one workspace. Agent View: claude agents --cwd <path> filters the session list to one directory. Feedback: /feedback can include recent sessions from the last 24 hours or 7 days for issues spanning more than the current session. 161
2026-05-13 Guide v2.42: CLI v2.1.139 + v2.1.140. v2.1.139: added Agent View via claude agents, /goal, command-hook args: string[], continueOnBlock for PostToolUse, CLAUDE_PROJECT_DIR for MCP stdio servers and plugin command interpolation, and fixed claude_code.active_time.total OTel emission in --print mode. v2.1.140: adds subagent_type to agent hook input and fixes ConfigChange hooks, disableAllHooks, allowManagedHooksOnly, unintended hook-result env-var display in permission dialogs, settings-sync style resets, native-package fallback on Windows Git Bash, and /scroll-speed. 159 160
2026-05-09 Guide v2.41: CLI v2.1.137 + v2.1.138 patch bump. VSCode (Windows): v2.1.137 fixes the VSCode extension failing to activate on Windows. v2.1.138: ships internal fixes (no announced command/config additions in the release notes). No new commands, settings, or env vars. 159
2026-05-08 Guide v2.40: CLI v2.1.133 + May 7 Microsoft 365 GA. Breaking default, worktree.baseRef: the new fresh default branches --worktree, EnterWorktree, and agent-isolation worktrees from origin/<default> again, reverting v2.1.128’s switch to local HEAD. Set worktree.baseRef: "head" to keep unpushed commits in new worktrees. Effort plumbing: hooks now receive effort.level JSON and $CLAUDE_EFFORT; Bash tool subprocess inherits $CLAUDE_EFFORT. Sandbox managed settings: sandbox.bwrapPath and sandbox.socatPath (Linux/WSL) point at custom bubblewrap and socat binaries. Admin tier: parentSettingsBehavior ('first-wins' or 'merge') opts SDK managedSettings into the policy merge. Subagents: fixed subagents not discovering project, user, or plugin skills via the Skill tool. v2.1.133 also resolves a parallel-session 401 race after refresh-token rotation, drive-root allow-rule scoping, MCP OAuth proxy/mTLS, Remote Control stop/interrupt completing cancel, cross-session /effort leakage, and lists --remote-control in --help. Microsoft 365 (May 7): Claude for Excel, PowerPoint, and Word are generally available on paid plans; Claude for Outlook is in public beta for all paid plans. 157 158
2026-05-07 Guide v2.39: CLI v2.1.132. TUI: CLAUDE_CODE_DISABLE_ALTERNATE_SCREEN=1 opts out of the fullscreen alternate-screen renderer to keep conversations in native scrollback; /tui fullscreen startup banner updated to advertise lower memory, mouse support, and auto-copy on select. Bash subprocess: CLAUDE_CODE_SESSION_ID env var matches the session_id passed to hooks. Plus 20+ small fixes covering SIGINT graceful shutdown, surrogate-emoji corruption on --resume, plan-mode --permission-mode flag handling, Indic/ZWJ cursor and NFD vim ops, paste-starts-with-/ swallow, MCP unbounded memory growth and tools/list retry, Bedrock+Vertex ENABLE_PROMPT_CACHING_1H 400 errors, and statusline context_window showing cumulative-not-current tokens. 156
2026-05-06 Guide v2.38: Code with Claude SF 2026 day-of additions. Added the May 6 capacity announcement: Claude Code five-hour rate limits doubled for Pro, Max, Team, and seat-based Enterprise plans; peak-hours reduction removed for Pro and Max; API rate limits for Claude Opus models raised “considerably.” Backed by the SpaceX Colossus 1 compute partnership (“more than 300 megawatts of new capacity (over 220,000 NVIDIA GPUs) within the month”). Added the May 5 finance verticalization: ten ready-to-run agent templates (pitch builder, earnings reviewer, KYC screener, month-end closer, and six more) ship as plugins for Cowork and Claude Code plus a Managed Agents cookbook; Microsoft 365 add-ins for Excel, PowerPoint, and Word landed; data connectors from Dun & Bradstreet, Fiscal AI, Financial Modeling Prep, Guidepoint, IBISWorld, SS&C IntraLinks, Third Bridge, and Verisk; Moody’s MCP app for more than 600 million companies; Cowork Dispatch for voice/text task assignment. 154 155
2026-05-06 Guide v2.37: CLI v2.1.131 latest-line delta. NPM latest is 2.1.131 and GitHub latest release is v2.1.131. v2.1.131 is a fix release for VS Code Windows extension activation and Mantle endpoint authentication, with no announced command/config additions in the release notes. Coverage through v2.1.131. 153
2026-05-05 Guide v2.36: CLI v2.1.126 to v2.1.129. Latest release line: NPM latest is 2.1.129 and GitHub latest release is v2.1.129. Plugins: --plugin-url <url> loads a plugin zip for the current session; --plugin-dir accepts zip archives; plugin manifest themes and monitors should move under "experimental" or claude plugin validate warns. Skills: skillOverrides now works with off, user-invocable-only, and name-only. Gateways: /model picker /v1/models discovery is now opt-in via CLAUDE_CODE_ENABLE_GATEWAY_MODEL_DISCOVERY=1 after being automatic in 2.1.126 to 2.1.128. Updates/terminal: CLAUDE_CODE_PACKAGE_MANAGER_AUTO_UPDATE lets Homebrew/WinGet installs run upgrades in the background and prompt restart; CLAUDE_CODE_FORCE_SYNC_OUTPUT=1 forces synchronized output for terminals auto-detection misses. Security/permissions: v2.1.126 changed --dangerously-skip-permissions to bypass prompts for writes to .claude/, .git/, .vscode/, and shell config files while keeping catastrophic removal prompts as a safety net. Fixes: 2.1.128 and 2.1.129 repaired plugin state pollution, MCP argument corruption, 1-hour prompt-cache TTL downgrades, /context ASCII-grid transcript bloat, external-editor blanking, OAuth/server-managed-settings regressions, and several fullscreen/history/session UI issues. 153
2026-04-29 CLI v2.1.123: fixed OAuth authentication failing with a 401 retry loop when CLAUDE_CODE_DISABLE_EXPERIMENTAL_BETAS=1 is set. 152
2026-04-28 Guide v2.35: CLI v2.1.121 + v2.1.122. MCP: alwaysLoad: true server-config option opts a server out of tool-search deferral; transient startup errors auto-retried 3x. Hooks: hookSpecificOutput.updatedToolOutput extended to all tools (was MCP-only). Permissions: --dangerously-skip-permissions no longer prompts on writes to .claude/skills/, .claude/agents/, .claude/commands/. Plugins: claude plugin prune removes orphaned auto-installed dependencies; --prune cascades on uninstall. Slash commands: /skills adds type-to-filter; /resume accepts PR URLs (GitHub, GHE, GitLab, Bitbucket). Vertex AI: X.509 certificate-based Workload Identity Federation (mTLS ADC). Bedrock: ANTHROPIC_BEDROCK_SERVICE_TIER env var (default/flex/priority). OTel: new LLM-span attributes (stop_reason, gen_ai.response.finish_reasons, user_system_prompt gated by OTEL_LOG_USER_PROMPTS); new claude_code.at_mention event; numeric attributes on api_request/api_error emitted as numbers. SDK: mcp_authenticate adds redirectUri. Plus MCP//mcp polish, fullscreen scroll fixes, claude.ai connector dedup, iTerm2 clipboard for /copy from tmux, faster post-upgrade startup, and dozens of resume / memory / Bash / Bedrock / Vertex / scrollback fixes.151 149 151
2026-04-24 Guide v2.34: CLI v2.1.116 to v2.1.119 + the April 23 quality postmortem. Main changes: /usage merges /cost and /stats into one dialog; Vim visual modes v and V; hooks can invoke MCP tools through type: "mcp_tool", and PostToolUse and PostToolUseFailure inputs include duration_ms; the auto mode $defaults sentinel adds custom rules alongside the built-in list; PowerShell tool commands can auto-approve as Bash commands do; /config settings persist to ~/.claude/settings.json; named themes; prUrlTemplate, and --from-pr accepts GitLab MRs, Bitbucket PRs, and GitHub Enterprise PRs; --print and --agent honor agent tools:, disallowedTools:, and permissionMode frontmatter; native macOS and Linux builds replace Glob and Grep with embedded bfs and ugrep through the Bash tool; Opus 4.7 sessions compute /context against the native 1M window; Pro and Max on Sonnet 4.6 and Opus 4.6 default to high effort; new env vars CLAUDE_CODE_HIDE_CWD, DISABLE_UPDATES, CLAUDE_CODE_FORK_SUBAGENT=1, and ENABLE_TOOL_SEARCH; the wslInheritsWindowsSettings policy; claude plugin tag; a sandbox security fix for rm and rmdir on critical roots. Postmortem (April 23): Anthropic described three quality regressions resolved by April 20: the reasoning effort default at medium from March 4 to April 7, a prompt-cache thinking-clear bug from March 26 to April 10, and a system-prompt verbosity constraint from April 16 to 20; usage limits were reset for all subscribers on April 23. Smaller changes: the remaining fixes. 149 150
2026-04-18 Guide v2.33: CLI v2.1.113 + v2.1.114. CLI now spawns a native Claude Code binary via per-platform optional dependency instead of bundled JavaScript. Security: sandbox.network.deniedDomains blocklist overrides allowedDomains wildcards; Bash deny rules match env/sudo/watch/ionice/setsid wrappers; Bash(find:*) no longer auto-approves -exec/-delete; macOS Bash(rm:*) rules treat /private/{etc,var,tmp,home} as dangerous targets. UX: fullscreen Shift+↑/Shift+↓ viewport scroll on selection extension; readline-style Ctrl+A/Ctrl+E on current logical line; Windows Ctrl+Backspace deletes previous word. Slash commands: /loop Esc cancels pending wakeups; /extra-usage works from Remote Control clients; /ultrareview faster launch with parallelized checks, diffstat, and animated launching state. Stalled subagents fail with a clear error after 10 minutes. Opus 4.7 Bedrock fix: extended thinking no longer returns thinking.type.enabled is not supported 400 through an Application Inference Profile ARN. v2.1.114 hotfix: permission-dialog crash when an Agent Teams teammate requests tool permission. 148
2026-04-16 Guide v2.32: Claude Opus 4.7 launch — new default on Max and Team Premium plans immediately; Enterprise and API switch scheduled for April 23, 2026; Pro and Team Standard remain on Sonnet 4.6. 1M context at standard pricing (no long-context premium on Opus 4.7). 128K max output. Messages API breaking changes: extended thinking budget_tokens removed (adaptive thinking only), temperature/top_p/top_k non-default returns 400, thinking content omitted by default (set display: "summarized" to restore). New xhigh effort level; Claude Code defaults to xhigh on Opus 4.7. Vision up to 2,576 px / 3.75 MP with 1:1 pixel coordinates. CLI v2.1.105–v2.1.112: PreCompact hooks can block, /recap + Session Recap, /ultrareview, /less-permission-prompts, /tui//focus, /proactive (alias for /loop), /undo (alias for /rewind), push notifications via Remote Control, Auto Mode for Max on Opus 4.7 (no --enable-auto-mode flag), Windows PowerShell tool rollout (CLAUDE_CODE_USE_POWERSHELL_TOOL), read-only Bash permission reduction, ENABLE_PROMPT_CACHING_1H env var, TRACEPARENT/TRACESTATE distributed tracing, OTEL_LOG_RAW_API_BODIES for debugging. 142 143 144
2026-04-13 Guide v2.31: CLI v2.1.98–v2.1.104. /team-onboarding command. Google Vertex AI setup wizard. OS CA certificate trust for enterprise TLS proxies. Monitor tool for background scripts. --exclude-dynamic-system-prompt-sections for cross-user caching. CLAUDE_CODE_PERFORCE_MODE for Perforce workflows. Multiple bash security fixes (backslash bypass, compound command bypass, /dev/tcp redirect blocking). 140 141
2026-04-09 Guide v2.30: CLI v2.1.97. Fixed --dangerously-skip-permissions silently downgrading to accept-edits after protected path write. Fixed MCP HTTP/SSE connections leaking ~50 MB/hr on reconnect. Fixed 429 retries burning all attempts in ~13s. Focus view toggle (Ctrl+O) in NO_FLICKER mode. refreshInterval status line setting. Cedar policy syntax highlighting. 139
2026-04-08 Guide v2.29: CLI v2.1.94–v2.1.96. Bedrock via Mantle (CLAUDE_CODE_USE_MANTLE=1). Default effort level changed from medium to high for API/Bedrock/Vertex/Foundry/Team/Enterprise. hookSpecificOutput.sessionTitle for UserPromptSubmit hooks. v2.1.96 hotfix for Bedrock auth regression. 138
2026-04-07 Guide v2.28: Added Claude Mythos Preview and Project Glasswing. New frontier model beyond Opus 4.6 restricted to 12 partners for defensive security. Runs via Claude Code in isolated containers. $100M in credits committed. Not generally available. 137
2026-04-06 Guide v2.27: Added /buddy terminal companion pet (18 species, 5 rarity tiers, deterministic from account ID). Officially shipped April 1. 136
2026-04-04 Guide v2.26: CLI v2.1.90–v2.1.92. /powerup interactive lessons. MCP _meta["anthropic/maxResultSizeChars"] up to 500K. disableSkillShellExecution setting. forceRemoteSettingsRefresh fail-closed enterprise policy. Interactive Bedrock setup wizard. Per-model + cache-hit /cost breakdown. /release-notes interactive picker. Plugin bin/ executables. Remote Control hostname prefix. Removed /tag and /vim. 133 134 135
2026-04-01 Guide v2.25: Added “Under the Hood” section with source leak findings relevant to harness builders: auto mode classifier internals (yoloClassifier.ts), bash security 23-check model, prompt cache architecture (14 break vectors), autocompact circuit breaker (250K wasted calls/day fix), coordinator mode as prompt-driven orchestration, frustration detection via regex. 131 132
2026-04-01 CLI 2.1.89: "defer" permission decision for PreToolUse hooks (headless pause/resume with -p --resume). MCP_CONNECTION_NONBLOCKING=true skips MCP wait in -p mode. Autocompact thrash loop detection (stops after 3 consecutive refills). Bash tool warns when formatter/linter modifies previously-read files. Symlink-aware Edit/Read allow rules. 35+ bug fixes from v2.1.88 merged. 124
2026-03-31 Guide v2.24: Added v2.1.88 features. PermissionDenied hook fires after auto mode classifier denials. CLAUDE_CODE_NO_FLICKER=1 alt-screen rendering. Named subagents in @ mention typeahead. Thinking summaries off by default (showThinkingSummaries: true to restore). Auto mode denied commands in /permissions Recent tab. /btw scrollable viewport. 35+ bug fixes including prompt cache misses, nested CLAUDE.md re-injection, StructuredOutput 50% failure rate, CJK/emoji history. Added /dream memory consolidation command from Boris Cherny tips (no /dream command is in the commands reference or the CHANGELOG; the paragraph was removed on 2026-11-11). 125 126
2026-03-31 CLI 2.1.88: PermissionDenied hook, CLAUDE_CODE_NO_FLICKER=1, named subagents in @ typeahead, thinking summaries off by default, auto mode denied commands in /permissions Recent tab, /env applies to PowerShell, /btw scrollable viewport. Fixes: prompt cache misses, nested CLAUDE.md re-injection (dozens of times in long sessions), StructuredOutput ~50% failure rate, Edit/Write CRLF doubling on Windows, memory leak in large JSON LRU cache, CJK/emoji prompt history, /stats losing historical data. 35+ bug fixes. 125
2026-03-29 CLI 2.1.86–2.1.87: X-Claude-Code-Session-Id header for proxy aggregation. Read tool compact line-number format reduces token usage. Auto mode shows plan-specific unavailability message. Skill descriptions capped at 250 chars in /skills. @ file mentions no longer JSON-escaped (lower token overhead). Jujutsu/Sapling VCS directory exclusions. 15+ bug fixes including --resume on pre-2.1.85 sessions, Write/Edit on files outside project root, plugin script permissions on macOS/Linux. 127
2026-03-27 Guide v2.23: Added v2.1.85 features. Auto Mode — classifier-based permission system replacing --dangerously-skip-permissions for safer autonomous operation. Sonnet 4.6 reviews each action before execution with auto-block list and circuit breaker. Conditional if field for hooks using permission rule syntax. PreToolUse hooks can now satisfy AskUserQuestion. MCP OAuth follows RFC 9728. 25+ bug fixes. 122 123 128
2026-03-27 CLI 2.1.85: Conditional if field for hooks, PreToolUse hooks satisfy AskUserQuestion via updatedInput, MCP env vars for headersHelper scripts, MCP OAuth RFC 9728, organization-blocked plugins hidden from marketplace, timestamp markers for /loop and CronCreate, deep link queries up to 5K chars, /compact fix for oversized conversations, 20+ bug fixes. 128
2026-03-26 Guide v2.22: Added v2.1.83 and v2.1.84 features. PowerShell tool (Windows, opt-in preview). 3 new hook events: TaskCreated, CwdChanged, FileChanged (25 total). managed-settings.d/ drop-in directory for team policy fragments. sandbox.failIfUnavailable setting. CLAUDE_CODE_SUBPROCESS_ENV_SCRUB=1 strips credentials from subprocesses. Transcript search (/ in Ctrl+O). initialPrompt agent frontmatter for auto-submit first turn. Rules/skills paths: accepts YAML glob lists. MCP tool descriptions capped at 2KB. Token counts show “1.5m” format. Idle-return prompt after 75+ min. Stop-all-agents keybinding changed: Ctrl+F to Ctrl+X Ctrl+K. TaskOutput deprecated (use Read on output file). WorktreeCreate HTTP hook support. 50+ bug fixes across both releases. 121 129
2026-03-26 CLI 2.1.84: PowerShell tool (Windows opt-in), TaskCreated hook, WorktreeCreate HTTP hook support, ANTHROPIC_DEFAULT_{OPUS,SONNET,HAIKU}_MODEL_SUPPORTS env vars, CLAUDE_STREAM_IDLE_TIMEOUT_MS, allowedChannelPlugins managed setting, rules/skills paths: YAML glob lists, MCP 2KB description cap, idle-return prompt (75+ min), deep links open preferred terminal, token counts “1.5m” format, CJK IME fix, 25+ bug fixes. 129
2026-03-25 CLI 2.1.83: managed-settings.d/ drop-in directory, CwdChanged/FileChanged hook events, sandbox.failIfUnavailable, CLAUDE_CODE_SUBPROCESS_ENV_SCRUB=1, transcript search, initialPrompt agent frontmatter, Ctrl+X Ctrl+E external editor, stop-all-agents Ctrl+F changed to Ctrl+X Ctrl+K, TaskOutput deprecated, 35+ bug fixes. 121
2026-03-21 Guide v2.21: Added v2.1.80 and v2.1.81 features. Claude Code Channels (research preview): Send messages from Telegram or Discord into running sessions via plugin-based channel servers. --bare flag skips hooks, LSP, plugin sync, and skill directory walks for scripted -p automation. --channels flag relays tool approval prompts to channel servers. rate_limits field available in statusline scripts. source: 'settings' plugin marketplace source type. effort frontmatter support for skills. Assistant honors “no memory” requests. Windows PATH inheritance fix for Git Bash. 120 130
2026-03-20 CLI 2.1.81: --bare flag for scripted -p calls (skips hooks, LSP, plugin sync, skill walks). --channels permission relay for channel servers. Assistant honors “no memory” requests. 130
2026-03-19 CLI 2.1.80: rate_limits field in statusline scripts. source: 'settings' plugin marketplace source. effort frontmatter for skills. Claude Code Channels (research preview): Telegram/Discord messaging into sessions via --channels flag. Windows PATH inheritance fix for Git Bash. 120
2026-03-19 Guide v2.20: Added v2.1.78 and v2.1.79 features. StopFailure hook event (23 total). Plugin persistent state (${CLAUDE_PLUGIN_DATA}). Agent frontmatter: effort, maxTurns, disallowedTools for plugin agents. ANTHROPIC_CUSTOM_MODEL_OPTION env var for custom /model entries. Line-by-line response streaming. Tmux notification passthrough. --console flag for claude auth login. /remote-control VS Code command. AI-generated session titles in VS Code. ~18MB startup memory reduction. Security fix: visible warning when sandbox dependencies missing. SessionEnd hooks now fire on /resume session switch. 20+ bug fixes. 118 119
2026-03-18 CLI 2.1.79: --console flag for API billing auth, /remote-control VS Code command, AI session titles in VS Code, ~18MB startup memory reduction, 2-min non-streaming timeout, SessionEnd hooks on /resume switch. Fixes: -p hanging as subprocess, Ctrl+C in print mode, /btw wrong output, voice mode startup, enterprise 429 retry. 119
2026-03-17 CLI 2.1.78: StopFailure hook event, ${CLAUDE_PLUGIN_DATA} plugin state, agent frontmatter (effort/maxTurns/disallowedTools), ANTHROPIC_CUSTOM_MODEL_OPTION, tmux notification passthrough, line-by-line streaming. Security: visible warning on missing sandbox deps. Fixes: large session truncation (>5MB), infinite stop hook loop, sandbox path handling, voice WSL2, Homebrew PATH in VS Code. 118
2026-03-17 Guide v2.19: Added v2.1.77 features. Opus 4.6 default output tokens increased to 64K, upper bound for Opus 4.6 and Sonnet 4.6 raised to 128K. allowRead sandbox filesystem setting to re-allow read access within denyRead regions. /copy N copies the Nth-latest assistant response. /fork renamed to /branch (/fork remains as alias). Agent tool no longer accepts resume parameter—use SendMessage({to: agentId}) to continue agents; SendMessage auto-resumes stopped agents. Sessions auto-named from plan content on acceptance. Background bash tasks killed at 5GB output. claude plugin validate checks skill/agent/command frontmatter + hooks/hooks.json. ~60ms faster startup on macOS (parallel keychain reads). --resume up to 45% faster with ~100-150MB less peak memory. Security fix: PreToolUse hooks returning "allow" no longer bypass deny permission rules including managed settings. 25+ bug fixes including compound bash “Always Allow” saving dead rules, auto-updater memory leak, Write tool CRLF conversion, stale worktree cleanup race condition, vim mode fixes, tmux clipboard fixes. 117
2026-03-14 Guide v2.18: Added v2.1.76 features. MCP elicitation support—MCP servers can request structured input mid-task via interactive dialogs. 3 new hook events: Elicitation, ElicitationResult, PostCompact (22 total). -n/--name CLI flag for session display names at startup. worktree.sparsePaths for sparse-checkout in large monorepos. /effort slash command for setting model effort level. Bug fixes: deferred tools losing schemas after compaction, plan mode re-approval, voice mode keypresses, auto-compaction circuit breaker (3 attempts max), clipboard in tmux over SSH, Remote Control session stability. 116
2026-03-13 Guide v2.17: Added v2.1.75 features. 1M context window now default for Opus 4.6 on Max, Team, and Enterprise plans (no [1m] suffix required). /color command available to all users. Memory files now include last-modified timestamps for freshness reasoning. Hook permission prompts now show source (settings/plugin/skill). Session name displayed on prompt bar with /rename. Bug fixes: voice mode activation, Bash ! in piped commands, token estimation over-counting causing premature compaction, startup performance on macOS. Breaking: removed deprecated Windows managed settings fallback path. 115
2026-03-12 Guide v2.16: Added v2.1.73 and v2.1.74 features. v2.1.73: modelOverrides setting for custom provider model IDs (Bedrock/Vertex/Foundry), deprecated /output-style (use /config), default Opus 4.6 on cloud providers, Up arrow after interrupt restores prompt + rewinds, /effort works while responding, SSL cert error guidance, CPU freeze and deadlock fixes, SessionStart hooks firing twice fix. v2.1.74: /context actionable suggestions, autoMemoryDirectory setting, --plugin-dir override behavior change, CLAUDE_CODE_SESSIONEND_HOOKS_TIMEOUT_MS configurable timeout, managed policy enforcement fix, memory leak fix (streaming buffers), RTL text rendering fix, MCP OAuth fixes. 113114
2026-03-11 Guide v2.15: Added v2.1.72 features and Code Review product. Code Review (research preview): Multi-agent PR review system dispatching parallel agents for cross-verified findings. Team/Enterprise, $15-25/review, ~20 min. v2.1.72: /plan accepts description arguments, w key in /copy for writing to files, ExitWorktree tool, CLAUDE_CODE_DISABLE_CRON env var, expanded bash allowlist (lsof, pgrep, tput, ss, fd, fdfind), restored model parameter on Agent tool for per-invocation overrides, simplified effort symbols (○ ◐ ●), /config navigation improvements (Esc/Enter/Space), bundle size −510KB, VSCode URI handler. 111112
2026-03-10 Added: v2.1.72—Tool search activates with ANTHROPIC_BASE_URL when ENABLE_TOOL_SEARCH configured. w key in /copy writes selections to files (SSH-friendly). /plan accepts optional description. ExitWorktree tool for leaving worktree sessions. CLAUDE_CODE_DISABLE_CRON stops scheduled jobs. Bash allowlist: lsof, pgrep, tput, ss, fd, fdfind. Restored model on Agent tool for per-invocation model overrides. Simplified effort levels to ○/◐/● symbols. /config navigation: Esc cancels, Enter saves, Space toggles. Bundle size −510KB. Enhanced voice transcription accuracy. VSCode URI handler for programmatic tab opening. Fixed plugin installation on Windows/OneDrive, parallel tool calls cascade, agent progress tracking. 112
2026-03-09 Code Review launched. Multi-agent PR review system—dispatches parallel agents that cross-verify findings and rank by severity. $15-25/review. Research preview for Team/Enterprise. 54% of PRs receive substantive comments (up from 16%). <1% incorrect finding rate. 111
2026-03-09 Guide v2.14: Added /loop recurring task command (v2.1.71). New dedicated “Claude Code on the Web” section with capabilities, security architecture, availability, and web-vs-terminal decision table. Added mobile app (iOS) mention. Updated Quick Reference Card with /loop. 110
2026-03-07 Added: v2.1.71—/loop command for recurring prompts on an interval (/loop 5m /foo). Voice keybinding customization. Bash auto-approval allowlist expansion. Stdin freeze fix. CoreAudio startup optimization on macOS. 110
2026-03-06 Guide v2.13: Voice mode section (/voice, push-to-talk, 20 STT languages). v2.1.68 effort changes (Opus 4.6 medium effort default for Max/Team, ultrathink re-introduced, Opus 4/4.1 removed). v2.1.69 features: /claude-api skill, InstructionsLoaded hook event, agent_id/agent_type/worktree hook fields, ${CLAUDE_SKILL_DIR}, /reload-plugins, CLAUDE_CODE_DISABLE_GIT_INSTRUCTIONS, sandbox.enableWeakerNetworkIsolation, remote-control custom names, Ctrl+U exit bash mode, numeric keypad support. v2.1.70 fixes: API 400 with third-party gateways, effort parameter errors, empty responses after ToolSearch. VS Code: spark icon session list, markdown plan view, native MCP management. Performance: 74% prompt render reduction, Remote Control poll rate 300x reduction. Updated subagent model defaults to inherit. 18 hook events total. 107108109
2026-03-06 Added: v2.1.70—Fixed API 400 errors with ANTHROPIC_BASE_URL third-party gateways (tool search disables tool_reference blocks for proxy endpoints). Fixed effort parameter error with custom Bedrock inference profiles. Fixed empty model responses after ToolSearch. Improved compaction to preserve images for prompt cache reuse. /rename works while Claude processes. Reduced prompt re-renders ~74%. Reduced Remote Control /poll to 1/10 min (~300x reduction). VS Code: spark icon session list as full editors, full markdown plan view with comments, native /mcp dialog. ~600 tokens saved per --resume (skill list re-injection fix). Multiple Windows/voice/plugin/security fixes. 107
2026-03-05 Added: v2.1.69—/claude-api skill. InstructionsLoaded hook event. agent_id/agent_type/worktree fields in hook events. ${CLAUDE_SKILL_DIR} skill self-reference variable. /reload-plugins command. sandbox.enableWeakerNetworkIsolation for Go/MITM proxy. includeGitInstructions setting + CLAUDE_CODE_DISABLE_GIT_INSTRUCTIONS env var. Remote-control custom names (--name). Voice STT 10 new languages (20 total). Effort level display. Ctrl+U exit bash mode. Numeric keypad support. git-subdir plugin source type. oauth.authServerMetadataUrl for MCP servers. Sonnet 4.5→4.6 auto-migration. Security: nested skill discovery from gitignored dirs, symlink write escape, trust dialog enabling all .mcp.json servers. 70+ bug fixes including macOS keychain corruption, teammate nested spawning, memory leaks. 108
2026-03-04 Added: v2.1.68—Opus 4.6 defaults to medium effort for Max/Team subscribers. Re-introduced “ultrathink” keyword for high effort. Removed Opus 4 and Opus 4.1 from Claude Code on first-party API. 107
2026-03-03 Voice Mode launched. /voice activates push-to-talk (hold space bar to talk). Rolling out gradually (~5% initial). Professional pair-programming design, not a casual voice assistant. 109
2026-03-02 Guide v2.12: Task tool → Agent tool rename documented (Agent(agent_type) syntax, Task(...) as alias). macOS plist and Windows Registry support for managed settings (v2.1.51). Figma partnership integration note. 104105106
2026-02-28 Guide v2.11: Added v2.1.63 features. /simplify and /batch bundled slash commands. Worktree-shared project configs and auto-memory. ENABLE_CLAUDEAI_MCP_SERVERS=false opt-out for claude.ai MCP connectors. HTTP hooks formal type: "http" handler documentation. /copy “Always copy full response” option. VSCode session rename/remove. /clear skill cache reset fix. Multiple memory leak fixes. REPL bridge race condition fix. GitHub Copilot Business/Pro Claude availability cross-reference. 102103
2026-02-27 Guide v2.10: Added v2.1.58 to v2.1.62 features. /copy command (interactive code block picker). /memory command enhanced for auto-memory management. Remote Control expanded to more users (v2.1.58). Industry adoption stat: 4% of public GitHub commits (a SemiAnalysis estimate). CVE-2025-59536 and CVE-2026-21852 security advisories added to untrusted repos warning. Prompt suggestion cache fix (v2.1.62). Config file corruption fix for Windows concurrent writes (v2.1.61). Improved bash “always allow” prefix suggestions for compound commands. Memory usage improvements in multi-agent sessions. MCP OAuth token refresh race condition fix. 9899100101
2026-02-25 Guide v2.9: Added v2.1.52–v2.1.56 bug fixes. Fixed Agent Teams navigation (Shift+Down only, not Shift+Up/Down). Added team storage paths and task dependency details. Added TeammateIdle/TaskCompleted hook integration notes. 97
2026-02-25 Added: v2.1.53–v2.1.56—VS Code crash fixes on Windows, fixed UI flicker where input briefly disappeared after submission, fixed bulk agent kill (Ctrl+F) to send single aggregate notification, fixed graceful shutdown leaving stale sessions with Remote Control, fixed --worktree sometimes ignored on first launch, fixed BashTool EINVAL on Windows, fixed crashes on Windows ARM64 and in WASM interpreter on Linux/Windows x64. 97
2026-02-24 Added: v2.1.51—claude remote-control subcommand for external builds, allowedEnvVars for HTTP hook env var interpolation security, HTTP hooks routed through sandbox network proxy, tool results >50K chars persisted to disk (was 100K), BashTool skips login shell by default, plugin marketplace git timeout configurable (CLAUDE_CODE_PLUGIN_GIT_TIMEOUT_MS), custom npm registries and version pinning for plugins, /model picker human-readable labels, CLAUDE_CODE_ACCOUNT_UUID/CLAUDE_CODE_USER_EMAIL/CLAUDE_CODE_ORGANIZATION_UUID SDK env vars, statusLine/fileSuggestion hooks require workspace trust. Fixes: duplicate control_response API 400 errors, slash command autocomplete crash on YAML array SKILL.md descriptions. 96
2026-02-23 Guide v2.8: Added v2.1.51 features. claude remote-control subcommand for external builds. HTTP hook security: allowedEnvVars required for env var interpolation in headers; HTTP hooks routed through sandbox proxy. Tool result disk persistence threshold lowered to 50K chars (was 100K). BashTool skips login shell by default. Plugin improvements: custom npm registries, version pinning, configurable git timeout. /model picker shows human-readable labels. SDK caller identity env vars. Agent Teams plan approval for teammates. 96
2026-02-22 Guide v2.7: Fixed fast mode pricing table — removed incorrect >200K tiered pricing ($60/$225). Official Anthropic pricing confirms flat $30/$150 across full context window with no long context surcharge. Added web fetch (free) to Hidden Tool Fees table. Added code execution free when web_search/web_fetch tools included. Added failed web searches not billed. 1
2026-02-21 Guide v2.6: Added v2.1.49 and v2.1.50 features. New hook events: ConfigChange, WorktreeCreate, WorktreeRemove (17 total). New --worktree/-w flag for isolated git worktrees. Subagent isolation: "worktree" and background: true fields. claude agents CLI command. CLAUDE_CODE_DISABLE_1M_CONTEXT env var. Opus 4.6 fast mode now includes full 1M context. Claude Code Security (research preview). -
2026-02-20 Added: v2.1.50—startupTimeout for LSP servers, WorktreeCreate/WorktreeRemove hook events for custom VCS setup/teardown, isolation: worktree in agent definitions, claude agents CLI command, CLAUDE_CODE_DISABLE_1M_CONTEXT env var, Opus 4.6 fast mode now includes full 1M context window, VSCode /extra-usage command support. CLAUDE_CODE_SIMPLE now disables MCP tools, attachments, hooks, and CLAUDE.md loading. Fixes: symlink session invisibility, session data loss on SSH disconnect, memory leak in agent teams (completed tasks not GC’d), /mcp reconnect freezing for non-existent servers, LSP diagnostic data memory leak, prompt suggestion cache regression, Edit tool Unicode curly quote corruption. Linux: fixed native modules on glibc < 2.30 (RHEL 8). Multiple memory optimization improvements for long sessions. 94
2026-02-20 Claude Code Security (research preview): Vulnerability scanning built into Claude Code on the web. Scans codebases and suggests patches for human review. Available to Enterprise, Team, and open-source maintainers. 95
2026-02-19 Added: v2.1.49—--worktree (-w) flag to start Claude in an isolated git worktree, subagents support isolation: "worktree" for temporary git worktree work, agent definitions support background: true to always run as background task, ConfigChange hook event for enterprise security auditing, plugins can ship settings.json for default configuration, SDK model info now includes supportsEffort/supportedEffortLevels/supportsAdaptiveThinking fields. CLAUDE_CODE_SIMPLE now includes file edit tool. Sonnet 4.5 with 1M context removed in favor of Sonnet 4.6. Improved MCP OAuth with step-up auth and discovery caching. Fixes: Ctrl+C and ESC ignored with background agents, unbounded WASM memory growth, disableAllHooks managed settings hierarchy, --resume showing raw XML tags. Improved permission prompts to show restriction reasons. 94
2026-02-18 Added: v2.1.47—Ctrl+F kills all background agents (replaces double-ESC), last_assistant_message field in Stop/SubagentStop hook inputs, chat:newline keybinding action, added_dirs in statusline JSON, /rename updates terminal tab title, resume picker shows 50 sessions (was 10), teammate navigation simplified to Shift+Down only. Performance: ~500ms startup improvement (deferred SessionStart hooks), memory improvements (releasing API stream buffers, O(n²) progress update fix). Fixes: plan mode preserved after compaction, Edit tool Unicode curly quote corruption, CJK wide character alignment, concurrent agent API 400 errors, /resume dropping large sessions (>16KB), session name lost after compaction, background agent results returning raw transcript, many Windows fixes (hooks via Git Bash, CWD tracking cleanup, drive letter casing, BMP paste on WSL2). 93
2026-02-18 Added: v2.1.46—claude.ai MCP connectors support in Claude Code, fixed orphaned CC processes after terminal disconnect on macOS. v2.1.45—spinnerTipsOverride setting, SDKRateLimitInfo/SDKRateLimitEvent SDK types, fixed Agent Teams on Bedrock/Vertex/Foundry, fixed sandbox temp file errors on macOS, startup and memory improvements. 93
2026-02-18 Guide v2.5: Added Ctrl+F and Shift+Down to keyboard shortcuts, spinnerTipsOverride to settings reference, last_assistant_message hook field, chat:newline keybinding, claude.ai MCP connectors section, resume picker 50-session update. -
2026-02-17 Claude Sonnet 4.6 released. Model ID: claude-sonnet-4-6. Replaces Sonnet 4.5 as default model on claude.ai and Claude Cowork. Same pricing ($3/$15 per MTok). Improved agentic search performance with fewer tokens. Supports adaptive thinking, extended thinking, and 1M token context window (beta). 64K max output. Knowledge cutoff: reliable Aug 2025, training Jan 2026. Sonnet 4.5 moved to legacy. Also: API code execution now free with web search/web fetch, web search tool and programmatic tool calling now GA (no beta header). 91
2026-02-17 Guide v2.4: Updated all model tables for Sonnet 4.6, added Sonnet 4.6 to extended thinking supported models, updated footnotes and pricing references. -
2026-02-16 Guide v2.3: Removed expired fast mode promo pricing (Feb 16 deadline passed), added >200K long-context fast mode tier ($60/$225), fixed protect-files.sh exit code (1→2 for blocking), fixed 3 stale Tab→Alt+T keybinding references, rewrote Copilot/Cursor migration tables (both now have agentic CLI+MCP), fixed Claude Squad install commands (brew/curl, cs binary, TUI app), added 4 missing ToC entries (Output Styles, Slash Commands, Plugin System), updated 7 footnote URLs (docs.anthropic.com→code.claude.com canonical), added 47 missing URL, fixed 4 redirect note, added managed settings keys table (allowManagedPermissionRulesOnly, allowManagedHooksOnly, etc.), added prompt injection security warning for untrusted repos. Added Quick Start section, dedicated Plan Mode section, expanded non-interactive mode (-p) documentation with exit codes and CI/CD patterns, fixed all --session-id examples (requires UUID; migrated to /rename + --resume), added research-preview markers to Remote & Slack sections, tagged 1 untagged code block, checked all 35 ToC anchors. Also fixed: TL;DR model recommendation made tier-neutral, jq // pattern fixed to select(), --input-file fabricated flag replaced with pipe, Docker sandbox syntax corrected, “sub-agent” hyphenation unified to “subagent”, added /login and /logout to slash commands table. -
2026-02-14 Added: v2.1.44—fixed ENAMETOOLONG errors for deeply-nested directory paths, fixed auth refresh errors. v2.1.43—fixed AWS auth refresh hanging (3-min timeout), fixed spurious warnings for non-agent markdown files in .claude/agents/, fixed structured-outputs beta header sent unconditionally on Vertex/Bedrock. 92
2026-02-13 Added: v2.1.42—fix for /resume showing interrupt messages as session titles, fixed Opus 4.6 launch announcement showing for Bedrock/Vertex/Foundry users, improved error message for many-image dimension limit errors with /compact suggestion. 88
2026-02-13 Added: v2.1.41—claude auth subcommands (login, status, logout) for authentication management without entering REPL, Windows ARM64 native binary support, /rename auto-generates session name from conversation context when called without arguments. Fixes: AWS auth refresh hanging indefinitely (3-min timeout added), @-mentions with anchor fragments (e.g., @README.md#installation), FileReadTool blocking on FIFOs//dev/stdin/large files, background task notifications in streaming Agent SDK mode, cursor jumping in classifier rule input, markdown link display text dropped for raw URLs, auto-compact failure notifications shown to users, permission wait time included in subagent elapsed time, proactive ticks firing in plan mode, stale permission rules not cleared on settings change, hook blocking errors showing stderr in UI. 88
2026-02-12 Accuracy & completeness pass: Fixed hooks table—Stop, SubagentStop, TeammateIdle, TaskCompleted can all block via exit code 2. Added PostToolUseFailure event. Added prompt-based hooks (type: "prompt") and agent-based hooks (type: "agent") documentation. Updated PreToolUse to preferred hookSpecificOutput format (deprecated top-level decision). Added hook environment variables ($CLAUDE_PROJECT_DIR, $CLAUDE_ENV_FILE). Added CLI --agents flag for session-scoped subagent definitions. Expanded subagent config table: disallowedTools, maxTurns, mcpServers, hooks, delegate permission mode. 87
2026-02-10 Added: v2.1.39—improved terminal rendering performance. Fixes: fatal errors being swallowed instead of displayed, process hanging after session close, character loss at terminal screen boundary, blank lines in verbose transcript view. 86
2026-02-10 Added: v2.1.38—security: blocked writes to .claude/skills in sandbox mode (prevents prompt injection from modifying skill definitions), improved heredoc delimiter parsing to prevent command smuggling. Fixes: VS Code terminal scroll-to-top regression, Tab key queueing slash commands instead of autocompleting, bash permission matching for commands using environment variable wrappers, text between tool uses disappearing in non-streaming mode, duplicate sessions when resuming in VS Code. 86
2026-02-08 Added: v2.1.37—fixed /fast not immediately available after enabling /extra-usage. 84
2026-02-08 Added: v2.1.36—Fast mode now available for Opus 4.6. Same model, faster output at premium pricing (6x standard rates, 50% promo discount through Feb 16). Toggle with /fast. 84
2026-02-07 Added: v2.1.34—security fix: commands excluded from sandboxing via sandbox.excludedCommands or dangerouslyDisableSandbox could bypass the Bash ask permission rule when autoAllowBashIfSandboxed was enabled. Also fixed crash when agent teams setting changed between renders. 85
2026-02-05 Added: v2.1.33—TeammateIdle and TaskCompleted hook events for multi-agent workflows, Task(agent_type) syntax to restrict spawnable subagents in agent tools frontmatter, memory frontmatter field for agents (user/project/local scope), plugin name shown in skill descriptions and /skills menu. Fixes: agent teammate sessions in tmux not sending/receiving messages, agent teams availability warnings on unsupported plans, extended thinking interruption when submitting new messages, API errors on mid-stream abort with whitespace+thinking blocks, API proxy 404 streaming fallback, proxy settings from settings.json env vars not applied to WebFetch, /resume session picker showing raw XML markup. Improved: API connection error messages now show specific cause (ECONNREFUSED, SSL errors). VSCode: remote session support for OAuth users, git branch + message count in session picker with branch search, scroll-to-bottom fix. 83
2026-02-05 Claude Opus 4.6 released. Model ID: claude-opus-4-6. 1M token context window (beta), the first Opus-class model with this capacity. 128K max output tokens. Adaptive thinking (auto reasoning depth). Effort controls (low/medium/high/max). Context compaction beta. Agent teams research preview (multi-agent parallel coordination). Terminal-Bench 2.0 highest industry score. GDPval-AA: +144 Elo over GPT-5.2, +190 over Opus 4.5. 76% accuracy on 8-needle 1M MRCR v2 (competitors ~18.5%). Found 500+ zero-day vulnerabilities in open-source code out-of-the-box. Same pricing as Opus 4.5: $5/$25 per MTok. Long context (>200K input): $10/$37.50. 77
2026-02-05 Added: v2.1.32—Opus 4.6 support, agent teams research preview (requires CLAUDE_CODE_EXPERIMENTAL_AGENT_TEAMS=1), automatic memory recording/recall, “Summarize from here” in message selector for partial conversation summarization, skills from --add-dir directories loaded automatically, skill character budget scales with context window (2% of context). Fixes: @ file completion incorrect relative paths in subdirectories, --resume now re-uses --agent value from previous session, bash “Bad substitution” errors with JavaScript template literals in heredocs, Thai/Lao spacing vowels rendering. VSCode: slash command execution fix, spinner for past conversations list. 78
2026-02-04 GitHub integration: Claude and Codex now available in public preview on GitHub—available as coding agents for Copilot Pro+ and Enterprise customers via Agent HQ. Opus 4.6 generally available for GitHub Copilot.81 81
2026-02-04 Added: v2.1.31—session resume hint on exit showing how to continue, Japanese IME full-width (zenkaku) space input in checkbox selection. Fixes: PDF errors permanently locking sessions, bash “read-only file system” errors in sandbox mode, plan mode crash with missing ~/.claude.json fields, temperatureOverride silently ignored in streaming API, LSP shutdown compatibility. Improved: system prompts guide model toward dedicated tools (Read, Edit, Glob, Grep) over bash equivalents, PDF/request size error messages (100 pages, 20MB limits). 73
2026-02-03 Added: v2.1.30—PDF pages parameter for Read tool (read specific page ranges e.g. pages: "1-5"), large PDFs (>10 pages) return lightweight reference when @-mentioned, pre-configured OAuth client credentials for MCP servers without DCR (e.g., Slack), /debug command for troubleshooting, additional git log/git show flags in read-only mode, token count/tool uses/duration metrics in Task tool results, reducedMotion config option. 68% memory reduction for --resume via stat-based session loading. Fixes: phantom “(no content)” text blocks in API history (reduces token waste), prompt cache invalidation for tool changes, 400 errors after /login with thinking blocks, hang on corrupted transcript resume, rate limit messaging for Max 20x, permission dialogs stealing focus, subagents unable to access SDK-provided MCP tools, Windows bash with .bashrc. 74
2026-02-01 Enterprise adoption: ServiceNow chose Claude as default model for ServiceNow Build Agent, rolling out Claude Code to 29,000+ employees—cutting seller preparation time by 95%. Allianz announced partnership making Claude Code available to all employees. 75
2026-01-31 Added: v2.1.29—fixed startup performance regression when resuming sessions with saved_hook_context. 83
2026-01-30 Breaking: Xcode 26.3 introduces native Claude Agent SDK integration—same harness that powers Claude Code—enabling subagents, background tasks, and plugins directly in Xcode without leaving the IDE. Captures Xcode Previews during SwiftUI development for visual iteration. 76
2026-01-30 Added: v2.1.27—--from-pr flag to resume sessions linked to GitHub PR numbers/URLs, sessions auto-linked to PRs when created via gh pr create, tool call failures/denials in debug logs, VSCode Claude in Chrome integration enabled. Fixes: context management validation for gateway users, /context colored output, status bar duplicating background task indicator, permissions precedence (content-level ask > tool-level allow). Windows: bash execution with .bashrc, console window flashing. VSCode: OAuth token expiration causing 401 errors. 72
2026-01-29 Added: v2.1.25—fixed beta header validation error for Bedrock and Vertex gateway users. Workaround: CLAUDE_CODE_DISABLE_EXPERIMENTAL_BETAS=1. 71
2026-01-28 Added: v2.1.23—spinnerVerbs setting for customizable spinner text, mTLS/proxy connectivity fix for corporate environments, per-user temp directory isolation, ripgrep timeout error reporting (was silently returning empty results), merged PR purple status indicator in prompt footer, bash timeout duration display. Fixes: prompt caching race condition, pending async hooks not cancelled in headless mode, tab completion not updating input, Bedrock region display in headless mode. 67
2026-01-28 Added: v2.1.22—fixed structured outputs for non-interactive (-p) mode. 66
2026-01-28 Added: v2.1.21—Python venv auto-activation in VSCode (claudeCode.usePythonEnvironment setting), Japanese IME full-width (zenkaku) number input support, Read/search progress indicators (“Reading…” → “Read”), Claude now prefers file operation tools over bash equivalents. Fixes: shell completion cache truncation on exit, API errors when resuming sessions interrupted during tool execution, auto-compact triggering too early on models with large output limits, task ID reuse after deletion, Windows file search in VSCode. 65
2026-01-28 Added: MCP Apps (interactive tool UIs inside Claude for Asana, Figma, Slack, etc.). Code Execution Tool v2 (Bash execution replacing Python-only, programmatic tool calling). Claude Code on the web expanded to Team/Enterprise premium seats. 646970
2026-01-27 Added: v2.1.20—--add-dir flag for loading CLAUDE.md from additional directories (requires CLAUDE_CODE_ADDITIONAL_DIRECTORIES_CLAUDE_MD=1), PR review status indicator in prompt footer (colored dot showing approved/changes requested/pending/draft), task deletion via TaskUpdate tool, vim arrow key history navigation, /copy command available to all users, timestamped config backups (rotated, keeping 5 most recent). Fixes: session compaction loading full history on resume, agents ignoring user messages while working, wide character (emoji/CJK) rendering artifacts, JSON parsing with Unicode in MCP responses. 63
2026-01-26 Enhanced: Analytics API section with detailed endpoint documentation, metrics table, curl example, and limitations. Now includes authentication requirements, available metrics (productivity, tool usage, cost), and real-time monitoring alternatives. 45
2026-01-24 Added: v2.1.19—$0, $1 shorthand for custom command arguments (changed from $ARGUMENTS.0 to $ARGUMENTS[0] bracket syntax), CLAUDE_CODE_ENABLE_TASKS env var to disable new task system, skills without additional permissions/hooks no longer require approval. VSCode: session forking and rewind enabled for all users. SDK: queued_command replay as SDKUserMessageReplay events. Fixes: dangling processes on terminal close, /rename//tag in git worktrees, pasted text lost with prompt stash (Ctrl+S), agent model display, backgrounded hook commands not returning early, file write preview omitting empty lines. 62
2026-01-24 Added: v2.1.17—fixed crashes on processors without AVX instruction support. 62
2026-01-24 Breaking: Extended thinking now enabled by default with 31,999 tokens. Natural language triggers (think, think hard, ultrathink) are deprecated and no longer allocate thinking tokens—use MAX_THINKING_TOKENS env var or /config instead. Updated Extended Thinking section with current behavior. 61
2026-01-24 Added: v2.1.18—customizable keyboard shortcuts with context-specific keybindings, chord sequences, and full personalization via /keybindings command. Configuration stored in ~/.claude/keybindings.json. 68
2026-01-24 Added: v2.1.16—task management system with dependency tracking, VSCode native plugin management support, OAuth users can browse/resume remote sessions from Sessions dialog. Fixes: out-of-memory crashes with subagent resumption, /compact warning visibility, session titles language setting, Windows IDE race condition. 60
2026-01-21 Added: v2.1.15—npm installation deprecation notice (native binary preferred), React Compiler UI performance improvements. Fixes: /compact warning not clearing, MCP stdio server timeout not killing child process (could cause UI freezes). 59
2026-01-20 Added: v2.1.14—history-based autocomplete in bash mode (! + Tab), plugin search in installed list, pin plugins to git commit SHAs, VSCode /usage command. Critical fixes: context window blocking limit (~65%→~98%), memory crashes with parallel subagents, memory leak in long sessions, @ symbol file autocomplete in bash mode, /feedback invalid URLs, /context token count display, slash command autocomplete wrong selection. 58
2026-01-20 Added: v2.1.12 (message rendering bug fix). Corrected Setup hook version to v2.1.10 with full release notes: ‘c’ keyboard shortcut for OAuth URL copy, improved startup keystroke capture, file suggestions as removable attachments, VSCode plugin install counts and trust warnings. Added teleport one-way limitation note. 57
2026-01-19 Documentation refresh: Added SubagentStart hook to events table, expanded additionalContext documentation for PreToolUse hooks (v2.1.9), expanded LSP tool capabilities section, enhanced People to Follow with content creators and official resources. -
2026-01-19 Added: Setup hook event (v2.1.10)—triggered via --init, --init-only, or --maintenance CLI flags for environment setup tasks. 52
2026-01-18 Added: Multiple Accounts Policy section (what’s allowed, technical limits, what’s prohibited). Added Community Tips section (plan mode auto-clear context, /clear, screenshots, container patterns). Added People to Follow (Boris Cherny, Thariq, Jeffrey Emanuel). Added API token pricing table. 48495051
2026-01-17 Added: v2.1.11 release—fixes excessive MCP connection requests for HTTP/SSE transports (stability improvement for heavy MCP users). 47
2026-01-16 Added: MCP Tool Search section with benchmarks (Opus 4: 49%→74%, Opus 4.5: 79.5%→88.1%, 85% token overhead reduction). Updated MCP ecosystem stats (100M monthly downloads, 3,000+ servers; no Anthropic page carries those two figures, and its December 2025 count was “97M+ monthly SDK downloads” and “more than 10,000 active public MCP servers”). 46
2026-01-16 Added: Claude Code Analytics API section—programmatic access to usage metrics (sessions, commits, PRs, lines of code) for Team/Enterprise via Admin API endpoint /v1/organizations/usage_report/claude_code. Documented ${CLAUDE_SESSION_ID} skill substitution (v2.1.9). 4345
2026-01-15 Added: v2.1.9 auto:N syntax for MCP tool search threshold, plansDirectory setting, external editor (Ctrl+G) in AskUserQuestion, session URL attribution for web session commits/PRs, PreToolUse hooks additionalContext. Fixed parallel tool calls API errors, MCP reconnection hanging, Ctrl+Z in Kitty. Added Cowork (GUI version for non-technical users). 4344
2026-01-15 Added: v2.1.7 permission feedback feature (provide feedback when accepting permission prompts). GitHub Action v1.0 GA release. Minor documentation refresh. 40
2026-01-14 Added: v2.1.7 MCP tool search auto mode enabled by default (defers tools >10% context), showTurnDuration setting, inline agent response in task notifications, security fix for wildcard permissions matching compound commands. v2.1.6: /config search, /doctor Updates section, /stats date range filtering, nested .claude/skills discovery, context_window.used_percentage/remaining_percentage fields, security fix for shell line continuation permission bypass. v2.1.5: CLAUDE_CODE_TMPDIR env var. 404142
2026-01-13 Added: URL change from console.anthropic.com to platform.claude.com (v2.1.4). Added context: fork skill frontmatter option for isolated contexts. Added permission denial resilience for subagents (v2.1.0+). Added plugin marketplace launch info (a December 2025 date and a count of 36 plugins that no source supported; corrected on 2026-11-11). 39
2026-01-12 Added: v2.1.4 CLAUDE_CODE_DISABLE_BACKGROUND_TASKS environment variable to disable all background task functionality including auto-backgrounding and Ctrl+B shortcut. Fixed OAuth token refresh for “Help improve Claude” setting. 38
2026-01-10 Added: Sandboxing reduces permission prompts by 84% (from Anthropic engineering blog), Opus 4.5 SWE-bench performance (80.9%) and token efficiency improvements. Minor documentation refresh. 37
2026-01-10 Added: v2.1.3 merged slash commands and skills (unified mental model), release channel toggle (stable/latest) in /config, /doctor detects unreachable permission rules, hook execution timeout increased from 60s to 10 minutes. Bug fixes: plan files persisting across /clear, skill duplicate detection on ExFAT, background task count mismatch, subagents using wrong model during compaction. VSCode: clickable destination selector for permissions. 36
2026-01-09 Added: v2.1.1 (109 CLI refinements), Component-Scoped Hooks (hooks in skill/command frontmatter with once option), new MCP servers (Figma Dev Mode, Sequential Thinking, Magic UI, Context7). Updated MCP ecosystem count to 3,000+ servers. (The CHANGELOG lists the 109 changes under 2.1.0 and has no 2.1.1 section. The server count was credited to the MCP.so directory, whose front page shows no count today. Noted on 2026-11-11.) 333435
2026-01-08 Added: language and respectGitignore settings to settings.json reference. Added IS_DEMO env var. Updated multiline input to show Shift+Enter works out-of-box in iTerm2/WezTerm/Ghostty/Kitty. Added 1,550 free code execution hours per org/month. 2932
2026-01-08 Added: v2.1.2 clickable file paths in tool output (OSC 8 for iTerm), Windows Package Manager (winget) support, Shift+Tab for “auto-accept edits” in plan mode, FORCE_AUTOUPDATE_PLUGINS env var, agent_type field in SessionStart hook. Security fixes: command injection in bash processing, memory leak from tree-sitter. Updated thinking toggle to Alt+T. Added MCP wildcard permission syntax (mcp__server__*). Added PreToolUse hooks updatedInput with ask permission. 31
2026-01-07 Added: v2.1.0 automatic skill hot-reload (skills in ~/.claude/skills or .claude/skills immediately available without restart). Security: CVE-2025-52882 WebSocket authentication bypass patched in IDE extensions v1.0.24+ 2930
2026-01-06 Added: v2.0.74 clickable image links ([Image #N]), /context grouped display, file @ mentions 3x faster in git repos, .ignore and .rgignore support, Claude Agent SDK v0.1.74 262728
2025-12-28 Added: Named sessions (/rename, /resume <n>), plugin discover search filtering, --fork-session with custom session IDs, Agent Skills section, async subagents, Claude Agent SDK (renamed from Claude Code SDK), Alt+Y yank-pop, Alt+T thinking toggle, Ctrl+T syntax highlighting toggle, holiday promotion (2× limits Dec 25-31) 2122232425
2025-12-24 Added: Claude in Chrome section, Claude Code in Slack section, LSP tool, remote MCP OAuth support, ‘ultrathink’ command, /theme and /plugin commands, terminal support for Kitty/Alacritty/Zed/Warp 151617181920
2025-12-14 Added: Pro users Opus 4.5 access, subscription plans table, rate limits (August 2025), iOS app availability 121314
2025-12-12 Added: Background Agents section, Output Styles section, hidden tool fees, /stats, /fork, /rename, /statusline, /tasks commands, .claude/rules/ memory directory, Batch API tip 891011
2025-12-12 Added: Slack integration, prompt suggestions, Alt+P model switching, /release-notes command, /rewind command, interactive MCP setup wizard (the CLI had deprecated the wizard in 0.2.108; claude mcp add takes a name and a target) 567
2025-12-12 Initial 10.0 version: Architecture mental model, decision frameworks, anti-patterns, workflow recipes, migration guide, quick reference card -

The sections that follow give the release notes for recent versions in more detail than the table above, newest first, followed by the feature notes from v2.1.105 through v2.1.114.

What’s New in v2.1.333 through v2.1.334

Claude Code 2.1.334 shipped on December 1, 2026 (npm 18:55 UTC, GitHub release 22:12 UTC) with 283 release-note bullets, 64 of them for the VS Code extension. It followed 2.1.333, which shipped on November 30, 2026 (npm 19:04 UTC, GitHub release 22:30 UTC) with 268 bullets, 78 of them for VS Code. npm latest and next are 2.1.334, and stable moved from 2.1.326 to 2.1.331.558560

Automatic compaction near 400K (v2.1.334, rolling out). On current models with a native 1M window, the per-model auto setting is now near 400K tokens, in -p and SDK runs too, so a long session compacts at about 367K tokens where it used to run to about 967K. The release notes call the change rolling out, and on already with third-party providers or with telemetry off. /autocompact 1M keeps the full window for the current model, a managed modelSettings entry keeps it for an organization, and CLAUDE_CODE_AUTO_COMPACT_WINDOW=1000000 keeps it in a cloud environment. /config gains an Auto-compact window row for the same size. See Extended Context for the sessions that still run past 400K.560561

Commands, review, and settings (v2.1.334). Local /code-review also follows REVIEW.md files in folders above a committed change. /model shows a search box when the list has more than 25 models. /desktop and claude --desktop work on Windows Arm computers. modelPricing accepts cacheWrite5m, cacheWrite1h and, for Haiku 5.5, longPrompt, and the gateway’s pricing.overrides accepts cache_write_5m, cache_write_1h, and long_prompt; the old keys still work. claude gateway --config <file> --check config checks a gateway config file without starting it. Behind a gateway that rewrites API errors, an unknown 400 or 422 is resent once unchanged and once without earlier thinking blocks; CLAUDE_CODE_DISABLE_REPLAYED_THINKING_PROBE=1 turns both retries off. When a tool cannot use a managed PostToolUse hook’s rewrite, Claude gets an error that says so; return the tool’s own output shape to keep the rewrite. Grep applies fewer ignore files in some sessions, so it can show files they used to hide. On a model that does not accept thinking turned off, Claude Code resends the request without that setting, so the model may think. A plugin’s SessionStart hook is no longer skipped when the plugin finishes loading after the session starts, and a mod on that event can hear it twice.560561

VS Code, the web, and Claude Tag (v2.1.334). In VS Code, the open file’s path goes with your next message right after the editor starts or reloads (claudeCode.attachOpenFile turns it off), and menus, dialogs, and notices say “session”, with the New Conversation command renamed New Session. On claude.ai/code, a Git providers setting, off by default, lets Team and Enterprise Owners limit which GitHub organizations and personal accounts can be linked to their organization; the New scheduled task dialog adds One-time and Custom, so a cloud task can run once or on a cron schedule; Rewind in a cloud session asks first, because it has no Undo there; and most new cloud scheduled tasks set up by hand without a repository are Claude Code tasks, not Chat tasks. In Slack workspaces not connected to Claude Tag, the earlier Claude in Slack app’s remaining answers are removed, Pro and Max accounts included, and most people get a notice instead.560

In the docs, not in the release notes (read December 1, 2026). claude mcp add --web <name> <url> adds a remote MCP server to your claude.ai account as a connector (v2.1.330 or later; v2.1.332 or later on Team and Enterprise). CLAUDE_CODE_ATTRIBUTION_PROJECT names the claude.ai Project your usage is reported under, and the managed attributionProjectPolicy setting gives an organization a default (both v2.1.305 or later). The fast-mode page now says fast mode for Opus 4.8 was removed on November 30, 2026, the model deprecations page lists Sonnet 4.5 as retired on that date, and Anthropic’s post of November 30 puts the redesigned Projects in beta on Team and Enterprise.561562

Breaking: tool lists on the command line (v2.1.333). --allowedTools and --tools now stop the launch on some lists given as several values. The release notes do not say which lists, and the CLI reference, read on December 1, 2026, still shows the several-value form ("Bash(git log *)" "Bash(git diff *)" "Read") as its --allowedTools example. The form the release notes give is one quoted, comma-separated value: --allowedTools "Read,Edit,Write". Before upgrading, check scripts, CI jobs, and claude_args lines in GitHub Actions for either flag followed by several quoted values, and join each list with commas.558559

Built-in plugins and /plugin (v2.1.333). /plugin gains a Built-in tab that lists built-in plugins by group with plain names and shows the ones your organization’s settings lock on or off. The terminal progress bar (which now follows the tab’s busy status), /radio, spinner tips, the spinner and turn-end words, and the tab title’s busy mark are now built-in plugins you can turn off there. In return, /stickers, /radio, the shipped spinner tips and words, example prompts, and the tab title’s mark work only while their built-in plugins are running; tips from spinnerTipsOverride and words from spinnerVerbs still show. A command whose built-in plugin is off or not running answers with the plugin’s name as /plugin lists it, which tells you what to turn back on. An “Example prompts” switch in /plugin turns the example lines in the empty prompt off, and the built-in verbs mod now also runs in -p, the SDK, Desktop, and the IDE extensions. claude plugin validate adds a Runs list of the commands and servers that a plugin’s or marketplace’s own files name. See Mods.558559

Sessions, compaction, and search (v2.1.333). After compaction, uploaded files, downloads, and saved tool results are no longer re-attached; Claude reads them again when it needs them. Claude can stop one running agent of a workflow while the others continue. On macOS, Claude’s find and grep, and Grep and Glob in the desktop app’s Code tab, skip ~/Library/Containers and ~/Library/Group Containers when a search starts above them. The first prompt, subagents, and -p continue after 30 seconds when git status is very slow or stalls, where they could wait up to 10 minutes. claude -p on macOS and Linux waits up to 30 seconds for a lagging reader of its piped output and warns if any is unread. Edit and NotebookEdit refuse a UTF-16LE file with an odd byte count, where Edit used to drop the last byte silently. A notice appears when a held message from another session expires unanswered, and /team-onboarding on Team and Enterprise plans offers team sharing only in a session on your claude.ai login.558

Code review, hooks, SDK, and VS Code (v2.1.333). Local /code-review follows the root REVIEW.md on the repository’s default branch, per the release notes; the local review docs page, read on December 1, 2026, still says the command does not read that file. SDK sessions end background commands, monitors, and wakeups once the host is gone and no subagent runs; CLAUDE_CODE_PRINT_BG_WAIT_CEILING_MS=0 opts out, and stream-json output adds keep_alive lines. An asyncRewake hook that keeps exiting quickly with code 2 stops waking Claude after 8 wakes in a row (CLAUDE_CODE_STOP_HOOK_BLOCK_CAP changes the number). A plugin’s language server that exits while starting fails the call at once, and a silent one gives up after 60 seconds by default. CLAUDE_CODE_DISABLE_POWERSHELL_PARSER_OVERLAP=1 stops a slow PowerShell parser before its retry starts. Code Mode is available in sessions with OpenTelemetry tracing on, and each tool call its code makes gets its own spans. In VS Code, the claudeCode.newLook setting tries a new look for the panel after a reload, held messages from other sessions get Deny, Deliver, and Always deliver buttons, and vscode://anthropic.claude-code/open links refuse prompts over 5,000 characters.558559

Enterprise and mod authors (v2.1.333). The Claude apps gateway adds error.details.error_code: spend_limit_reached to the 429 it returns when a user reaches a spend limit. On self-hosted runners, a SessionEnd hook that passes its time limit on some Linux hosts also ends the background programs it started, and a wrapper around a long-running process must expose the session token file’s folder, not a copy or a single-file mount, for git fetch and git push to keep working after a token refresh. Any mod can send its own records to your OpenTelemetry collector as claude_code.plugin_event. The release adds a long list of mod API calls and events, among them $.session.load, $.http.stream, $.model.stream, $.ui.render, the ui.key and session.state events, and compare-and-set writes in $.fs and $.store. Three changes can affect a mod you already run: what /compact prints reaches session.append by door compaction and no longer by door command; next.origin on a mod’s own $ calls gains pluginId, so tests that compare the origin exactly need the new fields; and hooks on * or session.* start hearing the new session.load and session.state events.558

What to do: before upgrading, put every --allowedTools and --tools list in one quoted value. If /radio, /stickers, spinner tips, or the progress bar stop appearing, open the Built-in tab in /plugin and turn the named plugin on. If your work depends on context past 400K tokens, run /autocompact to see the session’s window and /autocompact 1M to keep the full one. If a session still has Opus 4.8 with fast mode on, switch to Opus 5.5 or run /fast off.558560561

What’s New in v2.1.323 through v2.1.332

Claude Code shipped nine releases with release notes between November 12 and November 24, 2026: 2.1.323 (November 12, npm 20:29 UTC), 2.1.325 (November 13), 2.1.326 (November 16), 2.1.327 (November 17), 2.1.328 (November 18), 2.1.329 (November 19), 2.1.330 (November 20), 2.1.331 (November 23), and 2.1.332 (November 24, 22:06 UTC). 2.1.324 (npm, November 13, 18:42 UTC) has no CHANGELOG entry and no GitHub release. npm latest and next are 2.1.332, and stable moved from 2.1.311 to 2.1.326.527

Models and providers (v2.1.323 to v2.1.332). The v2.1.332 release notes change the default model on Microsoft Foundry to Sonnet 5.5 (deploy claude-sonnet-5-5, or set ANTHROPIC_DEFAULT_SONNET_MODEL to a model you have deployed), point the sonnet alias at Sonnet 5.5 on Google Cloud’s Agent Platform and on Foundry and Foundry’s opus alias at Opus 5.5, and keep sonnet on Amazon Bedrock at Sonnet 4.5. On Bedrock Mantle, sonnet now means Sonnet 5. The model-config, Foundry, and Agent Platform docs pages, read on November 25, still give the earlier values (see Available Models). On Agent Platform, sonnet and background requests read VERTEX_REGION_CLAUDE_5_5_SONNET. --model default and a Default pick move to an older model when theirs is not available, where they used to stop with an error. Auto mode reaches Opus 4.6 and Sonnet 4.6 on Bedrock, Agent Platform, Foundry, and the Claude apps gateway (v2.1.328). A model ID Claude Code does not recognize is assumed to have a 1M context window, up from 200K: CLAUDE_CODE_DISABLE_1M_CONTEXT=1 keeps 200K, and CLAUDE_CODE_MAX_CONTEXT_TOKENS also sets the window for unrecognized IDs that start with claude- (v2.1.323, v2.1.325). On the Claude Platform, Opus 4.5 was deprecated on November 23, 2026, with API retirement on January 22, 2027.527528534

Sandbox and permissions (v2.1.323 to v2.1.330). Sandboxed Bash commands follow the normal permission flow by default. Set sandbox.autoAllowBashIfSandboxed: true to keep running them without prompts; in managed settings, set it in your highest-ranking managed source (v2.1.325 in the release notes; the settings reference dates the new default to v2.1.324). Sandboxed commands on macOS, Linux, and WSL no longer write to some sensitive home folders by default, and Claude’s file tools refuse writes to Claude Code’s sign-in files, such as .credentials.json (v2.1.326). More commands ask first: read-only git commands in a repository that is not the project’s or one you trusted (v2.1.325), some cp and mv commands and some tool calls in bypass permissions mode (v2.1.326), and more rm commands aimed at the root, home, a top-level folder, or the working folder (v2.1.330). --add-dir and /add-dir show the trust prompt for a folder you have not trusted (v2.1.326), and ExitWorktree asks before removing a worktree that may hold unsaved work (v2.1.327). A “don’t ask again” rule that looks like it holds a secret, or that would be saved to a settings.local.json git tracks, lasts for the session only (v2.1.323). Auto mode ignores more allow rules that run any package, such as Bash(pnpm dlx *), and its notice about falling back to billed classifier requests says an upcoming release removes the fallback (v2.1.327). See Sandbox Mode and Permission Rules Syntax.527530

Hooks (v2.1.323 to v2.1.332). PreSkillShellCommand fires before a skill’s or command’s inline shell command runs while the skill loads, and can refuse it. PreToolUse hooks do not fire for those commands, so a script that blocks on PreToolUse belongs on both events (v2.1.332). "onFailure": "block" works on mcp_tool hooks (v2.1.328), and prompt hooks accept model aliases such as haiku or sonnet in model (v2.1.330). Managed PostToolUse hooks no longer fire for calls refused before they ran (v2.1.328). A hook’s "decision": "block" holds in more cases, so a hook that always prints one may start blocking calls, and HTTP hooks ignore Content-Length and Transfer-Encoding in headers (v2.1.326). When a tool’s permission check fails with an error after a PreToolUse hook returned “allow”, Claude Code decides the call as if no hook had answered (v2.1.323). A PermissionDenied hook’s retry: true tells Claude to make the refused call again only if you asked for that call (v2.1.331). Stop and SubagentStop hooks list a Monitor’s script as monitor, not shell, in background_tasks, and the trust dialog says where a folder’s hooks are declared (v2.1.329). See Available Events.527529

Code Mode (experimental, v2.1.323). Code Mode is an opt-in in which Claude writes JavaScript that makes several tool calls in one step. It reached sessions with agent teams on in v2.1.326, mods that hook tool calls in v2.1.327, sessions with OpenTelemetry events and metrics on or feature flags off in v2.1.329, and terminal sessions on Bedrock, Agent Platform, Foundry, and Claude Platform on AWS in v2.1.331. See Code Mode.527532

MCP and skills (v2.1.323 to v2.1.332). MCP servers can provide skills, in public beta: they show as server:skill in the / menu (v2.1.332 in the release notes; the MCP docs give v2.1.331 as the floor). claude mcp add-json <name> - reads the server’s JSON from stdin, which keeps tokens off the command line (v2.1.327). The v1 MCP client is removed, and MCP_SDK_GENERATION=v1 now runs the v2 client in a compatibility mode (v2.1.323). Project .mcp.json server approvals match the server’s exact name, so an approval written in another spelling asks again (v2.1.323), and claude mcp add --scope project stops, without overwriting the file, when .mcp.json lists its servers at the top level with no mcpServers key (v2.1.327). The tool Claude uses to finish an MCP server sign-in asks you to confirm, even in bypass and auto modes (v2.1.323). A deniedMcpServers name entry hides only the named claude.ai connector, not others at its URL; deny the exact URL to block them all (v2.1.330). Scheduled tasks and /loop ask before running a skill that declares allowed-tools or hooks; add Skill(name) to permissions.allow to run it unattended (v2.1.325). /security-review asks before Claude runs it (v2.1.323), and computer-use is a reserved skill name on Macs with computer use on (v2.1.332). See What Is MCP?.527533

Scheduled tasks, loops, and commands (v2.1.326 to v2.1.332). Recurring scheduled tasks and /loop run up to 30 days, up from 7, while their session keeps running; tasks made before v2.1.330 still end at 7 days. /tasks lists the session’s scheduled tasks, /loop wakeups, the goal, and the conversation’s forks, and x stops one after asking; in new signed-in sessions, most scheduled tasks saved by earlier versions need scheduling again (v2.1.329). /schedule, permission prompts, and /loop’s cloud offer say “cloud scheduled task” in place of “routine” or “cloud schedule”; /routines still works (v2.1.332). On most models, /code-review with no target reviews the whole branch against the default branch (v2.1.329), reports only bugs and CLAUDE.md violations, and marks each finding Important, Pre-existing, or Nit; /simplify covers reuse, simplification, and efficiency cleanups (v2.1.328). /tui classic names the non-fullscreen renderer (v2.1.327). /status lists broken agent, skill, command, and output style files, keybinding errors, an unavailable sandbox, ignored permission settings, and hook matchers that never match (v2.1.327), and claude doctor reports whether the API can be reached (v2.1.331). Ctrl+O shows hidden startup notices (v2.1.326). The docs add two commands the release notes do not carry: /ship and /steward (v2.1.330 or later), covered under Slash Commands.527531536

Subagents, sessions, and sign-in (v2.1.323 to v2.1.332). The subagentStatusLine setting is removed: subagent rows always use the default look, and a settings file that still holds the key loads as before (v2.1.323). CLAUDE_CODE_DISABLE_AGENT_PROGRESS_SUMMARIES=1 turns off subagent progress summaries and the requests that write them (documented in v2.1.323, available since 2.1.318). A subagent’s model fallback carries over to the agents and forks it starts (v2.1.330), and a subagent launched without a model stays on the model it started on when resumed, including after /model (v2.1.327). With CLAUDE_CODE_FORK_SUBAGENT=0, subagents in claude -p, the Agent SDK, the desktop app, and VS Code wait for their own subagents by default (v2.1.328). Your sessions on the same machine can send each other 100,000 messages without a prompt from you, up from about 20 (v2.1.323), and the prompt for a held message from another session adds “Always deliver” (v2.1.332). claude auth login exits 1 and says what to check when a claude.ai login could not be saved (v2.1.332), organizations managed in Anthropic’s Enterprise Admin Console can be signed in to with claude auth login (v2.1.330), and /logout in a background session signs out every session on the computer (v2.1.323). Tap-mode voice dictation keeps the microphone on until 60 seconds pass without new words or 10 minutes in total, up from 15 seconds and 2 minutes, and keeps the text unsent (v2.1.332).527537

Plugins and mods (v2.1.323 to v2.1.331). plugin.json takes engines["claude-code"]: a plugin outside its stated Claude Code version range is not installed, updated, or loaded (v2.1.323). optionalDependencies lists plugins that install with yours and can be disabled or uninstalled on their own (v2.1.331). A plugin’s agent setting is deprecated and warns at startup (v2.1.323), and pluginDigests is deprecated and ignored (v2.1.325). A marketplace ref accepts the full ID of any commit on a branch or tag; clients before v2.1.325 cannot clone such a pin. Marketplace and plugin installs fail when a git submodule is not on the commit its repository records, and claude plugin validate type-checks a plugin’s TypeScript hooks module (v2.1.323). Uninstalling a plugin also deletes the files extracted from its MCP bundles (v2.1.326). The v2.1.331 notes schedule automatic updates for plugin marketplaces in managed extraKnownMarketplaces in a release on or after November 30, 2026; set "autoUpdate": false on an entry to opt it out (no release through v2.1.334 has made that change). easel, a built-in mod that draws charts, arrives on Pro, Max, and, where available, Team and Enterprise on macOS and Linux (v2.1.330). For mod authors, a *, namespace, or negated hook on engine.create now only observes (v2.1.323), and /cost and --max-budget-usd count a mod’s $.model.complete and $.model.classify calls (v2.1.325). See Plugin System.527538

Enterprise: gateway, runners, and telemetry (v2.1.323 to v2.1.332). Claude apps gateway: oidc.groups_jsonpath reads groups from a list of objects, and CLAUDE_GATEWAY_IDP_CONNECT_BY_HOSTNAME=1 hands the proxy an https IdP’s hostname (v2.1.331); the attributionProject setting names a session’s billing group where the gateway sets admin.billing_group_tag (v2.1.327); Sonnet 5.5 replaces Sonnet 4.5 in the built-in model list (v2.1.332). Self-hosted runners gain --repository-folder, --hook-label, and --metadata (v2.1.328), then --start-dir and --hook-concurrency (v2.1.330), and their CLAUDE_CODE_OAUTH_TOKEN prefix can end in oat02- as well as oat01-, so update proxy rules and log scrubbers (v2.1.332). Organization settings and policy requests no longer use a proxy set only by ALL_PROXY; set HTTPS_PROXY (v2.1.323). Remote Control connects through a proxy with a CONNECT tunnel, so a proxy that refuses CONNECT stops it (v2.1.326). On Windows, an HKLM policy outranks managed-settings.json, and a broken value can stop the start, so check registry settings before upgrading (v2.1.331). Telemetry: OTEL_RESOURCE_INCLUDE_HOST adds host.name and host.id (v2.1.326), claude_code.llm_request spans carry gen_ai.usage.* (v2.1.331), and desktop Code tab sessions report service.name as claude-code-desktop (v2.1.332). CLAUDE_CODE_DISABLE_RESPONSE_COMPRESSION asks for uncompressed model responses behind a proxy that cuts compressed ones off (v2.1.331). See Enterprise Deployment.527538

Security fixes and fixes worth knowing. v2.1.325 fixes a security issue in how zstd-compressed responses are decoded, a gap where some compound Bash commands could run without asking, a Bash allow rule that could run a different program than the one it names, and deny rules not applied to an approval that arrives after a restart in self-hosted runner and claude remote-control sessions. v2.1.323 fixes Write and Edit writing to a path under a Read deny rule, deny and ask rules missing some commands run through sudo, env, and similar wrappers, sandbox.excludedCommands letting a command it does not name run outside the sandbox, and an rm judged from the wrong folder skipping the dangerous-removal prompt. v2.1.329 fixes ~/.claude.json sometimes being reset to defaults when a network stall or file lock made it unreadable, and a cloud session picked in /teleport now starts a new session where it used to replace your open conversation. v2.1.332 makes a read of a named pipe that nothing writes to fail after 20 seconds, where Read, @-mentions, and compaction used to hang, and fixes freezes while a hook prints output without end. The automatic retry when max_tokens exceeds a model’s or gateway’s limit arrived in v2.1.326, was removed in v2.1.329, and came back in v2.1.330.527

What to do: upgrade. If you relied on sandboxed commands running without prompts, set sandbox.autoAllowBashIfSandboxed: true. On Microsoft Foundry, deploy claude-sonnet-5-5 or pin ANTHROPIC_DEFAULT_SONNET_MODEL before moving to v2.1.332. Add a PreSkillShellCommand hook only once every machine runs v2.1.332, because an older version that finds it in a settings file opens a warning dialog at start. Reschedule saved scheduled tasks that stopped running, and move API code off Sonnet 4.5, which was retired from the Claude API on November 30, 2026, and off Opus 4.5 before January 22, 2027.527529534

What’s New in v2.1.318 through v2.1.322

Claude Code shipped four releases between November 3 and November 10, 2026: 2.1.318 (November 3, npm 21:55 UTC), 2.1.319 (November 6, 00:58 UTC), 2.1.321 (November 9, 19:02 UTC), and 2.1.322 (November 10, 01:58 UTC). 2.1.320 was never published. npm latest and next are 2.1.322; stable stays at 2.1.311.283

Models (v2.1.321, v2.1.322). Claude Fable 5.2 (claude-fable-5-2) is what the fable alias selects: 1M context, $8/$40 per MTok, $0.20 cache reads, and a saved Fable 5.1 pick moves to fable on Pro, Max, and Ultra at once and on Team and Enterprise once the organization allows it (/model claude-fable-5-1 switches back). Fast mode runs Fable 5.2 at $16/$80 (v2.1.321) and reaches Google Cloud’s Agent Platform in the global, us, and eu regions, falling back to standard speed if the platform refuses it (v2.1.322); the fast-mode labels in /fast, /config, and /model name your current model, and a rate-limited or failing fast lane tries standard speed on the same model before anything else. The /model picker groups older models under a “More models” row (v2.1.319), unnumbered below the rest (v2.1.321). The session-feedback message, the allowedProviders description, and the “Upgrade to Max” options now name the Ultra plan alongside Pro and Max. See Which Model Should I Choose? and Fast Mode.283284

Permissions and auto mode (v2.1.318 to v2.1.321). permissions.denyInsteadOfPrompting denies a tool call that would wait on a prompt and lets the turn continue (v2.1.319). Auto mode with telemetry or feature flags off, including behind LLM gateways, asks about or denies calls the server cannot check, with no fallback to the built-in classifier; CLAUDE_CODE_AUTO_MODE_SERVER=0 keeps the local classifier, =1 turns the server check on behind a gateway even with CLAUDE_CODE_DISABLE_EXPERIMENTAL_BETAS set, and a project’s settings or a plugin can no longer switch the server check back on once you turned it off outside the project (v2.1.319; Bedrock, Vertex, and Foundry unchanged). See How Does the Permission System Work?.283284

Permission rules and security fixes (v2.1.319, v2.1.321). A session’s exact Bash or PowerShell ask rule is refused, not asked about, when a broader deny rule covers the command; which with flags outside a lookup set asks; cp and mv spelled by path get the same checks as the bare names; deny rules and protected-file prompts apply to the file a cp or mv into a directory writes; Monitor’s WebSocket watch follows the rule on every Bash command (v2.1.319, v2.1.321). Fixes closed a Bash permission bypass through a crafted environment prefix, a sandbox escape when creating a worktree, a sed that skipped the check in accept-edits and auto mode, a read-only Bash command that ran outside the sandbox without a prompt, and MCP OAuth requests that sent secrets such as refresh tokens to another host after a redirect (v2.1.319, v2.1.321). claude -p exits 1 when auto mode refused its actions because no safety check was available (v2.1.319).283

MCP tasks and feature flags (v2.1.319). When an MCP server runs a tool call as a task, the terminal moves it to the background right away and tells Claude the result when it finishes, with no feature-flag fetching required (Bedrock, Vertex, Foundry, LLM gateways, DISABLE_TELEMETRY); CLAUDE_CODE_DISABLE_MCP_TASK_BACKGROUND=1 makes Claude wait inside the call and CLAUDE_CODE_DISABLE_MCP_TASKS=1 turns tasks off. CLAUDE_CODE_DISABLE_FEATURE_FLAGS=1 stops feature-flag fetching without turning telemetry off. /tasks gains an “Earlier in this session” row of finished subagents you can reopen and message, and a self-paced /loop ends when a turn finishes without rescheduling (CLAUDE_CODE_LOOP_KEEPALIVE=1 restores the fallback wakeup). /claude-api latency-optimize finds where your Claude API code makes people wait. The shortcuts_list and shortcuts_execute Claude in Chrome tools are removed. See MCP.283284

Remote Control, cloud sessions, and operations (v2.1.318 to v2.1.321). claude remote-control --settings <file> applies a settings file to every session it starts; if the file changes, no new session starts until you restart the command (v2.1.321), and Remote Control sessions keep the folder they were started in (v2.1.321). claude auth status reports when a stored claude.ai sign-in ends (loginExpiresAt), claude -p JSON carries credential_expires_at, and claude -p text output warns on stderr starting 10 days out (v2.1.318). Claude Code no longer installs or updates the IDE extension when started in an IDE terminal; use /ide from an outside terminal or the editor’s extensions view (v2.1.318). Background subagents move a shell command to the background after 3 minutes on all providers (v2.1.318). A one-shot claude -p run on Linux exits 1 with an error when a full NFS export loses transcript lines (v2.1.321). ~/.claude.json, settings files, and the stored login survive saves on shared network home directories more often, and a non-interactive launch that finds a ~/.claude.json that is not valid JSON now fails and says how to restore the file instead of replacing it with defaults (v2.1.318). The 2.1.288 fix that kept the model’s earlier thinking when resuming a conversation started on 2.1.286 or earlier is removed (v2.1.318). See Remote & Background Agents.283

Mods (v2.1.318, v2.1.321). Mods Claude writes turn on without asking in auto and bypass modes, even under managed allowUnsandboxedCommands: false or allowManagedDomainsOnly, and do not load in dontAsk mode; a mod’s own tool calls ($.tool.call, $.mcp.call) raise no permission prompt, even under your own ask rules or in dontAsk and -p runs, while deny rules and organization policy still apply (v2.1.321). Claude Code records your answer when it asks to turn on the mods it writes, and $.model.fork takes an effort option (v2.1.318). Headless sessions reload mods in .claude/skills when their files change (CLAUDE_CODE_PLUGIN_DIR_WATCH=0 turns it off), and .claude/skills folders inside ~/.claude/plugins no longer load (v2.1.321). See Mods.283

Enterprise: gateway and managed settings (v2.1.318 to v2.1.321). Claude apps gateway: assume_role on mantle upstreams for a role in another AWS account (v2.1.318); admin.pooled_conflict_rule and admin.pooled_priority_order decide which pooled group budget pays first, login_notice shows an operator message on the verification page and the sign-in screen, CLAUDE_GATEWAY_LOG_FORMAT=json turns operational log lines into JSON, and /usage shows spend for today, this week, and this month to developers with no spend limit (v2.1.319); policy_mode: layered now adds managed MCP servers up over every matching policy, and Bedrock, Vertex, and Foundry upstreams ignore the ANTHROPIC_*_BASE_URL variables in the gateway’s environment, so set base_url on the upstream instead (v2.1.321). Managed extraKnownMarketplaces: a declared name cannot be added from another source, an entry from elsewhere is hidden, plugins the declared marketplace lists are reinstalled from it, and a take-over sets saved data aside for cleanupPeriodDays until claude plugin restore-set-aside (v2.1.321). deniedMcpServers URL entries also block Anthropic-provided servers and connectors whose upstream URL matches (v2.1.318). See Enterprise Deployment.283

Smaller changes. The remaining 2.1.318 to 2.1.321 bullets are fixes and refinements: config-file durability on network homes and under disk pressure, claude mcp add and remove taking the config lock, stdio MCP servers that exit on the version probe, idle compaction that replaced a conversation with a non-summary, /diff and session diffs in repositories with a file named HEAD, slash commands typed after leading whitespace, /context sending its grid on every turn, 401 refresh storms, hook ask and defer ordering, /clear killing background work, /rewind through symlinks, TLS handshakes that never answer, zsh KSH_OPTION_PRINT, Windows PATH lookups, Claude in Chrome reconnects, VS Code prompt limits and dictation, cloud-session connector and upload retries, self-hosted runner log lines and checkout folders, and the Claude Tag and Code Review admin pages.283

What’s New in v2.1.311 through v2.1.317

Claude Code shipped five releases between October 26 and November 2, 2026: 2.1.311 (October 26, npm 19:47 UTC), 2.1.312 (October 27), 2.1.314 (October 30, 00:12 UTC), 2.1.316 (October 31, 00:42 UTC), and 2.1.317 (November 2, 23:57 UTC). 2.1.313 was never published, and 2.1.315 (npm, October 30, 21:05 UTC) has no CHANGELOG entry and no GitHub release. npm latest and next are 2.1.317, and stable moved from 2.1.308 to 2.1.311.281

Effort (v2.1.311, v2.1.316, v2.1.317). Typing ultrathink in the interactive terminal now runs that turn at xhigh effort on Opus 5.5, Sonnet 5.5, Haiku 5.5, and Fable 5.1 (and Fable 5.2 since it shipped) through Anthropic’s API, and typed while Claude is working it raises the rest of that turn; the rainbow highlight appears only where the word can raise effort, not when it is quoted or part of a path (v2.1.311). VS Code does the same from v2.1.316, and CLAUDE_CODE_DISABLE_ULTRATHINK=1 turns the keyword off (v2.1.316). CLAUDE_CODE_SUBAGENT_EFFORT sets the effort level subagents run at when nothing else names one, instead of inheriting the session’s (v2.1.316), and a subagent or teammate on a different model from the main conversation uses that model’s saved effort level or its default (v2.1.317). See Extended Thinking and Subagents.281282296

Models and providers (v2.1.311 to v2.1.316). Model names and IDs drop the [1m] suffix and its label on models where the suffix has no effect; it is still accepted (v2.1.311). Bedrock, Mantle, Vertex AI, and Foundry sessions load model settings from a signed file on downloads.claude.ai; CLAUDE_CODE_MODEL_CATALOG=off turns that off (v2.1.311). On those providers a model name Claude Code does not recognize, such as a custom deployment name or an inference profile ARN, gets the shorter system prompt even when it fronts Sonnet or Haiku; CLAUDE_CODE_SIMPLE_SYSTEM_PROMPT=0 keeps the full prompt. The automatic model switch after a flagged request covers unrecognized names too; CLAUDE_CODE_DISABLE_REFUSAL_FALLBACK=1 turns it off (v2.1.312). When ANTHROPIC_DEFAULT_OPUS_MODEL, availableModels, or deniedModels leaves only an older Opus model, or none, a flagged request retries on another model instead of ending in a refusal (v2.1.314). A model ID spelled with a dot behind an LLM gateway, such as claude-opus-4.8, is no longer treated as an older model with the wrong context window, output limit, effort, thinking mode, and cost (v2.1.314). Fast mode for Opus 4.8 was deprecated on October 30, 2026 and was removed on November 30, 2026; fast-mode requests on Opus 4.8 now return an error and do not fall back to standard Opus 4.8, so switch to Opus 5.5 with /model to keep the speedup or run /fast off to stay on Opus 4.8 (v2.1.316).281282

Permissions, sandbox, and hooks (v2.1.311 to v2.1.317). permissions.blockWritesOutsideWorkingDirectories makes Write, Edit, and NotebookEdit refuse paths outside the working directories in every permission mode, bypassPermissions included; it does not limit shell commands, MCP tools, or the programs hooks run, and it removes the EnterWorktree and ExitWorktree tools (v2.1.314). Claude Code asks before a web or shell tool call sends your account email address to the network (v2.1.317). --restricted sessions no longer upload files from outside the working directories when a Read allow rule covered them (v2.1.316). Hooks that match Bash now run on the Monitor tool’s shell commands, where they can block or ask but not approve or rewrite, and a hook if condition such as Monitor(tail *) matches those commands as Bash(tail *) matches Bash’s (v2.1.314). A PreCompact hook’s output is cut at 10,000 characters so a very large one cannot fail or repeat compaction (v2.1.314). Prompt and agent hooks run at most 24 at a time per session, subagents included, plus at most 12 that have waited longer than their event’s timeout, and a timeout under one second counts as one second (v2.1.312). SubagentStop hooks fire once when a subagent finishes instead of about twice a minute while it runs (v2.1.311). The sandbox.excludedCommands description now says what v2.1.277 made true: every command in a call must match an entry (v2.1.314). In /permissions, the review tab is called Recently blocked and refuses to approve a call it cannot show in full (v2.1.314).281282

Compaction, context, and print mode (v2.1.311 to v2.1.317). Idle compaction reaches VS Code and the desktop app’s Code tab: a conversation of 200K or more tokens left idle is summarized, and the summary is used on your next message once the prompt cache has expired; it also runs for subscribers with telemetry off, and on Bedrock, Vertex AI, Foundry, and LLM gateways once the one-hour prompt cache is on (v2.1.314). A standard-context session whose request passes 200K tokens compacts and continues instead of stopping with “Usage credits required for 1M context” (v2.1.311). When the model’s reply carries no summary, compaction usually asks for it once more before replacing the conversation (v2.1.311), and a very long conversation keeps its earlier summary when compaction has to shorten its own request (v2.1.317). DISABLE_COMPACT in a settings file or a mod’s $.env.set can only turn compaction off, not back on (v2.1.311). A subagent’s autoCompactWindow can lower the window CLAUDE_CODE_AUTO_COMPACT_WINDOW sets; it still never raises it (v2.1.312). Usage limit messages call the 5-hour window the “5-hour limit” rather than the “session limit” (v2.1.312). claude -p prints the error and exits 1 when startup fails (v2.1.314) and when a full disk or quota loses its transcript or ~/.claude.json writes (v2.1.317); both cases exited 0 before. A shell command that reaches its timeout shows the output so far and keeps running in the background (v2.1.311). Reading an unchanged file again returns its content; the “file unchanged since your last Read” stub is gone (v2.1.317).281

Cloud sessions, runners, and Remote Control (v2.1.311 to v2.1.317). claude self-hosted-runner gains --hold-idle-file <path> and --max-hold-min <n> to keep an idle session while your host reports processes it left running (v2.1.311), and CLAUDE_CODE_DISABLE_NESTED_SESSION_ID=1 makes a claude -p run inside a runner session reuse that session’s ID and transcript, the pre-v2.1.317 behavior that could resume the wrong conversation. After a 5xx other than 501 or 529, or a heartbeat with no answer, runner sessions open new connections instead of reusing the one that failed (v2.1.317). Cloud sessions show a link card for a URL an MCP server asks you to visit (v2.1.317) and a form card for a form it asks for (v2.1.316); a cloud or Remote Control session you switch back to shows “Catching up” while it loads; Enterprise members can add and delete network secrets on their own cloud environments (v2.1.316); a routine that runs in the cloud takes an effort level in its model picker (v2.1.312); scheduled tasks in Anthropic’s cloud load the plugins enabled on your claude.ai account and cloud sessions start even when a setup script exits with an error (v2.1.314); new scheduled tasks start on the organization’s default environment (v2.1.317). /remote-control says when the disableRemoteControl setting has turned Remote Control off (v2.1.317). Project and local MCP servers no longer disconnect after the first turn in some desktop sessions (v2.1.317).281282

Enterprise: gateway, managed settings, telemetry (v2.1.312 to v2.1.317). Claude apps gateway: oidc.user_id_claim identifies people by an id_token claim other than sub (v2.1.312); an upstream’s groups list sends only developers in those IdP groups to it, on failover too, and guardrail_trace logs which Amazon Bedrock guardrail filter fired (v2.1.314); pooled_budget gives a group one shared monthly budget, managed.policy_mode: layered applies every matching policy merged over the ones below it, and guardrail.input_tagging adds the input tags a Bedrock prompt attacks filter needs (v2.1.316); GET /v1/organizations/analytics/cost reports past spend by developer, day, or IdP group (v2.1.317). Server-managed settings fetched from Anthropic’s API for Team and Enterprise logins apply without an approval prompt, and a stored copy that does not verify is refused (v2.1.316); Claude’s file tools ask before editing the local copy of those settings (v2.1.314); the desktop app’s Code tab says when the organization’s remote managed settings have not loaded, and again when they do (v2.1.317). OpenTelemetry metrics, events, and spans carry anthropic.plan, anthropic.seat_type, anthropic.provider, and anthropic.custom_base_url, and exports behind a proxy that never answers time out after 10 seconds, or OTEL_EXPORTER_OTLP_TIMEOUT up to 30 seconds (v2.1.317); Claude Code stopped sending the claude_code.safety_event event it added in v2.1.307 (v2.1.312). A renewed root certificate cross-signed with its predecessor no longer fails with UNABLE_TO_GET_ISSUER_CERT (v2.1.314), and CLAUDE_CODE_DISABLE_LOOPED_CROSS_CERT_DROP=1 keeps system cross-certificates that certify each other in a loop for a private CA that needs one (v2.1.316).281282

VS Code, Slack, and the rest (v2.1.311 to v2.1.317). VS Code: code blocks in replies get syntax coloring and sessions start with DISABLE_TELEMETRY set while VS Code’s own telemetry is off (v2.1.311); ultrathink runs its turn at xhigh and shows the rainbow (v2.1.316); you can sign in to a Claude apps gateway from the chat panel (v2.1.316); and CLAUDE_CODE_DISABLE_CFC_PROMPT=1 also keeps the Claude in Chrome instructions out of a session’s messages while the browser tools stay available (v2.1.314). Claude Tag in Slack: a channel’s Respond automatically switch became a “How Claude participates” choice (v2.1.316), analytics gains a Skills view (v2.1.311), and pasted artifact links show a card with an Open button (v2.1.317). The Code Review analytics page adds a findings-by-severity card (v2.1.316). FORCE_HYPERLINK=false (also no and off) turns terminal hyperlinks off; before v2.1.314 those values turned them on. Pro and Max launches within an hour of the last check skip two network requests, and a launch whose only arguments are options, such as claude --model opus, starts faster (v2.1.311). SendMessage to a running background agent arrives sooner: its running command moves to the background without being stopped (v2.1.317).281282

What to do: upgrade. If a session still runs Opus 4.8 with fast mode on, switch to Opus 5.5 with /model (or run /fast off): fast mode on Opus 4.8 was removed on November 30, 2026, and the API now rejects those requests.561 Scripts that read claude -p’s exit code should expect 1 on a startup or disk failure. If you had set FORCE_HYPERLINK=false to get hyperlinks, set it to 1.281

What’s New in v2.1.309 and v2.1.310

Claude Code 2.1.309 shipped on October 22, 2026 (npm 20:34 UTC; GitHub release 22:18 UTC) and 2.1.310 on October 23 (npm 21:20 UTC; GitHub release 23:39 UTC). At that point npm latest and next were 2.1.310, and stable moved from 2.1.292 to 2.1.308, a release whose whole note reads “Bug fixes and reliability improvements”; 2.1.303 (October 18) carries the same one line. Nothing was skipped between 2.1.302 and 2.1.310.275

Sandbox and permission fixes (v2.1.309). Sandboxed Bash commands on macOS and Linux no longer run the shell’s startup files outside the sandbox before each command; macOS denyWrite globs apply at a path’s real location when the pattern’s folder is reached through a symlink; sandboxed commands and auto-accepted edits can no longer modify the MCP config file passed with --mcp-config; Linux write denies no longer lift when a background command outlives the session; and commands the settings exclude from the sandbox now ask before writing to its write-list paths while the sandbox is enabled but cannot run, with the unsandboxed fallback refused there. Bash permission checks stop trusting a variable set by a command whose redirect can fail, prompt for a wrapped or prefixed cd before git, and apply an Edit(path) deny rule to a Bash redirect inside a subshell; the worktree isolation guard refuses more locale-prefixed and zsh arithmetic commands; profile store write protection applies through a symlinked config directory. sed -i now gets the standard Bash prompt and runs as written instead of a simulated file-edit preview, and like other Bash edits it is no longer restored by /rewind. See Sandbox Mode.275

Trust, worktrees, and skills (v2.1.309). claude ultrareview requires workspace trust: it asks on a terminal and refuses otherwise; scripts pass --trust-workspace, which takes no value, or set CLAUDE_CODE_DISABLE_ULTRAREVIEW_TRUST_CHECK=1. The dangerous rm and rmdir prompt in bypass permissions mode in the desktop app and VS Code now denies the command at once with a rewrite hint, so unattended sessions keep going. Worktree creation and reuse no longer fetch git objects on demand (a partial clone with a Bash sandbox fetches them first), and worktrees and branch checkouts ignore git replace refs. A nested CLAUDE.md over the size limit now loads only its start, which stops sessions compacting repeatedly after reading files under it. A skill in an --add-dir folder whose name another skill already holds is offered as <folder>:<name>, and /verify and /code-review find a nested package’s own skill. Split-pane agent teammates inherit the leader’s tool deny and --tools rules, and /rewind lists turns that changed checkpointed files through /code-review --fix, a subagent, or a shell command.275

v2.1.310. The Monitor tool and plugin monitors work on Bedrock, Vertex, and Foundry and when telemetry or nonessential traffic is disabled, where long foreground sleeps are now blocked too. Requests behind gateways and compatible servers that reject the effort-2025-11-24 beta value or mid-conversation system messages are retried without them. Compaction after a “Prompt is too long” error no longer keeps too much dense text such as base64 or SVG; background cleanup no longer deletes recent files such as pasted images when cleanupPeriodDays is very large; file read prompts show where a symbolic link leads; auto mode’s prompt before the first read outside the working directories says when blocking those reads makes shell commands ask for permission; non-interactive sessions use less memory while compacting a very large transcript; on Ubuntu, /sandbox and the startup warning name the AppArmor restriction on user namespaces and how to lift it; a mod’s Image draws inside tmux with allow-passthrough and focus-events on, and in kitty, Ghostty, and iTerm2 3.5+ with fullscreen rendering; and an MCP tool call that times out in a non-interactive session while the server’s elicitation is unanswered tells Claude not to repeat it. Cloud sessions and Remote Control permissions join Enterprise custom roles.275

What’s New in v2.1.307

Claude Code 2.1.307 shipped on October 21, 2026 (npm 20:47 UTC; GitHub release 22:17 UTC), after 2.1.306 (October 21, 02:28 UTC), whose two fixes are claude -p inside cloud sessions no longer reporting “Not logged in” without the session’s environment variables, and an API error no longer being replaced by “prompt is too long” plus a needless compaction in sessions with many MCP tools. 2.1.308 (October 22, 04:19 UTC) is the one-line reliability release that became stable.275

Telemetry and the API skill. The claude_code.safety_event OpenTelemetry event fires for each tool call that a permission rule, auto mode, a safety check, a hook, or the sandbox stopped, prompted, or sent back (see the Environment Variables Reference). /claude-api api-version moves Claude API code to API version 2026-10-21, and /claude-api managed-agents-secure (v2.1.304) compares a Managed Agents agent’s settings with Anthropic’s published security guide without changing anything; the skill now builds Managed Agents subagent teams on multiagent_20261001 with dynamic workflows on by default (v2.1.309).275276

Fixes and behavior. CLAUDE_CODE_DISABLE_1M_CONTEXT with an alias carrying the [1m] suffix, such as opus[1m], no longer produces a model-not-found error; the prompt-caching-scope beta header is no longer sent behind custom ANTHROPIC_BASE_URL gateways or on Foundry; MCP servers that could not be reached while the macOS login keychain was locked now say why, and the next run after an unlock connects without a new sign-in; HTTP MCP tool calls are no longer sent twice when the connection closes mid-call, as only read-only or idempotent tools are retried; “Autocompact is thrashing” errors in turns that read many PDF pages or images are fixed; unparseable tool calls are retried up to twice before the turn ends with an error; fork subagents launched together are each told which launch is their own; /permissions > Recently denied shows the denied shell command; the axScreenReader setting and CLAUDE_AX_SCREEN_READER in a settings env block apply only from user, managed, or --settings settings (since 2.1.305); and self-hosted runner checkout hooks are stopped after 30 minutes by default (--checkout-hook-timeout-min, 0 for no limit). Code Review gains @claude review stop (also off and pause) to end an @claude review always subscription.275

What’s New in v2.1.304 and v2.1.305

Claude Code 2.1.304 shipped on October 19, 2026 (npm 19:47 UTC; GitHub release 21:34 UTC) and 2.1.305 on October 20 (npm 19:29 UTC; GitHub release 20:46 UTC); 2.1.303 (October 18) is a one-line reliability release.275

Auto mode setup and /usage fixes. /auto-mode-setup is a guided setup that reads your project and recent sessions to draft autoMode.environment entries; v2.1.304 made it available on Bedrock, Vertex, Foundry, the Claude apps gateway, and telemetry-disabled sessions, and the auto-mode configuration docs give earlier floors by plan (v2.1.228 on Pro, Max, Ultra, and Team; v2.1.283 on Enterprise and Console).551 /usage (v2.1.305) turns each warning into a one-line fix that names its source, and f applies the fixes, which also appear in VS Code and /doctor; /usage also says when a rate limit on usage data ends. On Pro and Max, resuming an inactive conversation that would use a noticeable share of the 5-hour usage limit now shows a warning with the option to start a new conversation instead (v2.1.304). See Auto Mode and the /usage row under Slash Commands.275276

Settings and environment. sandbox.allowNestedUserNamespaces (v2.1.305) lets sandboxed commands on Linux create user namespaces for Chromium, at the cost of letting them around the sandbox’s file protections; for rootless Podman, which the release note also named, the docs now say the setting alone is not enough and to add a sandbox.excludedCommands pattern.473 CLAUDE_CODE_RETRY_WATCHDOG_USAGE_LIMIT_RECHECK_MS (v2.1.305) makes unattended retry mode notice a usage limit that was lifted before its reset. CLAUDE_CODE_AUTO_COMPACT_WINDOW accepts k and M suffixes like --autocompact and warns on out-of-range values (200k had silently set a 100K window). allowedMcpServers stops filtering managed-mcp.json stdio servers that use ${VAR} only in env, so one your allowlist left out loads on upgrade (use deniedMcpServers to keep it off). Tool search is on by default behind a custom ANTHROPIC_BASE_URL (v2.1.304), and v2.1.305 fixed the 2.1.304 regression that failed every request on Vertex, Bedrock, and other providers whose endpoint rejects tool search: Claude Code now retries without it. Plugins Claude Desktop mounts by path lose their allowed-tools under allowManagedPermissionRulesOnly. All of these are in the docs as of October 23 except the tool-search default.275276

Mods, skills, and hooks. A mod’s tool.check event carries e.isReadOnly, its answer can set decider: "person" so only the permission dialog or a host callback can approve, settings.read hooks receive each settings layer and rewrite the merged settings, a transcript line names a plugin that skipped one of your hooks, and a docked pane stays within 45% of the terminal width (v2.1.305). Compaction sends Claude the skill list again afterwards and /reload-skills sends only new or changed skills; the skills of one source can register at most 1,024 hooks and 16,384 matcher characters per session; a skill’s once hook no longer removes another skill’s identical hook. Workflow resume serves completed pipeline() and parallel() agents from the run’s journal instead of re-running them (v2.1.305); self-paced /loop wakeups at the 1-hour maximum no longer land just after the prompt cache expires; claude --worktree no longer removes the worktree and its branch without asking at exit when HEAD was detached or on another branch; rm -r of a mounted drive or a folder at its top level gets the safety prompt; and Code Review gains review levels (Quick, Standard, Deep) and an option to review every repository in a GitHub organization. The /fast dialog drops its “(research preview)” label on Opus 5.5.275

What’s New in v2.1.302

Claude Code 2.1.302 shipped on October 16, 2026: npm published it at 16:48 UTC and the GitHub release followed at 20:53 UTC; npm latest and next both pointed at it while stable stayed at 2.1.292. It followed 2.1.301 (October 15); nothing was skipped.272273

claude -p and the SDK start in Manual again. A claude -p or Agent SDK session with no permission mode now starts in default (Manual) on third-party providers, with telemetry off, and on a fresh install; --permission-mode auto keeps auto. That reverses the v2.1.285 rule under which those sessions started in auto mode, and leaves interactive terminal and VS Code sessions where they were: auto mode on every plan and provider. See Permission Modes.272273

Fork subagents and background defaults. Fork subagents (subagent_type: "fork") are on by default in claude -p, the Agent SDK, the desktop app, and VS Code, as they already were in the terminal; CLAUDE_CODE_FORK_SUBAGENT=0 turns them off, and claude mcp serve never offers them. The desktop app and VS Code now always run the main conversation’s subagents in the background, as the terminal does, instead of letting Claude choose, while a subagent’s own Agent calls in claude -p, the SDK, the desktop app, and VS Code run in the foreground by default. Prompt and agent hooks now run at most 12 of one event at a time; the rest wait their turn (raised to 24 at a time per session in v2.1.312). See What Are Subagents?.272273

Auto mode and compaction. CLAUDE_CODE_AUTO_MODE_MODEL picks the model the client-side auto mode classifier uses; it does not change the model for server-side auto mode. With the server-side classifier, a conversation too long for the safety check is now compacted instead of every checked tool call being denied. /config gains an Idle compaction row for turning idle compaction off or back on, and the notice shown after an idle compaction says how to turn it off. The “Prompt is too long” error when stopping a turn mid-compaction is fixed, and /autocompact and /effort save to the right model when a gateway names Opus 4 or 4.1 with a prefix such as anthropic/claude-opus-4-1.272

Claude Design closes by December 14, 2026. /design-sync and /design-login now show a notice that standalone Claude Design (claude.ai/design) closes by that date, and /design consent and /design revoke point cloud sessions at claude.ai/design/settings instead of /design-login. See the /design row under Slash Commands.272

Fixes worth knowing. The Read tool no longer loads an image of any size, or a pipe or device named like an image, entirely into memory: image sources over 128 MB are refused. A tool added mid-session and loaded again through ToolSearch or after compaction no longer causes a prompt cache miss. claude plugin and other subcommands wait for a queued settings or config write to finish before exiting, so a change is no longer lost or left as a .tmp file. Plugin marketplaces no longer re-clone on every refresh, and git plugins no longer show version “unknown”, when git defaults to the reftable ref format; worktree isolation works under git 2.56 or later when a stray .git file points at a missing directory. MCP servers that negotiate protocol version 2026-07-28 but omit resultType, ttlMs, or cacheScope now show their tools. Prompt suggestions are skipped after a reply billed to usage credits. Requests no longer fail with “diagnostics: Extra inputs are not permitted” after switching to Vertex or Bedrock mid-session. Startup with many plugins is faster, most of all on Windows, and file writes on exFAT or FAT32 drives on Windows are no longer refused.272

Cloud sessions and Claude Tag. A routine’s page shows a banner saying why its last run did not start, such as the organization’s limit on concurrent cloud sessions; “Rewind to here” works on every message (self-hosted runners need v2.1.246 or later); a run that failed partway is no longer repeated from the start an hour later; and a cloud session’s cost and usage no longer restart from zero after it resumes in a new process. Claude Tag admin settings are reorganized into Bundles, Connectors, Skills and plugins, and Channels tabs; HEIC, SVG, TIFF, and BMP images attached in Slack now reach Claude as files; and the manager role now also grants Claude Tag in Slack where organizations restrict it by role.272

What’s New in v2.1.301

Claude Code 2.1.301 shipped on October 15, 2026 (npm 14:34 UTC; GitHub release 19:22 UTC). npm latest moved on to 2.1.302 the next day, so the two releases are covered together here.272

Unattended retries get a usage-limit cap. CLAUDE_CODE_RETRY_WATCHDOG_MAX_USAGE_LIMIT_WAIT_MS makes unattended retry mode (CLAUDE_CODE_RETRY_WATCHDOG) end a request at a usage limit that resets too far away instead of waiting; it sits beside CLAUDE_CODE_RETRY_WATCHDOG_MAX_WAIT_MS in the Environment Variables Reference. Also for operators: switching to a model with a smaller context window now has the previous model summarize a conversation too long for the new one, instead of usage credits being spent on a summary without asking; the fable and best aliases retry once on the previous Fable model when the newest one is not available to your organization; and a conversation behind an LLM gateway whose responses name a different model than the one requested is no longer compacted over and over.272

Telemetry, vim, and mods. OpenTelemetry tool_decision events gain classifier_verdict and permission_mode, so auto mode classifier decisions can be told apart from permission rules, and classifier_category, naming the built-in rule a classifier block matched, when OTEL_LOG_TOOL_DETAILS=1. Vim mode gains the % motion: jump to the matching bracket, alone or with d, c, or y (the interactive-mode docs already list it). Mods gain rows on Input for a text field of several lines in the terminal, where Enter submits and Shift+Enter, or a backslash before Enter, starts a new line; a mod hook’s .catch handler now runs only when the hook throws or times out; $.env.set resolves with {} once the variable is set or unset, or with { deny } saying why; $.model.fork no longer returns nothing-to-fork before the first response of a new process; and in VS Code and the desktop and mobile apps a tree drawn above the question dialog can hold Markdown and up to 48 rows. See Mods and Vim Mode.272273

Fixes worth knowing. Quitting no longer removes a worktree made by a WorktreeCreate hook without asking when it may hold unpushed commits. Grep and Glob report an error when the search program fails instead of “no matches”. Skills and commands with very many or very long argument names no longer stall for seconds: only the first 64 names, each up to 64 characters, are filled in. The Read tool no longer reads binary files such as .xlsm, .parquet, .epub, and .heic as text. Skills are listed to the model again after /rewind. A tool call cut off by a message sent mid-turn during its permission check is no longer reported to the model as rejected by you. Esc in vim mode no longer discards a typed AskUserQuestion answer: the free-text field supports NORMAL mode, and Esc cancels only from there. A full disk now produces an error naming the disk instead of a misleading “Please run /login”. Self-hosted runners started from Slack can attach a repository when managed settings restrict MCP servers (use deniedMcpServers to keep those tools off). VS Code renders LaTeX math in replies, including $$ and \[ ... \] blocks, and shows a “Get more usage” link on the usage-limit banner for Pro and Max.272

What’s New in v2.1.300

Claude Code 2.1.300 shipped on October 14, 2026, hours after 2.1.299: npm published it at 14:27 UTC under next, the GitHub release followed at 18:24 UTC, and by evening npm latest and next were both 2.1.300 while stable moved from 2.1.287 to 2.1.292. Nothing was skipped.270

The advisor tool reaches Claude Platform on AWS. /advisor now works on Claude Platform on AWS; no advisor runs until you pick one with /advisor, advisorModel, or --advisor, and CLAUDE_CODE_DISABLE_ADVISOR_TOOL=1 turns the tool off. The tool itself, which lets Claude consult a second model at decision points, predates this release and is described under The Advisor Tool.270271

Mods and telemetry. Mods gain virtualText prompt decorations (text drawn in the prompt box that never enters the draft), $.ui.view({ agentId }) to show an agent’s transcript in the main view ($.ui.view({}) goes back), a dir prop on Text for right-to-left rows, and the prompt.change hook for prompt-box changes that are not typed edits (a recalled history entry, a clear, an undo, a plugin’s fill); agent.spawn can now rewrite a workflow agent’s prompt and model instead of only refusing it. OpenTelemetry api_request events split cache writes into cache_creation_5m_tokens and cache_creation_1h_tokens, trace spans carry GenAI semantic-convention attributes such as gen_ai.provider.name, gen_ai.conversation.id, gen_ai.tool.name, and error.type, and a prompt a mod’s prompt.submit hook rewrote or dropped is no longer recorded as typed in the user_prompt event. Local transcripts now also record each API request’s system prompt, tools, and parameters, so a transcript you share can reproduce a request exactly (see Mods and Telemetry).270271

Operations and behavior changes. Large requests to api.anthropic.com use gzip even with telemetry off; CLAUDE_CODE_GZIP_REQUEST_BODIES=0 turns it off. updatedInput from PreToolUse and PermissionRequest hooks is validated like Claude’s own input: unknown keys are dropped and input the tool rejects denies the call. Exit force-kills background commands still running 1.5 seconds after being asked to stop. claude remote-control drops its --sandbox and --no-sandbox flags, which had no effect; passing either exits with an error, and sandbox.enabled in settings is the way to sandbox such sessions. Sessions under CLAUDE_CODE_PROVIDER_MANAGED_BY_HOST ignore CA-bundle, tool-proxy, git TLS, and git config variables such as SSL_CERT_FILE in settings. In Cowork cloud sessions a PermissionRequest hook’s setMode is ignored while the rest of its approval applies. Claude Desktop’s Code tab applies managed settings when forceLoginGatewayUrl names an Anthropic-operated gateway that serves the session’s hostname, and claude gateway stops at start on a desktop: policy key it cannot use. The /sandbox options read “Sandbox commands”. VS Code gains claudeCode.attachSelection to keep editor selections out of your messages. In Slack, Claude Tag can answer in Slack Connect channels when an admin allows it.270

Fixes worth knowing. SessionEnd hooks run when you exit while a background command is still running; ENABLE_TOOL_SEARCH=auto no longer turns off part-way through a conversation; a login that forceLoginOrgUUID refuses no longer leaves that organization’s token stored; headless and SDK sessions resumed after a compaction keep the messages it preserved and its summary; a conversation no longer fails every turn with a 400 when the API rejects an MCP tool’s input schema (the tool is sent without parameters instead); agent hooks honor their model; --worktree sessions start from the right commit when a tag or branch is named like a commit ID and reopen in reftable repositories; claude daemon stop --any waits, force-kills a stuck service, and exits 1 if it is still there; Write and Edit in Cowork cloud sessions no longer report success for a path on your own computer; cloud sessions no longer hang five minutes per turn when the organization’s policy cannot be read; and self-hosted runners no longer freeze when nobody reads their output.270

What’s New in v2.1.299

Claude Code 2.1.299 shipped on October 14, 2026 (npm 00:23 UTC; GitHub release 02:49 UTC). 2.1.297 and 2.1.298 were never published, so nothing is skipped. npm latest was 2.1.299 until 2.1.300 was promoted later that day (see What’s New in v2.1.300).268270 Upgrade from 2.1.296: this release fixes two regressions from it, Edit and Retry failing in Cowork and claude.ai cloud sessions on a message stopped while its UserPromptSubmit or mod prompt.submit hooks were running, and cloud or headless sessions running an approved tool call twice when a new message arrived as the session resumed after a restart.

Idle compaction (v2.1.299). A terminal conversation of 200K or more tokens left idle for about 54 minutes is now compacted before its one-hour prompt cache expires, so the next message does not reprocess the whole context. CLAUDE_CODE_IDLE_COMPACT_MIN_TOKENS changes the 200K minimum (values below 100,000 are raised to 100,000) and "idleCompaction": false in settings.json turns it off; the settings reference and the env-vars page list both and date them to v2.1.290 or later. CLAUDE_CODE_DISABLE_FILE_MENTIONS=1 makes an @ mention hand Claude the path to read with its file tools instead of the file’s contents, so your PreToolUse hooks run on the read; project and local settings cannot set it (see Environment Variables Reference).268269 v2.1.302 adds an Idle compaction row to /config for turning it off or back on, and the notice shown after an idle compaction says how.272

Permissions and MCP. An allow rule such as mcp__a now reaches only the server named a, not a__b or a_; write mcp__<server>__* with the server’s whole normalized name, and list a server whose name contains __ the same way in an agent’s tools: list, which now contributes only that server’s tools. Deny and ask rules for a server whose normalized name contains a double underscore apply again. Tool descriptions and server instructions from Anthropic’s first-party MCP servers at api.anthropic.com reach Claude in full instead of being cut at 4,096 characters. Cloud session and Remote Control connectors negotiate MCP protocol 2026-07-28 by default on installs that fetch no flags (MCP_PROTOCOL_NEGOTIATION=legacy opts out), requests to claude.ai’s connector proxy and to Anthropic-hosted MCP servers no longer follow HTTP redirects, MCP OAuth now sends configured headers and headersHelper values, an empty .mcp.json is no longer reported as invalid, and servers named constructor or prototype connect. A sandboxed command can no longer write into a --plugin-dir folder or reach a denied path through a symlink, rm prompts no longer fire on a shell -c script that does not run rm, and an rm built at run time inside a script Claude Code cannot read prompts only with CLAUDE_CODE_STRICT_INLINE_SHELL_RM_PROMPT=1.268

Hooks and mods. UserPromptSubmit hooks run before a skill or custom slash command expands, so a hook that blocks the prompt also stops its embedded shell commands, and a skill’s own front-matter UserPromptSubmit hook first runs on the prompt after the one that invokes it. A plugin hook that cannot be handed an action, or cannot hand back its answer, now refuses the action instead of letting it through; a tool that already ran has its result withheld. For mods, the turn.start hook also hears subagents’ and teammates’ turns (e.agentId tells them apart), skill.prompt receives the skill’s frontmatter, source, plugin name, and file path (the mods reference dates these to v2.1.299), $.prompt.media lets a managed-settings mod’s prompt.submit hook read an attached image or document, $.session.identity() reports how the session is signed in, Text takes size, weight, mono, and tabular and Box named spacing steps (bold is deprecated for weight), session.append gains a queue door, and agent.spawn fires on a resumed subagent or teammate with resume set. Mods turned off remotely unload between turns, and /plugin and claude plugin validate name hooks skipped where an organization manages Claude Code (see Mods).268269

Commands, surfaces, and operations. /usage warns about max effort, workflows, always-on context, and large tool results. In agent view, /effort and /fast set what new sessions start with, a bare /model, /effort, or /fast opens a picker, and the peek panel shows a safe-mode line for sessions started with --safe-mode. Plan mode prints a one-time note when it will not ask before most edits because bypass permissions is available. claude plugin eval takes --disallow-tools and a disallowed_tools case field, and a run that ends on an API error scores 0 and fails the suite. claude self-hosted-runner orchestrator --shutdown-drain-sec gives in-flight polls and spawn hooks time to finish on SIGTERM. Behind a Claude apps gateway, CLAUDE_CODE_ATTRIBUTION_HEADER=0 in the env of a code or cli policy removes the attribution block. In Cowork cloud sessions, a PermissionRequest hook can no longer approve shell commands or subagents in auto mode, and a Claude in Chrome action the safety classifier flags on an approved site asks you instead of being refused. The resume command printed at exit names the session by ID; /btw in non-interactive sessions times out after 11 minutes; a local session can watch 25 published artifacts, up from 10; and the cyber safeguard notice no longer asks you to apply to the Cyber Verification Program.268

Fixes worth knowing. Streams through a custom ANTHROPIC_BASE_URL wait 300 seconds for data instead of aborting at 180; feature-flag, startup, fast-mode, profile, and server-managed-settings requests to Anthropic no longer carry a third-party gateway’s API key; /usage and the status line no longer show more than 100% used; scheduled tasks and loops no longer fire again after every turn during the repeated hour when daylight saving time ends; memory no longer grows without bound under --debug or when a parent process stops reading stderr; SendMessage finds a subagent by name after a restart; Read handles UTF-16LE files with a byte-order mark and Write refuses to silently convert Windows-1252, Shift-JIS, GBK, or UTF-16BE files to UTF-8; and on Windows, PreToolUse and PermissionRequest hooks that set no shell block the call when Git for Windows is missing instead of failing open.268

What’s New in v2.1.293-v2.1.296

Four releases shipped between October 7 and October 9, 2026. npm latest and next are 2.1.296; stable moves from 2.1.285 to 2.1.287.235 The headline is a new model: Claude Haiku 5.5 arrives in v2.1.293 as what haiku selects on the Anthropic API (see Available Models). Upgrade to v2.1.296 if you sign in to a Claude apps gateway from managed settings: it fixes a v2.1.295 regression that ignored a saved gateway login when forceLoginMethod was gateway with no forceLoginGatewayUrl.

v2.1.296 (October 9):235237267269

  • Sonnet 5.5 cache reads are priced at $0.10 per million tokens in /cost, the status line, --max-budget-usd, and the SDK’s cost figures, which had used $0.20.
  • The default limit on MCP tool descriptions sent up front and on MCP server instructions rises from 2,048 to 4,096 characters.
  • Subagent frontmatter and --agents definitions take autoCompactWindow, so a subagent can auto-compact earlier than the main conversation.
  • CLAUDE_CODE_WORKFLOW_SUBAGENT_MODEL runs every workflow agent on one model while other subagents keep theirs, and CLAUDE_CODE_OVERLOADED_RETRY_MAX_DELAY_MS sets a longer maximum delay for the 529 backoff.
  • The Read tool takes allow_large, so Claude can read a text file past the usual size limit in one call when the context has room.
  • Managed-settings PreToolUse hooks that deny a tool call with "continue": false, and managed prompt hooks that block one, now end the turn as well as refusing the call.
  • --debug names unrecognized frontmatter fields in custom agent files and logs each command hook’s command, plugin, outcome, and duration.
  • A Claude apps gateway gains a code key under managed.policies[], the same settings as cli, also applied in Claude Desktop’s Code tab.
  • A turn or ! command started while ← moves the session to the background is now stopped instead of finishing out of sight.
  • The docs have since caught up on two of these: the hooks reference dates the per-hook --debug lines to v2.1.296, and the Claude apps gateway docs describe the code policy key; autoCompactWindow and CLAUDE_CODE_OVERLOADED_RETRY_MAX_DELAY_MS reached the sub-agents and env-vars docs by October 14; CLAUDE_CODE_WORKFLOW_SUBAGENT_MODEL remains release-notes only as of 2026-10-14.

v2.1.295 (October 8):235237

  • Command and HTTP hooks accept onFailure: "block": a hook that cannot start, times out, or exits with an unexpected code blocks the action instead of letting it through (see Hook Input/Output Protocol).
  • CLAUDE_CODE_RETRY_WATCHDOG_MAX_WAIT_MS caps how long unattended retry mode waits out 429 and 529 errors.
  • Subagents preload at most 32 skills from the skills field, and MCP tool descriptions loaded through tool search are cut at 16,384 characters instead of 2,048.
  • forceLoginMethod: "gateway" and forceLoginGatewayUrl now work in your own user settings on a machine with no managed settings, so /login opens on that gateway, a setup the gateway docs now describe; every gateway upstream takes an optional models list, with * as a wildcard, and cloud upstreams honor timeouts.upstream_ttfb_ms.
  • Terminals that implement the Program Status Protocol (OSC 7501) can show whether Claude Code is working, waiting on you, or done.
  • Background requests behind a Claude apps gateway use Haiku 4.5 instead of the session’s model where the gateway serves it.
  • A [1m] model whose context-1m beta a gateway, Bedrock, Vertex, or Foundry refuses is resent without it instead of failing.
  • Ctrl+C at the idle prompt of an attached background session leaves a pending /loop wakeup alone, so pressing it twice detaches and the loop keeps running; Esc stops it.
  • claude.ai connectors negotiate MCP protocol 2026-07-28 by default on installs that fetch no flags.
  • /copy offers quoted text, claude -p says on stderr what it is waiting for after its last turn, and mods gain $.ui.notify.
  • Web searches and agent hook evaluations no longer take much longer at xhigh and max effort.

v2.1.294 (October 8). Two fixes for prompt and agent hooks written as instructions: a hook such as “Block commands that…” no longer allows what it should block, and Stop and SubagentStop hooks such as “Carry on if the build is broken” are judged so that Claude is less likely to stop early.235

v2.1.293 (October 7). Claude Haiku 5.5 (claude-haiku-5-5) is the default Haiku model on the Anthropic API: 1M context, $0.10/$0.50 per million tokens, $0.50/$2.50 for prompts over 100K. The subagentStatusLine payload gains agentType, so a status line script can tell custom subagent types apart (the setting was removed in v2.1.323); mods gain isDeferred on $.tool.register. Two reverts: the v2.1.281 auto mode denial message, which told Claude a denial covers the outcome and not only the exact command, and the v2.1.290 cloud-session fix for a lost /loop wakeup after a container restart, so such a session stays asleep again. Also: Claude no longer treats its own last actions before a compaction as done after it, an HTTP MCP connection no longer keeps every request it sent until it closes, claude purge lists what it could not remove and exits 1 instead of stopping silently, claude.ai skill syncing checks every 40 minutes instead of 10 while no session is in use, and Team and Enterprise startup fetches policy and managed settings earlier, retrying a stalled request after 3 seconds.235237

What’s New in v2.1.288-v2.1.292

Five releases shipped between October 2 and October 6, 2026. npm latest and next are 2.1.292; stable stays at 2.1.285.231 Upgrade if you are on 2.1.288, 2.1.289, or 2.1.290: v2.1.291 fixes a 2.1.288 regression where the last messages of a session could be lost when quitting, and a 2.1.290 regression where cloud sessions could drop answers to permission prompts.232

v2.1.292 (October 6). Setting CLAUDE_CODE_OVERLOADED_RETRY_BASE_DELAY_MS gives the backoff for a retried overloaded (529) request a longer base delay; the env-vars docs now give the default, 500 ms, and the accepted range, 500 to 32000. The Agent tool takes an effort parameter, so Claude can run a sub-agent at the effort level you ask for; the subagents docs now document the per-invocation parameter, which overrides the frontmatter field and stays in effect when the subagent is resumed, with CLAUDE_CODE_EFFORT_LEVEL taking precedence over both. claude plugin install --marketplace <source> adds a marketplace and installs from it in one shell command. Local (stdio) MCP servers now negotiate protocol 2026-07-28 by default on every install, Bedrock, Vertex, and Foundry included, with MCP_PROTOCOL_NEGOTIATION=legacy as the opt-out; the MCP docs now say stdio servers are asked for that revision by default. Agent names are capped at 256 characters: a longer one is rejected, a longer name in a skill or plugin file is ignored, and the subagents docs now state the cap on the name field, with a subagent file whose name runs longer skipped and an error written to the debug log. A security fix stops PreToolUse hook approvals and auto mode from bypassing the prompt for file reads from network (UNC) paths. Mods gain prompt.autocomplete, prompt caching in $.model.complete, and workflow agents in agent.spawn, and claude plugin test now fails on a refused stub answer. The remaining items were release-notes only as of 2026-10-06.233234237

v2.1.290 (October 5). The interactive WebSearch budget refills at 100 calls per hour (CLAUDE_CODE_WEB_SEARCH_REFILLS_PER_HOUR; 0 turns it off) instead of ending after 200 calls. claude attach and claude logs accept part of a session name. /claude-api managed-agents-onboard <url> turns a page that describes the Managed Agents pattern into ant apply files, and /claude-api managed-agents-onboard <quickstart-name> builds a Console quickstart template such as deep-researcher with the ant CLI. Several defaults tighten: a project’s settings can no longer turn on Claude in Chrome, a repository’s .claude/settings.json or .claude/settings.local.json can no longer set CLAUDE_CODE_DISABLE_ATTACHMENTS, pyright and more forms of ps ask before running, and a managed settings file that links outside the managed settings folder triggers a warning. WebFetch now says how much of a page past 100,000 characters went unread and takes an offset to read on, where it used to drop that text silently. CLAUDE_CODE_DISABLE_NONESSENTIAL_TRAFFIC also skips the startup connection warm-up, and CLAUDE_CODE_USER_DIALOG_TIMEOUT_MS=5m is no longer read as 5 ms: values with a unit suffix fall back to the dialogExpiry setting.232234

v2.1.290, teams and gateways. The Claude apps gateway’s sign-in approval page gains a Deny button, and its minimum supported PostgreSQL version drops from 14 to 11. On self-hosted runners, claude --environment <id> creates its session through the current Sessions API. claude --teleport and /teleport refuse a stash that would delete files in a folder that replaced a tracked file of the same name, and the --channels relay ignores a repeated reply ID instead of approving a different prompt. In Slack, !fast switches a thread to fast mode and !fast off switches back. VS Code shows message timestamps by default (the Claude Code: Show Message Timestamps setting turns them off).232

v2.1.289 (October 3). Mods get agent.spawn for teammates, one agent id across plugin hook events, and idle and waiting states in $.agent.list(); claude plugin validate no longer skips a plugin whose folder also holds a marketplace manifest; and two Bash deny-rule gaps under sandbox auto-allow are closed.232234

v2.1.288 (October 2). claude project purge is now claude purge; the old name still works and prints a notice. The background command time limit applies only in unattended sessions (-p, the Agent SDK, CI, cloud). /code-review --max-findings <n>|all changes the findings limit until you pass --max-findings default. /autocompact saves its window per model. CLAUDE_CODE_DISABLE_STRUCTURED_OUTPUTS turns structured outputs off for Mantle or gateways that reject them. Path-scoped rules and nested CLAUDE.md files load on Write and Edit, not only Read. Language servers time out after 60 seconds (per-server requestTimeout) instead of hanging. In auto mode, a conversation too long for the client-side classifier is compacted instead of prompting for every tool call, and the client-side classifier ignores an ANTHROPIC_DEFAULT_SONNET_MODEL pin naming Claude Sonnet 5.5 or Opus 5.5 and uses Claude Sonnet 5 instead. Mods get $.ui.selection(), cloud sessions without the GitHub CLI get a built-in gh api, and pressing Up on an empty prompt restores a draft Ctrl+C cleared.231234

New Commands in v2.1.105–v2.1.114144148

Command Version What it does
/recap v2.1.108+ Generates a one-line summary of the current session on demand; the automatic recap appears after you have been away and is on by default. Turn the automatic recap off in /config; CLAUDE_CODE_ENABLE_AWAY_SUMMARY=0 forces recaps off, and =1 forces them on when awaySummaryEnabled is false.413
/ultrareview v2.1.111+ (updated v2.1.113) Cloud-run multi-agent code review. Without args reviews the current branch; pass <PR#> to fetch a specific GitHub PR. v2.1.113 speeds up launch with parallelized checks, adds a diffstat in the launch dialog, and shows an animated launching state. Pro, Max, and Ultra subscribers get 3 free cloud reviews, a one-time allotment per account; after that a review bills as usage credits.298 Today the preferred invocation is /code-review ultra, with /ultrareview kept as an alias.301 As of v2.1.309 claude ultrareview requires workspace trust: it asks on a terminal and refuses otherwise; scripts pass --trust-workspace (no value; put a PR number or base branch before it) or set CLAUDE_CODE_DISABLE_ULTRAREVIEW_TRUST_CHECK=1275276
/fewer-permission-prompts v2.1.111+ (shipped as /less-permission-prompts) Scans your transcripts for common read-only Bash and MCP tool calls, then adds a prioritized allowlist to the project’s .claude/settings.json.301
/tui / /tui fullscreen v2.1.110+ (banner updated v2.1.132) /tui fullscreen switches to the flicker-free renderer and /tui default (also /tui classic from v2.1.327) switches back, relaunching with the conversation intact; /tui alone prints the active renderer.413 Matching tui setting for persistent preference. v2.1.132 updates the startup banner to describe the renderer’s lower memory usage, mouse support, and auto-copy on select.156 As of v2.1.260, fullscreen mode can also show a live diff panel beside the conversation – your uncommitted changes as Claude edits – toggled with /diff (see Slash Commands). In fullscreen, Ctrl+L and Cmd+K redraw the screen without clearing the transcript, as they do outside fullscreen (v2.1.280+).209217
/focus v2.1.110+ Enter focus mode. Now separated from Ctrl+O, which toggles normal vs. verbose transcript only.
/undo v2.1.108+ Alias for /rewind.
/proactive v2.1.105+ Alias for /loop. v2.1.113 adds Esc-to-cancel on the “next tick” countdown.
/effort (no args) v2.1.111+ Opens an interactive effort slider (arrow keys + Enter). Also accepts direct args: /effort xhigh.
/extra-usage v2.1.113+ (Remote Control client support) Works from Remote Control (mobile/web) clients, not just the local terminal. Renamed /usage-credits in v2.1.144; the old name still works.301

Session Recap (v2.1.108+)

A new session-level feature that surfaces context when you return to a paused session. Enabled by default and opt-outable via /config or CLAUDE_CODE_ENABLE_AWAY_SUMMARY=0. The model can also invoke built-in slash commands (/init, /review, /security-review) via the Skill tool — extends the subagent/skill pattern.144

Push Notifications (v2.1.110+)

When Remote Control is configured with “Push when Claude decides” enabled, Claude can now send mobile push notifications at its own discretion via a new push-notification tool. Pairs with the existing Remote Control mobile/web surface.144 /context, /exit, and /reload-plugins now also work from Remote Control clients.

Windows PowerShell Tool (v2.1.111+, rollout)

Claude Code has a native PowerShell tool; it began as a gradual rollout in v2.1.111.144 On Windows without Git Bash it is enabled automatically, and with Git Bash installed it is on by default for claude.ai and Console accounts; CLAUDE_CODE_USE_POWERSHELL_TOOL=0 turns it off, and =1 turns it on in Bedrock, Google Cloud’s Agent Platform, and Foundry sessions. On Linux, macOS, and WSL, set CLAUDE_CODE_USE_POWERSHELL_TOOL=1 (requires pwsh on PATH).414

Permission-mode auto-approval (v2.1.119+). PowerShell tool commands can now receive auto-approval in permission mode the same way Bash commands do. Allow rules like PowerShell(Get-*:*) and the existing pattern syntax now bypass the prompt for read-only operations, matching the operator ergonomics teams already get on Linux/macOS.149

Permission Reduction: Read-Only Bash (v2.1.111+)

Read-only Bash patterns with glob arguments (e.g. ls *.ts, cat src/*.md) and commands starting with cd <project-dir> && no longer trigger a permission prompt.144 Combined with /fewer-permission-prompts (named /less-permission-prompts when it shipped), expect significantly fewer interruptions in everyday workflows.301

Distributed Tracing (v2.1.110+)

SDK and headless sessions now read TRACEPARENT and TRACESTATE from the environment, linking Claude Code runs into distributed traces. Pair with OTEL_LOG_RAW_API_BODIES=1 (v2.1.111+) to emit full API request/response bodies as OpenTelemetry log events for debugging.144

Native Binary Distribution (v2.1.113+)148

v2.1.113 changes how the CLI launches: claude now spawns a native Claude Code binary via a per-platform optional dependency instead of running bundled JavaScript. Installation and update commands stay the same, and teams do not need to change rollout scripts.

Prompt Editor Shortcuts (v2.1.113+)148

The prompt editor gains readline-style navigation in multiline input, plus fullscreen viewport scrolling:

Shortcut Effect
Shift+↑ / Shift+↓ (fullscreen) Scrolls the viewport when extending a selection past the visible edge.
Ctrl+A Moves to the start of the current logical line (readline-style).
Ctrl+E Moves to the end of the current logical line (readline-style).
Ctrl+Backspace (Windows) Deletes the previous word.

These are on by default. No keybinding config required.

Subagent Stall Timeout (v2.1.113+)148

Subagents that stall mid-stream now fail with a clear error after 10 minutes instead of hanging silently. Pair with CLAUDE_STREAM_IDLE_TIMEOUT_MS (v2.1.84+) for broader stuck-process coverage on streaming APIs.

v2.1.114 Stability Fix148

v2.1.114 (April 18, 2026) ships a single fix: the permission dialog could crash when an agent-teams teammate requested tool permission. Upgrade if you use Agent Teams.

References


  1. Pricing, Claude API documentation, fetched November 10, 2026 (first cited in December 2025; the figures quoted are today’s). Model pricing table, base input and output: Claude Fable 5.2 “$8 / MTok” and “$40 / MTok”; Claude Opus 5.5 “$4 / MTok” and “$20 / MTok”; Claude Sonnet 5.5 “$2 / MTok” and “$10 / MTok”; Claude Haiku 5.5 “$0.10 / MTok” and “$0.50 / MTok” for prompts up to 100,000 tokens. “Web fetch usage has no additional charges beyond standard token costs”; “Code execution is free when used with web search or web fetch.”; “A web search that fails with an error is not billed.” ↩

  2. Claude Code Docs. Hooks Guide. Redirected from docs.anthropic.com December 2025; canonical URL updated February 2026. ↩

  3. Anthropic. “Claude Code Best Practices.” April 2025. Note: Original URL now redirects to code.claude.com/docs (content merged into main docs). See also Claude Code Docs. ↩

  4. Claude Code CHANGELOG, fetched November 11, 2026. 2.0.70: “Added Enter key to accept and submit prompt suggestions immediately (tab still accepts for editing)”; 2.0.71: “Added /config toggle to enable/disable prompt suggestions”. Today’s behavior is in Interactive mode: Prompt suggestions, Claude Code documentation, same fetch: “After Claude responds, Claude Code can suggest your next prompt based on your conversation history”; “Press Tab or Right arrow to place the suggestion in the prompt input, then Enter to submit”. See also TechCrunch, December 8, 2025, on the Slack launch of the same month. ↩

  5. Claude Code and Slack, Claude, December 8, 2025, fetched November 11, 2026 (the earlier claude.com/blog address redirects here): “Now in beta as a research preview, Claude makes it easy to move context from Slack conversations to coding sessions.” ↩

  6. Claude Code CHANGELOG, 0.2.32 added the “Interactive MCP setup wizard” (run claude mcp add “to add MCP servers with a step-by-step interface”); 0.2.108: “Deprecated MCP wizard interface in favor of other MCP commands”. Today claude mcp add needs a name and a target: Connect Claude Code to tools via MCP, Claude Code documentation, fetched November 10, 2026, gives claude mcp add --transport http <name> <url> for a remote server and claude mcp add [options] <name> -- <command> [args...] for a local one. ↩

  7. Pricing, Claude API documentation, tool sections, fetched November 10, 2026: “Web search is available on the Claude API for $10 USD per 1,000 searches, plus standard token costs for search-generated content”; “A web search that fails with an error is not billed”; “Web fetch usage has no additional charges beyond standard token costs”; Bash tool, additional input tokens: “325 tokens” on “Claude 4.7 and later models and Claude Mythos Preview” and “244 tokens” on “Claude 4.6 and earlier models”; text editor tool text_editor_20250728: “974 tokens” on Claude 4.7 and later models and “745 tokens” on Claude 4.6 and earlier models. ↩

  8. Anthropic. “Enabling Claude Code to work more autonomously.” September 29, 2025, fetched November 11, 2026. “Background tasks keep long-running processes like dev servers active without blocking Claude Code’s progress on other work”. ↩

  9. Claude Code Docs. Memory Rules Directory. December 2025. ↩

  10. Claude Code CHANGELOG, section 1.0.81, fetched November 11, 2026: “Released output styles, including new built-in educational output styles “Explanatory” and “Learning”.” ↩

  11. GitHub CHANGELOG. “Pro users now have access to Opus 4.5 as part of their subscription.” December 2025. ↩

  12. Northflank. “Claude Code: Rate limits, pricing, and alternatives.” Will Stewart, July 31, 2025, fetched November 10, 2026. A secondary report of an Anthropic announcement on X: “The new limits, effective August 28, 2025, include:” “Weekly caps that reset every seven days”, “Separate limits for overall usage and Claude Opus 4 specifically”, and “Max subscribers can purchase additional usage, beyond what the rate limit provides, at standard API rates”. ↩

  13. Claude Code on the web, Claude, October 20, 2025, fetched November 11, 2026 (the earlier claude.com/blog address redirects here): “As part of this research preview, we’re making Claude Code available on our iOS app so developers can explore coding with Claude on the go.” ↩

  14. Claude Code on the web, Claude (the earlier claude.com/blog address redirects here). The page’s update of November 12, 2025, as the Internet Archive capture of January 27, 2026 shows it: “Claude Code on the web is now available in research preview for Team and Enterprise users with premium seats, in addition to Pro and Max users.” ↩

  15. Claude Code CHANGELOG, section 2.0.72, fetched November 11, 2026: “Added Claude in Chrome (Beta) feature that works with the Chrome extension (https://claude.ai/chrome) to let you control your browser directly from Claude Code”. ↩

  16. Claude Code CHANGELOG, section 2.0.74, fetched November 11, 2026: “Added LSP (Language Server Protocol) tool for code intelligence features like go-to-definition, find references, and hover documentation”; “Added /terminal-setup support for Kitty, Alacritty, Zed, and Warp terminals”. ↩

  17. Claude Code is coming to Slack, and that’s a bigger deal than it sounds, TechCrunch, December 8, 2025. ↩

  18. Claude Code CHANGELOG, section 0.2.44, fetched November 11, 2026: “Ask Claude to make a plan with thinking mode: just say ‘think’ or ‘think harder’ or even ‘ultrathink’”. ↩

  19. Remote MCP support in Claude Code, Claude, June 18, 2025, fetched November 11, 2026: “Claude Code also features native OAuth support for remote MCP servers, ensuring secure connections to your existing accounts.” ↩

  20. Claude Code CHANGELOG, section 2.0.64, fetched November 11, 2026: “Added named session support: use /rename to name sessions, /resume <name> in REPL or claude --resume <name> from the terminal to resume them”. ↩

  21. Claude Code CHANGELOG, section 2.0.73, fetched November 11, 2026: “Added search filtering to the plugin discover screen (type to filter by name, description, or marketplace)”; “Added support for custom session IDs when forking sessions with --session-id combined with --resume or --continue and --fork-session”. ↩

  22. Anthropic Engineering. Agent Skills: reusable task-specific modules. December 2025. ↩

  23. Building agents with the Claude Agent SDK, Claude, fetched November 11, 2026: “we’re renaming the Claude Code SDK to the Claude Agent SDK”. ↩

  24. Apidog. Claude Code 2× usage limits for Pro/Max subscribers Dec 25-31, 2025. December 2025. ↩

  25. Claude Code CHANGELOG, fetched November 11, 2026. 2.0.73: “Added clickable [Image #N] links that open attached images in the default viewer”. 2.0.74: “Added ctrl+t shortcut in /theme to toggle syntax highlighting on/off”; “Improved /context command visualization with grouped skills and agents by source, slash commands, and sorted token count”. ↩

  26. Claude Code CHANGELOG, section 2.0.72, fetched November 11, 2026: “Improved @ mention file suggestion speed (~3× faster in git repositories)”; “Improved file suggestion performance in repos with .ignore or .rgignore files”. That the @ file picker applies the rules in those files is plain from a later repair, 2.1.311: “Fixed the @ file picker ignoring .ignore/.rgignore negation rules that re-include git-ignored files”. ↩

  27. GitHub Claude Agent SDK. Claude Agent SDK v0.1.74 in parity with Claude Code v2.0.74. January 2026. ↩

  28. Claude Code CHANGELOG, section 2.1.0, fetched November 11, 2026: “Added automatic skill hot-reload”; “Added language setting to configure Claude’s response language”; “Added respectGitignore support in settings.json for per-project control over @-mention file picker behavior”; “Added IS_DEMO environment variable to hide email and organization from the UI, useful for streaming or recording sessions”; “Changed Shift+Enter to work out of the box in iTerm2, WezTerm, Ghostty, and Kitty without modifying terminal configs”. ↩↩

  29. Datadog Security Labs. “CVE-2025-52882: WebSocket authentication bypass in Claude Code extensions.” August 26, 2025. “This vulnerability has been fully patched in versions 1.0.24 and later, and all vulnerable versions have been removed from extension stores.” ↩

  30. Claude Code CHANGELOG, fetched November 11, 2026. 2.1.2: “Added clickable hyperlinks for file paths in tool output in terminals that support OSC 8 (like iTerm)”; “Added support for Windows Package Manager (winget) installations with automatic detection and update instructions”; “Added Shift+Tab keyboard shortcut in plan mode to quickly select “auto-accept edits” option”; “Added agent_type to SessionStart hook input, populated if --agent is specified”; “Fixed a command injection vulnerability in bash command processing where malformed input could execute arbitrary commands”. Earlier releases: 2.0.72, “Changed thinking toggle from Tab to Alt+T to avoid accidental triggers”; 2.0.70, “Added wildcard syntax mcp__server__* for MCP tool permissions to allow or deny all tools from a server”; 2.1.0, “Fixed PreToolUse hooks to allow updatedInput when returning ask permission decision”. ↩

  31. Pricing, Claude API documentation, code execution tool section, fetched November 11, 2026: “Code execution is free when used with web search or web fetch.”; “Each organization receives 1,550 free hours of usage per month.”; “Additional usage beyond 1,550 hours is billed at $0.05 USD per hour, per container.” ↩

  32. Claude Code CHANGELOG, section 2.1.0, fetched November 11, 2026: “Added hooks support to agent frontmatter, allowing agents to define PreToolUse, PostToolUse, and Stop hooks scoped to the agent’s lifecycle”; “Added hooks support for skill and slash command frontmatter”; “Added support for once: true config for hooks”. That section lists 109 changes. A 2.1.1 followed on npm on January 7, 2026 and has no CHANGELOG section. ↩

  33. Builder.io, fetched November 11, 2026: Figma’s “official Dev Mode MCP server exposes the live structure of the layer you have selected in Figma”, which the article lists as hierarchy, auto-layout, variants, text styles and token references. ↩

  34. Apidog, fetched November 11, 2026: “The Sequential Thinking MCP server equips Claude Code with structured problem-solving capabilities.” ↩

  35. Claude Code CHANGELOG, section 2.1.3, fetched November 11, 2026: “Merged slash commands and skills, simplifying the mental model with no change in behavior”; “Added release channel (stable or latest) toggle to /config”; “Changed tool hook execution timeout from 60 seconds to 10 minutes”. ↩

  36. Beyond permission prompts: making Claude Code more secure and autonomous, Anthropic Engineering, published October 20, 2025, fetched November 10, 2026: “In our internal usage, we’ve found that sandboxing safely reduces permission prompts by 84%.” Introducing Claude Opus 4.5, Anthropic, fetched November 10, 2026: “Set to a medium effort level, Opus 4.5 matches Sonnet 4.5’s best score on SWE-bench Verified, but uses 76% fewer output tokens.” The post’s SWE-bench Verified chart, an image, labels Opus 4.5 at 80.9%. ↩

  37. GitHub Releases. v2.1.4: Added CLAUDE_CODE_DISABLE_BACKGROUND_TASKS environment variable, fixed OAuth token refresh for ‘Help improve Claude’ setting. January 2026. ↩

  38. Claude Code CHANGELOG, section 2.1.0, fetched November 11, 2026: “Added support for running skills and slash commands in a forked sub-agent context using context: fork in skill frontmatter”; “Improved subagents (Task tool) to continue working after permission denial, allowing them to try alternative approaches”. VentureBeat covered the release: Claude Code 2.1.0 arrives with smoother workflows and smarter agents, Carl Franzen, January 8, 2026, read in the Internet Archive capture of January 10, 2026: “allowing subagents to try alternative approaches rather than stopping entirely”. ↩

  39. GitHub Releases. v2.1.7: MCP tool search auto mode enabled by default, showTurnDuration setting, inline agent response in task notifications, security fix for wildcard permissions. January 2026. ↩↩

  40. GitHub Releases. v2.1.6: /config search, /doctor Updates section, /stats date range filtering, nested skills discovery, context_window percentage fields, shell line continuation security fix. January 2026. ↩

  41. GitHub Releases. v2.1.5: CLAUDE_CODE_TMPDIR environment variable to override temp directory. January 2026. ↩

  42. Claude Code CHANGELOG, section 2.1.9, fetched November 11, 2026: “Added support for PreToolUse hooks to return additionalContext to the model”; “Added ${CLAUDE_SESSION_ID} string substitution for skills to access the current session ID”; “Added auto:N syntax for configuring the MCP tool search auto-enable threshold, where N is the context window percentage (0-100)”; “Added plansDirectory setting to customize where plan files are stored”. ↩↩

  43. Wikipedia: Claude (language model), fetched November 11, 2026: “Claude Cowork is a tool similar to Claude Code but with a graphical user interface, aimed at non-technical users.” ↩

  44. Claude Code Analytics API, Anthropic platform docs, fetched November 10, 2026. “Programmatically access your organization’s Claude Code usage analytics and productivity metrics with the Claude Code Analytics Admin API.” ↩↩

  45. Claude Code just got updated with one of the most-requested user features, Carl Franzen, VentureBeat, January 15, 2026, read in the Internet Archive capture of January 19, 2026, quoting Boris Cherny: “Every Claude Code user just got way more context, better instruction following, and the ability to plug in even more tools.” The article repeats accuracy figures that are Anthropic’s own, from Introducing advanced tool use on the Claude Developer Platform, November 24, 2025, fetched November 11, 2026: “Opus 4 improved from 49% to 74%, and Opus 4.5 improved from 79.5% to 88.1% with Tool Search Tool enabled.”; “This represents an 85% reduction in token usage while maintaining access to your full tool library.” Anthropic’s own adoption count is in Donating the Model Context Protocol and establishing the Agentic AI Foundation, December 9, 2025, same fetch: “more than 10,000 active public MCP servers” and “97M+ monthly SDK downloads across Python and TypeScript”. ↩

  46. GitHub Releases. Claude Code v2.1.11: Fixed excessive MCP connection requests for HTTP/SSE transports. January 17, 2026. ↩↩

  47. Boris Cherny on X. December 27, 2025: “In the last thirty days, I landed 259 PRs – 497 commits, 40k lines added, 38k lines removed. Every single line was written by Claude Code + Opus 4.5.” January 2, 2026, the thread on his own setup: “I’m Boris and I created Claude Code. Lots of people have asked how I use Claude Code, so I wanted to show off my setup a bit.” Both fetched November 11, 2026 (the full text of the first through the FxTwitter mirror of the post). A secondary write-up of the tips: Boris Cherny Claude Code Creator Shares These 22 Tips, Joe Njenga, Medium, January 2026, read in the Internet Archive capture of January 13, 2026. ↩

  48. Anthropic Pricing. API token pricing as it stood in February 2026, input/output per million tokens: Haiku 4.5 ($1/$5), Sonnet 4.6 ($3/$15), Opus 4.6 ($5/$25). ↩

  49. ykdojo/claude-code-tips, README, fetched November 11, 2026. Its title is “45+ Claude Code Tips: From Basics to Advanced” and it opens “Here are my tips for getting the most out of Claude Code, including a custom status line script and Claude Code running itself in a container.” ↩

  50. Anthropic Usage Policy, fetched November 10, 2026, lists under platform abuse: “Coordinate malicious activity across multiple accounts, or create multiple accounts, to avoid detection, circumvent product guardrails, or generate identical or similar inputs that otherwise violate our Usage Policy” and “Circumvent a ban through the use of a different account, such as the creation of a new account, use of an existing account, or providing access to a person or entity that was previously banned”. Verify your phone number, Claude Help Center, fetched November 10, 2026: “We only allow a maximum of three Claude accounts to be verified with the same phone number.” Log in to your Claude account, Claude Help Center, fetched November 10, 2026: “If you have both an individual Claude account and a Team or Enterprise plan account tied to the same email address, follow these steps to switch to your other account”. ↩

  51. Claude Code CHANGELOG, section 2.1.10, fetched November 11, 2026: “Added new Setup hook event that can be triggered via --init, --init-only, or --maintenance CLI flags for repository setup and maintenance operations”; “Added keyboard shortcut ‘c’ to copy OAuth URL when browser doesn’t open automatically during login”. ↩

  52. Claude Code CHANGELOG, section 2.1.12, fetched November 11, 2026: “Fixed message rendering bug”. ↩

  53. Claude Code CHANGELOG, section 2.1.14, fetched November 11, 2026: “Added history-based autocomplete in bash mode (!)”; “Added search to installed plugins list”; “Added support for pinning plugins to specific git commit SHAs, allowing marketplace entries to install exact versions”; “Fixed a regression where the context window blocking limit was calculated too aggressively, blocking users at ~65% context usage instead of the intended ~98%”. ↩

  54. Claude Code CHANGELOG, section 2.1.15, fetched November 11, 2026: “Added deprecation notification for npm installations”; “Improved UI rendering performance with React Compiler”; “Fixed MCP stdio server timeout not killing child process, which could cause UI freezes”. ↩

  55. GitHub Releases. v2.1.16: Task management system with dependency tracking, VSCode native plugin management, OAuth users can browse/resume remote sessions. Fixes: OOM crashes with subagent resumption, /compact warning visibility, session titles language, Windows IDE race condition. January 22, 2026. ↩

  56. GitHub issue #19098, opened January 18, 2026, a user request to bring the keyword back; it says Claude Code v2.0.x “made thinking mode “enabled by default” and deprecated explicit thinking triggers (think, think hard, ultrathink)”. UltraThink is Dead. Long Live Extended Thinking., Decode Claude, fetched November 11, 2026: “The default budget? 31,999 tokens”. Claude Code CHANGELOG, section 2.1.68, same fetch: “Re-introduced the “ultrathink” keyword to enable high effort for the next turn”. ↩

  57. Claude Code CHANGELOG, fetched November 11, 2026. 2.1.19: “Added shorthand $0, $1, etc. for accessing individual arguments in custom commands”; “Added env var CLAUDE_CODE_ENABLE_TASKS, set to false to keep the old system temporarily”; “Enabled session forking and rewind functionality for all users” (VS Code). 2.1.17: “Fixed crashes on processors without AVX instruction support”. ↩↩

  58. Claude Code Docs. v2.1.20: --add-dir flag for loading CLAUDE.md from additional directories, PR review status indicator, task deletion via TaskUpdate, vim arrow key history navigation, /copy command for all users, timestamped config backups. Fixes: session compaction issues, agents ignoring user messages, wide character rendering, JSON parsing with Unicode. January 27, 2026. ↩

  59. Claude Code on the web, Claude, October 20, 2025, fetched November 11, 2026 (the earlier claude.com/blog address redirects here): “a new way to delegate coding tasks directly from your browser”; tasks “run on Anthropic-managed cloud infrastructure”; “Every Claude Code task runs in an isolated sandbox environment with network and filesystem restrictions.”; “Git interactions are handled through a secure proxy service that ensures Claude can only access authorized repositories”; “You can also add custom network configuration to choose what domains Claude Code can connect to from its sandbox.” The page’s update note, dated September 23, 2026: “Cloud sessions (previously known as Claude Code on the web) are now generally available for Pro, Max, Ultra, and Team users, and for Enterprise users with premium seats or Chat + Claude Code seats.” An earlier update on the same page, dated November 12, 2025 in the Internet Archive capture of January 27, 2026, read: “Claude Code on the web is now available in research preview for Team and Enterprise users with premium seats, in addition to Pro and Max users.” ↩

  60. Claude Code CHANGELOG, section 2.1.21, fetched November 11, 2026: “Added support for full-width (zenkaku) number input from Japanese IME in option selection prompts”; “Improved Claude to prefer file operation tools (Read, Edit, Write) over bash equivalents (cat, sed, awk)”; for VS Code, “Added automatic Python virtual environment activation, ensuring python and pip commands use the correct interpreter (configurable via claudeCode.usePythonEnvironment setting)”. ↩

  61. Claude Code CHANGELOG, section 2.1.22, fetched November 11, 2026: “Fixed structured outputs for non-interactive (-p) mode”. ↩

  62. Claude Code CHANGELOG, section 2.1.23, fetched November 11, 2026: “Added customizable spinner verbs setting (spinnerVerbs)”; “Fixed mTLS and proxy connectivity for users behind corporate proxies or using client certificates”; “Fixed per-user temp directory isolation to prevent permission conflicts on shared systems”; “Changed merged pull requests to show a purple status indicator in the prompt footer”. ↩

  63. Claude Code CHANGELOG, section 2.1.18, fetched November 11, 2026: “Added customizable keyboard shortcuts. Configure keybindings per context, create chord sequences, and personalize your workflow. Run /keybindings to get started.” Customize keyboard shortcuts, Claude Code documentation, same fetch: “Run /keybindings to create or open your configuration file at ~/.claude/keybindings.json.” ↩

  64. Claude expands tool connections using MCP, Help Net Security, January 27, 2026, fetched November 11, 2026: “Anthropic has added interactive tool support to its Claude AI platform”; “Interactive tool support in Claude uses an extension to MCP called MCP Apps.”; “Users can view, edit, and interact with content from services including Asana, Box, Canva, Figma, Hex, monday.com, Slack and others without leaving the Claude window.” ↩

  65. Claude Platform release notes, entry of September 2, 2025, fetched November 11, 2026: “launched v2 of the Code Execution Tool in beta, replacing the original Python-only tool with Bash command execution and direct file manipulation capabilities, including writing code in other languages”. ↩

  66. Claude Code CHANGELOG, section 2.1.25, fetched November 11, 2026: “Fixed beta header validation error for gateway users on Bedrock and Vertex, ensuring CLAUDE_CODE_DISABLE_EXPERIMENTAL_BETAS=1 avoids the error”. ↩

  67. GitHub Releases. v2.1.27: --from-pr flag for PR-linked sessions, auto-link sessions to PRs via gh pr create, tool call failures in debug logs, VSCode Claude in Chrome integration. Fixes: context management validation, /context colored output, status bar duplication, permissions precedence, Windows bash/.bashrc, Windows console flashing, VSCode OAuth 401 errors. January 30, 2026. ↩

  68. Claude Code CHANGELOG. v2.1.31: Session resume hint, Japanese IME full-width space input, PDF too large errors permanently locking sessions fix, bash read-only file system errors in sandbox fix, temperatureOverride silently ignored fix, LSP shutdown compatibility, improved system prompts for dedicated tools over bash. February 2026. ↩

  69. Claude Code CHANGELOG. v2.1.30: PDF pages parameter for Read tool, large PDFs return lightweight reference, pre-configured OAuth for MCP (Slack), /debug command, 68% memory reduction for --resume, phantom ‘(no content)’ text blocks fix, prompt cache invalidation fix, subagents access SDK MCP tools fix. January 30, 2026. ↩

  70. Anthropic, January 28, 2026, fetched November 11, 2026: ServiceNow “has chosen Claude as its default model for its ServiceNow Build Agent” and “is rolling out Claude and Claude Code across its global workforce of more than 29,000 employees to streamline sales preparation”, “cutting seller preparation time by 95%”. ↩

  71. Apple brings agentic coding to Xcode with Claude, Codex, IT Brief Asia, February 4, 2026, fetched November 11, 2026: “Apple has added support for agentic coding in Xcode 26.3”; on the Claude Agent SDK, “It said the SDK is the same harness used by Claude Code. Anthropic said the integration supports subagents, background tasks, and plugins within Xcode.” ↩

  72. Anthropic. “Introducing Claude Opus 4.6.” February 5, 2026. 1M token context (beta), 128K max output, adaptive thinking, effort controls, agent teams, Terminal-Bench 2.0 highest score, GDPval-AA +144 Elo over GPT-5.2, 500+ zero-day vulnerabilities found. $5/$25 per MTok. See also TechCrunch, CNBC, Anthropic Pricing. ↩

  73. Claude Code CHANGELOG. v2.1.32: Opus 4.6 support, agent teams research preview, automatic memory recording, Summarize from here, skills from --add-dir auto-loaded, skill character budget scales with context window, bash heredoc JS template literal fix, Thai/Lao rendering fix. February 2026. ↩

  74. GitHub Blog. “Claude and Codex are now available in public preview on GitHub.” February 4, 2026. Also: GitHub Blog. “Claude Opus 4.6 is now generally available for GitHub Copilot.” February 5, 2026. ↩↩

  75. Claude Code CHANGELOG. v2.1.33: TeammateIdle and TaskCompleted hook events, Task(agent_type) sub-agent restriction syntax, memory frontmatter for agents, plugin name in skill descriptions. Fixes: tmux agent teammate sessions, agent teams plan warnings, extended thinking interruption, API proxy 404 fallback, proxy settings for WebFetch, /resume XML markup. VSCode: remote sessions for OAuth, git branch in session picker. February 2026. ↩↩

  76. Claude Code CHANGELOG, fetched November 11, 2026. 2.1.36: “Fast mode is now available for Opus 4.6.”; 2.1.37: “Fixed an issue where /fast was not immediately available after enabling /extra-usage”. Claude: Speed up responses with fast mode, Simon Willison, February 7, 2026, same fetch: “The new fast mode is $30/million input and $150/million output!”; “at a cost that’s 6x the normal price”; “There’s a 50% discount until the end of February 16th”. Speed up responses with fast mode, Claude Code documentation, same fetch: “Fast mode uses the same model with a different API configuration that prioritizes speed over cost efficiency, so quality and capabilities stay the same.” Current rates are on Anthropic Pricing. ↩↩

  77. GitHub Releases. v2.1.34: Fixed crash when agent teams setting changed between renders. Fixed bug where commands excluded from sandboxing could bypass Bash ask permission rule when autoAllowBashIfSandboxed was enabled. February 6, 2026. ↩

  78. GitHub Releases. v2.1.38: Fixed VS Code terminal scroll-to-top regression, Tab key slash command queueing, bash permission matching for env var wrappers, text disappearing between tool uses in non-streaming mode, duplicate sessions on resume in VS Code. Improved heredoc delimiter parsing to prevent command smuggling. Blocked writes to .claude/skills in sandbox mode. February 10, 2026. v2.1.39: Improved terminal rendering performance, fixed fatal errors being swallowed, process hanging after session close, character loss at terminal boundary. ↩↩

  79. Claude Code Docs. Hooks reference: prompt-based hooks, agent-based hooks, hook environment variables ($CLAUDE_PROJECT_DIR, $CLAUDE_ENV_FILE), hookSpecificOutput format for PreToolUse. February 2026. Claude Code Docs. Create custom subagents: --agents CLI flag, disallowedTools, maxTurns, mcpServers, delegate permission mode. February 2026. The sub-agents page as captured on February 12, 2026 listed the permissionMode values default, acceptEdits, delegate, dontAsk, bypassPermissions, or plan. The page fetched November 10, 2026 has no delegate value: “default, acceptEdits, auto, dontAsk, bypassPermissions, plan, or manual as an alias for default”. ↩

  80. Claude Code CHANGELOG, fetched November 11, 2026. 2.1.41: “Added claude auth login, claude auth status, and claude auth logout CLI subcommands”; “Added Windows ARM64 (win32-arm64) native binary support”; “Improved /rename to auto-generate session name from conversation context when called without arguments”. 2.1.42: “Fixed /resume showing interrupt messages as session titles”. Both reached npm on February 13, 2026. ↩↩

  81. Introducing Claude Sonnet 4.6, Anthropic, February 17, 2026, fetched November 11, 2026: “Claude Sonnet 4.6 is now the default model in claude.ai and Claude Cowork”; “Sonnet 4.6 also features a 1M token context window in beta.”; “Pricing remains the same as Sonnet 4.5, starting at $3/$15 per million tokens.” Claude Sonnet 4.6, Claude API documentation, same fetch: “Model ID: claude-sonnet-4-6”; “Context window: 1M tokens · Max output: 128K tokens”; reliable knowledge cutoff Aug 2025, training data cutoff Jan 2026. ↩

  82. Claude Code CHANGELOG, fetched November 11, 2026. 2.1.43: “Fixed AWS auth refresh hanging indefinitely by adding a 3-minute timeout”; “Fixed spurious warnings for non-agent markdown files in .claude/agents/ directory”; “Fixed structured-outputs beta header being sent unconditionally on Vertex/Bedrock”. 2.1.44: “Fixed ENAMETOOLONG errors for deeply-nested directory paths”; “Fixed auth refresh errors”. ↩

  83. Claude Code GitHub CHANGELOG. v2.1.45 (Feb 17): Sonnet 4.6 support, spinnerTipsOverride setting, SDKRateLimitInfo/SDKRateLimitEvent types, Agent Teams Bedrock/Vertex/Foundry fix, sandbox temp file fix. v2.1.46 (Feb 18): claude.ai MCP connectors in Claude Code, orphaned process fix on macOS. v2.1.47 (Feb 18): Ctrl+F kills background agents, last_assistant_message in Stop/SubagentStop hooks, chat:newline keybinding, added_dirs statusline field, /rename terminal tab title, resume picker 50 sessions, ~500ms startup improvement, memory improvements, CJK alignment fix, plan mode compaction fix, Edit tool Unicode fix, many Windows fixes. ↩↩

  84. Claude Code GitHub CHANGELOG. v2.1.49 (Feb 19): --worktree (-w) flag, isolation: "worktree" for subagents, background: true for agent definitions, ConfigChange hook event, MCP OAuth step-up auth, SDK supportsEffort/supportedEffortLevels/supportsAdaptiveThinking fields, CLAUDE_CODE_SIMPLE includes Edit tool, Sonnet 4.5 1M removed for Sonnet 4.6, WASM memory fix, permission restriction reasons. v2.1.50 (Feb 20): WorktreeCreate/WorktreeRemove hooks, startupTimeout for LSP servers, claude agents CLI command, CLAUDE_CODE_DISABLE_1M_CONTEXT env var, Opus 4.6 fast mode full 1M context, CLAUDE_CODE_SIMPLE disables MCP/hooks/CLAUDE.md, VSCode /extra-usage, agent teams memory leak fix, LSP diagnostic leak fix, Linux glibc < 2.30 fix, multiple memory optimizations. ↩↩

  85. Claude Code Security: What Businesses Should Know About Anthropic’s AI-Powered Vulnerability Scanner, Cyber Unit, February 21, 2026, fetched November 11, 2026: “a new capability built into Claude Code on the web that scans codebases for security vulnerabilities and suggests targeted patches for human review”; “The tool is now available as a limited research preview for Enterprise and Team customers, with expedited access for maintainers of open-source projects.” See also the Claude Code product page. ↩

  86. Claude Code v2.1.51 release notes, GitHub, February 24, 2026, fetched November 11, 2026: “Env var interpolation now requires an explicit allowedEnvVars list in the hook configuration.”; “HTTP hooks are now routed through the sandbox network proxy when sandboxing is enabled, enforcing the domain allowlist. HTTP hooks are not supported for SessionStart/Setup events.” Claude Code CHANGELOG, section 2.1.51, same fetch: “Added claude remote-control subcommand for external builds, enabling local environment serving for all users.”; “Added support for custom npm registries and specific version pinning when installing plugins from npm sources”; “Updated plugin marketplace default git timeout from 30s to 120s and added CLAUDE_CODE_PLUGIN_GIT_TIMEOUT_MS to configure.”; “Tool results larger than 50K characters are now persisted to disk (previously 100K).”; “BashTool now skips login shell (-l flag) by default when a shell snapshot is available, improving command execution performance.”; “Fixed a security issue where statusLine and fileSuggestion hook commands could execute without workspace trust acceptance in interactive mode.”; “The /model picker now shows human-readable labels”. Orchestrate teams of Claude Code sessions, Claude Code documentation, same fetch, covers plan approval for teammates and, under “Enforce quality gates with hooks”, the TeammateIdle and TaskCompleted hooks. ↩↩

  87. Claude Code CHANGELOG, sections 2.1.52 to 2.1.56 (there is no 2.1.54 section), fetched November 11, 2026. 2.1.52: “VS Code: Fixed extension crash on Windows”. 2.1.53: “Fixed a UI flicker where user input would briefly disappear after submission before the message rendered”; “Fixed bulk agent kill (ctrl+f) to send a single aggregate notification instead of one per agent, and to properly clear the command queue”; “Fixed graceful shutdown sometimes leaving stale sessions when using Remote Control by parallelizing teardown network calls”; “Fixed --worktree sometimes being ignored on first launch”. 2.1.55: “Fixed BashTool failing on Windows with EINVAL error”. Orchestrate teams of Claude Code sessions, Claude Code documentation, same fetch: team config at ~/.claude/teams/{team-name}/config.json, task list at ~/.claude/tasks/{team-name}/, and “it unblocks the dependent tasks without any action from you”. ↩↩

  88. GitHub Releases. v2.1.59 (Feb 26): Claude automatically saves useful context to auto-memory (manage with /memory). /copy command with interactive picker for code blocks. Improved ‘always allow’ prefix suggestions for compound bash commands. Memory usage improvements in multi-agent sessions. MCP OAuth token refresh race condition fix. Config file corruption fix for concurrent writes. February 26, 2026. ↩

  89. Continue local sessions from any device with Remote Control, Claude Code documentation, fetched November 10, 2026: “Your local Claude Code session makes outbound HTTPS requests only and never opens inbound ports on your machine”; “All traffic travels through the Anthropic API over TLS, the same transport security as any Claude Code session”. Claude Code CHANGELOG, 2.1.51: “Added claude remote-control subcommand for external builds, enabling local environment serving for all users.”; 2.1.58: “Expand Remote Control to more users”. ↩

  90. Caught in the Hook: RCE and API Token Exfiltration Through Claude Code Project Files, Check Point Research, February 25, 2026, fetched November 11, 2026, the research behind CVE-2025-59536 and CVE-2026-21852: “All reported issues have been successfully patched prior to this publication.” The fixed versions are in the GitHub Advisory Database: GHSA-4fgq-fpq9-mr3g (CVE-2025-59536, patched in 1.0.111) and GHSA-jh7p-qr78-84p7 (CVE-2026-21852, patched in 2.0.65). ↩

  91. SemiAnalysis. “Claude Code is the Inflection Point.” February 5, 2026, fetched November 10, 2026: “4% of GitHub public commits are being authored by Claude Code right now.” ↩

  92. GitHub Releases. v2.1.63 (Feb 28): /simplify and /batch bundled slash commands, worktree-shared project configs and auto-memory, ENABLE_CLAUDEAI_MCP_SERVERS=false opt-out, HTTP hooks type: http handler, /copy ‘Always copy full response’ option, VSCode session rename/remove, /clear resets skill cache, multiple memory leak fixes, REPL bridge race condition fix. February 28, 2026. ↩

  93. Claude and Codex now available for Copilot Business & Pro users, GitHub Changelog, February 26, 2026, fetched November 11, 2026: “Claude by Anthropic and OpenAI Codex are now available as coding agents for Copilot Business and Copilot Pro customers. Copilot Enterprise and Pro+ customers received access earlier this month”; “Access to Claude and Codex is fully included with your existing Copilot subscription. Each coding agent session consumes one premium request during public preview.”; “You can run Claude, Codex, and Copilot directly inside github.com, GitHub Mobile, and VS Code”. ↩

  94. Claude Code Docs. “In version 2.1.63, the Task tool was renamed to Agent. Existing Task(...) references in settings and agent definitions still work as aliases.” February 28, 2026. ↩

  95. Claude Code CHANGELOG, section 2.1.51, fetched November 11, 2026: “Managed settings can now be set via macOS plist or Windows Registry.” ↩

  96. CNBC. “Figma partners with Anthropic on AI feature integrating Claude Code.” February 17, 2026. ↩

  97. Claude Code CHANGELOG, fetched November 11, 2026. 2.1.68: “Opus 4.6 now defaults to medium effort for Max and Team subscribers.”; “Re-introduced the “ultrathink” keyword to enable high effort for the next turn”; “Removed Opus 4 and 4.1 from Claude Code on the first-party API”. 2.1.70: “Fixed /security-review command failing with unknown option merge-base on older git versions”; for VS Code, “Added spark icon in VS Code activity bar that lists all Claude Code sessions, with sessions opening as full editors”, “Added full markdown document view for plans in VS Code, with support for adding comments to provide feedback” and “Added native MCP server management dialog”. ↩↩↩

  98. GitHub Releases. v2.1.69: /claude-api skill, InstructionsLoaded hook event, agent_id/agent_type/worktree in hook events, ${CLAUDE_SKILL_DIR}, /reload-plugins, sandbox.enableWeakerNetworkIsolation, includeGitInstructions setting, remote-control custom names, Voice STT 10 new languages (20 total), effort level display, Ctrl+U exit bash, numeric keypad support, Sonnet 4.5→4.6 auto-migration. 70+ bug fixes. March 5, 2026. ↩↩

  99. Claude Code rolls out a voice mode capability, TechCrunch, March 3, 2026, fetched November 11, 2026: “voice mode is now live for about 5% of users, with a broader rollout planned in the coming weeks”; “To enable it, type /voice to toggle it on”. Anthropic adding voice mode to Claude Code in gradual rollout, 9to5Mac, March 3, 2026, same fetch: “Voice mode is activated within Claude Code by holding the space bar to talk, then releasing to send off the input”. ↩↩

  100. Claude Code CHANGELOG, section 2.1.71, fetched November 11, 2026: “Added /loop command to run a prompt or slash command on a recurring interval (e.g. /loop 5m check the deploy)”; “Added voice:pushToTalk keybinding to make the voice activation key rebindable in keybindings.json (default: space)”; “Added fmt, comm, cmp, numfmt, expr, test, printf, getconf, seq, tsort, and pr to the bash auto-approval allowlist”; “Fixed stdin freeze in long-running sessions where keystrokes stop being processed but the process stays alive”. ↩↩

  101. Bringing Code Review to Claude Code, Claude, March 9, 2026, fetched November 11, 2026 (the earlier claude.com/blog address redirects here): “Now in research preview for Team and Enterprise.”; “The agents look for bugs in parallel, verify bugs to filter out false positives, and rank bugs by severity. The result lands on the PR as a single high-signal overview comment, plus in-line comments for specific bugs.”; “Based on our testing, the average review takes around 20 minutes.”; “Before, 16% of PRs got substantive review comments. Now 54% do.”; “less than 1% of findings are marked incorrect”; “It won’t approve PRs”. Reviews “are billed on token usage” and average $15 to $25; admin controls are “Monthly organization caps”, “Repository-level control” and an “Analytics dashboard”. Anthropic launches code review tool to check flood of AI-generated code, TechCrunch, March 9, 2026. ↩↩

  102. GitHub Releases. v2.1.72: Tool search with ANTHROPIC_BASE_URL, w key in /copy for file writes, /plan description args, ExitWorktree tool, CLAUDE_CODE_DISABLE_CRON, expanded bash allowlist (lsof/pgrep/tput/ss/fd/fdfind), restored model on Agent tool, simplified effort symbols (○/◐/●), /config navigation improvements, bundle size −510KB, VSCode URI handler. March 10, 2026. ↩↩

  103. GitHub Releases. v2.1.73: modelOverrides setting for custom provider model IDs (Bedrock/Vertex/Foundry). Deprecated /output-style (use /config). Default Opus changed to 4.6 on Bedrock/Vertex/Foundry. Up arrow after interrupt restores prompt + rewinds. /effort works while responding. SSL certificate error guidance. Bug fixes: CPU freeze, deadlock, SessionStart hooks firing twice. March 11, 2026. ↩

  104. GitHub Releases. v2.1.74: /context actionable suggestions. autoMemoryDirectory setting. --plugin-dir override behavior change. CLAUDE_CODE_SESSIONEND_HOOKS_TIMEOUT_MS configurable timeout. Managed policy enforcement fix (ask rules bypassed by user allow). Memory leak fix (streaming buffers). RTL text rendering fix. MCP OAuth fixes. March 12, 2026. ↩

  105. Claude Code CHANGELOG, section 2.1.75 (March 13, 2026), fetched November 11, 2026: “Added 1M context window for Opus 4.6 by default for Max, Team, and Enterprise plans (previously required extra usage)”; “Added /color command for all users to set a prompt-bar color for your session”; “Added session name display on the prompt bar when using /rename”; “Added last-modified timestamps to memory files, helping Claude reason about which memories are fresh vs. stale”; “Added hook source display (settings/plugin/skill) in permission prompts when a hook requires confirmation”; “Breaking change: Removed deprecated Windows managed settings fallback at C:\ProgramData\ClaudeCode\managed-settings.json”. ↩

  106. GitHub Releases. v2.1.76: MCP elicitation support: MCP servers can request structured input mid-task via interactive dialogs (form fields or browser URL). New Elicitation and ElicitationResult hooks. -n/--name CLI flag for session display names. worktree.sparsePaths for git sparse-checkout in monorepos. PostCompact hook. /effort slash command. Session quality survey (feedbackSurveyRate). Bug fixes: deferred tools losing input schemas after compaction, plan mode re-approval, voice mode keypresses, auto-compaction circuit breaker (3 attempts max), clipboard copying in tmux over SSH, Remote Control session stability. March 14, 2026. ↩

  107. GitHub CHANGELOG. v2.1.77: Increased default max output tokens for Opus 4.6 to 64K, upper bound for Opus 4.6 and Sonnet 4.6 to 128K. allowRead sandbox filesystem setting. /copy N copies Nth-latest response. /fork renamed to /branch. Agent tool resume parameter removed (use SendMessage). SendMessage auto-resumes stopped agents. Sessions auto-named from plans. Background bash tasks killed at 5GB. claude plugin validate checks frontmatter + hooks. ~60ms faster macOS startup, --resume 45% faster with ~100-150MB less memory. Security: PreToolUse allow no longer bypasses deny rules. 25+ bug fixes. March 17, 2026. ↩

  108. GitHub Releases v2.1.78. v2.1.78: StopFailure hook event, ${CLAUDE_PLUGIN_DATA} persistent plugin state, agent frontmatter (effort/maxTurns/disallowedTools), ANTHROPIC_CUSTOM_MODEL_OPTION, tmux notification passthrough, line-by-line response streaming. Security: visible warning on missing sandbox deps. Fixes: large session truncation >5MB, infinite stop hook loop, sandbox absolute paths, voice WSL2, Homebrew PATH in VS Code. March 17, 2026. ↩↩

  109. GitHub Releases v2.1.79. v2.1.79: --console flag for API billing auth, /remote-control VS Code command, AI-generated session titles in VS Code, CLAUDE_CODE_PLUGIN_SEED_DIR multiple directories, ~18MB startup memory reduction, 2-min non-streaming API timeout, SessionEnd hooks fire on /resume switch. Fixes: -p hanging as subprocess, Ctrl+C in print mode, /btw wrong output, voice mode startup, enterprise 429 retry. March 18, 2026. ↩↩

  110. GitHub Releases v2.1.80. v2.1.80: rate_limits field in statusline scripts, source: 'settings' plugin marketplace source, effort frontmatter for skills. Claude Code Channels research preview: Telegram/Discord messaging into sessions via channel server plugins and --channels flag. Windows PATH inheritance fix for Git Bash. March 19, 2026. ↩↩

  111. GitHub Releases v2.1.83. v2.1.83: managed-settings.d/ drop-in directory, CwdChanged/FileChanged hook events, sandbox.failIfUnavailable, CLAUDE_CODE_SUBPROCESS_ENV_SCRUB=1, transcript search, initialPrompt agent frontmatter, Ctrl+X Ctrl+E external editor alias, stop-all-agents changed to Ctrl+X Ctrl+K, TaskOutput deprecated. 35+ bug fixes. March 25, 2026. ↩↩

  112. Auto mode for Claude Code, Claude, March 24, 2026, fetched November 11, 2026 (the earlier claude.com/blog address redirects here): “Auto mode provides a safer long-running alternative to --dangerously-skip-permissions.”; “Before each tool call runs, a classifier reviews it to check for potentially destructive actions like mass deleting files, sensitive data exfiltration, or malicious code execution.”; “Auto mode is available in Claude Code as a research preview for Claude Team users today, and will roll out to Enterprise and API users in the coming days. It works with both Claude Sonnet 4.6 and Opus 4.6.” The article does not name the classifier’s model. The engineering post does: How we built Claude Code auto mode: a safer way to skip permissions, Anthropic Engineering, March 25, 2026, same fetch: “the transcript classifier (running on Sonnet 4.6) evaluates each action against a set of decision criteria before it executes”. ↩

  113. Choose a permission mode, Claude Code documentation, fetched November 11, 2026. How auto mode evaluates an action: “Each action goes through a fixed decision order. The first matching step wins”; “Actions matching your allow, ask, or deny rules resolve immediately”, with the exceptions the page lists; “Read-only actions and file edits in your working directory are auto-approved, except writes to protected paths and a read that shows the first-read prompt.”; “Everything else goes to the classifier, apart from critical-path removals under their default handling.” Blocked by default, among others: “Downloading and executing code, like curl | bash”; “Sending sensitive data to external endpoints”; “Production deploys and migrations”; “Mass deletion on cloud storage”; “Granting IAM or repo permissions”; “Force push”, with no branch named. Repeated blocks: “if the classifier blocks an action 3 times in a row or 20 times total, auto mode pauses and Claude Code resumes prompting”. Re-read November 25, 2026; the quotations that had drifted are given in that day’s wording. ↩

  114. GitHub Releases v2.1.89. v2.1.89: defer permission decision for headless sessions, MCP_CONNECTION_NONBLOCKING=true, autocompact thrash loop detection, Bash stale-edit warning, symlink-aware allow rules. v2.1.88 was withdrawn, and the CHANGELOG lists its items under 2.1.89 (see 125). Published to npm March 31, 2026. ↩

  115. Claude Code CHANGELOG, section 2.1.89 (npm, March 31, 2026), fetched November 11, 2026: “Added PermissionDenied hook that fires after auto mode classifier denials”; “Added CLAUDE_CODE_NO_FLICKER=1 environment variable to opt into flicker-free alt-screen rendering with virtualized scrollback”. v2.1.88 was published to npm on March 30, 2026 and later withdrawn: the registry keeps its publish time but no longer lists the version, GitHub has the tag but no release, and the CHANGELOG has no 2.1.88 section, so its items sit under 2.1.89. ↩↩↩

  116. How Boris Uses Claude Code, a community compilation of Boris Cherny’s public tips, built by @CarolinaCherry and marked “Not affiliated with Anthropic” (fetched November 11, 2026, when it listed “142+ Tips”). As it stood in March 2026: 72+ tips covering /dream memory consolidation, /batch parallel migrations, /schedule cloud jobs, /btw side queries, worktrees, custom agents, auto mode, and advanced workflows. ↩

  117. GitHub Releases v2.1.86. v2.1.86: X-Claude-Code-Session-Id header, Read tool compact format, auto mode plan messaging, skill description cap, @ mention token reduction, Jujutsu/Sapling exclusions, --resume fix for pre-2.1.85 sessions, 15+ bug fixes. March 27, 2026. v2.1.87 (March 28): Cowork Dispatch message delivery fix. ↩

  118. GitHub Releases v2.1.85. v2.1.85: Conditional if field for hooks, PreToolUse hooks satisfy AskUserQuestion, MCP env vars for headersHelper, MCP OAuth RFC 9728, org-blocked plugins hidden, timestamp markers for /loop, deep link queries 5K chars, /compact fix for oversized conversations. 20+ bug fixes. March 26, 2026. ↩↩

  119. GitHub Releases v2.1.84. v2.1.84: PowerShell tool (Windows opt-in), TaskCreated hook event, WorktreeCreate HTTP hook support, ANTHROPIC_DEFAULT model capability env vars, CLAUDE_STREAM_IDLE_TIMEOUT_MS, allowedChannelPlugins managed setting, paths: YAML glob list in rules/skills, MCP 2KB description cap, idle-return prompt after 75+ min, token counts 1.5m format, CJK IME fix. 25+ bug fixes. March 26, 2026. ↩↩

  120. GitHub Releases v2.1.81. v2.1.81: --bare flag for scripted -p calls (skips hooks, LSP, plugin sync, skill directory walks). --channels permission relay for channel servers. Assistant honors ‘no memory’ requests. March 20, 2026. ↩↩

  121. Three reports on the Claude Code source that the npm package exposed on March 31, 2026, each fetched November 10, 2026. Anthropic Accidentally Exposes Claude Code Source via npm Source Map File, InfoQ, April 7, 2026: “Version 2.1.88 of the @anthropic-ai/claude-code package shipped with a source map file that should never have been included.”; “Claude Code uses the Bun runtime, which generates source maps by default unless you explicitly disable them.” The Claude Code Source Leak: fake tools, frustration regexes, undercover mode, and more, Alex Kim, March 31, 2026: “Every bash command runs through 23 numbered security checks in bashSecurity.ts”; the autoCompact.ts comment “BQ 2026-03-10: 1,279 sessions had 50+ consecutive failures (up to 3,272) in a single session, wasting ~250K API calls/day globally.” beside MAX_CONSECUTIVE_AUTOCOMPACT_FAILURES = 3; “userPromptKeywords.ts contains a regex pattern that detects user frustration”; on the cause, “A Bun bug (oven-sh/bun#28001), filed on March 11, reports that source maps are served in production mode even though Bun’s own docs say they should be disabled.” Reading leaked Claude Code source code, March 31, 2026: “The bash security system (bashSecurity.ts, 2,592 lines)”; “the file that implements this classifier is called yoloClassifier.ts (1,495 lines)”; a companion pet system with 18 species. ↩

  122. Two readings of the source exposed on March 31, 2026, each fetched November 10, 2026. Reading leaked Claude Code source code, March 31, 2026: “the file that implements this classifier is called yoloClassifier.ts (1,495 lines)”; coordinator mode “explicitly tells the orchestrating agent” to “Never write ‘based on your findings’ or ‘based on the research.’ These phrases delegate understanding to the worker instead of doing it yourself.” The Claude Code Source Leak: fake tools, frustration regexes, undercover mode, and more, Alex Kim, March 31, 2026: “promptCacheBreakDetection.ts tracks 14 cache-break vectors, and there are “sticky latches” that prevent mode toggles from busting the cache.”; “The multi-agent coordinator in coordinatorMode.ts is interesting because the orchestration logic lives entirely in a prompt.” The same post covers the anti-distillation defenses (fake tool injection, connector-text summarization), undercover mode for codename concealment, the KAIROS autonomous agent prototype, and native client attestation in Bun’s Zig HTTP stack. ↩

  123. GitHub Releases v2.1.90. v2.1.90: /powerup interactive lessons, auto mode respects explicit user boundaries, --resume prompt cache regression fix, PreToolUse JSON stdout exit-2 fix, PostToolUse format-on-save fix, PowerShell security hardening (4 vectors), SSE linear-time streaming, transcript write performance, DNS cache privacy. April 1, 2026. ↩

  124. GitHub Releases v2.1.91. v2.1.91: MCP _meta["anthropic/maxResultSizeChars"] up to 500K, disableSkillShellExecution setting, plugin bin/ executables, multi-line deep link prompts, Edit tool shorter old_string anchors, improved /claude-api skill, transcript chain break fix. April 2, 2026. ↩

  125. GitHub Releases v2.1.92. v2.1.92: forceRemoteSettingsRefresh fail-closed policy, interactive Bedrock setup wizard, per-model+cache-hit /cost breakdown, /release-notes interactive picker, Remote Control hostname prefix, prompt cache expiry footer hint, removed /tag and /vim, Linux sandbox apply-seccomp helper, Write tool 60% faster diff for large files. April 4, 2026. ↩

  126. Claude Code Buddy terminal pet. April 1, 2026. /buddy command launches a Tamagotchi-style ASCII companion pet. 18 species (duck, goose, cat, rabbit, owl, penguin, turtle, snail, dragon, octopus, axolotl, ghost, robot, blob, cactus, mushroom, chonk, capybara). 5 rarity tiers. 5 stats (DEBUGGING, PATIENCE, CHAOS, WISDOM, SNARK). Deterministic from account ID hash (Mulberry32). Pro subscription required. Originally discovered in source leak, officially shipped April 1. ↩

  127. Assessing Claude Mythos Preview’s cybersecurity capabilities (the earlier red.anthropic.com/2026/mythos-preview/ address redirects here). Anthropic, April 7, 2026. New frontier model beyond Opus 4.6. Restricted to Project Glasswing partners (Apple, Amazon, Microsoft, Google, Linux Foundation + others) for defensive cybersecurity. Found thousands of high/critical-severity zero-days including 27-year-old OpenBSD TCP SACK bug, 16-year-old FFmpeg H.264 vulnerability, FreeBSD NFS RCE (CVE-2026-4747). Runs via Claude Code in isolated containers. $100M in usage credits, $4M to open-source security. Led by Nicholas Carlini. Not generally available; future “Cyber Verification Program” planned for security professionals. See also: TechCrunch, VentureBeat, Simon Willison. ↩

  128. GitHub Releases v2.1.94. v2.1.94: Bedrock via Mantle (CLAUDE_CODE_USE_MANTLE=1), default effort level changed from medium to high for API/Bedrock/Vertex/Foundry/Team/Enterprise, compact Slack MCP header, hookSpecificOutput.sessionTitle for UserPromptSubmit hooks, plugin skill name from frontmatter, 429 rate-limit surfacing, macOS keychain login fix, plugin hook fixes, scrollback/rendering fixes. April 7, 2026. v2.1.96 (April 8): Bedrock auth regression hotfix. ↩

  129. GitHub Releases v2.1.97. v2.1.97: Fixed --dangerously-skip-permissions silently downgrading to accept-edits after protected path write. Fixed MCP HTTP/SSE connections leaking ~50 MB/hr on reconnect. Fixed 429 retries burning all attempts in ~13s. Focus view toggle (Ctrl+O) in NO_FLICKER mode. refreshInterval status line setting. Cedar syntax highlighting. 25+ bug fixes. April 8, 2026. ↩

  130. GitHub Releases v2.1.98. v2.1.98: Google Vertex AI setup wizard, CLAUDE_CODE_PERFORCE_MODE, Monitor tool for background scripts, --exclude-dynamic-system-prompt-sections, CLAUDE_CODE_SUBPROCESS_ENV_SCRUB PID namespace isolation, CLAUDE_CODE_SCRIPT_CAPS limit. Bash security fixes: backslash-escaped flag bypass, compound command bypass, env-var prefix auto-allow, /dev/tcp and /dev/udp redirect blocking. April 9, 2026. ↩

  131. GitHub Releases v2.1.101. v2.1.101: /team-onboarding command, OS CA certificate store trust by default (CLAUDE_CODE_CERT_STORE=bundled to override), /ultraplan auto-creates cloud environment, improved brief mode retry, improved focus mode summaries, rate-limit retry shows which limit and reset time, settings resilience for unrecognized hook events. April 10, 2026. ↩

  132. Introducing Claude Opus 4.7. Anthropic, April 16, 2026. New flagship model. Pricing: $5/$25 per MTok (same as Opus 4.6). Model ID: claude-opus-4-7. Available across Claude products, API, Amazon Bedrock, Google Cloud Vertex AI, and Microsoft Foundry. Customer reports quoted in the post, fetched November 11, 2026: “On Rakuten-SWE-Bench, Claude Opus 4.7 resolves 3x more production tasks than Opus 4.6” and “On CursorBench, Opus 4.7 is a meaningful jump in capabilities, clearing 70% versus Opus 4.6 at 58%.” See also Claude model pricing. ↩

  133. What’s new in Claude Opus 4.7. Anthropic platform docs, archived April 22, 2026; the live URL now redirects to the Opus 5.5 page. 1M token context at standard API pricing with no long-context premium. 128K max output. Breaking changes: extended thinking budget_tokens removed (adaptive thinking only), temperature/top_p/top_k non-default returns 400, thinking content omitted by default. New tokenizer (roughly 1x to 1.35x token counts). New xhigh effort level. Task budgets beta (header task-budgets-2026-03-13). Vision: 2,576 px / 3.75 MP with 1:1 pixel coordinates. The live Claude Opus 4.7 model page, fetched November 10, 2026, still gives “Context window: 1M tokens” and “Max output: 128K tokens”. ↩

  134. Claude Code CHANGELOG. Primary source for v2.1.105 through v2.1.112. v2.1.105 (PreCompact hooks can block, monitors plugin manifest, EnterWorktree path arg, /proactive alias, skill description cap raised to 1536). v2.1.107 (thinking hint timing). v2.1.108 (ENABLE_PROMPT_CACHING_1H, Session Recap//recap, model can invoke built-in slash commands via Skill tool, /undo alias, /model mid-conversation warning). v2.1.109 (extended-thinking indicator). v2.1.110 (/tui//tui fullscreen, push notifications tool for Remote Control, /focus separated from Ctrl+O, autoScrollEnabled, --resume/--continue resurrects scheduled tasks, /context//exit//reload-plugins from Remote Control clients, Session Recap for telemetry-disabled users, TRACEPARENT/TRACESTATE distributed tracing, Write tool informs model when user edited diff, security hardening around PermissionRequest hooks and open-in-editor). v2.1.111 (Opus 4.7 launch support, xhigh effort, /effort interactive slider, Auto Mode for Max without flag, /less-permission-prompts, /ultrareview, “Auto (match terminal)” theme, Windows PowerShell tool via CLAUDE_CODE_USE_POWERSHELL_TOOL, read-only Bash permission reduction with glob patterns, /setup-vertex and /setup-bedrock improvements, OTEL_LOG_RAW_API_BODIES). v2.1.112 (“temporarily unavailable” hotfix for Opus 4.7 in Auto Mode). See also: GitHub blog on Opus 4.7 GA, Cyber Verification Program form. ↩↩↩↩↩↩↩

  135. Claude Code CHANGELOG. v2.1.113 (April 17, 2026): CLI spawns a native Claude Code binary via per-platform optional dependency instead of bundled JavaScript; sandbox.network.deniedDomains blocks specific domains even when allowedDomains wildcards would permit them; fullscreen Shift+↑/Shift+↓ scrolls the viewport when extending a selection past the visible edge; Ctrl+A/Ctrl+E move to the start/end of the current logical line in multiline input (readline-style); Windows Ctrl+Backspace deletes the previous word; /loop Esc cancels pending wakeups and shows “Claude resuming /loop wakeup” messages; /extra-usage now works from Remote Control (mobile/web) clients; /ultrareview faster launch with parallelized checks, diffstat in the launch dialog, and animated launching state; subagents that stall mid-stream fail with a clear error after 10 minutes; Bash multi-line commands whose first line is a comment show the full command in the transcript (UI-spoofing fix); cd <current-directory> && git … no longer prompts on no-ops; macOS Bash(rm:*) allow rules treat /private/{etc,var,tmp,home} as dangerous removal targets; Bash deny rules match commands wrapped in env/sudo/watch/ionice/setsid and similar wrappers; Bash(find:*) allow rules no longer auto-approve find -exec/-delete; Opus 4.7 via Bedrock Application Inference Profile ARN no longer returns thinking.type.enabled is not supported 400; plus fixes for MCP concurrent-call timeout handling, markdown tables with pipe-containing inline code, session recap auto-firing during composition, Remote Control subagent streaming and archival, SDK image-block failures degrading to text, and dangerouslyDisableSandbox bypassing permission prompts. v2.1.114 (April 18, 2026): single fix for a crash in the permission dialog when an agent-teams teammate requested tool permission. ↩↩↩↩↩↩

  136. Claude Code CHANGELOG, composite reference for v2.1.116 (April 20, 2026), v2.1.117 (April 22, 2026), v2.1.118 (April 23, 2026), and v2.1.119 (April 23, 2026). v2.1.116: /resume 67% faster on 40MB+ sessions; faster MCP startup with multiple stdio servers (resources/templates/list deferred to first @-mention); inline thinking spinner (“still thinking”, “thinking more”, “almost done thinking”); /config search now matches option values; /doctor opens during a turn; plugin auto-install missing dependencies; Bash tool surfaces gh GitHub API rate-limit hint; Settings Usage tab shows immediately and survives rate-limited usage endpoint; agent frontmatter hooks: fire when running as main-thread agent via --agent; security fix: sandbox auto-allow no longer bypasses dangerous-path check for rm/rmdir targeting /, $HOME, or other critical roots. (The April 16 system-prompt verbosity constraint that v2.1.116 reverted is documented in the postmortem at 150 rather than the v2.1.116 release notes.)

    v2.1.117: CLAUDE_CODE_FORK_SUBAGENT=1 for forked subagents on external builds; agent frontmatter mcpServers load for main-thread agent sessions via --agent; /model selections persist across restarts even when project pins different model and startup header shows pin source; /resume offers stale-session summary; concurrent MCP startup (local + claude.ai) by default; blockedMarketplaces/strictKnownMarketplaces enforced on plugin install/update/refresh/autoupdate; Advisor Tool experimental with label, learn-more link, startup notification when enabled; cleanupPeriodDays retention sweep covers ~/.claude/tasks/, ~/.claude/shell-snapshots/, ~/.claude/backups/; OTel user_prompt events include command_name/command_source (custom/MCP names redacted unless OTEL_LOG_TOOL_DETAILS=1); cost.usage/token.usage/api_request/api_error include effort attribute; native macOS/Linux builds replace Glob/Grep with embedded bfs/ugrep via the Bash tool; default effort for Pro/Max on Sonnet 4.6 and Opus 4.6 is now high (was medium); fix: Opus 4.7 sessions were computing /context against 200K window instead of native 1M, causing premature autocompact. v2.1.118: vim visual mode (v) and visual-line mode (V) with selection, operators, visual feedback; /cost and /stats merged into /usage (typing shortcuts retained); named themes via /theme or ~/.claude/themes/*.json (plugins ship themes/ directory); hooks invoke MCP tools directly via type: "mcp_tool"; DISABLE_UPDATES env var blocks all update paths including manual claude update (stricter than DISABLE_AUTOUPDATER); WSL inherits Windows-side managed settings via wslInheritsWindowsSettings policy; $defaults sentinel in autoMode.allow/soft_deny/environment adds custom rules alongside built-in list; “Don’t ask again” auto mode opt-in; claude plugin tag creates release git tags with version validation.

    v2.1.119: /config settings (theme, editor mode, verbose) persist to ~/.claude/settings.json with project/local/policy precedence; prUrlTemplate setting points footer PR badge at custom code-review URL instead of github.com; CLAUDE_CODE_HIDE_CWD hides working directory in startup logo; --from-pr accepts GitLab MR, Bitbucket PR, GitHub Enterprise PR URLs; --print honors agent tools:/disallowedTools: frontmatter; --agent <name> honors permissionMode for built-in agents; PowerShell tool commands auto-approve in permission mode (matches Bash); PostToolUse/PostToolUseFailure hook inputs include duration_ms (tool execution time, excluding permission prompts and PreToolUse hooks); subagent and SDK MCP server reconfiguration connects servers in parallel; security: blockedMarketplaces correctly enforces hostPattern and pathPattern entries; OTel tool_result and tool_decision events include tool_use_id; tool_result includes tool_input_size_bytes; status line stdin JSON includes effort.level and thinking.enabled; tool search disabled by default on Vertex AI (opt in with ENABLE_TOOL_SEARCH). ↩↩↩

  137. An update on recent Claude Code quality reports. Anthropic engineering postmortem, April 23, 2026. Covers three independent quality regressions resolved by April 20 (v2.1.116), with usage limits reset for all subscribers on April 23: (1) Reasoning effort default: changed from high to medium on March 4, 2026 to cut very long latency that made the UI appear frozen; reverted April 7 after users said they would rather default to higher intelligence and opt into lower effort for simple tasks. Affected Sonnet 4.6 and Opus 4.6. (2) Prompt cache thinking-clear bug: a change meant to clear older thinking once from sessions idle for over an hour instead cleared it on every turn for the rest of the session, causing forgetfulness, repetition, and faster usage limit drain. Active March 26 to April 10, fixed in v2.1.101. Affected Sonnet 4.6 and Opus 4.6. (3) System prompt verbosity constraint: added April 16 to handle Opus 4.7’s chattiness; the post says “One of these evaluations showed a 3% drop for both Opus 4.6 and 4.7” and “This impacted Sonnet 4.6, Opus 4.6, and Opus 4.7”; reverted April 20 in v2.1.116. Anthropic’s stated mitigations: a larger share of internal staff on the exact public build, improvements to the Code Review tool it uses internally, tighter controls on system prompt changes with a broad suite of per-model evals for each one, and, for any change that could trade off against intelligence, “soak periods, a broader eval suite, and gradual rollouts”. Fetched November 11, 2026. ↩

  138. Claude Code release notes — composite reference for v2.1.121 (April 28, 2026, 00:31 UTC) and v2.1.122 (April 28, 2026, 22:05 UTC). v2.1.121: alwaysLoad MCP server-config option (skip tool-search deferral); MCP startup auto-retry 3x; claude plugin prune and --prune cascade; type-to-filter /skills; PostToolUse hookSpecificOutput.updatedToolOutput extended from MCP-only to all tools; .claude/skills/, .claude/agents/, .claude/commands/ exempt from --dangerously-skip-permissions prompt; Vertex AI X.509 cert-based Workload Identity Federation (mTLS ADC); SDK mcp_authenticate redirectUri; OTel adds stop_reason, gen_ai.response.finish_reasons, and user_system_prompt (gated behind OTEL_LOG_USER_PROMPTS) to LLM-request spans; /terminal-setup enables iTerm2 clipboard access for /copy from tmux; tab title in language setting; CLAUDE_CODE_FORK_SUBAGENT=1 extended to non-interactive claude -p; faster post-upgrade startup (Recent Activity panel removed from release-notes splash); claude.ai connector deduplication against same upstream URL. v2.1.122: ANTHROPIC_BEDROCK_SERVICE_TIER env var (default/flex/priority) sent as X-Amzn-Bedrock-Service-Tier; /resume PR URL search across GitHub, GHE, GitLab, Bitbucket; /mcp shows hidden connectors with remove-duplicate hint and clarifies post-browser unauthorized message; OTel claude_code.at_mention log event for @-mention resolution; numeric attributes on api_request/api_error emitted as numbers (was strings). High-signal fixes across both: ~2GB memory leak in /usage, multi-GB RSS growth on image-heavy sessions, --resume corrupt-transcript-line skip + large external-build session crash fix, Bash recovery when CWD deleted/moved, Bedrock thinking-on-application-inference-profile fix, Vertex/Bedrock output_config extra-input rejection on structured output, ToolSearch missing nonblocking MCP tools that connected after session start, image-resize ceiling 2576→2000 px on newer models, !exit/!quit in bash mode no longer kills CLI, scrollback duplication on tmux/GNOME/Windows Terminal/Konsole, malformed hooks entry no longer invalidates the entire settings.json. ↩↩

  139. Claude Code v2.1.123 release notes. April 29, 2026, 03:29 UTC. Single bug fix: “Fixed OAuth authentication failing with a 401 retry loop when CLAUDE_CODE_DISABLE_EXPERIMENTAL_BETAS=1 is set.” ↩

  140. Release notes read May 6, 2026: Claude Code v2.1.126 release notes, Claude Code v2.1.128 release notes, Claude Code v2.1.129 release notes, Claude Code v2.1.131 release notes, Claude Code CHANGELOG, and the npm registry record for @anthropic-ai/claude-code, whose time field dates 2.1.131 to 2026-05-06T07:41:53Z. v2.1.126 added gateway model discovery for /model, claude project purge, OAuth code paste fallback, skill activation OTel, PowerShell primary-shell behavior on Windows, and changed --dangerously-skip-permissions protected-path prompting. v2.1.128 added zip support to --plugin-dir, MCP tool-count and zero-tool visibility, console-auth --channels, fixed EnterWorktree, and repaired plugin/cache/MCP/session issues. v2.1.129 added --plugin-url, CLAUDE_CODE_FORCE_SYNC_OUTPUT, CLAUDE_CODE_PACKAGE_MANAGER_AUTO_UPDATE, skillOverrides, opt-in gateway model discovery via CLAUDE_CODE_ENABLE_GATEWAY_MODEL_DISCOVERY=1, and the plugin manifest themes/monitors validation warning. v2.1.131 fixed VS Code extension activation on Windows and Mantle endpoint authentication; the release notes did not announce additional command or configuration additions. ↩↩

  141. Higher usage limits for Claude and a compute deal with SpaceX. Anthropic, May 6, 2026. Three changes: (1) Claude Code five-hour rate limits doubled for Pro, Max, Team, and seat-based Enterprise plans; (2) peak-hours reduction removed for Pro and Max Claude Code accounts; (3) API rate limits for Claude Opus models raised “considerably,” with a per-tier table on the announcement page. Compute backstop: Anthropic gets “all of the compute capacity at their Colossus 1 data center” — “more than 300 megawatts of new capacity (over 220,000 NVIDIA GPUs) within the month.” Anthropic also expressed interest in developing “multiple gigawatts of orbital AI compute capacity” with SpaceX. ↩

  142. Agents for financial services. Anthropic, May 5, 2026. Ten ready-to-run agent templates: pitch builder, earnings reviewer, KYC screener, month-end closer, and six more. Each ships as a plugin in Claude Cowork and Claude Code, and as a cookbook for Claude Managed Agents. Microsoft 365 add-ins: Claude in Excel, PowerPoint, and Word with cross-application context; Outlook integration coming soon. Data connector partnerships with Dun & Bradstreet, Fiscal AI, Financial Modeling Prep, Guidepoint, IBISWorld, SS&C IntraLinks, Third Bridge, and Verisk. Moody’s MCP app: credit ratings and data on more than 600 million companies, accessible within Claude. Claude Cowork Dispatch: voice and text task assignment for analysts. Opus 4.7 cited at 64.37% on Vals AI Finance Agent benchmark. ↩

  143. Claude Code v2.1.132 release notes. May 6, 2026. Adds CLAUDE_CODE_SESSION_ID env var to the Bash tool subprocess (matches the session_id passed to hooks). Adds CLAUDE_CODE_DISABLE_ALTERNATE_SCREEN=1 env var to opt out of the fullscreen alternate-screen renderer and keep the conversation in the terminal’s native scrollback. Updates the /tui fullscreen startup banner to describe additional renderer benefits (lower memory usage, mouse support, auto-copy on select). Plus 20+ fixes spanning terminal/input handling (SIGINT, SSH disconnects, terminal modes, cursor positioning), text editing and pasting (emoji and grapheme corruption, vim operators, escape sequences, swallowed text after paste-starts-with-/), UI/rendering (fullscreen blank screen after sleep, scroll speed, scroll-wheel handling, autocomplete popup), session management (--resume failures, emoji truncation, plan-mode --permission-mode flag), command utilities (/usage, /terminal-setup, /effort, /status, /login, /upgrade), MCP server integration (tool fetching, authorization display, non-protocol data, unbounded memory growth in stdio MCP servers, tools/list retry), platform-specific issues (Windows Terminal, JetBrains IDE, macOS keyboards, X11 Linux), and Bedrock+Vertex 400 errors when ENABLE_PROMPT_CACHING_1H is set. ↩↩

  144. Claude Code v2.1.133 release notes. May 7, 2026. Adds worktree.baseRef setting (fresh | head); per the release notes, “the default fresh changes EnterWorktree’s base back to origin/<default> (it has been local HEAD since 2.1.128)”, and “set worktree.baseRef: "head" to keep unpushed commits in new worktrees.” Hooks now receive the active effort level via the effort.level JSON input field and the $CLAUDE_EFFORT env var; Bash tool commands can also read $CLAUDE_EFFORT. Adds sandbox.bwrapPath and sandbox.socatPath managed settings (Linux/WSL) for custom bubblewrap and socat binary locations. Adds parentSettingsBehavior admin-tier key ('first-wins' | 'merge') to opt SDK managedSettings (parent tier) into the policy merge. Fixes subagents not discovering project, user, or plugin skills via the Skill tool. Other fixes: parallel-session 401-after-refresh-token race, drive-root allow-rule scoping, MCP OAuth proxy and mTLS support, Remote Control stop/interrupt completing the cancel, cross-session /effort leakage, --remote-control listed in --help. ↩

  145. Collaborate with Claude across Excel, PowerPoint, Word and Outlook, Claude, May 7, 2026, fetched November 11, 2026 (the earlier claude.com/blog address redirects here): “Starting today, Claude for Excel, PowerPoint, and Word are generally available, and Claude for Outlook is now in public beta for all paid plans.”; “Adjust an assumption in Excel and the chart in PowerPoint and the number in your Word memo automatically update, too.”; “Ask Claude to triage your inbox and it sorts messages by what needs your response, what it can draft for you, and what’s noise.”; “All Mac and Windows users on paid plans can access Claude for Microsoft 365.” ↩

  146. Claude Code v2.1.137 through v2.1.139 release notes. v2.1.137 (May 9, 2026): “[VSCode] Fixed extension failing to activate on Windows.” v2.1.138 (May 9, 2026): “Internal fixes.” v2.1.139 (May 11, 2026): Agent View (claude agents), /goal, command-hook args: string[], continueOnBlock for PostToolUse, CLAUDE_PROJECT_DIR for MCP stdio servers, ${CLAUDE_PROJECT_DIR} interpolation in plugin commands, OpenTelemetry active-time fix in --print, and related reliability fixes. See also: Agent View docs and Goal docs. ↩↩

  147. Claude Code v2.1.140 release notes. May 12, 2026. Adds subagent_type to agent hook input and fixes: ConfigChange hooks not firing for settings changes; disableAllHooks failing to disable hooks when no other settings were configured; allowManagedHooksOnly and disableAllHooks not composing correctly across settings levels; permission dialogs showing environment variables unexpectedly when hooks returned results; custom style reset after settings updates; native package resolution fallback for Windows Git Bash; and /scroll-speed not taking effect. ↩

  148. Claude Code v2.1.141 release notes. May 13, 2026. Adds terminalSequence to hook JSON output for desktop notifications, window titles, and bells; CLAUDE_CODE_PLUGIN_PREFER_HTTPS for HTTPS plugin-source cloning; ANTHROPIC_WORKSPACE_ID for workload identity federation workspace scoping; claude agents --cwd <path> for Agent View directory filtering; and /feedback session attachment options for the last 24 hours or 7 days. Fetched May 14, 2026. ↩

  149. Claude Code v2.1.142 release notes and Claude Code CHANGELOG. May 14, 2026. Adds background-session configuration flags to claude agents; switches Fast mode to Opus 4.7 by default with CLAUDE_CODE_OPUS_4_6_FAST_MODE_OVERRIDE=1 as the pinning override; surfaces root-level plugin SKILL.md files as skills when no skills/ directory exists; shows plugin-provided LSP servers in plugin details; warns before replacing an existing GitHub App connection in /web-setup; fixes MCP_TOOL_TIMEOUT for remote HTTP/SSE MCP servers; and closes background-session, daemon, Agent View, plugin cache, plugin advisory, and reactive-compaction reliability issues. Fetched May 15, 2026. ↩

  150. Claude Code v2.1.143 release notes, Claude Code changelog, and Claude Code CHANGELOG. May 15, 2026. Adds plugin dependency enforcement, projected plugin context cost, worktree.bgIsolation: "none", Agent View dispatch flag consistency, PowerShell policy behavior, and reliability fixes for stop-hook loops, /goal evaluator timing, background sessions, credentials startup, Agent View, color env handling, and plugin-contributed agents. Fetched May 18, 2026. ↩

  151. Claude Code v2.1.144 release notes, Claude Code changelog, and Claude Code CHANGELOG. May 19, 2026. Adds /resume support for background sessions, background subagent duration notifications, plugin last-updated display, /model current-session/default behavior, /usage-credits, and reliability fixes for startup network timeouts, terminal display corruption, macOS background-session startup, mismatched image extensions, MCP pagination and unsupported image MIME types, Agent View interactions, background-session detach/resume, and skill reload file-descriptor exhaustion. Fetched May 19, 2026. ↩

  152. Claude Code v2.1.145 release notes, Claude Code changelog, and Claude Code CHANGELOG. May 19, 2026. Adds claude agents --json, GitHub repo/PR status-line JSON fields, richer pre-install plugin discovery, Agent View awaiting-input tab counts, fullscreen slash-command / @-mention mouse interactions, Stop/SubagentStop background_tasks and session_crons input fields, OTEL agent_id and parent_agent_id span attributes, and fixes for permission-prompt bypass, MCP prompt validation errors, spinner/elapsed-time display freezes, Windows cross-project resume hints, Agent View voice push-to-talk, task-list ordering, stale marketplace banners, PR badge refresh, non-ASCII Agent Teams teammate names, /review Classic Projects errors, claude plugin validate, skill context: fork loops, and overlarge Read tool failures. Fetched May 19, 2026. ↩

  153. Claude Code v2.1.147 release notes and Claude Code CHANGELOG. May 21, 2026. Adds the off-by-default Workflow tool for deterministic multi-agent orchestration (CLAUDE_CODE_WORKFLOWS=1), pinned Agent View background sessions, and /code-review [effort] --comment as the replacement for /simplify. The release hardens REPL and Workflow sandboxes; improves auto-updater diagnostics, large diff rendering, and prompt-history deduplication; and fixes enterprise login restrictions, PowerShell output/rules, MCP paginated resources/list, resources/templates/list, and prompts/list, Agent View CJK row rendering, pasted text delivery, plugin component counts, hook condition matching, unknown slash commands in headless/SDK mode, and stripped-image loops. Fetched May 21, 2026. Read again November 11, 2026: the v2.1.147 release notes and CHANGELOG section have no line about workflows, and CLAUDE_CODE_WORKFLOWS is in neither the CHANGELOG nor the environment variables reference; for how workflows are turned on and off today, see 474. ↩

  154. Claude Code v2.1.148 release notes, Claude Code v2.1.149 release notes, Claude Code v2.1.150 release notes, and Claude Code CHANGELOG. v2.1.148 (May 22, 2026) fixes a Bash tool regression that returned exit code 127 on every command for some users. v2.1.149 (May 22, 2026) adds /usage per-category limits usage, /diff keyboard scrolling, GFM task-list checkbox rendering, and Enterprise allowAllClaudeAiMcps; it also fixes PowerShell permission bypasses and permission-analysis gaps, git-worktree sandbox write-allowlist scope, Bash find macOS vnode exhaustion, managed-settings startup freezes, /ultraplan and remote-session no-change capture failures, otelHeadersHelper paths with spaces, status-bar effort display from skill/agent frontmatter, Ctrl+O transcript tailing, /insights, Remote Control session rename sync, and /feedback context capture before compaction. v2.1.150 (May 23, 2026) is internal infrastructure only. Fetched May 24, 2026. ↩

  155. Claude Code v2.1.172 release notes, Claude Code v2.1.173 release notes, and the Claude Code Changelog (canonical). June 10 to 11, 2026. v2.1.172 (June 10): sub-agents can spawn their own sub-agents, up to 5 levels deep (recursive delegation); when AWS_REGION is unset, the AWS Bedrock region is read from ~/.aws and /status shows the resolved source; /plugin gains a marketplace search bar; the claude_code.lines_of_code.count OTEL metric adds a model attribute. Fixes: stuck sessions on 1M context without credits, image-processing errors, a background sub-agent stuck state, model picker/restrictions, and team-memory recall. v2.1.173 (June 11, UTC): Fable 5 model names carrying a [1m] suffix are automatically normalized/stripped (Fable 5 already includes 1M context by default, so the suffix, meaningful only on Opus/Sonnet, is redundant); plus a Windows fix for a spurious “sandbox dependencies missing” startup warning. ↩↩

  156. Claude Code v2.1.174 release notes, Claude Code v2.1.175 release notes, Claude Code v2.1.176 release notes, and the Claude Code Changelog (canonical). June 12, 2026. v2.1.174: wheelScrollAccelerationEnabled setting (disable mouse-wheel scroll acceleration in fullscreen mode); /model picker shows the family the Default resolves to as its own row (Opus on Max/Team Premium/Enterprise and pay-as-you-go API, Sonnet on Pro/Team); /model picker no longer shows a hardcoded Sonnet label when ANTHROPIC_DEFAULT_SONNET_MODEL pins a different Sonnet; VSCode Account & usage dialog (/usage) adds attribution showing cache misses, long context, subagents, and per-skill/agent/plugin/MCP breakdowns over the last 24h or 7d; fixes for Bedrock GovCloud (us-gov-*) inference-profile prefix deriving global instead of us-gov, background sessions inheriting another session’s ANTHROPIC_* provider env, git commit co-author model-name attribution, /advisor pre-selecting a blocked advisor model, skill hot-reload re-sending the entire listing, and the Fable 5 “consuming usage credits” banner showing for enterprise usage-billing accounts.

    v2.1.175: enforceAvailableModels managed setting: when enabled, the availableModels allowlist also constrains the Default model (a Default resolving to a disallowed model falls back to the first allowed model), and user/project settings can no longer widen a managed availableModels list. v2.1.176: session titles generated in the language of your conversation (set language to pin a specific language); footerLinksRegexes setting for regex-matched link badges in the footer row (user or managed settings); Bedrock credentials from awsCredentialExport cached until their Expiration instead of a fixed hour; availableModels enforcement hardened so alias picks can’t redirect to a blocked model via ANTHROPIC_DEFAULT_*_MODEL and /fast refuses to switch to a model outside the allowlist; auto mode falls back from Fable 5 to the best available Opus for orgs without Opus 4.8; hook if conditions for Read/Edit/Write tool paths (Edit(src/**), Read(~/.ssh/**), Read(.env)) now match correctly; Linux sandbox symlinked-settings start fix; /copy and mouse-selection copy reaching the system clipboard inside tmux over SSH; /cd and worktree moves no longer reporting the previous directory’s git branch; plus numerous Remote Control, claude agents, and background-session fixes. Fetched June 15, 2026. ↩

  157. Claude Code v2.1.178 release notes and v2.1.179 release notes, plus the Claude Code Changelog (canonical). June 15 to 16, 2026. v2.1.178: Tool(param:value) permission-rule syntax matching tool input parameters with a * wildcard (e.g. Agent(model:opus)); skills in nested .claude/skills load when working on files there, with <dir>:<name> disambiguation on name clash; nested .claude/ agents, workflows, and output-styles resolve closest-to-cwd on collision (project-scope workflow saves target the closest existing .claude/workflows/); auto mode evaluates subagent spawns with the classifier before launch; compaction now honors the --fallback-model chain on overload/availability errors; MCP server-level specs (mcp__server, mcp__server__*, mcp__*) in subagent disallowedTools no longer silently ignored; /doctor flat-tree layout; /bug requires a description; the workflow prompt keyword triggers only on explicit phrases; plus numerous subagent-transcript, Remote Control, auth/credential, and claude agents fixes. v2.1.179: preserves partial responses on mid-stream connection drops; fixes WSL2 mouse-wheel scrolling (v2.1.172 regression), a sandbox denyRead/allowRead glob over a large tree making the Bash tool description enormous on Linux, the feedback-survey single-digit capture, welcome-screen promo stacking, Ctrl+O subagent transcript viewing, and remote background-task and plugin-loading reliability. v2.1.177: CHANGELOG.md/feed.xml chore only. Fetched June 17, 2026. ↩

  158. Claude Code v2.1.181 release notes and v2.1.183 release notes, plus the Claude Code Changelog (canonical). June 17 to 19, 2026. v2.1.181: /config key=value sets any setting from the prompt (e.g. /config thinking=false), in interactive, -p, and Remote Control; sandbox.allowAppleEvents opt-in setting lets sandboxed commands send Apple Events on macOS; CLAUDE_CLIENT_PRESENCE_FILE env var points at a marker file to suppress mobile push notifications while you’re at the machine; bundled Bun upgraded to 1.4; long paragraphs stream line-by-line; mid-thinking API connection drops auto-retry; subagent panel idle-auto-hides after 30s and caps at 5 rows. v2.1.183: auto mode blocks destructive git commands (git reset --hard, git checkout -- ., git clean -fd, git stash drop) when you didn’t ask to discard work, git commit --amend on commits not made by the agent this session, and terraform destroy/pulumi destroy/cdk destroy unless you asked for the specific stack; deprecated/auto-updated-model warnings shown on stderr in -p and for agent-frontmatter models; attribution.sessionUrl setting omits the claude.ai session link from commits and PRs; /config --help lists shorthand keys; /config UI Enter/Space toggle and Esc saves-and-closes; removed the startup “setup issues” line. (v2.1.180 and v2.1.182 were not released.) Fetched June 19, 2026. ↩

  159. Claude Code v2.1.185 release notes and v2.1.186 release notes, plus the Claude Code Changelog (canonical). June 20 to 22, 2026. v2.1.186: claude mcp login <name> and claude mcp logout <name> authenticate/sign out of MCP servers from the CLI without opening /mcp, with --no-browser stdin redirect to complete over SSH; ! bash commands now trigger Claude to respond to the output automatically ("respondToBashCommands": false keeps the prior context-only behavior); Agent(type) deny rules and Agent(x,y) allowed-types restrictions are now enforced for named subagent spawns; background subagents surface permission prompts in the main session (showing which agent asks; Esc denies just that tool) instead of auto-denying, and Esc/Ctrl+C stay responsive while background agents run after the main turn; /review <pr> uses the same review engine as /code-review medium; /workflows agent detail adds status filtering (press f); /plugin Installed adds a Skills section; teammateMode: "iterm2" (with a warning when auto mode can’t find the it2 CLI); /login adds “Claude Platform on AWS - refresh credentials” when awsAuthRefresh is configured; skill frontmatter display-name/default-enabled/fallback/metadata.* accept kebab-case, snake_case, and camelCase, and malformed SKILL.md YAML loads the body with empty metadata instead of failing silently; claude mcp get/claude mcp remove suggest the closest configured server name on a typo; the agent is reminded to compact its MEMORY.md index near the size limit; CLAUDE_CODE_MAX_RETRIES caps at 15 (use CLAUDE_CODE_RETRY_WATCHDOG for unattended sessions).

    Fixes: streaming “Content block not found”/JSON parse errors after sleep-wake; subagent transcript scroll bleeding into the main transcript on exit; background task previews flashing raw tool names; Chrome tab-group isolation with the permissions gate off; duplicated background recaps; Agent(type) deny / Agent(x,y) allowed-types not enforced for named spawns; ~~strikethrough~~ rendering literal tildes; Workflow agent({schema}) subagents looping forever on repeated schema-validation failures (now aborts after 5). v2.1.185: the stream-stall hint now reads “Waiting for API response · will retry in …” (was “No response from API · Retrying in …”) and triggers after 20s of silence instead of 10s. v2.1.184 was not released. Fetched June 23, 2026. ↩

  160. Claude Code v2.1.187 release notes, plus the Claude Code Changelog (canonical). June 23, 2026. v2.1.187: sandbox.credentials setting blocks sandboxed commands from reading credential files and secret environment variables; org-configured model restrictions apply across the /model picker, --model, /model, and ANTHROPIC_MODEL, with a “restricted by your organization’s settings” message when a restricted model is selected; mouse-click selection support in fullscreen menus (permission prompts, /model, /config); /install-github-app makes the GitHub Actions workflow/secret setup optional; /btw adds ←/→ navigation through earlier answers; /plugin surfaces recently-unused plugins for cleanup; claude --help now lists the --bg/--background flag. Fixes: --resume failing with “No conversation found” when the original -p run produced no model turns; --json-schema and workflow agent({schema}) structured output (no infinite StructuredOutput re-calls after success; follow-up turns reliably return structured output); remote MCP tool calls hanging for 5 minutes now abort with an error; Remote sessions ~2.7s slower to start after the agent-proxy CA trust install; pasted Korean/CJK mojibake in terminals delivering paste as per-byte extended-key events; /update over Remote Control hanging on a startup trust dialog; background jobs stuck in “working” when a turn ended without structured output; channel drops after navigating to the agents view / /bg / /tui / /update; agent stop-notification attribution and wording; subagent depth tracking on resume/fork; leaked agent worktree registrations cleaned up; Cmd+click URL open in Ghostty fullscreen on macOS; Esc/Ctrl-C/Ctrl-D during /share upload; [VSCode] extension unresponsive resuming a large session. Fetched June 23, 2026. ↩

  161. Anthropic, “Introducing Claude Tag,” anthropic.com, June 23, 2026: Introducing Claude Tag. Claude Tag is a Slack-native agent for Claude Enterprise and Team customers: members tag @Claude in a channel to delegate a task, which the agent decomposes into stages and completes asynchronously, posting results back to the channel; a shared single Claude identity lets teammates hand off in-progress work; administrators scope tool, data-source, and memory access per channel with token-spend limits and activity logs; it runs on Opus 4.8. Anthropic reports its product team routes roughly 65% of its code changes through an internal version. Corroborated by contemporaneous coverage: Fortune and TechCrunch, June 23, 2026. Fetched June 24, 2026. ↩

  162. Claude Code v2.1.191 release notes and the Claude Code Changelog (canonical). June 24, 2026. v2.1.191: /rewind supports resuming a conversation from before /clear was run; the sandbox network-permission dialog remembers allowed hosts for the session; ~37% CPU reduction during streaming responses; reduced long-session memory growth from the terminal-output cache. Fixes: stopping a background agent from the tasks panel is now permanent (no resurrection); scroll no longer jumps to the bottom while reading earlier output mid-stream; /voice explains an org-policy restriction instead of a generic “not available”; /login URL no longer truncates when wrapped in Windows Terminal; Cmd+click links in fullscreen Ghostty over ssh/tmux; claude agents no longer sends builtin slash commands (e.g. /usage) as prompt text and shows the [Image #N] placeholder for pasted images; hooks with comma-separated matchers (e.g. Bash,PowerShell) no longer silently never fire; /permissions Recently-denied approvals persist on close; the agent panel no longer jumps a row past the overflow cap; the welcome splash no longer overflows an 80×24 Terminal; managed forceRemoteSettingsRefresh now takes effect via MDM/file policy; improved MCP server reliability. Fetched June 25, 2026. ↩

  163. Claude Code Changelog (canonical), June 25 to 26, 2026 (v2.1.192 and v2.1.194 were not released). v2.1.193 (June 25): new autoMode.classifyAllShell setting routes all Bash/PowerShell commands through the auto-mode classifier instead of only arbitrary-code-execution patterns; auto-mode denial reasons added to the transcript, the denial toast, and /permissions recent denials; new claude_code.assistant_response OpenTelemetry log event carries the model’s response text, redacted unless OTEL_LOG_ASSISTANT_RESPONSES=1: when that var is unset it follows OTEL_LOG_USER_PROMPTS, so deployments already logging prompt content start receiving response content on upgrade (set OTEL_LOG_ASSISTANT_RESPONSES=0 to keep prompts-only); live file-path autocomplete in bash mode (!); startup notice when MCP servers need authentication, pointing at /mcp; automatic memory-pressure reaping for idle background shell commands (disable with CLAUDE_CODE_DISABLE_BG_SHELL_PRESSURE_REAP=1); plus fixes for stale /model state after /login, spurious backgrounding cancellation, phantom resumed-subagent spawns, and MCP headersHelper re-auth on 401/403. v2.1.195 (June 26): new CLAUDE_CODE_DISABLE_MOUSE_CLICKS env var disables mouse click/drag/hover in fullscreen mode while keeping wheel scroll; hook matchers with hyphenated identifiers (e.g. code-reviewer, mcp__brave-search) now exact-match instead of substring-matching (use mcp__brave-search__.* to match all tools from a hyphenated MCP server); plus voice-dictation fixes (macOS device-change silence; auto-submit for space-less languages), plugin enable/consent fixes, and background-job/agent-daemon reliability fixes. Fetched June 30, 2026. ↩

  164. Anthropic, canonical model documentation, Models overview and Introducing Claude Sonnet 5, June 30, 2026. Claude Sonnet 5: model ID claude-sonnet-5 (dateless pinned snapshot); Claude API alias claude-sonnet-5; AWS Bedrock anthropic.claude-sonnet-5; Google Cloud claude-sonnet-5. 1M-token context window; 128K max output (up to 300K on the Message Batches API with the output-300k-2026-03-24 beta header); adaptive thinking (always on), no extended thinking; reliable knowledge cutoff January 2026. Pricing $3/MTok input and $15/MTok output, with introductory pricing of $2/$10 through August 31, 2026 (vs Opus 4.8 at $5/$25). Anthropic positions it as “the best combination of speed and intelligence,” with performance “close to that of Opus 4.8, but at lower prices,” a substantial improvement over Sonnet 4.6 on agentic reasoning/tool-use/coding/knowledge-work, a lower rate of undesirable behaviors, and much weaker cybersecurity capability than the Opus models. On Claude Code and the Claude API the effort parameter defaults to high on Sonnet 5. Fetched July 1, 2026. ↩

  165. Claude Code Changelog (canonical), June 29 to July 2, 2026. v2.1.196 (June 29): organization default models; readable default session names; clickable file attachments; claude mcp list/get no longer spawn repo-self-approved .mcp.json servers (untrusted workspaces show pending approval); streaming idle watchdog on by default with CLAUDE_ENABLE_STREAM_WATCHDOG=0 opt-out; /code-review finders merged (~25% token cut); Remote Control disabled for non-Anthropic ANTHROPIC_BASE_URL; background-session reliability improvements. v2.1.197 (June 30): Claude Sonnet 5 becomes the default model in Claude Code, with a native 1M-token context window and $2/$10 per MTok promotional pricing through August 31 (announcement). v2.1.198 (July 1): subagents run in the background by default; Claude in Chrome generally available; background agents commit, push, and open a draft PR after worktree code work; Notification hook events agent_needs_input/agent_completed; /dataviz skill; Claude Platform on AWS as a gateway upstream; Explore agent inherits the session model (capped at Opus); subagents and compaction inherit extended-thinking configuration; /agents wizard removed. v2.1.199 (July 2): stacked slash-skill invocations load all leading skills (up to 5); transient server 429s retry automatically for subscribers; CLAUDE_CODE_RETRY_WATCHDOG raises the non-capacity retry default to 300 and lifts the CLAUDE_CODE_MAX_RETRIES cap of 15; extensive background-agent, subagent-error-reporting, and hook-stderr fixes. Fetched July 3, 2026. ↩

  166. Claude Code Changelog (canonical) and GitHub releases, July 3 to 6, 2026. v2.1.200 (July 3): the default permission mode is relabeled “Manual” across the CLI, --help, VS Code, and JetBrains, with --permission-mode manual and "defaultMode": "manual" accepted alongside the unchanged default config value; AskUserQuestion dialogs no longer auto-continue by default (opt into an idle timeout via /config); plus fixes for a startup crash on non-array disabledMcpServers/enabledMcpServers, background sessions stopping after sleep/wake, stale daemon.lock handling, subagents cut off by a rate limit before any output now returning cleanly, and tmux 3.4+ synchronized-output flicker. v2.1.201 (July 3): Claude Sonnet 5 sessions no longer use the mid-conversation system role for harness reminders. v2.1.202 (July 6): a “Dynamic workflow size” /config setting (advisory small/medium/large agent counts, not an enforced cap); workflow.run_id and workflow.name OpenTelemetry attributes on workflow-spawned agents; /review <pr> reverts to a fast single-pass review (use /code-review <level> <pr#> for the multi-agent pass at a chosen effort); re-invoking an already-loaded skill no longer appends a duplicate copy of its instructions to context; a clearer MCP error suggesting "type": "http" when a server config has url but no type; plus Remote Control, resume-by-name performance in many-worktree repos, and installer/updater mid-download retry fixes. GitHub release timestamps: v2.1.200 and v2.1.201 published 2026-07-03, v2.1.202 published 2026-07-06. Fetched July 7, 2026. ↩

  167. Claude Code Changelog (canonical) and GitHub releases, July 7 to 9, 2026. v2.1.203 (July 7): grey ⏸ footer badge when in manual permission mode; the session’s additional working directories are added to MCP roots/list, with notifications/roots/list_changed on changes; fixes include background sessions dropping a shell-exported ANTHROPIC_BASE_URL (API keys were sent to the default endpoint and failed with 401), stale-daemon-token background sessions auto-recovering, worktree-isolated subagents sometimes executing in the parent checkout, and TaskStop/TaskOutput failing to find agents spawned by another agent. v2.1.204 (July 8): bug-fix only: hook events not streaming during SessionStart hooks in headless sessions, which could idle-reap remote workers mid-hook. v2.1.205 (July 9): auto mode blocks tampering with session transcript files; auto mode asks before running rm -rf on a variable it cannot resolve from context; background-task notifications explicitly state that no human input occurred, preventing fabricated in-transcript approvals from being acted on; /doctor becomes a full setup checkup that can diagnose and fix issues, with /checkup as an alias; “Claude Browser” reserved as an MCP server name (alongside “Claude Preview”); agent-view rows show a colored state word and classifier-written headline, and sessions that touch an existing PR link it in claude agents; auto-update downloads stream to disk (~400 MB lower peak memory). Fetched July 9, 2026. ↩

  168. Claude Code v2.1.206 release notes. July 2026. v2.1.206: /login supports authenticating through Anthropic-operated public gateway endpoints; /commit-push-pr auto-allows git push to the repository’s configured push remote (remote.pushDefault if set, or the sole remote) rather than only origin. Fetched July 17, 2026. ↩

  169. Claude Code v2.1.207 release notes. July 2026. v2.1.207: Auto Mode no longer requires the CLAUDE_CODE_ENABLE_AUTO_MODE opt-in on AWS Bedrock, Google Vertex AI, and Microsoft Foundry, where administrators disable it with the disableAutoMode managed setting; Bedrock, Vertex AI, and Claude Platform on AWS now default to Claude Opus 4.8; the autoMode setting is no longer read from a repository’s .claude/settings.local.json (use ~/.claude/settings.json); plugin security: ${user_config.*} interpolation is rejected in shell-form plugin commands (use the exec form or the $CLAUDE_PLUGIN_OPTION_<KEY> env var), and pluginConfigs is no longer read from project-level .claude/settings.json. Fetched July 17, 2026. ↩

  170. Claude Code v2.1.208 release notes, the Claude Code accessibility docs, and the Claude Code corporate launcher docs. July 2026. v2.1.208: screen reader mode via claude --ax-screen-reader, CLAUDE_AX_SCREEN_READER=1, or the "axScreenReader": true setting, documented on the new accessibility page; the processWrapper setting / CLAUDE_CODE_PROCESS_WRAPPER env var routes all Claude Code self-spawned processes through a wrapper executable for corporate launcher integration; the vimInsertModeRemaps setting defines vim insert-mode key remaps (e.g. jj → Escape); catastrophic removals (such as rm -rf ~) inside command substitution ($(...), backticks, <(...)) now prompt even in --dangerously-skip-permissions and auto mode. Fetched July 17, 2026. ↩

  171. Claude Code v2.1.210 release notes. July 2026. v2.1.210: Claude Code now shows a startup warning for permission rules using the Write(path), NotebookEdit(path), or Glob(path) forms: write-side file rules should use Edit(path) (which governs all file-writing tools) and read-side rules Read(path) (which governs file-reading tools, Glob included). Fetched July 17, 2026. The same release changes the auto-mode permission classifier to default to Claude Sonnet 5 for external sessions. ↩↩

  172. Claude Code v2.1.211 release notes. July 2026. v2.1.211: the --forward-subagent-text flag and CLAUDE_CODE_FORWARD_SUBAGENT_TEXT env var include subagent text and thinking output in --output-format stream-json; “Always allow” permission rules are now saved at the repository root, so approvals granted in one worktree persist across sessions and across all worktrees of the repository. Fetched July 17, 2026. ↩

  173. Claude Code v2.1.212 release notes. July 2026. v2.1.212: /fork now copies the conversation into a new background session with its own row in claude agents, and the previous in-session fork behavior is renamed /subtask; new claude auto-mode reset subcommand with --yes to skip confirmation; per-session budgets: WebSearch calls and subagent spawns each default to 200 per session via CLAUDE_CODE_MAX_WEB_SEARCHES_PER_SESSION and CLAUDE_CODE_MAX_SUBAGENTS_PER_SESSION, with /clear resetting the subagent budget; MCP tool calls running longer than 2 minutes automatically move to the background, threshold configurable via CLAUDE_CODE_MCP_AUTO_BACKGROUND_MS; the Task tool’s mode parameter is deprecated and ignored: subagents inherit the parent session’s permission mode; the enterprise forceLoginMethod setting is now enforced for the VS Code extension, the SDK, claude setup-token, and /install-github-app (previously terminal-only). Fetched July 17, 2026. ↩

  174. Claude Code CHANGELOG, v2.1.214 entry. July 2026. v2.1.214: single-segment dir/** allow rules (e.g. Edit(src/**)) now match only <cwd>/dir instead of any nested dir/ in the tree, while deny/ask rules keep any-depth matching, and hook if: conditions gain the same cwd scoping (write **/dir/** for any-depth); permission fail-closed hardening: Windows PowerShell 5.1 bypass fixed, Bash file-descriptor redirect forms fail closed, commands over 10,000 characters always prompt, zsh subscripts/modifiers in [[ ]] prompt, unsafe help/man variants no longer auto-approved, remote-session prompts cannot proceed before local confirmation, docker/Podman daemon-redirect flags (--url, --connection, --identity, remote mode) prompt, and file -m/--magic-file/-f/--files-from requires permission; new EndConversation tool for ending sessions on highly abusive input or jailbreak attempts; SessionStart hooks report source "fork" for forked sessions (previously "resume"); OTel log events gain message.uuid, client_request_id, and tool_source attributes, CLAUDE_CODE_OTEL_CONTENT_MAX_LENGTH configures the 60 KB content-truncation limit, and the subagentStatusLine payload includes reasoning effort. Fetched July 21, 2026. (v2.1.213 was never released.) ↩

  175. Claude Code CHANGELOG, v2.1.215 entry. July 2026. v2.1.215 (single change): Claude no longer runs the /verify and /code-review skills on its own; invoke them with /verify or /code-review when you want them. Fetched July 21, 2026. ↩

  176. Claude Code CHANGELOG, v2.1.216 entry. July 2026. v2.1.216: adds the sandbox.filesystem.disabled setting to skip filesystem isolation while keeping network egress control; fixes a quadratic message-normalization slowdown in long sessions, auto-mode HTTP 401 denials after OAuth token rotation, worktree-isolated subagents redirecting git into the shared checkout via git -C/--git-dir/GIT_DIR, and .claude symlink write redirection; /rewind refuses symlink/hardlink restore paths; /context warns on context-window overflow; mid-session skill/command edits appear in the slash menu without restart; the /fork confirmation shows the new session’s name and claude attach id; cloud sessions recover the in-flight turn after a mid-turn container restart. Fetched July 21, 2026. ↩

  177. Anthropic research: Claude’s ability to end a rare subset of conversations. 2025. Background on the conversation-ending capability that v2.1.214 brings to Claude Code as the EndConversation tool — deployed on claude.ai since 2025 for rare cases of persistently abusive or harmful interactions. ↩

  178. Claude Code CHANGELOG, v2.1.217 entry. July 2026. v2.1.217: subagents no longer spawn nested subagents by default: set CLAUDE_CODE_MAX_SUBAGENT_SPAWN_DEPTH to allow deeper nesting (reversing the v2.1.172 recursive-spawning default); new cap on concurrently-running subagents, default 20, override with CLAUDE_CODE_MAX_CONCURRENT_SUBAGENTS; --max-budget-usd now stops background subagents: once the cap is reached, new spawns are denied and running background agents are halted; emoji shortcode autocomplete in the prompt input (:heart: → ❤️), disabled via the emojiCompletionEnabled setting. Plus reliability and isolation fixes: symlinked working directories canonicalized for background-session isolation, managed OTEL_EXPORTER_OTLP_ENDPOINT governing all signals, transcript-write-failure warnings, MCP truncated-output memory leak, Windows auto-update claude.exe restore, Bedrock Opus 4.8 auto-compact, Claude Desktop corporate mTLS/TLS/OAuth/proxy settings, --resume malformed-attachment TypeError, unstoppable background shells, brace-expansion OOM, Remote Control late-joiner prompts, screen-reader fixes, ssh/tmux-clickable footer PR badges (FORCE_HYPERLINK=0 opts out), the login-expiry warning moving from 5 to 3 days, and the frontend-design plugin tip capped at 3 lifetime impressions. Fetched July 22, 2026. ↩↩

  179. Claude Code CHANGELOG, v2.1.218 entry. July 2026. v2.1.218: /code-review runs as a background subagent so review work no longer fills the conversation, with stacked slash commands remaining its review target; skills with context: fork run in the background by default, with per-skill opt-out via the new background: false frontmatter key; the dangerous-rm, background-&, and suspicious-Windows-path checks no longer open permission dialogs (the auto-mode classifier adjudicates them), and plan mode with auto no longer prompts for Bash commands the static analyzer can’t prove read-only; agent frontmatter hooks require the agent file’s own folder to have accepted workspace trust before running; /deep-research starts only when invoked manually. Plus: left-arrow discard confirmation and Esc-returns-from-agent-view; benign server-managed feature/cost toggles skip the settings-approval prompt; agent names with : rejected; yes/no/on/off/1/0 accepted for skill and plugin frontmatter booleans; trust dialogs name the repository root; improved sandbox restrictions for IDE interactions; Ctrl+B background-shell caps; Bedrock ARN spend metering; fork-session lineage after compaction in headless/SDK sessions; Windows \u-path corruption fix; remote-session zombie-heartbeat fix. Fetched July 24, 2026, when v2.1.218 (published 2026-07-22T21:24Z) was npm latest. (Attribution correction, July 25, 2026: the claude mcp list//mcp HTTP-status-and-error-text item and the MCP hidden-whitespace warning were originally listed here under v2.1.218; the raw changelog places both in the v2.1.219 entry. Moved to 193.) ↩

  180. Claude Code CHANGELOG, v2.1.219 and v2.1.220 entries. July 2026. v2.1.219 (July 24): adds Claude Opus 5 (claude-opus-5) as the new default Opus model, with 1M context, fast mode at $10/$50 per MTok; adds the sandbox.network.strictAllowlist setting to deny non-allowlisted hosts for sandboxed commands without prompting; adds the DirectoryAdded hook, which fires after /add-dir or the SDK register_repo_root control request registers a new working directory mid-session; adds mcp_server_errors to the headless stream-json init event, listing --mcp-config entries skipped by config validation (terminal runs print a startup warning); adds the workflowSizeGuideline settings key so the advisory Dynamic workflow size guideline can be set from any settings file, with the /config row hidden while one does; adds nested subagent forwarding in stream-json, so subagents spawned at depth-2+ appear when --forward-subagent-text is set, keyed by their spawning Agent tool_use id; changes dynamic workflows to default to a medium size guideline (aim for fewer than 15 agents); removes Opus 4.7 from fast mode: /fast now applies to Opus 5 and Opus 4.8; subagents can now spawn nested subagents up to depth 3 by default (was 1); set CLAUDE_CODE_MAX_SUBAGENT_SPAWN_DEPTH=1 to disable nesting; updates the claude-api skill to default to Claude Opus 5 with a migration path from Opus 4.8; adds HTTP status and error text to claude mcp list and /mcp when a server fails to connect, plus a warning for MCP config values with hidden leading or trailing whitespace;

    changes managed MCP allowlist/denylist ${VAR} entries to resolve from the startup environment and managed-settings env instead of settings-file env; adds the current default workflow size to the running-workflow status line; fixes claude -p text output dropping the answer already produced when a turn dies on a mid-stream API error, the Fable row showing a stale “Requires usage credits” label, the /model picker showing the merged Opus row as plain “Opus” instead of “Opus (1M context)”, the new-release highlight covering more than the newest model’s name, GNU screen copy-on-select printing base64, Remote Control clients keeping a stale fast-mode status after a model switch/reconnect/failed org check, CLAUDE_CODE_GIT_BASH_PATH on Windows exiting or being used as bash when the path isn’t a bash/sh binary (now ignored with a warning), Vim mode ← on an empty prompt not returning to the agent view from NORMAL mode, and screen-reader mode rewriting the entire input line on every keystroke; improves the “Remote Control is only available via api.anthropic.com” error to name the setting that caused it and claude --teleport to show which repo the current checkout points at on a mismatch. v2.1.220 (July 25): bug fixes and reliability improvements only, with no user-facing feature, setting, command, or pricing changes. Fetched July 25, 2026. ↩↩

  181. Anthropic, Introducing Claude Opus 5, plus canonical model documentation: Models overview and Migration guides (the Opus 4.8 to Opus 5 section quoted here was on this page on July 25, 2026 and has since been replaced by the per-model guides). July 2026. Claude Opus 5: model ID claude-opus-5 (dateless pinned snapshot; Bedrock anthropic.claude-opus-5, Google Cloud claude-opus-5); “For complex agentic coding and enterprise work”; 1M token context window, 128K max output (300K on the Message Batches API with the output-300k-2026-03-24 beta header); pricing $5 / input MTok, $25 / output MTok, “the same as Opus 4.8”; adaptive thinking Yes, thinking.type: "enabled" extended thinking No; reliable knowledge cutoff May 2026, training data cutoff May 2026; the effort parameter “defaults to high on the Claude API and Claude Code,” levels low, medium, high, xhigh, max. Anthropic states it is “the new default model on Claude Max, and the strongest model on Claude Pro,” and that it “provides greatly improved performance for the same cost as its predecessor, Opus 4.8.”

    The 26% figure in the post is a customer’s (Niko Grupen, Head of Applied Research), not Anthropic’s: “achieving similar performance while generating 26% fewer tokens on average compared to Opus 4.8 at max reasoning.” Breaking changes from the migration guide: (1) “On Claude Opus 4.8, requests without a thinking field run without thinking; on Claude Opus 5, the same requests run with adaptive thinking”; (2) “You can still turn thinking off with thinking: {type: "disabled"}, but only at an effort level of high or below. A request that combines thinking: {type: "disabled"} with effort xhigh or max returns a 400 error”, “enforced on each request.” Claude Opus 4.8 now appears in the Models overview Legacy models table. Effort-level availability from Effort: xhigh is “Available on Claude Fable 5, Claude Mythos 5, Claude Opus 5, Claude Opus 4.8, Claude Opus 4.7, and Claude Sonnet 5”; max adds Claude Opus 4.6 and Claude Sonnet 4.6; “Claude Opus 5 supports all five effort levels” and “The API default is high.” Fetched July 25, 2026; the three sentences from the announcement were read again on November 11, 2026. ↩↩

  182. Fast mode (research preview), Anthropic platform documentation. Fetched July 25, 2026. “Fast mode delivers up to 2.5x higher output tokens per second from Claude Opus 5 and Claude Opus 4.8 at premium pricing. Set speed: "fast" with the fast-mode-2026-02-01 beta header on your request to opt in.” Supported models: Claude Opus 5 (claude-opus-5) and Claude Opus 4.8 (claude-opus-4-8): $10 USD / MTok input, $50 USD / MTok output, “priced at a multiplier on standard rates across the full context window, including requests over 200k input tokens.” Research preview on the Claude API (including Claude Managed Agents) only: “It is not available on Amazon Bedrock, Google Cloud, or Microsoft Foundry,” nor on Claude Platform on AWS, the Batch API, or with a Priority Tier commitment. On Opus 4.7: “Fast mode is not available on Claude Opus 4.7. Requests to claude-opus-4-7 with speed: "fast" return an error; unlike Claude Opus 4.6 …, requests do not fall back to standard speed.” On Opus 4.6: requests “do not return an error: they run at standard speed and are billed at standard rates … and the response reports usage.speed: "standard".” Same weights and behavior as standard speed; gains are in output tokens per second, not time to first token. Dedicated rate limit with anthropic-fast-*-tokens-* headers; “Switching between fast and standard speed invalidates the prompt cache.” ↩

  183. Claude Code v2.1.221 release notes and Claude Code v2.1.222 release notes, August 4, 2026. v2.1.221: VSCode Focus view (Ctrl+Alt+F); mode: "mask" for sandbox credential files on Linux/WSL with sentinel copies and egress substitution, macOS falling back to deny; background sessions commit/push, draft-PR-only-when-warranted, CLAUDE.md git instructions, and end-of-run location reporting; /fork sessions get their own worktree; /plugin install catalog refresh and retry; immediate plugin activation when safe; "." as plugin skills path; zsh [[ ]] regex-conditional permission bypass fix; PowerShell quoted-path permission fix; prompt-audit subcommand; Stats cache-token breakdown; auto-mode prompt-cache reuse. v2.1.222: Remote Control auto-start restricted to user scope; worktree-isolation git fix extended to file edits and Bash in every session type; PreToolUse auto-allow bypass fix for background tasks; SendMessage permission classification; ultraplan removed. Fetched August 5, 2026. ↩↩

  184. Claude Code v2.1.223 release notes, August 6, 2026. Adds "owner/*" wildcard entries to strictKnownMarketplaces and blockedMarketplaces; makes /review an alias of /code-review with last-typed effort-level memory (/code-review ultra for deep cloud review); widens CLAUDE_CODE_DISABLE_1M_CONTEXT to hold every native-1M model to 200K via auto-compaction with a startup warning, and adds CLAUDE_CODE_DISABLE_UNKNOWN_MODEL_WINDOW_ENFORCEMENT for unrecognized model IDs; security fixes for a crafted-command Bash permission bypass, invisible-Unicode command padding in approval dialogs, workflow-script dynamic import() sandbox escape, and agent-definition bypassPermissions ignoring the org disable policy. Fetched August 6, 2026. ↩↩

  185. Claude Code v2.1.224 release notes, August 7, 2026. Adds claude self-hosted-runner (Team/Enterprise); cross-session SendMessage with ListAgents discovery on macOS/Linux plus crossSessionInbound/dialogExpiry settings; the archive plugin source with optional SHA-256 pinning; sandbox credential-masking options extract/onExtractNoMatch, decode: "jwt" with maskClaims, and awsPairs/sigv4 (require network.tlsTerminate; user/managed/--settings scopes only); removes the 200-subagent-per-session spawn cap; fixes long-path session-directory crossing, trailing-slash sandbox deny bypass, and invisible sandbox-violation details. Fetched August 7, 2026. ↩↩

  186. Claude Code v2.1.225 release notes and Claude Code v2.1.226 release notes, August 7, 2026 (PST; published 2026-08-08T01:09:26Z and 2026-08-08T02:48:05Z UTC). v2.1.225: cross-machine SendMessage to Remote Control sessions by name with name [ref] listing; gateway spend-limit detail in the usage warning; claude agents workspace trust prompt; OAuth-token, keychain, auto-mode consecutive-block, cross-session parking, self-hosted-runner startup, and Focus view fixes. v2.1.226: bug fixes and reliability improvements only. Fetched August 7, 2026. ↩↩

  187. Auto mode is now the default in Claude Code for Pro, Max, Ultra, and Team plans, Anthropic, August 7, 2026, fetched November 11, 2026; the post named Pro, Max, and Team when it was published. The permission-modes docs, as captured on August 13, 2026, stated: “Starting August 14, 2026, auto mode becomes the default permission mode for new sessions on Pro, Max, and Team plans. You can switch modes at any time. A default you set yourself stays in place unless you accept the one-time switch prompt, and a default your organization manages is unchanged.” Effective August 14, 2026 for Pro/Max/Team. Auto mode “routes each tool call through a classifier targeted at blocking actions that are irreversible, destructive, or aimed outside your environment.” Study basis: 1,053 paid testers; auto mode caught 89% of dangerous commands vs 13.6% for human review; users approve 97% of permission prompts. “we’re no longer charging Claude Code users on Pro, Max, Ultra, and Team plans for that classifier overhead, effective today.” Enterprise, the Claude API, Claude Platform on AWS, Amazon Bedrock, Google Cloud’s Agent Platform, and Microsoft Foundry remain opt-in: “In the coming month, working with our cloud partners, we plan to make it the default across all of these.” Opt out per-session via Shift+Tab or the desktop mode dropdown; pin via defaultMode in managed settings; disable org-wide via disableAutoMode. ↩

  188. How Claude marks AI-generated content, Anthropic Help Center, published August 11, 2026; accessed August 18, 2026. Source for the two-component structure (text watermark + C2PA “signed provenance metadata” on files “such as a .svg, .png, or .jpg”), the unified model timeline (“Claude models launched on or after August 2, 2026 will support machine-readable marking at launch”; existing models: “we’re working to add marking support for those models as well”), the product list (Claude Platform (API), Claude, Claude Code, Claude Cowork, Claude Tag, “wherever Claude is offered, worldwide”), the file-side stripping vectors (format conversion, re-saving, screenshots; heavy editing/paraphrase/translation for text), and the detection limits (“Detecting a Claude mark tells you that the content may have been processed by Claude. It does not, on its own, confirm the full provenance”; an absent mark is not clearance).

    Read again November 11, 2026: the timeline sentences now read “Claude models launched in the EU on or after August 2, 2026 will support machine-readable marking at launch” and “we’re working to add marking support for earlier Claude models”; the page adds a table, “Which Claude models support watermarking”, that marks text watermarks on Fable 5.2, 5.1 and 5, Mythos 5.2, 5.1 and 5, Opus 5.5, 5, 4.8 and 4.7, Sonnet 5.5, 5 and 4.6, and Haiku 5.5, and Content Credentials (C2PA) in files on all eighteen models it lists (Opus 4.6, Opus 4.5, Sonnet 4.5 and Haiku 4.5 carry the file metadata only), with the note “For Sonnet 4.6, outputs may not reliably carry the text watermark when temperature, top_p, or top_k is set to a non-default value.”; and it says “Watermark detection is in private preview.” ↩↩

  189. Claude Code release notes v2.1.239 (Aug 21), v2.1.240 and v2.1.241 (Aug 22 and 23, both verbatim “Bug fixes and reliability improvements”), and the canonical CHANGELOG.md on August 24, 2026 (latest heading: 2.1.241; npm latest 2.1.241). v2.1.239 verbatim: “Cost estimates (/cost, status line, --max-budget-usd) now include the 1.1× US-only-inference premium for data-residency workspaces”; “Added /claude-api upgrade to migrate Python projects from anthropic 0.x to 1.x”; “Windows: cross-session messaging is now available”; plugins “now show as name@synced … and never override a same-named plugin you installed”; “ListAgents now tells a session its own name”; readline word keys “Alt+F and Ctrl/Option+→ stop at the end of the word, Alt+D deletes to it (Ctrl+Y pastes it back)”. /design and Remote Control status from the Week 34 digest: “The /design skill brings Claude Design’s artboard workflow into the CLI and Claude Code Desktop, built on artifacts … Available on Pro, Max, Team, and Enterprise. Requires v2.1.233 or later”; “Remote Control is also out of research preview.” Both fetched directly August 24, 2026. ↩

  190. Claude Code CHANGELOG, sections 2.1.248, 2.1.250, and 2.1.251, fetched August 30, 2026. npm published 2.1.248 on August 27, 2026 at 20:35 UTC and 2.1.250 at 22:27 UTC the same day (its section is the verbatim “Bug fixes and reliability improvements”), and 2.1.251 on August 28, 2026 at 15:34 UTC (dist-tag latest: 2.1.251); 2.1.249 was never published on npm. Verbatim 2.1.248: “Added --restricted (or CLAUDE_CODE_RESTRICTED=1): removes the built-in tools that run commands or code and WebFetch (unless named in --tools), keeps file tools inside the working directory, refuses bypassPermissions, and ignores user, project and local settings files”; “Added experimental.cacheTtl ("5m" or "1h") to agent frontmatter: a per-agent prompt cache TTL used when no subagent TTL setting is configured”; “Added claude self-hosted-runner --client-label <label> (or SELF_HOSTED_RUNNER_CLIENT_LABEL) to override the label the runner registers with (default: hostname)”; “Added server-managed settings diagnostics: a startup warning when the settings fail to load, and a /doctor and /status line explaining a load failure or why they weren’t fetched (Bedrock/Vertex/third-party provider, custom ANTHROPIC_BASE_URL)”; “Added /usage-credits for Enterprise organizations billed through AWS Marketplace, self-serve Enterprise, and Enterprise trials, so members can request a higher usage limit from their admin”;

    “Added cross-session messaging (SendMessage / ListAgents) between sessions on the same machine on Bedrock, Vertex, and Foundry, and when telemetry is disabled”; the desktop-retention fix: “the transcript cleanup now keeps desktop-written sessions while they are in the app (unless org policy manages retention); the new desktopSessionCleanupPeriodDays setting caps the exemption”; “Improved managed settings: client-side timeout, MCP startup-mode, and stream-watchdog env vars no longer trigger the settings-approval prompt”; “Changed /loop: self-paced dynamic mode and the no-prompt autonomous default are now always available, including on Bedrock/Vertex/Foundry”; “Improved the Workflow tool’s prompt footprint: its description is now about 1k tokens instead of 5.7k, with the script-writing reference moved into a bundled workflow-authoring skill”; and the upload fix: “Fixed /ultrareview and locally seeded cloud sessions uploading uncommitted edits to prod.env-style and *.tfvars files, or to editor swap, temp, and backup copies of credential files (e.g. key.pem.tmp, id_rsa.swo); they now stay on your machine”.

    Verbatim 2.1.251: “Added PreModelSwitch and PostModelSwitch hook events (block, confirm, or annotate a model switch); SessionStart resume hooks now receive session staleness and the estimated re-cache cost”; “Added live streaming of a foreground subagent’s tool calls and results to Remote Control clients (background subagents, the default, still show status only)”; “Added a Spend limit bar to /usage and a rate_limits.spend_limit status line field for developers behind a Claude apps gateway with spend limits”; “Added a per-session prompt-cache line to /cost (hit ratio, misses, tokens re-cached, warm/cold) and a matching prompt_cache object for status line scripts”; “Added attach, logs, stop, respawn, and rm to claude --help; the --resume message for a running background session now names the exact claude attach <id> command”; “Changed Claude in Chrome so browser actions always go through Claude Code’s permission checks, including in sessions with telemetry disabled, which previously used the Chrome extension’s own prompts”; “Changed CLAUDE_CODE_SUBAGENT_MODEL to set the default subagent model rather than override everything: an agent definition’s model: and an explicit per-spawn model now take precedence over it”; “Changed the default model for seat-based Enterprise subscriptions to Opus 5, matching other premium plans”; “Changed /effort to save your default effort level per model, so each model keeps its own setting when you switch”;

    “Changed server-managed settings that terminate sandbox TLS, route sandbox traffic through your own proxy, inject credentials, or weaken sandbox isolation to require approval before they apply”; “Changed ANTHROPIC_CUSTOM_HEADERS from managed or project settings to require approval when it sets a credential, org/tenant, routing, or API-behavior header (e.g. Authorization, Host)”; “Changed project-level .claude/settings.json env to no longer set CLAUDE_CONFIG_DIR, CLAUDE_CODE_TMPDIR, or TMPDIR/TMP/TEMP; set them in your shell, user, or managed settings instead”; “Fixed /usage-credits for Team and Enterprise members whose admin set the org’s usage-credit limit to $0: it now offers to ask the admin instead of saying a cap was reached”; security fixes verbatim: “Fixed file tools (Read, Write, Edit) following a symlink swapped inside the working directory after the permission check, which could read or write outside the approved location”; “Fixed plugin commands declared in a marketplace entry being able to point outside the plugin directory; such paths are now rejected with a path-traversal error”; “Fixed Bash permission checks auto-approving commands that assign an arithmetic expression to an integer shell variable (e.g. OPTIND=1/0, RANDOM=2+2); these now prompt for approval”; “Fixed Grep and Glob not applying Read(...) deny rules to files reached through a symlinked search path”. ↩↩

  191. Model configuration, fetched August 30, 2026, section “default model setting”. Verbatim: “The behavior of default depends on your account type”; “Max, Team Premium, Enterprise pay-as-you-go, and Anthropic API: defaults to Opus 5”; “Claude Platform on AWS, Amazon Bedrock, and Google Cloud’s Agent Platform: defaults to Opus 5”; “Pro, Team Standard, and Enterprise subscription seats: defaults to Sonnet 5”; “Microsoft Foundry: defaults to Sonnet 4.5”; “Enterprise pay-as-you-go means an Enterprise organization billed by usage rather than by subscription seat.” History note verbatim: “Before v2.1.219, default resolved to Opus 4.8 on the Anthropic API, Max, Team Premium, and Enterprise pay-as-you-go from v2.1.154, and on Claude Platform on AWS, Amazon Bedrock, and Google Cloud’s Agent Platform from v2.1.207. Before v2.1.207, default resolved to Opus 4.7 on Claude Platform on AWS and to Sonnet 4.5 on Amazon Bedrock and Google Cloud’s Agent Platform.” The Enterprise-seat row is the one surface the CLI has already moved past: the v2.1.251 CHANGELOG (August 28, 2026) says “Changed the default model for seat-based Enterprise subscriptions to Opus 5, matching other premium plans”, which is newer than the docs page – the guide reports Opus 5 for seats and notes the docs lag. ↩

  192. Hooks reference, fetched August 30, 2026. PreModelSwitch: “Runs before Claude Code applies a model switch that you or a client requested”; “PreModelSwitch requires Claude Code v2.1.251 or later”; it runs for /model <name> and the pickers, the Model setting in /config, fast-mode toggles that change the session’s model, and SDK/Remote Control set_model or apply_flag_settings requests, but not “for switches it makes on its own, such as an automatic model fallback or restoring the model when you resume a session. Those changes reach PostModelSwitch only”; “Claude Code compares the matcher against the canonical name of the model the session is switching to, ignoring any [1m] suffix”, and when it “can’t determine a canonical name for the target”, “it runs every PreModelSwitch hook regardless of matcher”; decision control: exit code 2 or decision: "block" cancels the switch, and permissionDecision accepts "allow", "deny", and "ask"; the command-hook default timeout is lowered to 30 seconds on UserPromptSubmit, PreModelSwitch, and PostModelSwitch, and “On PreModelSwitch, a hook canceled at its timeout blocks the model switch.”

    PostModelSwitch: “Runs after the session’s model changes”; “It can’t block, because the model has already changed”; it is among the events where “Claude Code adds plain-text stdout as context that Claude can see and act on”, delivered “with the next request after the switch”; its input adds source values "auto" and "resume". SessionStart resume fields: “When source is "resume" or "fork" and the transcript contains at least one response from Claude, SessionStart hooks also receive the four fields below”; “These fields require Claude Code v2.1.251 or later”: seconds_since_last_response, context_tokens, prompt_cache_likely_expired, estimated_cache_write_usd. ↩

  193. Status line and CLI reference, fetched August 30, 2026. Status line, rate_limits.spend_limit.used_percentage / resets_at: “Behind a Claude apps gateway, how much of your spend limit you have used and when its period resets… Requires Claude Code v2.1.251 or later”; “Each window (five_hour, seven_day, spend_limit) may be independently absent, and Claude Code drops a window once its resets_at time passes.” prompt_cache: “The object appears after the main conversation’s first API response. Claude Code doesn’t count subagent requests in these statistics. Requires Claude Code v2.1.251 or later”; “Claude Code computes it from the cache token counts in the API’s responses, so it works on every provider”; “Claude Code shows the same statistics in the terminal, on the /usage command’s Prompt cache (main) line.” CLI reference, --restricted: “Use it when an evaluation harness drives claude on a shared machine and Claude Code must not run commands or read that machine’s user and project settings. Claude Code removes the built-in tools that run commands or code, and WebFetch, unless you name them individually in --tools, not through the default preset. It also confines the built-in file tools to the working directories, loads only managed settings and --settings, refuses bypassPermissions, and refuses to create cloud sessions. Requires Claude Code v2.1.248 or later.” Re-read November 25, 2026; the quotations that had drifted are given in that day’s wording. ↩

  194. Johann Rehberger, “Breaking Claude Code Opus 5 Auto Mode”, Embrace The Red, August 26, 2026. Source for the attack chain (HTTP 415 pushing the agent from WebFetch to curl, archive extraction, the agent-authored decoder, and base64 importing the attacker’s struct.py from the extraction directory), the reported outcomes (3 of 5 for the python3 C2 chain; 3 of 5 and 4 of 5 for two claude -p subprocess configurations, the post’s 60-80%) with the author’s small-sample caveat, the blocked-cleanup observation, Anthropic’s disposition (closed Informative as working as designed; best-effort classifier rather than security guarantee; OS isolation and network egress control as the real boundary), the commissioned 72-scenario evaluation reporting 0.00% and his reading of it as a mixed message, and — via Simon Willison, “Breaking Claude Code Opus 5 Auto Mode”, August 27, 2026, whose August 30 update endorses a Lobste.rs reader’s point — the reclassification of the chain as a confused environment attack rather than a classic prompt injection. ↩

  195. Claude Code release notes v2.1.257 and v2.1.258 (both September 1, 2026) and v2.1.259 (September 2, 2026), and the canonical CHANGELOG on September 3, 2026. npm dist-tags that day: latest and next both 2.1.259, stable 2.1.236; npm’s published versions jump from 2.1.252 to 2.1.257 – 2.1.253 through 2.1.256 were never published and have no CHANGELOG sections (the 2.1.244/2.1.249 pattern) – so the 2.1.258 note’s “regression introduced in 2.1.255” refers to an unpublished internal build and v2.1.257 is the first installable release carrying Fable 5.1 support. Source for the v2.1.257 items: Fable 5.1 support with the gateway caveat (in Claude apps gateway sessions the fable and best aliases keep resolving to Fable 5 for now, since a gateway not yet configured for Fable 5.1 rejects it – select it in /model instead); timeFormat/timeZone; the auto-mode “Containment Escape” rule (cloud metadata-credential fetches, egress evasion, and cross-tenant reach not auto-approved unless the environment marks them expected); CLAUDE_CODE_SUBAGENT_MODEL_FORCE; the one-time prompt before the first file read outside the working directories plus permissions.blockReadsOutsideWorkingDirectories; /effort s and the session-scoped --effort; project/local defaultMode: "bypassPermissions" ignored; the managedSourcesBehavior: "merge" refinement (sandbox.credentials.awsPairs and sandbox.ripgrep read whole from the highest source that sets them); Bash Read()/Edit() deny-rule coverage of < file input redirects and reader commands such as tac and egrep; and the network-path refusal (UNC shares, /net/<host> automounts) on --add-dir, /add-dir, and additionalDirectories.

    Source for the v2.1.258 fixes: a macOS 12 launch regression introduced in unpublished 2.1.255, and remote/scheduled sessions failing on requests requiring non-empty content. Source for the v2.1.259 items: managedMcpServers; the allowedMcpServers scope change to user-added servers only; --permission-prompts none (anything that would prompt is denied automatically while the active permission mode keeps deciding); managed settings that fail to parse refusing startup and naming the source; frontmatter model: on custom commands and skills honored in interactive sessions, with auto mode keeping the session model instead of running a turn on an unsupported frontmatter model; claude plugin validate --json; and the option-value/operand extension of Bash Read() deny coverage (--ignore-revs-file=.env, -f.env, @file arguments, git diff/git grep operands, cd DIR && cat FILE compounds, and grep -r/cp -r over a directory holding a denied file now asking). The settings docs do not yet document timeFormat/timeZone or managedMcpServers, and the CLI reference does not yet list --permission-prompts – the CHANGELOG is the source for those as of September 3, 2026. ↩

  196. Claude Code v2.1.260 release notes, published September 3, 2026 at 23:48 UTC (4:48 PM PT; the npm publish preceded it at 22:32 UTC), and the canonical CHANGELOG the same evening. npm dist-tags that evening: latest and next both 2.1.260, stable 2.1.236. Revert verbatim: “Reverted the 2.1.259 change applying Read() deny rules to Bash arguments; it denied npm run build under a Read(./**/build/**) rule in every mode and made cd … && grep prompt even in auto mode” – the v2.1.257 redirect and reader-command coverage is not named in the revert and stands. Source for: the /diff fullscreen diff panel (“Added a diff panel that opens beside the conversation in fullscreen mode and shows your uncommitted changes as Claude edits; toggle it with /diff”); the parenthesis-path permission fixes (rules with parentheses in the path “being dropped as invalid or ignored by the Bash sandbox, which left ‘read-only’ folders writable”; an uncompilable pattern such as an unclosed [ no longer “making every file edit fail with Invalid regular expression”, such a deny rule now guarding the literal path it spells; the improved settings error for Edit(C:\dir\(name)\**) where \( reads as an escaped parenthesis rather than a path separator; trailing-text rules such as Bash(ls) x reported as invalid settings);

    the four Fable 5.1 launch-cluster fixes (the /model picker showing Fable 5.1 for organizations that can use it, previously “only accepted when typed as /model claude-fable-5-1”; prompt caching covering “the context attached after tool results, so it was re-sent as uncached input on every tool-call turn” before the fix; mid-session /effort changes no longer invalidating the prompt cache; model: fable agents honoring the [1m] tag on an ANTHROPIC_DEFAULT_FABLE_MODEL pin instead of “silently running with a 200K context window”); the auto-compact improvement (“Opus and Fable sessions now compact shortly before the 1M-token limit, and recovery compaction on very large contexts no longer times out at 10 minutes”); the likely-miss-cause line added to /cost and the status line’s prompt_cache field (“e.g. tool definitions or system prompt changed, idle past the TTL”); the ! bash-mode carve-out (“Changed commands typed at the ! bash-mode prompt to run outside the sandbox even when strict sandbox mode (sandbox.allowUnsandboxedCommands: false) is on, like typing into your own terminal”); the managed CLAUDE.md change (“a managed CLAUDE.md (claudeMd) no longer triggers the security approval dialog; hooks, shell-command, sandbox, and unsafe env settings still require approval”); and Claude in Chrome following “your organization’s Claude in Chrome admin setting; when an admin turns it off, --chrome, /chrome and the browser tools are unavailable”. Strict-sandbox-mode semantics (allowUnsandboxedCommands: false ignores dangerouslyDisableSandbox entirely, every command must run sandboxed or be listed in excludedCommands, and the /sandbox Overrides tab labels the state Strict sandbox mode) from the sandboxing docs, fetched September 3, 2026. ↩↩

  197. Claude Developers (@ClaudeDevs) on X, August 29, 2026, two posts: 2093742321473065266, verbatim: “Starting September 14, we’re permanently raising standard weekly limits in Claude Code by 25% for Pro, Max, Team, and seat-based Enterprise plans. Until then, the current 50% increase will be in place.” and 2093742322525810912, verbatim: “Compared to today, this works out to a 17% reduction in weekly limits on Claude Code. We’re working on exciting changes that will make it feel like you’re getting more from Claude, while having more visibility and control of your usage.” Fetched September 3, 2026 via the syndication endpoint (timestamps 2026-08-29T16:47Z). The 150-to-125 illustration is this guide’s arithmetic on those two statements, not a figure Anthropic published. ↩

  198. Claude Code v2.1.261 release notes, published September 4, 2026 at 19:58 UTC, and the canonical CHANGELOG the same day. npm dist-tags that day: latest and next both 2.1.261, stable 2.1.236. Keybinding change verbatim: “Changed the prompt’s word-editing keys to match Bash: Ctrl+W deletes back to whitespace, Alt+F and Alt+D stop at word end, punctuation separates words; keybindingFlavor no longer has any effect.” Source for: /skill-doctor, which shows which loaded skills go unused and what they cost in context, so you can prune them; the bashOutputMaxChars and taskOutputMaxChars settings, which raise how much command output and background-task output Claude receives inline before it is saved to a file, up to 128K characters (a different mechanism from BASH_MAX_OUTPUT_LENGTH, which the tools reference defines as the read-back window from a command’s working output file, verbatim: it “sets how many characters of output Claude Code reads back from the working file into a command’s result: 30,000 by default, up to a hard ceiling of 150,000”); auto mode treating a link that packs content into a public diagram renderer’s URL (mermaid.live-style, the data encoded in the URL itself) as an upload, no longer auto-approved unless you asked for it; and forceLoginMethod: "gateway" evicting leftover credentials, so machines pinned to a gateway ignore a leftover API key or claude.ai login and ask for /login, with Bedrock, Vertex AI, and Foundry sessions unaffected. ↩

  199. Claude Code v2.1.265 release notes, published September 8, 2026 at 20:37 UTC, and the canonical CHANGELOG the same day (the release body and the CHANGELOG section are identical). npm dist-tags that day: latest and next both 2.1.265, stable 2.1.236; npm’s published versions jump from 2.1.261 to 2.1.263 to 2.1.265 – 2.1.262 and 2.1.264 were never published (the 2.1.244/2.1.249/2.1.253-256 pattern) – and 2.1.263 (published September 6) carries only “Bug fixes and reliability improvements”. Source for: --plugin-dir pointed at a folder of plugins (“each child folder with a manifest loads, and children added or removed while running are picked up”); the two prompt-cache prefix fixes, verbatim: “Fixed resuming a foreground-spawned subagent changing its tool list and system prompt prefix, which broke prompt-cache reuse for that agent” and “Fixed agent teammates and resumed subagents moving SubagentStart hook context and preloaded skills out of the prompt prefix on later turns, which broke prompt-cache reuse”; non-interactive sessions (-p with stream-json input, Agent SDK, cloud sessions) no longer resetting the shell working directory at each new user message, so a cd persists across turns;

    MCP servers configured as http that only speak the legacy HTTP+SSE transport now falling back to SSE as the MCP spec describes; the 1 GB cap on tool results saved to disk, with the in-conversation preview saying when a saved file was truncated; machines with forceLoginGatewayUrl in managed settings being Claude apps gateway sessions from startup, like forceLoginMethod: "gateway", with a leftover claude.ai login or API key not used; Claude apps gateway sessions exporting OpenTelemetry directly to a collector the gateway’s managed settings name in OTEL_EXPORTER_OTLP_ENDPOINT instead of through the gateway’s relay (sessions without a named collector still use the relay), and user.email and user.groups added to the telemetry Claude Desktop and Cowork send through a Claude apps gateway, matching terminal sessions; two-key keyboard shortcuts waiting 3 seconds for the second key and showing a notice when they time out, where they previously cancelled silently when the second key arrived more than a second later, as happens inside tmux; and slash commands typed mid-prompt showing matches in a list (Tab opens it outside fullscreen) instead of a single suggestion, with a plugin skill found by its bare name. ↩

  200. Claude Code release notes v2.1.266 (September 8, 2026), v2.1.267 (September 9), v2.1.268 (September 10), v2.1.269 (September 11), v2.1.270 (September 12), v2.1.271 (September 14), and v2.1.272 (npm September 14, GitHub release September 15 at 00:42 UTC), and the canonical CHANGELOG on September 15, 2026 – all seven release bodies and their CHANGELOG sections are identical. npm dist-tags on September 15 (~13:15 PT): latest 2.1.272, next 2.1.273, stable 2.1.236; 2.1.273 (published September 15 at 18:06 UTC) has no GitHub release and no CHANGELOG section, so its content is not documented here; and 2.1.263 still carries only “Bug fixes and reliability improvements” – no backfill ever landed. Source for, verbatim where quoted: the /output-style revival (“Added /output-style [name] to list and switch output styles, including over Remote Control and in cloud and other headless sessions”, v2.1.269); claude plugin eval (“run a plugin’s eval suite against Claude Code and get scored, reproducible results (JSON + HTML report)”, v2.1.269); fast mode in Claude Code Remote sessions (“cloud and self-hosted runners: the host’s fast-mode setting or /fast typed in the session applies where your organization allows it”, v2.1.271) and the /fast off fix;

    the maxEffortLevel setting (“top-level or per model under modelSettings: caps the effort level on every provider, including Bedrock, Vertex and Foundry; users can still pick a lower level”, v2.1.267); --system-prompt-snapshot off (v2.1.267); the v2.1.267 prompt-cache stability batch (resumed-session tool-list, tool-description, and MCP-announcement rewrites; /model switches re-sending every tool definition, with attribution text now a conversation note; --system-prompt/--append-system-prompt sessions recording the prompt and tool definitions once; mid-session MCP and plugin tools as deferred definitions); the effort: frontmatter fix on pinned-default-effort models (Opus 4.7, Opus 4.8, Fable 5; v2.1.267); the marketplace backslash containment fix (v2.1.267); the task-tracking allowlist (“Changed the task-tracking tools (TaskCreate/Get/Update/List, TodoWrite) to be offered only on” Claude 3.x, Opus 4.0 to 4.7, Sonnet 4.0 to 4.6 and Haiku 4.5, with “set CLAUDE_CODE_ENABLE_TODO_TOOLS=1 elsewhere”, v2.1.268); the symlinked-directory and env -C/eval deny-rule fixes (v2.1.268); the WebFetch/Artifact rule split (“Changed plain WebFetch deny and ask rules to no longer apply to Artifact tool reads and updates; use an Artifact rule (or WebFetch(domain:claude.ai)) to block or gate them”, v2.1.268); /plugin changes applying on menu close (v2.1.268); the WebFetch 300-second deadline and CLAUDE_CODE_WEBFETCH_DEADLINE_MS (v2.1.268); gatewayInternalNetworks, the empty-allow_cidrs warnings, and the gateway pricing: rate sync (v2.1.268) plus the multiplier above 1 up to 10 (v2.1.271);

    the ${VAR} and git-URL secret-hygiene fixes (v2.1.268); configDirectory in claude auth status --json (v2.1.268); the third-party ANTHROPIC_BASE_URL HTTP-400 regression fix (v2.1.268); bashEditDiffEnabled (v2.1.269); the attribution-reminder fix (“Fixed the attribution reminder overriding a CLAUDE.md or memory rule against commit and pull request attribution; lines set by managed settings still apply”, v2.1.269); the env vars OTEL_METRICS_INCLUDE_REPOSITORY, CLAUDE_CODE_WORKFLOW_MAX_CONCURRENT_AGENTS (1-256), CLAUDE_CODE_GATEWAY_MODEL_DISCOVERY_TIMEOUT_MS (default 3s), and CLAUDE_CODE_BG_TASKS_REPORT_RUNNING (v2.1.269); the v2.1.247 keyboard-regression fix and the kitty-query keyboard support over SSH (v2.1.269); the Edit()/tee, Bash(tee:*), and leading-! scoping fixes (v2.1.269); per-command allowed_domains on Bash, PowerShell, and Monitor in auto mode with sandboxing (v2.1.271); omitClaudeMd agent frontmatter and --agents JSON (v2.1.271); the auto-mode inline-! and subagent hand-back mechanics changes (v2.1.271); claude plugin install/update --accept-command <sha256> (v2.1.271); --resume keeping [1m] across model families (v2.1.271); the fail-closed unreadable managed-mcp.json (v2.1.271); the fmt/column, wildcard-expansion, variable-declaration-flag, and blockReadsOutsideWorkingDirectories checker fixes (v2.1.271); and Markdown artifacts rendering as styled document pages with artifact watches rising to 10 (v2.1.271). v2.1.266 carries one line (the CLAUDE_CODE_USE_GATEWAY regression fix), v2.1.270 one line (the v2.1.269 git-prompting regression fix), and v2.1.272 only “Bug fixes and reliability improvements”. ↩

  201. Claude Code v2.1.273 release notes, published September 15, 2026 at 20:23 UTC, and the canonical CHANGELOG on September 16, 2026 – the release body and the CHANGELOG section are identical, 64 lines each. npm dist-tags on September 16 (~10:00 PT): latest 2.1.273, next 2.1.273, and stable 2.1.267 – the stable tag’s first move off 2.1.236. Source for, verbatim where quoted: the deny-rule revert (“Reverted a 2.1.268 change that checked Read and Edit deny rules on Bash lines the permission checker can’t analyze (eval, env -C); commands like time -p make build prompt again instead of being denied”); the unanalyzable-command and subshell fixes (“Fixed Bash commands the permission checker cannot fully analyze skipping the prompt under permissions.blockReadsOutsideWorkingDirectories, and a subshell hiding a dangerous rm in bypass mode”); the memory-directory fix (“Fixed permissions.blockReadsOutsideWorkingDirectories: a memory directory chosen by a repository’s settings is no longer loaded into the prompt, recalled, indexed, or used by memory extraction”); the gateway classifier default (“Changed auto mode on Bedrock, Vertex and Foundry to use the local classifier by default for now; set CLAUDE_CODE_AUTO_MODE_SERVER=1 to use the platform’s server-side classifier”); the hint headers (“Added x-claude-code-request-class, x-claude-code-agent-type, x-claude-code-prev-tool-durations, x-claude-code-compaction and x-claude-code-context-compacted request headers for LLM gateways; opt in with CLAUDE_CODE_GATEWAY_HINT_HEADERS=1”);

    the managed-settings precedence fix (“Fixed allowManagedMcpServersOnly, deniedMcpServers and disableClaudeAiConnectors set via MDM or managed-settings.json being ignored when server-managed settings are also present”); the context-meter fix (“Fixed the context meter and auto-compact counting advisor-tool turns at roughly twice their real context size, which made auto-compact fire at about half the real window”); the prompt-cache fix (“Fixed /login, /upgrade, and /extra-usage discarding earlier thinking from the conversation, which forced a full prompt-cache rewrite on the next request”); the telemetry change (“Changed OTEL_LOG_TOOL_DETAILS=1 to also include real agent, skill, plugin and MCP server names on cost and token metrics”); the /bug//feedback data minimization (“Changed /bug and /feedback reports to include only model-behavior params (model, system prompt, tools) from the last API request, omitting request metadata and CLAUDE_CODE_EXTRA_BODY fields”); the sign-in change (“Changed sign-in with a Claude account to also request access to your claude.ai plugins”); Remote Control forking (“Added forking a session started with claude --remote-control or /remote-control from the Claude app; the fork runs as a background session on your computer”); and the stream-json fix (“Fixed SDK and --output-format stream-json output dropping a subagent’s remaining messages and final report after it is moved to the background mid-run (e.g. by CLAUDE_AUTO_BACKGROUND_TASKS)”). ↩

  202. Claude Code release notes v2.1.274 (published September 17, 2026 at 00:12 UTC, 108 bullets), v2.1.275 (September 17 at 22:33 UTC, 96 bullets), and v2.1.276 (September 18 at 02:12 UTC, one line), and the canonical CHANGELOG on September 17, 2026 – all three release bodies and their CHANGELOG sections are byte-identical. npm dist-tags on September 17 (~22:08 PT): latest and next both 2.1.276, stable 2.1.267. Source for, verbatim where quoted: the claude.ai sync (“Added syncing of the skills and plugins enabled on your claude.ai account to terminal sessions signed in with it; opt out with syncClaudeAiSkills: false or syncClaudeAiPlugins: false”, v2.1.275); the send-now key (“Added a send-now key (ctrl+enter, or ctrl+x ctrl+s) that interrupts the current turn and sends all queued messages at once; sent and queued messages show in gray until the model receives them”, v2.1.275); /plugin install <plugin> --marketplace <source> (“which offers to add the marketplace before installing the plugin”, v2.1.275); the npm plugin-source hardening (“Changed plugins installed from an npm source to be fetched with npm pack --ignore-scripts and integrity-verified, so a package’s install scripts no longer run”, v2.1.275); the synced account-skills Write/Edit results (“they now say the change is not saved to your account and how to save it”, v2.1.275); the tab-icon change (“Changed the Artifact tool to ask for a one-word tab icon on a first publish instead of an emoji favicon”, v2.1.275);

    CLAUDE_CODE_MCP_STARTUP_WAIT_MS (“to bound how long the first non-interactive turn waits for connecting MCP servers (0 = don’t wait)”, v2.1.274); the MCP client default (“Changed Bedrock, Vertex, Foundry and telemetry-disabled installs to use the v2 MCP client and MCP 2026-07-28 negotiation with direct HTTP servers by default, as other installs already do (opt out: MCP_SDK_GENERATION=v1 or MCP_PROTOCOL_NEGOTIATION=legacy)”, v2.1.274); the legacy HTTP+SSE 4xx fix (“Fixed MCP servers configured as http that only speak legacy HTTP+SSE failing to connect when they answer the first request with 422 or another 4xx error”, v2.1.274); the "type": "sdk" skip (“Changed "type": "sdk" MCP entries in .mcp.json, settings, plugins and agent files to be skipped with a warning: only an SDK host application can register in-process servers”, v2.1.274); the naming change (“Changed the /status GitHub line to read "Cloud sessions", and /web-setup, /ultrareview, and teleport messages to say "cloud session" instead of "Claude Code on the web"“, v2.1.274); artifact watching (“Changed artifact watching in local sessions: a new version published elsewhere no longer starts a turn; Claude learns of it from a later Artifact tool result”, v2.1.274); and the v2.1.276 regression fix (“Fixed every request failing with 400 … Input tag 'advisor_20260301' when ANTHROPIC_BASE_URL points at a proxy or gateway (2.1.275 regression)”). ↩

  203. Claude Code release notes v2.1.277 (npm published September 18, 2026 at 16:22 UTC; GitHub release 18:06 UTC) and v2.1.278 (npm September 19 at 01:48 UTC; GitHub release 03:10 UTC), and the canonical CHANGELOG on September 21, 2026. Source for every v2.1.277 and v2.1.278 item in this guide. Key quotes: “Added AGENTS.md support: in a project with no CLAUDE.md, Claude Code reads AGENTS.md instead; change it under "Project instructions" in /config (not yet on Bedrock, Vertex or Foundry)”; “Changed auto mode for Claude API and Enterprise users, and on Bedrock, Vertex, Foundry and gateways, to default to the server-side classifier, which does not charge for classifier overhead”; “Added an Auto mode server row to /status showing whether this session’s auto mode classifier runs on the server”. Supporting docs fetched September 21, 2026: Memory, AGENTS.md section (load matrix, Project instructions values, the agents-md@builtin pluginConfigs location, files not read) and Auto mode classifier request charges (fallback notice text and delivery, the /status row values, gateway pass-through, and the variable’s temporary status). ↩↩

  204. Claude Code v2.1.280 release notes (npm published September 22, 2026 at 15:44 UTC; GitHub release 16:38 UTC), and the canonical CHANGELOG on September 22 and September 23, 2026. Source for every v2.1.280 item in this guide. npm dist-tags on September 23: latest and next 2.1.280, stable 2.1.267; no 2.1.279 was ever published. Key quotes: “Added Claude Opus 5.5 (claude-opus-5-5), now the default Opus model”, with “1M context, $4/$20 per Mtok with $0.20/Mtok cache reads”; “Changed the default model on Pro and Team Standard plans from Sonnet to Opus, matching Max, Team Premium, and Enterprise”; “Fixed auto mode denying actions over and over without pause when a safety check gave no answer; retries now back off, and the turn stops with a message after ten in a row”. ↩↩↩

  205. Anthropic canonical model documentation, fetched September 22, 2026: Models overview and the Claude Code model configuration docs. Source for Claude Opus 5.5: Claude API ID and alias claude-opus-5-5; Amazon Bedrock ID anthropic.claude-opus-5-5, Google Cloud, Microsoft Foundry, and Claude Platform on AWS IDs claude-opus-5-5; pricing “$4 / input MTok, $20 / output MTok”; cache reads at 5% of the base input price (“Cache hits and refreshes on Claude Opus 5.5 and Claude Sonnet 5.5 are priced at 0.05x the base input price”), which is $0.20/MTok; thinking “Adaptive (always on)” – the same designation as Claude Fable 5.1, where Claude Sonnet 5 reads “Adaptive”; default effort medium (Claude Fable 5.1 and Claude Sonnet 5 both read high); context window 1M tokens; max output 128K tokens, with Opus 5.5 named among the models supporting “up to 300k output tokens with the output-300k-2026-03-24 beta header” on the Message Batches API; reliable knowledge cutoff Jun 2026 and training data cutoff Jun 2026, tying Claude Fable 5.1; retirement “Not sooner than September 22, 2027”; the overview’s recommendation to “start with Claude Opus 5.5 for most workloads”; and Claude Opus 5 now listed in the Legacy models table alongside Fable 5, Opus 4.8, 4.7, 4.6, 4.5 and Sonnet 4.6, 4.5. Re-read November 25, 2026; the quotations that had drifted are given in that day’s wording.

    From the model-config docs, the by-plan default table verbatim: “Pro, Max, Team, Enterprise, and Anthropic API: defaults to Opus 5.5”; “Claude Platform on AWS, Amazon Bedrock, and Google Cloud’s Agent Platform: defaults to Opus 5.5”; “Microsoft Foundry: defaults to Sonnet 4.5”; the opus alias table (Anthropic API, Claude Platform on AWS, Amazon Bedrock and Google Cloud’s Agent Platform all resolve to Opus 5.5; Microsoft Foundry resolves to Opus 4.6); the version floor (“Opus 5.5 requires Claude Code v2.1.280 or later. Opus 5 requires v2.1.219 or later. Sonnet 5 requires v2.1.197 or later.”); and the history note (“Before v2.1.280, default resolved to Sonnet 5 on Pro and Team Standard, and to Opus 5 on Max, Team Premium, Enterprise, the Anthropic API, Claude Platform on AWS, Amazon Bedrock, and Google Cloud’s Agent Platform from v2.1.219.”). ↩

  206. Anthropic platform documentation, fetched September 23, 2026: the Claude Opus 5.5 model page, Migrating to Claude Opus 5.5, and Pricing. Source for Opus 5.5 pricing ($4/$20 per MTok, $0.20 cache reads, “Cache hits and refreshes on Claude Opus 5.5 are priced at 0.05x the base input price”), fast-mode pricing ($8/$40 on Opus 5.5; $10/$50 on Opus 5 and Opus 4.8), and the breaking changes: “Four breaking changes affect code already running on Claude Opus 5: thinking can’t be disabled, forced tool use returns an error, thinking blocks are tied to the model and the conversation, and, on the Claude API and Google Cloud, the earlier computer_20251124 computer use tool is not accepted.” The migration guide supplies the tool_choice detail (any and tool return a 400, including on the token-counting endpoint), the Bedrock exception for computer_20251124, and the change that returns text between tool calls as thinking blocks. ↩

  207. Claude Code documentation, fetched September 23, 2026: Model configuration, Fast mode, Memory, Permission modes, Auto mode classifier request charges, and MCP. Source for content-based fallback (“biology-flagged requests re-run on Opus 5, and cybersecurity-flagged requests re-run on Opus 4.8” for Fable 5.1, Fable 5, and Opus 5.5); effort defaults (medium on Opus 5.5, which a top-level effortLevel does not reach); “You can’t turn thinking off on Opus 5.5 or the Fable models”; the 200K window for Opus 4.8 and later on Bedrock, Agent Platform, and Foundry, and Foundry’s opus resolving to Opus 4.6; fast-mode model support and Opus 5.5 as the fast-mode default from v2.1.280; the AGENTS.md difference table, the first-session caveat, and the note that /memory and /context did not list a directly-read AGENTS.md before v2.1.280; the built-in starting-mode table (auto on Pro, Max, and Team; Manual on Enterprise, Console API keys, and third-party providers); the server-side check list, which includes Claude Platform on AWS; and Tool Search loading only tool names and server instructions at session start. ↩

  208. Claude Code v2.1.281 release notes (npm published September 23, 2026 at 17:01 UTC; GitHub release 19:19 UTC; 176 bullets, identical to the 2.1.281 section of the canonical CHANGELOG, fetched September 24, 2026, which runs 2.1.280 to 2.1.281 with no gap). Source for every v2.1.281 item in this guide. npm dist-tags on September 24: latest and next 2.1.281, stable 2.1.273. Key quotes: “Changed send now (ctrl+enter or ctrl+x ctrl+s) to move running tools to the background instead of cancelling the turn”; “Changed CLAUDE_CODE_AUTO_MODE_SERVER to also apply on a direct Anthropic API connection: 0 opts out of the server-side auto mode classifier (the local classifier then counts toward usage), 1 opts in”; “Changed the dangerous rm prompt in --dangerously-skip-permissions and auto mode to wait 2 minutes for an answer, then deny the command with a rewrite hint”; “Added "attribution": false in settings.json to hide all commit and PR attribution”. The /agents wizard removal is from the 2.1.198 section of the same CHANGELOG: “Removed the /agents wizard; ask Claude to create or manage subagents, or edit .claude/agents/ directly.” The auto mode classifier billing docs, fetched September 24, 2026, still read “The variable isn’t read on a direct connection to the Anthropic API”; by September 26 the page reads “On a direct connection to the Anthropic API, the variable requires Claude Code v2.1.281 or later.” The settings reference, same date, documents the attribution object and marks includeCoAuthoredBy deprecated; by September 26 it also documents the false value. ↩

  209. Claude Code v2.1.282 release notes (npm published September 24, 2026 at 15:56 UTC; GitHub release 18:38 UTC; 86 bullets, identical to the 2.1.282 section of the canonical CHANGELOG, fetched September 26, 2026). Source for every v2.1.282 item in this guide. Key quotes: “Changed auto mode to use the server-side classifier by default on a direct Anthropic API connection when telemetry is off (CLAUDE_CODE_AUTO_MODE_SERVER=0 opts out)”; “Changed project and local settings to ignore OpenTelemetry variables that turn on export, set its endpoint, or capture content, like CLAUDE_CODE_ENABLE_TELEMETRY and OTEL_LOG_*”; “Added a maxProseWidth setting that caps the width of Claude’s prose in wide terminals”; “Added the allowClaudeInChromeWithManagedMcp managed setting to let claude --chrome run alongside an exclusive managed-mcp.json”; “Changed sandbox.excludedCommands to ignore project and local settings entries when managed settings or --settings set allowUnsandboxedCommands: false, or managed allowManagedDomainsOnly: true”; “Changed skill folders, command files and workflow commands in the anthropic-skills or claude-ai namespace to no longer load”. ↩

  210. Claude Code v2.1.283 release notes (npm published September 25, 2026 at 18:46 UTC; GitHub release 21:50 UTC; 94 bullets, identical to the 2.1.283 section of the canonical CHANGELOG, fetched September 26, 2026, which runs 2.1.281 to 2.1.283 with no gap). Source for every v2.1.283 item in this guide. npm dist-tags on September 26: latest and next 2.1.283, stable 2.1.274. Key quotes: “Changed interactive sessions on third-party providers or with telemetry off to start in auto mode when no permission mode is configured; permissions.defaultMode still overrides it”; “Added deniedModels managed setting to block specific models, even when availableModels allows them”; “Added /doctor prompt-audit (also /checkup prompt-audit) to audit your CLAUDE.md files, skills, agents and commands for prompting patterns written for older models”; “Added x-claude-code-prompt-id to the gateway hint headers”; “Changed the /model picker’s Opus row and the Default model’s name to drop ‘(1M context)’ where Opus already has a 1M context window”; “Reverted the 2.1.282 reservation of the claude-ai name”. ↩

  211. Claude Code documentation, fetched September 26, 2026. Permission modes: “With Claude Code v2.1.283 or later, auto mode is the built-in starting permission mode for interactive terminal and VS Code sessions on every plan and provider”; claude -p and the Agent SDK start in default; “From v2.1.282, a session that doesn’t fetch feature flags, for example because you turned telemetry off, asks the server by default in any kind of session.” Auto mode classifier billing: “On a direct connection to the Anthropic API, the variable requires Claude Code v2.1.281 or later.” Settings reference: attribution “or false to hide all attribution. The false value requires Claude Code v2.1.281 or later”; maxProseWidth, deniedModels, and availableModelsMatch entries; the OpenTelemetry group under “Variables Claude Code ignores in env”. LLM gateway protocol: “Direct connection to the Anthropic API: sent by default”. Skills: the reserved anthropic-skills name. The settings reference also now documents spinnerTipsOverride’s tipsFile and tip objects (“Tip objects, tipsFile, label, and the Scope line’s rule … require Claude Code v2.1.247 or later”) and the timeFormat and timeZone keys. ↩

  212. Claude Code v2.1.284 release notes (npm published September 28, 2026 at 17:11 UTC; GitHub release 18:02 UTC; 100 bullets, identical to the 2.1.284 section of the canonical CHANGELOG, fetched September 29, 2026, which runs 2.1.283 to 2.1.285 with no gap). Source for every v2.1.284 item in this guide. Key quotes: “Added Claude Sonnet 5.5 (claude-sonnet-5-5), now the default Sonnet model on the Anthropic API”; “Changed interactive terminal and VS Code sessions to start in auto mode when no permission mode is configured, on every plan and provider; permissions.defaultMode still overrides it”; “Changed Ultracode into its own toggle in /effort (Tab, or /effort ultracode [on|off]): it no longer forces xhigh effort and stays on at any effort level”; “Added /mcp reconnect all in the interactive terminal to retry every MCP server that failed to connect or needs authentication at once”; “Added a ‘Yes, but ask again next time’ answer to auto mode’s prompt before a read outside the working directories”; “Added effortSlider:decreaseEffort, increaseEffort and toggleUltracode keybinding actions”. ↩

  213. Claude Code v2.1.285 release notes (npm published September 29, 2026 at 17:32 UTC; GitHub release 19:27 UTC; 136 bullets, identical to the 2.1.285 section of the canonical CHANGELOG, fetched September 29, 2026). Source for every v2.1.285 item in this guide. npm dist-tags on September 29: latest and next 2.1.285, stable 2.1.280. Key quotes: “Changed claude -p and Python Agent SDK sessions on third-party providers or with telemetry off to start in auto mode when no permission mode is configured, like interactive sessions; --permission-mode still overrides it”; “Added allowedProviders managed setting to limit which API providers a machine may use”; “Added claude --desktop to open the Claude desktop app on the current directory, or on a session with --continue / --resume <id>”; “Added CLAUDE_CODE_DISABLE_WEB_FETCH environment variable to turn off the WebFetch tool”; “Changed background Bash and PowerShell commands to stop after a time limit (their timeout with run_in_background, default 30 min, max 2 h)”; “Changed sessions behind a custom ANTHROPIC_BASE_URL to use the 1M context window of models that have one (Opus 4.7+, Sonnet 5+, Fable); run /autocompact 200k if your gateway stops at 200K”; “Changed sandbox settings so project settings cannot widen or turn off an admin-required sandbox”; “Changed /config chrome=true to direct you to the /config panel instead of enabling Claude in Chrome by default”. ↩

  214. Anthropic documentation, fetched September 29, 2026. Model configuration: the alias table reads “Anthropic API | Opus 5.5 | Sonnet 5.5”; “Sonnet 5.5 requires Claude Code v2.1.284 or later”; the effort default is high “except that Opus 5.5 and Sonnet 5.5 default to medium”; “You can’t turn thinking off on Opus 5.5, Sonnet 5.5, or the Fable models”; for Sonnet 5.5, “cybersecurity-flagged requests re-run on Sonnet 5. Biology-flagged requests end with a refusal”; “Turning ultracode on or off with /effort or the ultracode setting leaves the effort level unchanged”, while “The --effort ultracode flag … turn[s] it on and also set[s] the level to xhigh”. Claude Sonnet 5.5 model page: released September 28, 2026; 1M context, 128K max output; $2/$10 per MTok with $0.20 cache reads (the page’s figure on September 29; it reads $0.10 since, see 236); reliable knowledge cutoff June 2026; retirement no sooner than September 28, 2027; the five breaking changes against Sonnet 5. Permission modes: “With Claude Code v2.1.283 or later, auto mode is the built-in starting permission mode for interactive terminal and VS Code sessions on every plan and provider”; the starting-mode table still lists claude -p or the Agent SDK as default. ↩

  215. Claude Code v2.1.286 release notes (npm published September 30, 2026 at 17:14 UTC; GitHub release 19:10 UTC; 88 bullets, identical to the 2.1.286 section of the canonical CHANGELOG, fetched October 1, 2026, which runs 2.1.285 to 2.1.287 with no gap). Source for every v2.1.286 item in this guide. Key quotes: “Changed --bare to connect only the MCP servers named on the command line, send the model no system reminders, and start no background tasks”; “Fixed every turn failing when the Anthropic API refuses the model your default or a model alias resolves to: Claude Code now retries once on the previous model of the same tier”; “Changed /hooks to open on one list of your configured hooks grouped by event”; “Fixed claude auth status reporting a Console sign-in’s stored API key as claude.ai; it now reports api_key”; “Changed plugin installs to refuse npm sources that are git repositories or folders, and to install plugin dependencies only from registry packages”; “Changed how failed API requests are retried: one limit now covers a whole model call, so with the default retry settings a failing call sends at most 14 requests”. ↩

  216. Claude Code v2.1.287 release notes (npm published October 1, 2026 at 16:59 UTC; GitHub release 18:00 UTC; 106 bullets, identical to the 2.1.287 section of the canonical CHANGELOG, fetched October 1, 2026). Source for every v2.1.287 item in this guide. npm dist-tags on October 1: latest and next 2.1.287, stable 2.1.285. Key quotes: “Changed Opus 4.7+ and Fable to use a 1M context window by default on Bedrock, Vertex, Foundry and the Claude apps gateway, with no [1m] suffix (CLAUDE_CODE_DISABLE_1M_CONTEXT=1 keeps 200K)”; “Added Claude Mods: plugins may now modify deeper behavior”; “Added You should know, a built-in mod where a side agent watches your back and flags things you or Claude might miss”; “Added URL prompts from MCP servers on the 2025-11-25 protocol”; “Changed MCP server alwaysLoad: false to defer all of that server’s tools behind tool search”; “set CLAUDE_AX_PREPARK_MS=50 to restore the pause”; “Changed automatic model switches after a flagged message to keep your current effort level instead of the new model’s default”; “Changed whole-tool Bash allow rules and allowing hooks to prompt for, not run, shell writes to files Claude Code’s file tools refuse outright”; “Added prompt_text to the OpenTelemetry user_prompt event”. ↩

  217. Claude Code documentation, fetched October 1, 2026. Permission modes: for claude -p or the Agent SDK, “default in sessions that fetch feature flags. In sessions that don’t, such as on a third-party provider or with telemetry off, auto with Claude Code v2.1.285 or later”. Mods overview: “Mods are on by default. In the terminal, use Claude Code v2.1.287 or later”; “Mods aren’t sandboxed”; CLAUDE_CODE_ENABLE_FUNCTION_HOOKS is ignored from v2.1.287; cc-plugin-you-should-know is “Disabled by default”. Model configuration: after a fallback, Claude Code “keeps the effort level the flagged request ran at”; “Opus 4.6 and Sonnet 4.6 reach 1M only through their [1m] variant”; the gateway 1M passage and /autocompact 200k. Amazon Bedrock and Agent Platform: “To enable it for a manually pinned model instead, append [1m] to the model ID.” Environment variables: CLAUDE_AX_PREPARK_MS “Default 0 … Before v2.1.287, the default was 50”; CLAUDE_CODE_DISABLE_WEB_FETCH “The WebSearch tool stays available. Requires Claude Code v2.1.285 or later”. Headless: “Before v2.1.286, these limits held only partly”. Agent view: the n:<text> filter and “A reply that is exactly /stop stops the session at once.” Settings reference: allowClaudeInChromeWithManagedMcp (“Requires Claude Code v2.1.282 or later”) and allowedProviders entries. The MCP page does not list bareElicitationCapability. Re-read November 25, 2026; the quotations that had drifted are given in that day’s wording. ↩

  218. Claude Code canonical CHANGELOG, section 2.1.288, fetched October 6, 2026, and npm registry metadata for @anthropic-ai/claude-code read the same day: 2.1.288 published October 2, 2026 at 18:30 UTC, 2.1.289 October 3 at 20:12 UTC, 2.1.290 October 5 at 18:12 UTC, 2.1.291 October 6 at 03:32 UTC, 2.1.292 October 6 at 17:10 UTC; dist-tags latest and next 2.1.292, stable 2.1.285. The CHANGELOG runs 2.1.287 to 2.1.292 with no gap. Source for every v2.1.288 item in this guide. Key quotes: “Changed claude project purge to claude purge; the old name still works and prints a notice”; “Changed the background command time limit to apply only in unattended sessions (-p, Agent SDK, CI, cloud); terminal, desktop app and VS Code sessions have no limit”; “Added --max-findings <n>|all to /code-review”; “added CLAUDE_CODE_DISABLE_STRUCTURED_OUTPUTS to turn structured outputs off”; “Changed the client-side auto mode classifier to ignore an ANTHROPIC_DEFAULT_SONNET_MODEL pin that names Claude Sonnet 5.5 or Opus 5.5 and use Claude Sonnet 5 instead”; “requests now time out after 60s (per-server requestTimeout)”. ↩↩↩

  219. Claude Code canonical CHANGELOG, sections 2.1.289, 2.1.290, and 2.1.291, fetched October 6, 2026. Source for every v2.1.289, v2.1.290, and v2.1.291 item in this guide. Key quotes: “Fixed a regression in 2.1.290 where cloud sessions could drop answers to permission prompts”; “Fixed a regression in 2.1.288 where the last messages of a session could be lost when quitting”; “Changed the interactive session’s WebSearch budget to refill over time (100 calls/hour; CLAUDE_CODE_WEB_SEARCH_REFILLS_PER_HOUR sets the rate, 0 turns it off) instead of ending after 200 calls”; “Changed Claude in Chrome so that a project’s settings files can no longer turn it on; use --chrome, /chrome or your user settings”; “Changed the Bash tool to ask for permission before running pyright, which is no longer treated as a read-only command”; “Changed CLAUDE_CODE_DISABLE_ATTACHMENTS so a repository’s .claude/settings.json or .claude/settings.local.json can no longer set it”; “Added agent.spawn for teammates, one agent id across plugin hook events, and idle and waiting states in $.agent.list()”. ↩↩↩↩↩

  220. Claude Code canonical CHANGELOG, section 2.1.292, fetched October 6, 2026. Source for every v2.1.292 item in this guide. Key quotes: “Added CLAUDE_CODE_OVERLOADED_RETRY_BASE_DELAY_MS environment variable to set a longer base delay for the backoff when retrying an overloaded (529) request”; “Added an effort parameter to the Agent tool”; “Added --marketplace <source> to claude plugin install”; “Changed local (stdio) MCP server connections to negotiate protocol version 2026-07-28 by default on every install, including Bedrock, Vertex and Foundry; MCP_PROTOCOL_NEGOTIATION=legacy opts out”; “Security: Fixed PreToolUse hook approvals and auto mode bypassing the permission prompt for file reads from network (UNC) paths”; “Changed agent names to allow at most 256 characters”. ↩↩

  221. Claude Code documentation, fetched October 6, 2026. Environment variables: CLAUDE_CODE_DISABLE_STRUCTURED_OUTPUTS “Requires Claude Code v2.1.288 or later”; CLAUDE_CODE_MAX_WEB_SEARCHES_PER_SESSION still “(default: 200)”; no entry for CLAUDE_CODE_OVERLOADED_RETRY_BASE_DELAY_MS or CLAUDE_CODE_WEB_SEARCH_REFILLS_PER_HOUR. CLI reference and Agent view: partial session names for claude attach and claude logs require v2.1.290; claude purge listed. Claude directory: “Before v2.1.288, the command was claude project purge.” Tools reference: “Before v2.1.288, it applied in every session” (the background command time limit). Code review: --max-findings “Requires Claude Code v2.1.288 or later”. Keybindings: agents:find, agents:rename, agents:previousGroup, agents:nextGroup, v2.1.288. Memory: “A path-scoped rule loads when Claude uses the Read, Write, or Edit tool on a matching file”. MCP: stdio negotiation still described as turning on “for Claude Code v2.1.285 or later, in sessions where Claude Code fetches feature flags”. Plugin CLI reference: --marketplace listed for /plugin install only; the marketplace-manifest validate behavior “requires Claude Code v2.1.289 or later”. Mods reference: written “as of v2.1.289”; agent.spawn with e.isTeammate and $.ui selection listed. Sub-agents: effort documented as a frontmatter field only; name is a “Unique identifier of at most 256 characters”, and a file with a name “longer than 256 characters” is skipped with an error in the debug log (re-fetched later on October 6). Settings reference: claudeInChromeDefaultEnabled scope “Global config”. Commands: /claude-api lists managed-agents-onboard. Use Claude Code with Chrome: “run /chrome in a CLI session and select the option that turns Chrome on by default”; the page does not mention the v2.1.290 project-settings change. Re-read November 25, 2026; the quotations that had drifted are given in that day’s wording. ↩↩↩↩↩

  222. Claude Code canonical CHANGELOG, sections 2.1.293 through 2.1.296, fetched October 11, 2026, and npm registry metadata for @anthropic-ai/claude-code read the same day: 2.1.293 published October 7, 2026 at 17:18 UTC, 2.1.294 October 8 at 03:42 UTC, 2.1.295 October 8 at 18:22 UTC, 2.1.296 October 9 at 16:58 UTC; dist-tags latest and next 2.1.296, stable 2.1.287. The GitHub release bodies (published 18:10, 05:03, 19:48, and 19:28 UTC) carry 56, 2, 143, and 79 bullets, identical to the CHANGELOG. Source for every v2.1.293 through v2.1.296 item in this guide.

    Key quotes: “Added Claude Haiku 5.5 (claude-haiku-5-5), now the default Haiku model on the Anthropic API” with “1M context, $0.10/$0.50 per Mtok ($0.50/$2.50 for prompts over 100K)”; “Added onFailure: "block" for command and HTTP hooks: a hook that can’t start, times out, or exits with an unexpected code blocks the action instead of letting it through”; “Changed the default limit on MCP tool descriptions sent up front and on MCP server instructions from 2,048 to 4,096 characters”; “Changed MCP tool descriptions the model loads through tool search to be cut at 16,384 characters instead of 2,048”; “Changed subagents to preload at most 32 skills from the skills field, each once”; “Added autoCompactWindow to subagent frontmatter and --agents definitions, so a subagent can auto-compact earlier than the main conversation’s window”; “Updated /cost, the status line, --max-budget-usd and the SDK’s cost figures to price Sonnet 5.5 cache reads at $0.10 per million tokens (was $0.20)”; “Added an allow_large option to the Read tool”; “Reverted the auto mode denial message change from 2.1.281”; “Fixed a saved Claude apps gateway sign-in being ignored on machines whose managed settings set forceLoginMethod to gateway with no forceLoginGatewayUrl (regression in 2.1.295)”. ↩↩↩↩↩↩

  223. Claude Haiku 5.5 model overview, the Models overview, the Pricing page, and the Claude Code Model configuration page, fetched October 11, 2026. Model page: “Released October 7, 2026”; “Context window: 1M tokens · Max output: 128K tokens”; input “$0.10 / MTok for prompts up to 100,000 tokens; $0.50 / MTok for prompts over 100,000 tokens”, output “$0.50 / MTok” and “$2.50 / MTok” on the same split, cache read “$0.01 / MTok” and “$0.05 / MTok”; thinking “Adaptive”, default effort medium, reliable and training cutoffs “Jun 2026”, retirement “Not sooner than October 7, 2027”; “the same text counts as approximately 30 percent more tokens than on Claude Haiku 4.5”; Bedrock ID anthropic.claude-haiku-5-5. Pricing page: “A request’s prompt length counts all of its input tokens, including cache reads and cache writes. Each request is priced on its own”; “Cache hits and refreshes on Claude Opus 5.5 and Claude Sonnet 5.5 are priced at 0.05x the base input price”, “Claude Sonnet 5.5 | 0.05x | $0.10 USD”. Model configuration: the alias table resolves haiku to Haiku 5.5 on the Anthropic API and to Haiku 4.5 on Claude Platform on AWS, Amazon Bedrock, Google Cloud’s Agent Platform, and Microsoft Foundry; “Use v2.1.293 or later with Haiku 5.5”; “once haiku resolves to Haiku 5.5, a session saved on Haiku 4.5 resumes on Haiku 5.5”; “Haiku models are always available and can’t be disabled, so every member keeps at least one usable model”. Re-read November 25, 2026; the quotations that had drifted are given in that day’s wording. ↩

  224. Claude Code documentation, fetched October 11, 2026. Hooks: onFailure is “Whether the action that triggered the hook goes ahead when the hook fails: "continue" or "block"… Requires Claude Code v2.1.295 or later”; the failures it counts are “Can’t start”, “Exit code other than 0 or 2”, “HTTP error”, “Timeout”, and “Invalid output”; “With "block" set, a failure does what exit code 2 does on that event, except on PermissionRequest, where it denies the request”; “The field has no effect on” Stop, SubagentStop, TaskCompleted, TeammateIdle, and background (async, asyncRewake) command hooks. Environment variables: CLAUDE_CODE_OVERLOADED_RETRY_BASE_DELAY_MS “Starting delay in milliseconds of the backoff between retries of a request that the API rejects with a 529 overloaded error (default: 500)… Give whole milliseconds from 500 to 32000 in plain digits… Requires Claude Code v2.1.292 or later”; CLAUDE_CODE_RETRY_WATCHDOG_MAX_WAIT_MS “When unset, the wait has no limit. Requires Claude Code v2.1.295 or later”; CLAUDE_CODE_WEB_SEARCH_REFILLS_PER_HOUR “The default is 100 in an interactive terminal session. In a non-interactive session the default is 0, which turns refill off”; CLAUDE_CODE_FILE_READ_MAX_OUTPUT_TOKENS “A read that Claude makes with the allow_large parameter can go past this limit when the context window has room”; VERTEX_REGION_CLAUDE_HAIKU_5_5 “Added in v2.1.293”; no entry for CLAUDE_CODE_OVERLOADED_RETRY_MAX_DELAY_MS or CLAUDE_CODE_WORKFLOW_SUBAGENT_MODEL. Re-read November 25, 2026; the quotations that had drifted are given in that day’s wording.

    Sub-agents: the skills field preloads “up to the first 32 distinct names in the list”; the per-invocation effort parameter “overrides the effort field and stays in effect when the subagent is resumed… requires Claude Code v2.1.292 or later”; autoCompactWindow is not among the listed frontmatter fields. Status line: agentType “Requires Claude Code v2.1.293 or later”. MCP: “Claude Code asks stdio servers for that revision by default. To keep a stdio channel server on the earlier handshake, set MCP_PROTOCOL_NEGOTIATION to legacy, which keeps every server on it.” Plugin CLI reference: claude plugin install takes --marketplace <source>, “Requires Claude Code v2.1.292 or later”. Mods reference: still written “as of v2.1.290”; no entry for $.ui.notify or prompt.autocomplete. ↩↩↩↩↩

  225. Claude Fable 5.1 model overview and Introducing Claude Fable and Mythos 5.1, Anthropic; fetched September 3, 2026. Source for: the September 1, 2026 release date; $10/$50 per MTok pricing with cache reads at $0.25/MTok (0.025x the input price – 2.5%, versus the standard 10% – a rate only Fable 5.1 and Mythos 5.1 carry) and standard cache writes ($12.50 per MTok 5-minute, $20 per MTok 1-hour); the 1M context window and 128K max output; adaptive always-on thinking with effort defaulting to high; the reliable knowledge cutoff of June 2026 with a June 2026 training-data cutoff; retirement no sooner than September 1, 2027; the Bedrock ID anthropic.claude-fable-5-1; the three breaking changes against Fable 5 (forced tool use returns an error, earlier models cannot read its thinking blocks, editing earlier turns invalidates thinking blocks) and the five additive changes (per-message effort, beta; turn-scoped system messages, beta; progress updates between tool calls with display: "updates", beta; the cheaper cache reads; content provenance); and, as the page read on that date, Claude Mythos 5.1 as the same-spec invitation-only model under Project Glasswing (the page now describes access through Anthropic’s verification programs; see 404).

    On that date the overview’s floor read “Fable 5.1 requires Claude Code v2.1.255 or later”, which named a build never published on npm; the overview carries no Claude Code version today, and the model configuration page says v2.1.257 (see 208 and 404). Models overview, same fetch: Fable 5 now sits in the Legacy models table alongside Opus 4.8, 4.7, 4.6, and 4.5 and Sonnet 4.6 and 4.5. ↩

  226. Model configuration, fetched September 3, 2026. Verbatim: “Unless you set ANTHROPIC_DEFAULT_FABLE_MODEL, the fable alias resolves to Fable 5.1. Before v2.1.255, it resolved to Fable 5.” The best alias is “the latest Fable model where it’s available to you”. Plan defaults are unchanged by the launch: Opus 5 on the premium plans, Sonnet 5 on Pro and Team Standard. ↩

  227. Settings and CLI reference, fetched September 3, 2026. Settings, on permissions.defaultMode: the values auto and bypassPermissions “don’t take effect from project or local settings”. CLI reference, on --effort: the flag “Overrides” the default effort “for this session and doesn’t persist” – the pick no longer outlives the session. Re-read November 25, 2026; the quotations that had drifted are given in that day’s wording. ↩

  228. Managed settings, fetched September 3, 2026. Source for managedSourcesBehavior: first-wins remains the default; setting it to “merge” composes every admin source, with the higher-ranked source winning on most keys, list-valued keys unioning across sources, and the sandbox locks taking the strictest value any source sets; each key is read only from the highest-ranked source that sets it; and managedSourcesBehavior is a control key rather than a policy key, so a source that sets only it does not count as delivering a policy key. ↩

  229. Claude Code CHANGELOG, section 2.1.247, fetched August 27, 2026. npm published 2.1.247 on August 26, 2026 at 18:02 UTC (dist-tag latest: 2.1.247; 2.1.244 remains unpublished), the GitHub release v2.1.247 followed at 23:06 UTC, and the canonical docs changelog dates the release August 26, 2026. Verbatim: “Added the SendFeedback tool: when something goes wrong in a session, Claude can draft a feedback report for you to review and send from /feedback (turn off with the feedbackDrafts setting)”; “Added {id, text, cooldownSessions, priority} entries, tipsFile, and label to spinnerTipsOverride, so organizations can rotate their own tips alongside the built-in ones”; “Added a tip on Bash permission prompts pointing to auto mode, with a one-keystroke ‘Yes, and switch to auto mode’ option”; “Added /claude-api cost-optimize to profile an existing project’s Claude API spend and work through cost levers (caching, token hygiene, batch, effort, model choice) one measured change at a time”; “Updated the /claude-api skill with Admin API coverage (organization members, invites, workspaces, API keys, rate limit reports, workload identity federation, CMEK)”; “Changed Sonnet 5’s default auto-compact window to its full 1M context, so sessions on the 1M window now auto-compact at about 967K tokens instead of about 934K”; “Changed cross-session peer messages to collapse by default to a one-line Message from @<sender>: <first line> preview; Ctrl+O expands the full body”. The settings reference does not yet document feedbackDrafts or the new spinnerTipsOverride keys; the CHANGELOG is the only source for them as of August 27, 2026. ↩

  230. Claude Code release notes v2.1.235 (Aug 18), v2.1.236 (Aug 19), v2.1.237 and v2.1.238 (Aug 20), and the canonical CHANGELOG.md on August 20, 2026 (latest heading: 2.1.238). Quoted behavior verbatim from the notes: spellcheck “using your installed aspell, hunspell, or ispell”; ANTHROPIC_DEFAULT_MODEL “sets the model new sessions start on, while a /model pick still overrides it and persists across restarts (unlike ANTHROPIC_MODEL)”; Concise “leads with results and skips preamble and narration, while doing the work just as thoroughly”; keybindingFlavor "readline" “Ctrl+W in the prompt delete back to the previous whitespace, as in Bash”; headersHelper “runs a command that mints HTTP headers (e.g. a short-lived token)” with install/update-only execution for catalog entries and credential-env stripping for project/plugin/agent scopes; auto mode “Monitor allow rules are now set aside while auto mode is active”; macOS sandbox “wildcard read-deny rules (e.g. **/.env) now take precedence inside allowed read regions… and can’t be bypassed by renaming the denied file.” ↩

  231. Claude Code documentation, fetched August 26, 2026. Model configuration, effort table: “Fable 5 | low, medium, high, xhigh, max” and “Opus 5, Sonnet 5, Opus 4.8, and Opus 4.7 | low, medium, high, xhigh, max” (no min level exists); “The /effort menu also offers ultracode. Ultracode is a Claude Code setting rather than a model effort level: it sends xhigh to the model and additionally has Claude orchestrate dynamic workflows for substantive tasks”; “Passing ultracode to the --effort flag or the Agent SDK effortLevel value requires Claude Code v2.1.203 or later”; “The persisted effortLevel setting and the CLAUDE_CODE_EFFORT_LEVEL environment variable don’t accept ultracode.” Auto mode configuration: “run /permissions in the CLI and select the Auto mode tab. The tab requires Claude Code v2.1.246 or later, and it appears only when auto mode is available to your session”; “Claude Code shows entries from managed settings or the --settings flag as read-only, and saves every change you make on the tab to ~/.claude/settings.json”; “When you add the first rule to a section, Claude Code also inserts "$defaults" so the built-in rules stay in effect.” Re-read November 25, 2026; the quotations that had drifted are given in that day’s wording.

    Permissions: “Put the * after the subcommand. In git log --oneline main, git is the program and log is the subcommand … Bash(git log *) allows only git log commands, and Bash(git *) allows every git command. Claude Code warns at startup about an allow rule with a * before the subcommand, such as Bash(git * main).” Errors: “Bash(git * main) also approves git -c core.fsmonitor=<script> diff main, where -c makes git run a program the command names”; the fix: “Replace the * before the subcommand with the exact value you mean: Bash(git checkout main) in place of Bash(git * main).” Claude Code on the web: “Claude Code on the web is in research preview for Pro, Max, and Team users, and for Enterprise users with premium seats or Chat + Claude Code seats”; “Run /web-setup in your terminal to sync your local gh CLI token to your Claude account”; “Team and Enterprise Owners can disable /web-setup with the Quick web setup toggle at claude.ai/admin-settings/claude-code”; “Organizations with Zero Data Retention enabled can’t use /web-setup or other cloud session features.”

    (These four cloud-session quotes are the page as it read on August 26, 2026. On November 10, 2026 it reads “Cloud sessions are available on Pro, Max, Ultra, and Team plans, and for Enterprise users with premium seats or Chat + Claude Code seats”, “Run /web-setup in your terminal to send your local gh CLI token to your Claude account”, and, of the Quick setup toggle, “On Team and Enterprise plans it’s off by default”.) Costs, /usage: “Loops: a row for each of the heaviest /loop or other scheduled tasks that ran recently, ordered by total tokens, with a count of the rest. Claude Code reports how often each task fires, how many times it ran, its total and per-run tokens, and when it last ran. Claude Code keys a row by the task’s prompt, so a loop you stop and re-create stays one row. Requires Claude Code v2.1.242 or later.” ↩

  232. Claude Code documentation, fetched August 26, 2026. Managed settings, “Which managed source Claude Code uses”: “Claude Code uses the highest-ranked source that delivers at least one policy key and ignores the rest rather than merging them, apart from the keys in Keys read from every admin source”; “Claude Code shows no warning for the sources it skips; /status names the source it used and the ones it skipped”; order, highest priority first: “1. Remote settings, delivered from claude.ai as server-managed settings or by a Claude apps gateway … 2. MDM or OS-level policies: the macOS plist or the HKLM registry key 3. Managed settings files, managed-settings.d/*.json and managed-settings.json merged together 4. The HKCU registry, on Windows, and on WSL once the HKLM registry or the Windows managed settings file turns wslInheritsWindowsSettings on and the HKCU value also sets it.” Re-read November 25, 2026; the quotations that had drifted are given in that day’s wording.

    Prompt caching: “Unless you choose a TTL yourself, Claude Code requests the one-hour TTL only on a Claude subscription within your plan’s included usage”; the per-bucket table gives Main conversation: One hour (subscription, within plan usage) / Five minutes (usage credits, API key, or cloud provider) and Everything else: “Five minutes, except the server-controlled helper requests, which get one hour” / Five minutes; “Both settings and both environment variables require Claude Code v2.1.242 or later”; precedence: “1. FORCE_PROMPT_CACHING_5M=1, which forces five minutes for both buckets 2. The bucket’s environment variable 3. The bucket’s setting 4. ENABLE_PROMPT_CACHING_1H=1, which requests one hour for both buckets 5. The default for the request’s bucket.”

    Settings reference, modelPicker: “Scope: User or managed. Claude Code reads the key from managed settings, --settings, and user settings, and ignores it in project and local settings so a repository you clone can’t relabel the picker”; “Type: object with an options array of rows and an optional replaceBuiltInOptions Boolean”; “An availableModels allowlist still applies to these rows”; “A label changes what the picker shows, not which model Claude Code runs”; “Requires Claude Code v2.1.242 or later” (the guide’s example reuses the page’s own Bedrock rows). promptCacheTtl and subagentPromptCacheTtl: “Scope: Any file”; “Type: string, one of: "5m" … "1h"”; “Requires Claude Code v2.1.242 or later.” Provider IDs in the settings example come from Amazon Bedrock (“Primary model | Opus 5, for example us.anthropic.claude-opus-5 in a us-* region”), Google Cloud (“Primary model | claude-opus-5”), and Microsoft Foundry (export ANTHROPIC_DEFAULT_OPUS_MODEL='claude-opus-4-8', the newest Opus ID that page names). ↩

  233. Claude Code CHANGELOG, sections 2.1.246 and 2.1.245, fetched August 26, 2026; npm published 2.1.245 on August 25, 2026 at 04:45 UTC and 2.1.246 at 19:17 UTC, with a matching GitHub release for each. Verbatim 2.1.246: “Added a startup warning for Bash allow rules with a wildcard before the subcommand (e.g. Bash(git * main)), since they also match options inserted before the subcommand”; “Added an Auto mode tab to /permissions for viewing and editing auto mode classifier rules”; “Improved /cd: the new directory’s project settings, hooks, .mcp.json servers (behind the usual approval prompt), skills, and agents now take effect right after the move instead of on --resume”; “Improved subagent results: a subagent that stops at its maxTurns limit now returns its output marked as partial, with a hint to continue it via SendMessage, instead of appearing finished”; “/goal: Changed idle sessions to start at most three check-ins on long-running background work per goal; your next message allows three more”; “Fixed Bash permission checks to always require approval for malformed commands with a dangling && or || operator”; “Fixed telemetry and metrics requests to Anthropic carrying the API key configured for a third-party gateway (ANTHROPIC_BASE_URL); a credential is now only sent to its own host”; “Added the turn’s completion time to the end-of-turn duration line”. Verbatim 2.1.245: “Fixed a crash on startup on Linux distributions that ship glibc 2.44 (for example Arch Linux, CachyOS and Fedora Rawhide)”. ↩

  234. Claude Code CHANGELOG, section 2.1.243, fetched August 26, 2026. npm published 2.1.242 on August 24, 2026 at 19:16 UTC and 2.1.243 at 23:10 UTC; 2.1.242 has no CHANGELOG section, 2.1.244 was never published, and the docs pin the v2.1.242 floor for modelPicker, promptCacheTtl, and the /usage Loops rows. Verbatim: “Added a Loops breakdown to /usage: per-loop run count, total tokens, tokens per run, and last run, so runaway or chatty /loop tasks are easy to spot”; “Added modelPicker setting: curate the /model picker with an ordered, labeled list of models (any id spelling, including Vertex/Bedrock ids), appended to or replacing the built-in lineup”; “Added promptCacheTtl and subagentPromptCacheTtl settings so API-key and cloud-provider users can keep a 1-hour prompt cache on the main conversation while subagents stay at 5 minutes”; “Added modelPricing managed setting so an organization’s contracted per-model rates and discount multiplier are used for /cost, the status line, and telemetry cost figures instead of list price”; “Added a keyless sign-in under /login → Anthropic Console: ‘Sign in with your Console account’ (recommended) alongside creating an API key, so organizations that don’t allow API keys can sign in”;

    “Added a Skipped sources line to /status that lists managed settings sources (for example managed-settings.json) present but not applied because a higher-precedence managed source is active”; “Added a managed marker in /mcp and /plugins on claude.ai connectors whose authentication is managed by your organization”; “Added a tip pointing claude.ai users who haven’t connected GitHub for Claude Code on the web to /web-setup”; “Added a /status line showing whether GitHub is connected for Claude Code on the web (Pro/Max), pointing to /web-setup when it isn’t”; “Added the model (and effort level) each subagent ran on to /tasks and the agent detail dialogs”; “Improved /loop: consecutive wake-ups where Claude has nothing to do now fold into a single line in the terminal instead of printing each one”; “Fixed /web-setup repeatedly asking you to log in when an older GitHub CLI (without gh auth token) was already authenticated”; “Improved native install and auto-update download size: the binary is now zstd-compressed (about 75 MB instead of 340 MB on Linux x64)”; “Changed the cross-session messaging inbox socket to close connections that send no complete line within 30 seconds; scripts posting to it should connect once their data is ready”. ↩

  235. Anthropic Pricing, fetched August 26, 2026. Verbatim note: “The $2/$10 per million input/output token pricing for Claude Sonnet 5, announced at launch as introductory pricing through August 31, 2026, is now the standard price. The previously scheduled increase to $3/$15 per million input/output tokens on September 1, 2026 will not occur.” The pricing table lists Claude Sonnet 5 at $2 / MTok input and $10 / MTok output. Claude Code CHANGELOG, 2.1.243: “Updated the /model picker and the bundled claude-api skill to show Sonnet 5’s $2/$10 per Mtok pricing as its standard list price rather than a limited-time promo”. Model configuration on the sonnet[1m] alias: “No effect when sonnet already resolves to Sonnet 5 with its native 1M window; behind an LLM gateway, selects the 1M window for Sonnet 5”; and: “On the Anthropic API, Sonnet 5 always runs with the 1M context window. There is no 200K variant, no [1m] suffix to select, and no usage credits required on any plan.” ↩

  236. How Claude’s text watermarking works, Anthropic, August 14, 2026. Source for all quoted language: “Future Claude models will generate text that contains a watermark”; the pre-August-2 transition-period status of existing models (“we’re working to add watermarking for those models as well”); the SynthID-Text basis and randomness-source mechanism; light-editing/full-rewrite durability; translation carrying its own mark; the planned detection API; “Claude was likely involved with the content at some point” and the wrote-vs-edited limit; the no-quality-impact claim. Code sparsity detail (“negligible effect on the actual code produced,” watermark in arbitrary choices such as comments) per Anthropic as reported in TechCrunch’s August 15 follow-up. Regulatory trigger: EU AI Act Article 50, enforceable August 2, 2026 for newly launched systems. ↩↩

  237. Claude Code v2.1.234 release notes, August 17, 2026. Adds automatic session continuation when a claude.ai usage limit resets (off via /config → “Continue automatically at usage limit”), CLAUDE_CODE_PROJECT_DIR_NAME, CLAUDE_CODE_GOAL_CHECKIN_MINUTES (default 30; 0 opts out) with /goal self-clearing on unrecoverable errors, mid-turn /permissions and /add-dir, the GitLab MR footer badge, selection:clear, the ~200k→~25k claude-api skill context reduction, NT-namespace (\??\) path rejection across pre-approval file accesses, and the Remote Control account-switch/effort-sync fixes. Fetched August 17, 2026. ↩

  238. Claude Code v2.1.233 release notes, August 14, 2026. Adds GitLab MR support to --worktree/claude agents (!N), opt-in forward_user_identity gateway setting, CLAUDE_CODE_TOOL_MEMORY_LIMIT (Linux cgroup for Bash commands), CLAUDE_CODE_WEBFETCH_CACHE_TTL_MS; removes todo/task-tracking tools by default on Opus 4.8, Sonnet 5, Fable 5, Mythos 5, and newer (CLAUDE_CODE_ENABLE_TODO_TOOLS=1 restores); fixes the v2.1.232 Windows auto-mode approval regression and reverts v2.1.232’s Cygwin-symlink and input-redirection permission changes pending a narrower version; NTLM \??\ path-validation fix, MCP v2 reconnect fix, Notification-hook and Linux idle-CPU fixes, bundled-skill alias shadowing fix. Fetched August 15, 2026. ↩

  239. Claude Code v2.1.231 and v2.1.232 release notes, August 13, 2026. v2.1.231: MCP OAuth redirect-URI fix for pre-registered clients. v2.1.232: subagent forking on by default with prompt-cache inheritance; @-mention of live sessions with bare-name exact-match SendMessage delivery; unique per-machine session names; /config rows for dialog expiry and cross-session inbound; GitLab token-family redaction, glab credential protection, and GitLab plugin marketplaces; additionalMarketplaces/allowedMarketplaces aliases; gateway desktop-overlay schema validation and policy-entry boot validation; Fable 5 in /advisor; PowerShell, Cygwin-symlink, and nested-git-trust security fixes. Fetched August 14, 2026. ↩

  240. Claude Code v2.1.228 release notes, August 11, 2026. Fix-heavy release: TUI redraw stall, Windows git discovery, /tui model reversion, cross-session inbox initialization and inline message display, Remote Control /resume history leak, self-hosted-runner checkout-hook and cleanup-gap fixes, memory-folder cleanup, plugin-cache symlink protection, marketplace whole-entry settings merge, deferred-tools reminder dedupe; hardens claude.ai-synced skills (no command/MCP shadowing, sanitized descriptions, no !/@ execution); Vertex credentials fail fast; Write tool matches Edit’s overwrite rules on newer models; removes the outdated auto-mode cost note from the first-use notice. ↩

  241. Claude Code v2.1.229 release notes, August 12, 2026. Adds claude remote-control --continue, server-supplied hooks for self-hosted runners, SSE keepalive pings for gateway streaming, plugin marketplace command sources with mode: "link", ListAgents offline/cloud labels, workflow fan-out prefix stagger (CLAUDE_CODE_WORKFLOW_PREFIX_STAGGER_MS=0 disables), bracketed-IPv6 fail-closed sandbox domain lists, /commit-push-pr dangerous-flag prompting, Windows --base-dir requirement, VSCode session groups and resizable /btw. Fixes include streaming duplication, narrow-terminal RangeError crashes, \\?\/UNC path crashes, auto-mode attribution-header failure, gateway 1M /model rejection, MCP OAuth 127.0.0.1 redirect, GitHub Action review posting, IDE-diagnostics stalls. Fetched August 12, 2026. ↩

  242. Claude Code v2.1.227 release notes, August 10, 2026. Bug-fix and polish release: subscription-tier feature-flag evaluation on expired login tokens, claude-code-action Bash failures with allowed_non_write_users on GitHub-hosted runners, /tui rewind restoration, slash-command menu highlighting, and event-loop stall reductions. Fetched August 11, 2026. ↩

  243. Message your other Claude Code sessions, Anthropic Claude Code documentation. Accessed August 8, 2026. Source for the delivery outcomes (delivered/held/refused), crossSessionInbound semantics and the permission-mode-class default, dialogExpiry five-minute default and 100-held cap, the four receiving-side restrictions, transport table and filesystem-visibility rule, -p/bare-mode socket behavior, own-child verification per platform, CLAUDE_CODE_MESSAGING_SOCKET export timing, isolatePeerMachines any-scope-true semantics, loop throttling and the 50 unread-message cap, availability (macOS/Linux/WSL 2; not native Windows; not Bedrock/Claude Platform on AWS/Google Agent Platform/Microsoft Foundry), and the feature-flag dependency on CLAUDE_CODE_DISABLE_NONESSENTIAL_TRAFFIC, DISABLE_TELEMETRY, DO_NOT_TRACK, and DISABLE_GROWTHBOOK. ↩↩

  244. Claude Code v2.1.190 release notes and the Claude Code Changelog (canonical). June 24, 2026. v2.1.190: bug fixes and reliability improvements only, with no user-facing feature, setting, command, or pricing changes. (v2.1.188 and v2.1.189 were not released.) Fetched June 24, 2026. ↩

  245. Claude Code v2.1.170 release notes, the Claude Code Changelog (canonical), and Anthropic news: Claude Fable 5. June 9, 2026. v2.1.170 makes Claude Fable 5 selectable in Claude Code (/model claude-fable-5 after claude update): a new tier above Opus, model ID claude-fable-5, 1M context / 128K output, $10/$50 per MTok, with safety classifiers that fall back to Opus 4.8 on cyber/bio-chem/distillation queries and a rollout to subscription plans through June 22, 2026. Fable 5 shares Opus 4.8’s request surface (adaptive thinking only; temperature/top_p/top_k and budget_tokens removed) but adds one breaking change: an explicit thinking: {type: "disabled"} returns HTTP 400, so omit the parameter to run without thinking. The release also fixes sessions launched from the VS Code integrated terminal (or any shell inheriting Claude Code environment variables) failing to save transcripts and not appearing under --resume. Pricing, context window, and request-surface details are from the bundled claude-api model catalog (cached 2026-05-26). Claude Code-specific Fable 5 behavior (the fable/best aliases, the full low to max effort scale (high default), thinking that cannot be disabled (session toggle / alwaysThinkingEnabled / MAX_THINKING_TOKENS=0 all no-ops), the claude-fable-5[1m] extended-context variant, and the ANTHROPIC_DEFAULT_FABLE_MODEL / DISABLE_PROMPT_CACHING_FABLE config) is from the Claude Code model configuration docs, read June 10, 2026. Fetched June 9 and 10, 2026. ↩↩

  246. Claude Code v2.1.169 release notes and the Claude Code Changelog (canonical). June 8, 2026. Adds the --safe-mode flag and CLAUDE_CODE_SAFE_MODE env var (launch with CLAUDE.md, plugins, skills, hooks, and MCP servers all disabled for troubleshooting), the /cd command (move a session to a new working directory without breaking the prompt cache), and the disableBundledSkills setting plus CLAUDE_CODE_DISABLE_BUNDLED_SKILLS env var (hide bundled skills, workflows, and built-in slash commands from the model). Plus ~20 fixes: wrapped-row Up/Down navigation, enterprise MCP policy enforcement on reconnect and IDE-typed configs, a 30 to 50ms macOS UI stall with claude.ai credentials, claude -p Windows performance, Remote Control reconnection, Windows Git Credential Manager popup, custom-statusline footer hints, stale remote-session prompts, claude agents --json omitting blocked sessions, TaskCreate input auto-repair, lower streaming CPU, restored Vertex/Foundry idle timeout, skill-tag contrast, and background-session flag preservation across retire→wake. Fetched June 9, 2026. ↩

  247. Claude Code v2.1.166 release notes, Claude Code v2.1.167 release notes, Claude Code v2.1.168 release notes, and the Claude Code Changelog (canonical). June 6, 2026. v2.1.166 adds the fallbackModel setting (up to three fallback models tried in order when the primary is overloaded/unavailable), extends --fallback-model to interactive sessions, and retries a turn once on the fallback model for unexpected non-retryable API errors; adds glob support in the deny-rule tool-name position ("*" denies all tools) while allow rules reject non-MCP globs; hardens cross-session messaging so SendMessage-relayed messages from other Claude sessions no longer carry user authority; makes MAX_THINKING_TOKENS=0, --thinking disabled, and the per-model thinking toggle disable thinking on think-by-default models; and makes claude update announce the target version before downloading, plus fixes for image processing, remote-session stability, and terminal rendering (JetBrains, WezTerm/Ghostty). v2.1.167 and v2.1.168 (both June 6) are bug-fix/reliability-only with no individually documented user-facing changes. Fetched June 6, 2026. ↩

  248. Claude Code v2.1.163 release notes and the Claude Code Changelog (canonical). June 4, 2026; the changelog jumps from v2.1.160 to v2.1.163 with no published 161/162. Adds requiredMinimumVersion/requiredMaximumVersion managed settings (refuse to start outside an approved version range), /plugin list with --enabled/--disabled filters, Stop/SubagentStop hookSpecificOutput.additionalContext for non-error feedback that keeps the turn going, /btw “c to copy” raw markdown, skills \$ literal-dollar escape, and stdio MCP servers receiving the session’s CLAUDE_CODE_SESSION_ID on --resume. Fixes include claude -p hanging on never-exiting background commands, Bedrock/Vertex/Foundry claude -p under CI=true demanding an Anthropic key, the v2.1.154 $TMPDIR regression breaking bazel/EDR-protected Go, OneDrive/read-only session-env EEXIST on Windows, late-applying org-managed permission rules, background sessions losing tasks across updates, hook if: "Bash(...)" over-matching $()/$VAR, and ~-path deny rules not blocking $HOME references. Fetched June 4, 2026. ↩↩

  249. Claude Code v2.1.160 release notes and the Claude Code Changelog (canonical). June 2, 2026. Adds permission prompts before writing shell startup files (.zshenv, .zlogin, .bash_login) and ~/.config/git/; acceptEdits now prompts before build-tool config files that grant code execution (.npmrc, .yarnrc*, bunfig.toml, .bazelrc, .pre-commit-config.yaml, .devcontainer/, and similar). A single-file grep/egrep/fgrep now satisfies the read-before-edit check. Renames the dynamic-workflow trigger keyword from workflow to ultracode (violet-highlighted in the prompt input); the word “workflow” no longer triggers a run. Removes CLAUDE_CODE_OPUS_4_6_FAST_MODE_OVERRIDE (now a no-op) and the JetBrains plugin install suggestion at startup. Plus ~25 fixes: WSL copy-on-select via PowerShell interop instead of OSC 52, claude agents session restore dropping chat history and re-running the original prompt, overnight-retired background sessions losing conversation, claude --bg “socket missing” cold-start race, Windows background-session input unresponsiveness under heavy CPU, terminal sync-output artifacts on Apple Terminal/tmux, CJK IME caret position in the claude agents view, file:///C:/... link rewriting on Windows hyperlink terminals, voice mode failing on non-ASCII project/branch names, the auto-mode-unavailable message on third-party providers now pointing to CLAUDE_CODE_ENABLE_AUTO_MODE instead of blaming the model, /effort ultracode no longer offered on models that cannot run xhigh, model-not-found errors no longer suggesting --model under the SDK, vim p paste position after v$ yank, and SIGTERM-before-SIGKILL on background-session teardown. Fetched June 2, 2026. ↩

  250. Claude Code v2.1.156 release notes, Claude Code v2.1.157 release notes, Claude Code v2.1.158 release notes, Claude Code v2.1.159 release notes, and Claude Code Changelog (canonical). v2.1.156 (May 29, 2026) fixes an Opus 4.8 thinking-block mutation that surfaced as API errors; no 2.1.155 was published. v2.1.157 (May 29, 2026) makes .claude/skills/ plugins auto-load without marketplace registration, adds claude plugin init <name> scaffolding, gives /plugin argument autocomplete, lets EnterWorktree switch between Claude-managed worktrees mid-session, leaves background worktrees unlocked after the agent finishes so git worktree remove/prune work without manual unlocks, includes tool_parameters in tool_decision telemetry events when OTEL_LOG_TOOL_DETAILS=1, plus fixes for unprocessable-image crashes (now text placeholders), sandbox network permission prompts in auto/bypass mode across desktop / IDE / SDK surfaces, background-session retire-on-park, agents-list Esc cancellation of “opening…”, background worktrees orphaned by the 30-day retention sweep, --resume background-subagent reporting, terminal rendering / clipboard in tmux + VS Code + Cursor + Windsurf, WSL image / screenshot / drag paths, long-resumed-conversation performance, and /terminal-setup disabling GPU acceleration in integrated terminals. v2.1.158 (May 30, 2026) makes Auto Mode available on Bedrock, Vertex, and Foundry for Opus 4.7 and Opus 4.8 with CLAUDE_CODE_ENABLE_AUTO_MODE=1. v2.1.159 (May 31, 2026) is internal infrastructure only with no announced user-facing changes. Fetched May 31, 2026. ↩

  251. Claude Code v2.1.152 release notes, Claude Code v2.1.153 release notes, Claude Code v2.1.154 release notes, and Claude Code Changelog (canonical). No 2.1.151 was published; the May 23, 2026 infrastructure-only release is v2.1.150. v2.1.152 (May 27, 2026) introduces /code-review --fix apply-to-working-tree, disallowed-tools skill/command frontmatter, /reload-skills, SessionStart hook reloadSkills/sessionTitle outputs, the MessageDisplay hook event, pluginSuggestionMarketplaces managed setting, --fallback-model mid-session switching, removal of auto-mode opt-in, vim / reverse history, plus rendering, performance, and reliability fixes. v2.1.153 (May 28, 2026) adds skipLfs to plugin marketplaces, makes /model save as the new-session default (with s for session-only and a modelPicker:thisSessionOnly keybind replacing modelPicker:setAsDefault), and puts COLUMNS/LINES in status-line env; macOS background agents persist Privacy & Security grants; plus 25+ fixes covering stateful MCP tools/list reconnect loops, custom-gateway OAuth-credential leak, subagent MCP policy enforcement, Windows installer / update channel fixes, and background-session attach reliability.

    v2.1.154 (May 28, 2026) makes Opus 4.8 the default with high effort by default and a new /effort xhigh level, introduces dynamic workflows orchestrating tens to hundreds of agents in the background via /workflows, makes Fast mode on Opus 4.8 available at 2× standard rate for 2.5× speed, defaults the lean system prompt for all models except Haiku/Sonnet/Opus 4.7-and-earlier, narrows the multiple-choice-question prompt to genuinely unmakeable decisions, reverts /simplify to cleanup-only review separate from /code-review --fix’s bug-hunting pass, relabels /effort slider to “Faster”/”Smarter”, adds claude agents ! <command> background-shell sessions plus claude --bg --exec '<command>', lets plugins declare defaultEnabled: false, pins suggested plugins to the current directory in /plugin Discover, makes streaming tool execution always-on, passes CLAUDE_CODE_SESSION_ID and CLAUDECODE=1 to stdio MCP subprocess env, marks unapproved .mcp.json servers as ⏸ Pending approval instead of auto-connecting, and deprecates CLAUDE_CODE_OPUS_4_6_FAST_MODE_OVERRIDE (removed June 1; switch to /model claude-opus-4-6[1m] then /fast on). Fetched May 28, 2026. ↩

  252. Configure the sandboxed Bash tool, Claude Code Docs, fetched October 11, 2026. Defaults table: writes to “The working directory, a per-user temp directory, and directories you’ve added”; reads “Most of the machine, including credential files such as ~/.ssh and ~/.aws/credentials”; network through a local proxy whose allowed domains “start empty”. Outside the sandbox: built-in file and web tools “follow permission rules instead. A denyRead entry doesn’t stop the Read tool”; “command hooks, local MCP servers, plugin monitors, LSP servers, and helper commands such as your status line command and apiKeyHelper run with your full access.” Narrowing reads: sandbox.filesystem.denyRead, allowRead, and permissions.blockReadsOutsideWorkingDirectories. ↩

  253. Claude Code documentation, re-fetched October 13, 2026. Mods reference: still “as of v2.1.290”; tool.check gains “e.agentId: set when a subagent or an in-process teammate makes the call” and “e.ceiling: ask for a connector tool your organization set to ask”, with “On tool.check, e.agentId and e.ceiling require Claude Code v2.1.290 or later”; prompt.autocomplete is listed (“The user types in the prompt box and a word ends at the cursor. e.token is that word”); the $.ui namespace lists resolve, invalidate, open, close, panes, focus, scroll, toast, status, log, notice, ask, copy, selection, and blit, with no notify; no entry for serverToolUses or $.tool.register. Hooks: “In Claude Code v2.1.296 or later, each command hook on a tool event, UserPromptSubmit, SessionStart, Stop, and several other events leaves one when it finishes, whatever it printed”; “PowerShell commands receive the variables from CLAUDE_ENV_FILE too, in Claude Code v2.1.296 or later, but PowerShell never runs the file”. Claude apps gateway: “On machines with no managed settings, have each developer add forceLoginMethod and forceLoginGatewayUrl to their own user settings file, ~/.claude/settings.json”; “Under code, they also reach the Code tab’s session when the conditions for the Code tab hold. They don’t reach Cowork or Chat sessions.” Environment variables and Sub-agents: still no entry for CLAUDE_CODE_WORKFLOW_SUBAGENT_MODEL, CLAUDE_CODE_OVERLOADED_RETRY_MAX_DELAY_MS, or autoCompactWindow. ↩↩

  254. Claude Code canonical CHANGELOG, section 2.1.299, fetched October 14, 2026, and npm registry metadata for @anthropic-ai/claude-code read the same day: 2.1.299 published October 14, 2026 at 00:23 UTC and 2.1.300 at 14:27 UTC; dist-tags latest 2.1.299, next 2.1.300, stable 2.1.287; no 2.1.297 or 2.1.298 on npm and no CHANGELOG section for them or for 2.1.300. The GitHub release (02:49 UTC) carries 190 bullets, identical to the CHANGELOG. Source for every v2.1.299 item in this guide. Key quotes: “Added idle compaction in the terminal: a 200K+ token conversation left idle for about 54 minutes is compacted before its one-hour prompt cache expires, so your next message doesn’t reprocess it all”; “Added CLAUDE_CODE_IDLE_COMPACT_MIN_TOKENS to change idle compaction’s 200K-token minimum; "idleCompaction": false in settings.json turns it off. Both need v2.1.290 or later”; “Added CLAUDE_CODE_DISABLE_FILE_MENTIONS environment variable: Claude gets the paths of @ file mentions to read with its file tools, not the files’ contents”; “Changed MCP allow rules to reach only the server they name: mcp__a no longer allows a server named a__b or a_; write mcp__<server>__* with the server’s whole normalized name”;

    “Changed agent tools: lists to take only the named MCP server’s tools; list a server whose name contains __ as mcp__<whole name>__*”; “Changed MCP tool descriptions and server instructions from Anthropic’s first-party MCP servers at api.anthropic.com to reach Claude in full instead of being cut at 4,096 characters”; “Changed cloud session and Remote Control MCP connectors to negotiate MCP protocol version 2026-07-28 by default on installs that fetch no flags; MCP_PROTOCOL_NEGOTIATION=legacy opts out”; “Changed UserPromptSubmit hooks to run before a skill or custom slash command expands, so a hook that blocks the prompt now also stops its embedded shell commands”; “Changed the turn.start mod hook to also hear subagents’ and teammates’ turns, not only the main loop’s; tell them apart by e.agentId (absent on the main loop)”; “Fixed rm prompts on shell -c scripts that don’t run rm. An rm built at run time in a script Claude Code can’t read no longer prompts unless CLAUDE_CODE_STRICT_INLINE_SHELL_RM_PROMPT=1”;

    “Added --shutdown-drain-sec to claude self-hosted-runner orchestrator: on SIGTERM it stops polling and gives the poll in flight and running spawn hooks up to that many seconds to finish”; “Added --disallow-tools and a disallowed_tools case field to claude plugin eval to keep specific built-in tools, such as Agent, out of eval runs”; “Added support for turning off the attribution block in Claude Desktop’s Code tab: set CLAUDE_CODE_ATTRIBUTION_HEADER=0 in the env of a Claude apps gateway’s code policy”; “Added /effort and /fast in agent view to set what new sessions start with; a bare /model, /effort or /fast there now opens a picker”; “Changed actions a plugin hook can block to be refused, not let through, when the hook cannot be handed them or cannot hand back its answer; a tool that already ran has its result withheld”; “Fixed a regression in 2.1.296 where cloud and headless sessions could run an approved tool call twice if a new message arrived as the session resumed after a restart”; “Changed the cyber safeguard notice to no longer ask people to apply to the Cyber Verification Program”. ↩↩↩↩↩↩↩

  255. Claude Code documentation, fetched October 14, 2026. Settings reference: idleCompaction, “Stop Claude Code from compacting a long conversation that you’ve stepped away from”; “Idle compaction is on by default for conversations that meet its conditions. To turn it off, set idleCompaction to false. Requires Claude Code v2.1.290 or later”. Environment variables: CLAUDE_CODE_IDLE_COMPACT_MIN_TOKENS “Context size, in tokens, at which idle compaction applies to a conversation (default: 200000)”, with values below 100000 raised to 100000; CLAUDE_CODE_DISABLE_FILE_MENTIONS “Requires Claude Code v2.1.299 or later”, ignored in project and local settings; CLAUDE_CODE_ATTRIBUTION_HEADER “Set to 0 to omit the attribution block”; CLAUDE_CODE_OVERLOADED_RETRY_MAX_DELAY_MS “Ceiling in milliseconds on the backoff between retries of a request that the API rejects with a 529 overloaded error (default: 32000)”; still no entry for CLAUDE_CODE_WORKFLOW_SUBAGENT_MODEL or CLAUDE_CODE_STRICT_INLINE_SHELL_RM_PROMPT. Sub-agents: autoCompactWindow is now a listed frontmatter field, “a token count of 100000 or more”; tools and disallowedTools “also take entries for a whole MCP server”. Re-read November 25, 2026; the quotations that had drifted are given in that day’s wording.

    Mods reference: still “as of v2.1.290”; “On skill.prompt, e.source, e.pluginName, e.path, e.frontmatter, and e.frontmatterProblem require Claude Code v2.1.299 or later”; turn.start is listed among the events; no $.prompt.media, $.session.identity, tabular, or serverToolUses. Plugin evals: “Before v2.1.299, such a run was graded on what it had produced”; no --disallow-tools. MCP: the limits list still reads “Server instructions, and the description of a tool that loads upfront: 4,096 characters” with no first-party exception; on the v2 runtime Claude Code “Asks HTTP, stdio, and claude.ai connector servers whether they support the newer revision, and uses it with those that do”. Permissions: “Allow rules accept tool-name globs only after a literal mcp__<server>__ prefix. The server segment must be glob-free so the rule names a specific server you configured.” Hooks: CLAUDE_CODE_DISABLE_FILE_MENTIONS is described (“your matching PreToolUse hooks run”); no statement that UserPromptSubmit runs before a skill or command expands. ↩↩↩↩

  256. Claude Code canonical CHANGELOG, section 2.1.300, fetched October 14, 2026 (21:40 PT), and npm registry metadata for @anthropic-ai/claude-code read at the same time: 2.1.300 published October 14 at 14:27 UTC; dist-tags latest 2.1.300, next 2.1.300, stable 2.1.292 (it was 2.1.287 that morning). The GitHub release (18:24 UTC) carries 88 bullets, identical to the CHANGELOG. Source for every v2.1.300 item in this guide. Key quotes: “Added /advisor on Claude Platform on AWS; no advisor runs until you pick one with /advisor, advisorModel or --advisor, and CLAUDE_CODE_DISABLE_ADVISOR_TOOL=1 turns it off”; “Added virtualText to a mod’s prompt decorations: text drawn in the prompt box that never enters the draft or the submitted prompt”; “Added $.ui.view({ agentId }) for mods: shows an agent’s transcript in the main view when you ask, and $.ui.view({}) goes back”; “Added the prompt.change mod hook, raised when the prompt box’s text changes without a typed edit: a recalled history entry, a clear, an undo, or a plugin’s fill”; “Added cache_creation_5m_tokens and cache_creation_1h_tokens to the OpenTelemetry api_request event, splitting cache writes by lifetime”;

    “Added OpenTelemetry GenAI semantic-convention attributes to trace spans, such as gen_ai.provider.name, gen_ai.conversation.id, gen_ai.tool.name and error.type”; “Changed large requests to api.anthropic.com to use gzip compression even when telemetry is disabled; set CLAUDE_CODE_GZIP_REQUEST_BODIES=0 to turn it off”; “Changed hooks: updatedInput from PreToolUse and PermissionRequest hooks is now validated like Claude’s own input: unknown keys are dropped, and input the tool rejects denies the call”; “Removed the --sandbox and --no-sandbox flags from claude remote-control, which had no effect; passing either now exits with an error. Set sandbox.enabled in settings to sandbox sessions”; “Changed local session transcripts to also record each API request’s system prompt, tools and parameters, so a transcript you choose to share can reproduce a request exactly”; “Changed exit to force-kill background commands still running 1.5 seconds after being asked to stop”; “Fixed SessionEnd hooks sometimes not running when you exit while a background command is still running”; “Fixed claude daemon stop --any printing "stopped" while a stuck background service kept running: it now waits, force-kills the service, and says so with exit 1 if it is still there”. ↩↩↩↩↩↩↩

  257. Claude Code documentation, fetched October 14, 2026. Escalate hard decisions with the advisor tool: “The advisor tool is experimental and requires the Anthropic API, Claude Platform on AWS, or Claude Models on Google Cloud (Anthropic managed). On Claude Platform on AWS or Claude Models on Google Cloud (Anthropic managed), it requires Claude Code v2.1.300 or later. It isn’t available on Amazon Bedrock, Google Cloud’s Agent Platform, or Microsoft Foundry”; “The advisor receives the full conversation, including every tool call and result, and returns guidance that Claude applies before continuing”; “runs server-side on Anthropic’s infrastructure as a server tool, available to both subscription and API-billed accounts”; “There is no setting to cap or force advisor calls”; three ways to enable: “/advisor command”, “advisorModel setting”, “--advisor flag”; the text form of /advisor “requires Claude Code v2.1.260 or later”; “It doesn’t list --advisor in claude --help”; pairing rows “Opus 4.7 or Opus 4.8 | Fable, Opus 4.7 or later, Sonnet 5.5”, “Sonnet 5.5 | Fable, Opus 5 or later, Sonnet 5.5”, “Opus 5 or Opus 5.5 | Fable, Opus 5 or later”, “Fable 5.1 | Fable 5.2 or Fable 5.1”; “Haiku 4.5 can call the advisor but can’t act as one”; “Subagents inherit the configured advisor and apply the same pairing check against their own model”; “If the API refuses the pairing of an advisor that Claude Code attached, Claude Code resends that request without the advisor. The conversation continues without one, so you see no error and get no advisor calls”; Re-read November 25, 2026; the quotations that had drifted are given in that day’s wording.

    cost: “you pay the advisor model’s input and output rates for advisor tokens”, “advisor usage counts toward your plan’s usage limits, except that a Fable advisor bills to usage credits”; “toggling /advisor keeps the cached prefix intact”; “The advisor model’s own read of the conversation is not cached”; requirements include “Feature-flag fetching”, so with DISABLE_TELEMETRY “the advisor stays off”; CLAUDE_CODE_DISABLE_ADVISOR_TOOL=1: “The /advisor command becomes unavailable and any configured advisorModel is ignored. The --advisor flag is accepted but has no effect”; transcript states “Reviewed”, “Declined”, “Unavailable”. CLI reference: --advisor <model> “Enable the server-side advisor tool for this session with a model alias, fable, opus, or sonnet, or a full model ID. Takes precedence over the advisorModel setting for the session”. Settings reference: advisorModel “Pick which model answers when Claude asks the advisor tool”. Environment variables: CLAUDE_CODE_DISABLE_ADVISOR_TOOL, and CLAUDE_CODE_GZIP_REQUEST_BODIES “Set to 0 to turn off gzip compression of Claude API, telemetry, and artifact publish request bodies sent to api.anthropic.com”. Mods reference: still “as of v2.1.290”; no virtualText, $.ui.view, or prompt.change entry. Re-read November 10, 2026: the page now says “The advisor tool is experimental and requires the Anthropic API or Claude Platform on AWS. On Claude Platform on AWS, it requires Claude Code v2.1.300 or later. It isn’t available on Amazon Bedrock, Google Cloud’s Agent Platform, or Microsoft Foundry”, and the pairing table has new rows (see 284). ↩↩↩

  258. Claude Code canonical CHANGELOG, sections 2.1.301 and 2.1.302, fetched October 17, 2026 (15:40 PT), and npm registry metadata for @anthropic-ai/claude-code read at the same time: 2.1.301 published October 15 at 14:34 UTC, 2.1.302 on October 16 at 16:48 UTC; dist-tags latest 2.1.302, next 2.1.302, stable 2.1.292. The GitHub releases v2.1.301 (19:22 UTC, 51 bullets) and v2.1.302 (20:53 UTC, 63 bullets) are identical to the CHANGELOG. Source for every v2.1.301 and v2.1.302 item in this guide. Key quotes, 2.1.302: “Changed claude -p and Agent SDK sessions with no permission mode to start in default mode on third-party providers, with telemetry off or on a fresh install; --permission-mode auto keeps auto”; “Changed fork subagents (subagent_type: "fork") to be on by default in claude -p, the Agent SDK, the desktop app and VS Code, as they already are in the terminal; CLAUDE_CODE_FORK_SUBAGENT=0 turns them off, and claude mcp serve never offers them”; “Changed the desktop app and VS Code to always run the main conversation’s subagents in the background, as the terminal does, rather than let Claude choose; a subagent’s own Agent calls in claude -p, the Agent SDK, the desktop app and VS Code now run in the foreground by default”;

    “Changed prompt and agent hooks so that at most 12 of one event run at a time; the rest wait their turn”; “Added CLAUDE_CODE_AUTO_MODE_MODEL to choose the model the client-side auto mode classifier uses; it does not change the model for server-side auto mode”; “Added an Idle compaction row to /config for turning idle compaction off or back on; the notices shown after an idle compaction now say how to turn it off”; “Added a notice to /design-sync and /design-login that standalone Claude Design (claude.ai/design) closes by December 14, 2026”; “Fixed the Read tool loading an image file of any size, or a pipe or device named like an image, entirely into memory; image sources over 128 MB are now refused”; “Improved auto mode with the server-side classifier: a conversation too long for the safety check is now compacted, instead of every checked tool call being denied”.

    2.1.301: “Added CLAUDE_CODE_RETRY_WATCHDOG_MAX_USAGE_LIMIT_WAIT_MS so unattended retry mode (CLAUDE_CODE_RETRY_WATCHDOG) ends a request at a usage limit that resets too far away instead of waiting”; “Added the % motion to vim mode: jump to the matching bracket, alone or with d/c/y”; “Added rows to a mod’s Input: a text field of several lines in the terminal, where Enter submits and Shift+Enter or a backslash before Enter starts a new line”; “Added classifier_verdict and permission_mode to OpenTelemetry tool_decision events, so auto mode classifier decisions can be told apart from permission rules”; “Added classifier_category to OpenTelemetry tool_decision events, naming the built-in rule a classifier block matched, when OTEL_LOG_TOOL_DETAILS=1”; “Fixed the fable (and best) model alias erroring on the Anthropic API when the newest Fable model is not available to your organization: Claude Code now retries once on the previous Fable model”; “Improved switching to a model with a smaller context window: a conversation too long for the new model is now summarized by the previous model first”; “Changed a mod hook’s .catch handler to run only when the hook throws or times out; events raised beneath the hook’s own calls now skip that hook without asking its .catch”; “Changed a mod’s $.env.set to resolve with {} once the variable is set or unset, or with { deny } saying why when the write is not made”. ↩↩↩↩↩↩↩↩↩↩↩↩↩

  259. Claude Code documentation, fetched October 17, 2026. Interactive mode: “% | Jump to the matching (), [], or {} bracket, starting from the next bracket on the current line when the cursor isn’t on a bracket. Requires Claude Code v2.1.301 or later” and “d%/c%/y% | Delete, change, or yank from the cursor through the bracket that % jumps to”. VS Code lists LaTeX math rendering. Still on the pre-2.1.302 rules: the permission modes table (“claude -p or the Agent SDK | default in sessions that fetch feature flags. In sessions that don’t, such as on a third-party provider or with telemetry off, auto with Claude Code v2.1.285 or later”); the environment variables page (CLAUDE_CODE_FORK_SUBAGENT “is on by default in interactive sessions only. Set to 1 to turn it on in claude -p and the Agent SDK as well, or 0 to turn it off in every kind of session”); and the subagents page (“Fork mode is off in non-interactive mode with -p and in the Agent SDK unless you turn it on”).

    Not in the docs at all: CLAUDE_CODE_AUTO_MODE_MODEL, CLAUDE_CODE_RETRY_WATCHDOG_MAX_USAGE_LIMIT_WAIT_MS, the tool_decision attributes classifier_verdict, permission_mode, and classifier_category (monitoring lists none of them), the /config Idle compaction row, the Claude Design closing date, and the 12-hook cap (hooks: “All matching hooks run in parallel”). The mods docs now form a section: overview, reference (“Entries cover the Claude Code CLI and the Desktop app as of v2.1.290, and the VS Code extension as of v2.1.299”), events (.catch: “When guard throws or times out on a Bash call, Claude Code calls the handler with the same event”, without the v2.1.301 re-entry rule), API, and interface; none of the new pages mentions rows on Input, $.env.set, nothing-to-fork, virtualText, $.ui.view, prompt.change, $.prompt.media, or $.session.identity. The advisor page still says the tool “is not available on Amazon Bedrock, Claude Platform on AWS, Google Cloud’s Agent Platform, or Microsoft Foundry”. ↩↩↩↩↩

  260. Hooks reference, Claude Code documentation, fetched October 21, 2026 and re-read November 25, 2026; every quotation here is the November 25 wording. JSON output: “Print nothing but the JSON object to stdout.”; “Universal fields like continue are listed in the table below. Every event accepts them, but some events discard them or deliver systemMessage somewhere other than the transcript. Each event’s section says so.”; “Top-level decision and reason are used by some events to block or provide feedback.”; “hookSpecificOutput is a nested object for events that need richer control. It requires a hookEventName field set to the event name.” Universal fields table: continue “If false, Claude stops processing entirely after the hook runs. It doesn’t block a PreToolUse tool call, so to do that, also return permissionDecision: "deny"”; stopReason “Message shown to the user when continue is false. It stays in the conversation, so Claude sees it if the conversation continues”; suppressOutput “Has no effect”; systemMessage “Warning message shown to the user. In Agent SDK and --output-format stream-json output, it can arrive as an SDKInformationalMessage”; terminalSequence “A terminal escape sequence for Claude Code to emit on your behalf, such as a desktop notification, window title, or bell. Restricted to OSC 0/1/2/9/99/777 and BEL. If the value contains anything outside the allowlist, the field is ignored.”, with the limit “Claude Code writes the sequence only in an interactive session, and only while its interface is open. In non-interactive mode with the -p flag and in the Agent SDK, it ignores the field.” Where continue: false does something else: “on events such as Stop and SubagentStop, the field takes precedence over exit code 2, so Claude or the subagent ends its turn”; “On PreToolUse, the tool call stays blocked with or without the field.”; TaskCreated, “Claude Code ignores continue: false from this event and Claude keeps working.” Exit code 0: “your stdout counts as JSON output only when you print one JSON object, on one line or several, with nothing around it but whitespace”; “Claude never sees stderr from a hook that exits 0.” Other exit codes: “A <hook name> hook error notice with Failed with non-blocking status code: means your hook didn’t exit 0 or 2 and its stdout was plain text or empty.”; “If the notice cuts off your stderr, turn on debug logging”. Failed hooks on Windows without Git Bash: “a shell-form PreToolUse, PermissionRequest, or PreSkillShellCommand command hook that fails with onFailure unset can instead block the action”; “The call should go ahead when the hook fails: add "onFailure": "continue" to the hook”. Failures counted: “MCP failure: an mcp_tool hook’s server isn’t connected, or its tool returns an error.”

    The word “modifications” occurs on the page only in the ConfigChange prose (“block unauthorized modifications to configuration files”), never as an output field. Exit code 0: “For most events, Claude Code writes stdout to the debug log and doesn’t show it in the transcript. The exceptions are UserPromptSubmit, UserPromptExpansion, SessionStart, and PostModelSwitch, where Claude Code adds plain-text stdout as context that Claude can see and act on.” JSON output: “Print nothing but the JSON object to stdout. For a hook that isn’t async, other text there, such as a line your shell profile echoes at startup, keeps Claude Code from reading the object as JSON, and Hook JSON has no effect shows how to find and silence that text.”

    Exit code 0 with JSON: “Claude Code applies any JSON output fields your hook printed, and the action goes ahead unless those fields block or deny it.” Other exit codes: “Unless the hook is one whose failure blocks the action, this is a non-blocking error, so your hook didn’t stop the action.”; “To capture your hook’s full stderr rather than the first line the notice shows, enable debug logging.”; and in the output table, any other exit code with a “JSON object that passes schema validation” is “Success. Claude Code ignores the exit code, and the fields alone decide. For hooks whose failure blocks the action, the run counts as a failure instead”. terminalSequence: “Claude Code writes the sequence only in an interactive session, and only while its interface is on screen. In non-interactive mode with the -p flag and in the Agent SDK, it ignores the field.” Re-read November 10, 2026: the page now adds “PreCompact: your stdout becomes instructions for the compaction summary” to the events whose stdout is used. ↩

  261. Claude Code canonical CHANGELOG, sections 2.1.303 through 2.1.310, fetched October 23, 2026 (17:20 PT), and npm registry metadata for @anthropic-ai/claude-code read at the same time: 2.1.303 published October 18 at 21:15 UTC, 2.1.304 October 19 at 19:47 UTC, 2.1.305 October 20 at 19:29 UTC, 2.1.306 October 21 at 02:28 UTC, 2.1.307 October 21 at 20:47 UTC, 2.1.308 October 22 at 04:19 UTC, 2.1.309 October 22 at 20:34 UTC, 2.1.310 October 23 at 21:20 UTC; dist-tags latest 2.1.310, next 2.1.310, stable 2.1.308. The GitHub releases carry 1, 76, 38, 2, 43, 1, 79, and 26 bullets, identical to the CHANGELOG. Source for every v2.1.303 to v2.1.310 item in this guide.

    Key quotes, 2.1.304: “Added /auto-mode-setup: a guided setup that reads your project and recent sessions to teach auto mode about your environment, now also available on Bedrock, Vertex, Foundry, Claude apps gateway and telemetry-disabled sessions”; “Added decider: "person" to a mod’s tool.check answer: only the permission dialog or a host’s callback can approve the ask, and it is refused with the mod’s reason where nobody can be asked”; “Added a warning on Pro and Max plans when resuming an inactive conversation would use a noticeable share of your 5-hour usage limit”; “Changed tool search to be on by default behind a custom ANTHROPIC_BASE_URL; a 400 or 422 from the gateway is retried without it”; “Changed mods’ settings.read hooks to receive each settings layer and rewrite the merged settings, so a managed mod can make an organization’s setting a ceiling”; “Changed skill hooks: the skills of one source (a repo, your own folder, or a plugin) can register at most 1,024 hooks and 16,384 matcher characters per session”.

    2.1.305: “Added sandbox.allowNestedUserNamespaces so sandboxed commands on Linux can create user namespaces (Chromium, rootless podman); this lets them get around the sandbox’s file protections”; “Added CLAUDE_CODE_RETRY_WATCHDOG_USAGE_LIMIT_RECHECK_MS so unattended retry mode (CLAUDE_CODE_RETRY_WATCHDOG) notices a usage limit that was lifted before its reset”; “Fixed every request failing on Vertex, Bedrock and other providers when the endpoint or a gateway rejects tool search, and behind gateways with ToolSearch disallowed or left out of --tools (a 2.1.304 regression): Claude Code now retries without it”; “Improved /usage: each warning is now a one-line fix that names its source, and f applies the fixes; the same fixes appear in VS Code and /doctor”; “Changed allowedMcpServers to stop filtering managed-mcp.json stdio servers that use ${VAR} only in env: one your allowlist left out now loads on upgrade; use deniedMcpServers to keep it off”.

    2.1.307: “Added /claude-api api-version to move Claude API code to API version 2026-10-21”; “Added the claude_code.safety_event OpenTelemetry event for each tool call a permission rule, auto mode, a safety check, a hook or the sandbox stopped, prompted or sent back”; “Improved fork subagents launched together: each is now told which launch is its own, so forks are much less likely to try to start each other’s work”; “[Code Review] Added @claude review stop (also off and pause) to Code Review, ending an @claude review always subscription on a pull request without starting a new review”. 2.1.309: “Fixed sandboxed Bash commands on macOS and Linux running the shell’s startup files outside the sandbox before each command”; “Changed sed -i to get the standard Bash prompt and run as written, not a simulated file-edit preview; like other Bash edits, it is no longer restored by /rewind”; “Changed claude ultrareview to require workspace trust: it asks on a terminal, else refuses; scripts pass --trust-workspace, which takes no value (put a PR number or base branch before it), or set CLAUDE_CODE_DISABLE_ULTRAREVIEW_TRUST_CHECK=1”; “Fixed sessions compacting repeatedly after reading files under a very large nested CLAUDE.md; a nested CLAUDE.md over the size limit now loads only its start”; “Changed worktree creation and reuse so git no longer fetches objects on demand, in ordinary clones and in partial clones with a Bash sandbox configured; such a partial clone fetches them first”.

    2.1.310: “Added the Monitor tool and plugin monitors on Bedrock, Vertex, and Foundry, and when telemetry or nonessential traffic is disabled; long foreground sleeps are now blocked there too”; “Fixed requests failing behind some gateways and compatible servers that reject the effort-2025-11-24 beta value or mid-conversation system messages; Claude Code now retries without them”; “Linux: Improved /sandbox and the sandbox startup warning to name Ubuntu’s AppArmor restriction on user namespaces, and how to lift it, when it keeps bubblewrap from starting the sandbox”. ↩↩↩↩↩↩↩↩↩↩↩↩↩

  262. Claude Code documentation, fetched October 23, 2026. Now documented: environment variables lists CLAUDE_CODE_RETRY_WATCHDOG_USAGE_LIMIT_RECHECK_MS, CLAUDE_CODE_DISABLE_ULTRAREVIEW_TRUST_CHECK (“Set it in the environment that launches Claude Code, not a settings env”), CLAUDE_CODE_AUTO_COMPACT_WINDOW (“Suffixed values such as 200k require v2.1.304 or later”), and CLAUDE_CODE_AUTO_MODE_MODEL (“Use a full model ID”), and now says CLAUDE_CODE_FORK_SUBAGENT “Controls fork mode, which is on by default”; the settings reference lists sandbox.allowNestedUserNamespaces (“User or managed”); the auto mode configuration page has “Generate environment entries with /auto-mode-setup”; the costs page: “When the /usage footer shows a hint such as f to fix 2 of 3, press f to have Claude Code act on the recommendations it can. The f shortcut requires Claude Code v2.1.305 or later”; slash commands lists /claude-api api-version (“v2.1.307 or later”) and managed-agents-secure [<agent-id>]; monitoring lists safety_event and classifier_verdict (“Requires Claude Code v2.1.301 or later”);

    the ultrareview page documents --trust-workspace (“Takes no value: put a PR number or base branch before it”) and the Error: Workspace not trusted exit; the code review page lists the Quick, Standard, and Deep levels; hooks carries the 1,024-hook and 16,384-character caps; the mods reference stamps e.isReadOnly “v2.1.304 or later”; the sandboxing page carries the Ubuntu AppArmor profile; and the permission modes table now reads “claude -p or the Agent SDK | default”, matching v2.1.302. Still release-notes only: decider: "person", settings.read layers, @claude review stop, the sed -i change, the tool-search default behind a custom base URL, the Pro and Max resume warning, --checkout-hook-timeout-min, multiagent_20261001, CLAUDE_CODE_RETRY_WATCHDOG_MAX_USAGE_LIMIT_WAIT_MS, the Claude Design closing date, and the mod additions $.env.set, virtualText, $.ui.view, and prompt.change; the advisor page still says the tool “is not available on Amazon Bedrock, Claude Platform on AWS, Google Cloud’s Agent Platform, or Microsoft Foundry”. ↩↩↩↩↩

  263. Let Claude coordinate ongoing work with Projects, Claude Code documentation, fetched October 26, 2026 and re-read November 10, 2026: “Projects are in public beta on Pro, Max, and Ultra plans and rolling out gradually” (“Pro and Max plans” on October 26); “Projects aren’t offered on Team or Enterprise plans yet”; “Project instructions: Text sent to each new thread and to Claude in the project conversation, up to 16,000 characters”; “A new project runs every thread on Opus at medium effort”; “The enforced limit is 500 new threads per day across your projects” (200 on October 26); “Both need Claude Code v2.1.280 or later on that computer”; the “What threads pick up from your repositories” table. Launch post: Projects redesigned: from folder to conversation, Anthropic, September 17, 2026: “Starting today, updated projects are available in beta to select Claude Pro and Max subscribers who use cloud sessions in Claude Code”. The canonical CHANGELOG through 2.1.310 never mentions the feature. The cloud sessions page lists “Mobile: the Code tab in the Claude app”, and the Projects page names the Claude mobile app for iOS and Android. Re-read November 25, 2026; the quotations that had drifted are given in that day’s wording. ↩

  264. Use Claude Code in the cloud, Claude Code documentation, fetched October 26, 2026: “Start a cloud session from the command line with the --cloud flag”; “The cloud VM clones your current directory’s GitHub remote at your current branch, not your local checkout, so push first if you have local commits”; “The older --remote spelling still works as a deprecated alias for --cloud”; “The CLI queues the message into the session and exits without waiting for a reply”; “--output-format stream-json isn’t supported with --cloud <session-id>”; “--cloud creates cloud sessions. --remote-control is unrelated”. claude --help on 2.1.310 lists --cloud [description|session_id|url] Create a cloud session; the flag appears in no CHANGELOG entry. ↩

  265. Automate work with scheduled tasks, Claude Code documentation, fetched October 26, 2026: “Create scheduled tasks, formerly routines, that run in the cloud on a schedule, on API calls, or on GitHub events”; “Scheduled tasks are in research preview”; “Expressions that run more often than once per hour are rejected”; the hourly limits table (100 scheduled runs per hour per account; 30 per hour per task for Run now, API fires, and re-running a one-off); “the /routines alias for /schedule”; “Adding one from the CLI requires Claude Code v2.1.225 or later”; the Scheduled tasks (Was Routines) toggle. Schedule recurring tasks in Claude Code Desktop, same fetch: “only fires while the app is open and your computer is awake”, and the Cloud, Desktop, /loop comparison table. ↩

  266. Share session output as artifacts, Claude Code documentation, fetched October 26, 2026: “Templates are in beta. They’re on by default on Pro, Max, Ultra, and Team plans” (re-read November 10, 2026; “Pro, Max, and Team plans” on October 26); “If your organization has the Slides template turned off, /slides doesn’t appear”; the Disable artifacts table (/config, "enableArtifact": false, the deprecated "disableArtifact": true, CLAUDE_CODE_DISABLE_ARTIFACT=1, Artifact in permissions.deny); “Honoring the key in project and local settings requires Claude Code v2.1.242 or later”. Environment variables, same fetch: CLAUDE_CODE_ARTIFACT_AUTO_OPEN (“Set to 0 to stop Claude Code from opening the browser automatically when a new artifact is published”), CLAUDE_CODE_DISABLE_WORKFLOWS (“Equivalent to the disableWorkflows setting”), CLAUDE_CODE_MAX_TURNS (“Equivalent to passing --max-turns, which takes precedence when both are set. A value that is not a positive integer is rejected at startup”); the page no longer lists CLAUDE_CODE_WORKFLOWS. Settings reference, same fetch: disableWorkflows (“whichever of the two turns them off, the other can’t turn them back on”) and enableWorkflows (“Default: unset, so workflows are on unless you’re on the Pro plan, where they’re off”; “Appears in /config as Dynamic workflows”). ↩

  267. Claude Code CHANGELOG, v2.1.311 through v2.1.317 (commits 2026-10-26T21:51Z, 10-27T20:23Z, 10-30T01:06Z, 10-31T01:01Z, and 11-03T01:25Z) and the matching GitHub releases v2.1.311 (2026-10-26T21:51:23Z), v2.1.312 (10-27T20:24:20Z), v2.1.314 (10-30T01:06:26Z), v2.1.316 (10-31T01:01:35Z), and v2.1.317 (11-03T01:25:46Z), each identical to its CHANGELOG section; npm publish times from npm view @anthropic-ai/claude-code time: 2.1.311 2026-10-26T19:47:57Z, 2.1.312 10-27T18:36:10Z, 2.1.314 10-30T00:12:56Z, 2.1.315 10-30T21:05:24Z (no CHANGELOG entry, no GitHub release), 2.1.316 10-31T00:42:05Z, 2.1.317 11-02T23:57:53Z; dist-tags on 2026-11-02: latest and next 2.1.317, stable 2.1.311. Verbatim, 2.1.311: “Changed ultrathink in the interactive terminal to run its turn at xhigh effort on Opus 5.5, Sonnet 5.5, Haiku 5.5 and Fable 5.1 through Anthropic’s API; typed while Claude is working, it raises the rest of that turn”. 2.1.316: “Deprecated fast mode for Opus 4.8 as of October 30, 2026; it will be removed on November 30, 2026. After removal, fast mode requests on Opus 4.8 return an error and do not fall back to standard Opus 4.8. Migrate to Opus 5.5 to keep the speedup”. 2.1.314: “Added permissions.blockWritesOutsideWorkingDirectories: Write, Edit and NotebookEdit refuse paths outside the working directories in every permission mode”. 2.1.312: “Changed prompt and agent hooks to run at most 24 at a time per session, sub-agents included, plus at most 12 that have waited longer than their event’s timeout; a timeout under 1 second now counts as 1 second”; “Changed Claude Code to stop sending the claude_code.safety_event OpenTelemetry event”. 2.1.317: “Added anthropic.plan, anthropic.seat_type, anthropic.provider and anthropic.custom_base_url to OTel metrics, events and spans”. ↩↩↩↩↩↩↩↩↩↩

  268. Claude Code documentation, fetched November 2, 2026: Speed up responses with fast mode (“Fast mode for Opus 4.8 was deprecated on October 30, 2026, and will be removed on November 30, 2026. If Opus 4.8 is still your model with fast mode on after that date, the API rejects your requests”); Model configuration (“The terminal prompt, where the word shows in rainbow colors when it can raise the turn. Requires Claude Code v2.1.311 or later.”); All settings for permissions.blockWritesOutsideWorkingDirectories (“Make the Write, Edit, and NotebookEdit tools refuse paths outside your working directories in every permission mode, including bypassPermissions”; “Once the key is on, Claude Code also removes the EnterWorktree and ExitWorktree tools”), idleCompaction (on by default “in an interactive terminal session, in the VS Code extension’s chat panel, or in the desktop app’s Code tab when the session runs on your machine or over SSH”), and disableRemoteControl (“Claude Code refuses claude remote-control, the --remote-control flag, auto-start, and the in-session toggle”); Re-read November 25, 2026; the quotations that had drifted are given in that day’s wording.

    Environment variables for CLAUDE_CODE_SIMPLE_SYSTEM_PROMPT, CLAUDE_CODE_DISABLE_REFUSAL_FALLBACK, CLAUDE_CODE_SYNC_SKILLS, CLAUDE_CODE_TRANSCRIPT_LOCAL_GC, CLAUDE_CODE_SKIP_PROMPT_HISTORY, CLAUDE_CODE_DISABLE_CFC_PROMPT, and FORCE_HYPERLINK (“Before v2.1.314, false, no, and off enabled hyperlinks instead”); the page does not yet list CLAUDE_CODE_DISABLE_ULTRATHINK, CLAUDE_CODE_SUBAGENT_EFFORT, CLAUDE_CODE_MODEL_CATALOG, CLAUDE_CODE_DISABLE_LOOPED_CROSS_CERT_DROP, CLAUDE_CODE_DISABLE_NESTED_SESSION_ID, or OTEL_EXPORTER_OTLP_TIMEOUT; Create custom subagents (“The CLAUDE_CODE_EFFORT_LEVEL environment variable takes precedence over both”); Self-hosted environments reference (--hold-idle-file, --max-hold-min: “Requires Claude Code v2.1.311 or later”); Self-hosted environments (“in public beta on Team and Enterprise plans and are off by default”); Configure server-managed settings; Claude apps gateway configuration (“policy_mode requires Claude Code v2.1.316 or later on the gateway server”; identity_retention_days “Default 90”); Continue local sessions from any device with Remote Control. Sitemap lastmod moved on 137 code.claude.com pages between October 26 and November 3; the Wayback CDX index shows none of them first published in that window. ↩↩↩↩↩↩↩

  269. Claude Code CHANGELOG, v2.1.318 through v2.1.322 (commits 2026-11-04T00:00Z, 11-06T17:03Z, 11-09T19:22Z, and 11-10T02:29Z) and the matching GitHub releases v2.1.318 (2026-11-04T00:01:03Z), v2.1.319 (11-06T17:04:01Z), v2.1.321 (11-09T19:22:30Z), and v2.1.322 (11-10T02:29:43Z), each identical to its CHANGELOG section (84, 146, 118, and 1 bullets); no v2.1.320 tag, release, or CHANGELOG section exists. npm publish times from npm view @anthropic-ai/claude-code time: 2.1.318 2026-11-03T21:55:17Z, 2.1.319 2026-11-06T00:58:56Z, 2.1.321 2026-11-09T19:02:47Z, 2.1.322 2026-11-10T01:58:41Z; dist-tags at 2026-11-10: latest 2.1.322, next 2.1.322, stable 2.1.311. Verbatim, 2.1.321: “Added Claude Fable 5.2 (claude-fable-5-2), now the default Fable model”, with “1M context, $8/$40 per Mtok with $0.20/Mtok cache reads”; “Changed saved Fable 5.1 model picks to move to fable: on Pro and Max plans at once, on Team and Enterprise plans once your organization allows it; use /model claude-fable-5-1 to switch back”; “Added --settings <file> to claude remote-control, which applies a settings file to every session it starts”; “Changed mods Claude writes to turn on without asking in auto and bypass modes … and not to load in dontAsk mode”; “Changed mods’ own tool calls ($.tool.call, $.mcp.call) to raise no permission prompt”. 2.1.322: “Added fast mode on Vertex in the global, us and eu regions, falling back to standard speed if Vertex refuses it”.

    2.1.319: “Changed auto mode with telemetry or feature flags off, including behind LLM gateways: calls the server can’t check are asked about or denied, with no fallback to the built-in classifier; set CLAUDE_CODE_AUTO_MODE_SERVER=0 to keep using it (Bedrock, Vertex and Foundry are unchanged)”; “Added support for MCP tasks in the terminal”; “Added permissions.denyInsteadOfPrompting setting: a tool call that would wait on a permission prompt is denied and the turn continues, in terminal sessions, subagents and teammates”; “Added the CLAUDE_CODE_DISABLE_FEATURE_FLAGS environment variable, which stops feature-flag fetching without turning off telemetry”; “Changed MCP tasks to work in the terminal without feature-flag fetching (Bedrock, Vertex, Foundry, LLM gateways, DISABLE_TELEMETRY); set CLAUDE_CODE_DISABLE_MCP_TASKS=1 to turn them off”; “Changed self-paced /loop to end when a turn finishes without rescheduling … set CLAUDE_CODE_LOOP_KEEPALIVE=1 to keep the old behavior”; “Removed shortcuts_list and shortcuts_execute … from Claude Code’s built-in Claude in Chrome tools”. 2.1.318: “Added the date a stored claude.ai sign-in ends to claude auth status (loginExpiresAt) and to claude -p JSON results (credential_expires_at)”; “Changed Claude Code to no longer install or update the IDE extension when started in an IDE terminal”; “Changed background subagents to move a shell command to the background after 3 minutes on all providers”. ↩↩↩↩↩↩↩↩↩↩

  270. Anthropic documentation, fetched November 10, 2026. Claude Fable 5.2 model overview: “Released November 9, 2026”; “Context window: 1M tokens · Max output: 128K tokens · Input pricing: $8 / MTok · Output pricing: $40 / MTok”; the pricing table (5m cache write $10, 1h cache write $16, cache read $0.20); “Default effort | high”; “Reliable knowledge cutoff | Jun 2026”; “requires 30-day data retention and isn’t available under zero data retention unless expressly authorized by Anthropic”; Mythos 5.2 “shares Claude Fable 5.2’s specifications and pricing”. Pricing: the Fable 5.2 row ($8 / $10 / $16 / $0.20 / $40), the Fable 5.1 row ($10 / $12.50 / $20 / $0.25 / $50), “Cache hits and refreshes on Claude Fable 5.2, Claude Mythos 5.2, Claude Fable 5.1, and Claude Mythos 5.1 are priced at 0.025x the base input price”, the fast-mode table (“Claude Fable 5.2 | $16 USD / MTok | $80 USD / MTok”), and “Fast mode for Claude Fable 5.2 is also available on Claude Models on Google Cloud”. Introducing Claude Fable 5.2 and Claude Mythos 5.2.

    Model configuration: “best | Uses the same model as opus” (the Wayback Machine’s November 2, 6, and 9 captures of the same page read “Uses the model the fable alias resolves to where Fable is available”); “the fable alias resolves to Fable 5 in Claude apps gateway sessions and to Fable 5.2 everywhere else”; “No Fable model is the account-type default on any plan or provider”; “On Pro, Max, Ultra, Team, and Enterprise plans, a claude-fable-5-1 model saved in your user settings moves to the fable alias”; “Fable 5.2 requires Claude Code v2.1.321 or later”; “Fable 5.2, Opus 5.5, Sonnet 5.5, and Haiku 5.5 default to medium, and Opus 4.7 defaults to xhigh”. Fast mode: “Fast mode for Claude Fable 5.2 and Claude Opus 5.5 is available. Fast mode for Claude Opus 5 and Claude Opus 4.8 is in research preview”; “$16/$80 on Fable 5.2, $8/$40 on Opus 5.5, and $10/$50 on Opus 5 and Opus 4.8”; “Fast mode on Fable 5.2 requires Claude Code v2.1.321 or later”; “On Fable 5.2, fast mode persists only if you turned it on while using Fable 5.2”; the Agent Platform section (“Requires Claude Code v2.1.322 or later”, “export VERTEX_REGION_CLAUDE_FABLE_5_2=global”, “Fast mode needs Vertex region global, us or eu”, “Using standard speed on Fable 5.2 · fast mode wasn’t available”). All settings: “permissions.denyInsteadOfPrompting … Requires Claude Code v2.1.319 or later”; “Scope: User or managed, and --settings. A repository can’t set it for you”; the “What else denyInsteadOfPrompting stops” list.

    Environment variables: CLAUDE_CODE_DISABLE_FEATURE_FLAGS (“Requires Claude Code v2.1.319 or later … The older name, DISABLE_GROWTHBOOK, still works, and it is the only one that v2.1.124 through v2.1.318 read”), CLAUDE_CODE_DISABLE_MCP_TASK_BACKGROUND (“Requires Claude Code v2.1.304 or later”). MCP: “MCP tasks are in public beta in the Claude Code CLI and require Claude Code v2.1.304 or later”; the “What a call needs to become an MCP task” list; “A one-shot claude -p "<prompt>" run doesn’t get MCP tasks”. Costs: “subscription plan pricing (Pro, Max, Ultra, Team, Enterprise)”; claude.com/pricing: “Free, Pro, Max, Ultra, Team, and Enterprise tiers”. Escalate hard decisions with the advisor tool, accepted advisors by main model: “Haiku 4.5 | Fable, Opus, Sonnet, Haiku 5.5”, “Sonnet 4.6 | Fable, Opus, Sonnet, Haiku 5.5”, “Opus 4.6 | Fable, Opus, Sonnet 5 or later, Haiku 5.5”, “Sonnet 5 or Haiku 5.5 | Fable, Opus 4.7 or later, Sonnet 5 or later, Haiku 5.5”, “Opus 4.7 or Opus 4.8 | Fable, Opus 4.7 or later, Sonnet 5.5”, “Sonnet 5.5 | Fable, Opus 5 or later, Sonnet 5.5”, “Opus 5 or Opus 5.5 | Fable, Opus 5 or later”, “Fable 5 | Fable 5.2, Fable 5.1, or Fable 5”, “Fable 5.1 | Fable 5.2 or Fable 5.1”, “Fable 5.2 | Fable 5.2”; “Fable 5.2 requires Claude Code v2.1.321 or later, and Fable 5.1 requires v2.1.257 or later”. ↩↩↩↩

  271. Claude Code Docs. “Advanced setup.” Fetched November 10, 2026. System requirements: “macOS 13.0+”, “Windows 10 1809+ or Windows Server 2019+”, “Ubuntu 20.04+”, “Debian 10+”, “Alpine Linux 3.19+”, and “4 GB+ RAM, x64 or ARM64 processor”. Windows options: “Installing Git for Windows is optional.”; sandboxing is listed as “Supported” for WSL 2 and “Not supported” for native Windows and WSL 1. Linux packages: “Claude Code publishes signed apt, dnf, and apk repositories.” Updates: “Homebrew, WinGet, apt, dnf, and apk installations do not auto-update by default; see below to opt in for Homebrew and WinGet.” Node floor for npm: “The npm package requires Node.js 22 or later.” Uninstall: “The VS Code extension, the JetBrains plugin, and the Desktop app also write to ~/.claude/. If any of them is still installed, the directory is recreated the next time it runs.” ↩

  272. Model configuration and Interactive mode, fetched November 10, 2026. Model configuration, version history for v2.1.321: “best resolves to the same model as opus. Earlier versions use the model fable resolves to, where Fable is available” and “fable resolves to Fable 5.2, except in Claude apps gateway sessions”. Default model: “Pro, Max, Ultra, Team, Enterprise, and Anthropic API: defaults to Opus 5.5”. Context: “Fable models, Sonnet 5 and later, Haiku 5.5, and Opus 4.7 and later run with the 1M window by default, with no [1m] suffix needed” and “Opus 4.6 and Sonnet 4.6 reach 1M only through their [1m] variant, and access to that variant depends on your plan. On Max, Ultra, Team, and Enterprise plans, including both Team Standard and Team Premium seats, Opus 4.6 with 1M context is included with your subscription.” Re-read November 25, 2026, where the wording had changed: model-config, “The terminal prompt, where the word shows in rainbow colors when it can raise the turn. Requires Claude Code v2.1.311 or later.”

    Effort: “Opus 5.5 and models released after it start at their own default until you choose a level”. Flagged requests: “Fable models and Opus 5.5: biology-flagged requests re-run on Opus 5, and cybersecurity-flagged requests re-run on Opus 4.8.” Thinking: “You can’t turn thinking off on Opus 5.5, Sonnet 5.5, Haiku 5.5, or the Fable models” and “Fable models, Sonnet 5 and later, Haiku 5.5, and Opus 4.7 and later always use adaptive reasoning. The fixed thinking budget mode and CLAUDE_CODE_DISABLE_ADAPTIVE_THINKING don’t apply to them.” On ultrathink: “Typed in the terminal prompt, the word can also raise that turn to xhigh effort.” Interactive mode, on the Option+T / Alt+T thinking toggle: “Has no effect on Opus 5.5, Sonnet 5.5, Haiku 5.5, or the Fable models”. ↩

  273. Fast mode and Ultrareview, fetched November 10, 2026. Fast mode: “on a Pro, Max, Ultra, Team, or Enterprise plan, your account must have usage credits turned on, which allows billing beyond your plan’s included usage. Until they’re on, /fast reports ‘Fast mode requires usage credits’.” and “fast mode is disabled by default for Team and Enterprise organizations. An Owner must explicitly enable fast mode before users can access it.” Ultrareview: “the three Pro, Max, and Ultra runs are a one-time allotment per account and don’t refresh.” ↩

  274. Commands, fetched November 10, 2026, and the Claude Code CHANGELOG. Commands: /fewer-permission-prompts: “Scan your transcripts for common read-only Bash and MCP tool calls, then add a prioritized allowlist to project .claude/settings.json to reduce permission prompts”; /cost: “Alias for /usage”; /stats: “Alias for /usage. Opens on the Stats tab”; /ultrareview: “The preferred invocation is /code-review ultra, and /ultrareview is an alias. Includes 3 free runs on Pro, Max, and Ultra”; /code-review takes a “PR number, branch, or path you pass”. CHANGELOG 2.1.111: “Added /less-permission-prompts skill”; 2.1.118: “Merged /cost and /stats into /usage”; 2.1.144: “/extra-usage is now /usage-credits (old name still works)”. ↩↩↩↩

  275. Claude plans and pricing, fetched November 10, 2026. Pro: $17 per month with the annual discount ($200 billed up front) or $20 billed monthly, “More usage than Free”, “Fable, paid with usage credits”. Max ($100): “5x Pro usage”, “Fable included, up to half your weekly limit”, “$100 a month in API credits to build on the Claude Platform”. Ultra ($200): “No 5-hour limit” (footnoted as applying to verified accounts), “10x Pro usage”, “$200 a month in API credits, up from $100 on Max”. Team: a Standard seat has “more usage than Pro” and a Premium seat “5x more usage than standard seats”. Enterprise: “US$20/seat/month, billed annually, 20 seat minimum. Usage cost scales with model and task.” The page’s questions section says Claude Code “is included in all paid plans” and that paid plans can turn on usage credits “to keep working at standard API rates”. Re-read November 25, 2026: every quotation above is still on the page. ↩

  276. Hooks reference, Claude Code documentation, fetched November 10, 2026. Matchers: “Only letters, digits, _, -, spaces, ,, and |” are compared as an “Exact string, or list of exact strings”, and “The .* is required: a matcher like mcp__memory or mcp__brave-search contains only exact-match characters, so it is compared as an exact string and matches no tool.” Events: Setup fires “When you start Claude Code with --init-only, or with --init or --maintenance in -p mode” and “Fires only when you launch Claude Code with --init-only, or with --init or --maintenance in non-interactive mode with the -p flag”; FileChanged: “The matcher field specifies which filenames to watch”; WorktreeRemove: “Any non-zero exit code causes worktree removal to fail if the directory still exists afterward”; PermissionRequest: “Not read as a decision. Deny through the decision object instead”; PermissionDenied: “Use JSON hookSpecificOutput.retry: true to tell the model it may retry”; InstructionsLoaded: “Exit code is ignored”. Output: “PreCompact: your stdout becomes instructions for the compaction summary”. PreToolUse decisions: “"allow" skips the permission prompt, except for actions no mode auto-approves and reads from network paths” and, for the reason, “For "allow" and "defer", written to the debug log only”. Also the source for the common input fields, the hook locations (settings files, plugin hooks/hooks.json, skill and agent frontmatter), “CLAUDE_ENV_FILE is available for SessionStart, Setup, CwdChanged, and FileChanged hooks”, updatedMCPToolOutput (“Replaces the output for MCP tools only. Prefer updatedToolOutput”), and the debug log: “The --debug flag doesn’t print to the terminal.” Re-read November 25, 2026; the quotations that had drifted are given in that day’s wording. ↩

  277. Extend Claude with skills, Claude Code documentation, fetched November 10, 2026: “Claude uses skills when relevant, or you can invoke one directly with /skill-name”; “Custom commands have been merged into skills. Your existing .claude/commands/ files keep working.” and, in the Glossary, “A file at .claude/commands/deploy.md and one at .claude/skills/deploy/SKILL.md both create /deploy and work the same way; existing command files continue to work.”; “All fields are optional. Only description is recommended”; “the combined description and when_to_use text is truncated at 1,536 characters in the skill listing”; “The allowed-tools field grants permission for the listed tools during the turn that invokes the skill, so Claude can use them without prompting you for approval”; “It does not restrict which tools are available: every tool remains callable, and your permission settings still govern tools that are not listed”; “To remove tools from Claude’s available pool while a skill is active, list them in disallowed-tools in the skill’s frontmatter”; the frontmatter reference table (20 fields, none required) and the “Using skill frontmatter outside Claude Code” table, which limits claude.ai uploads and the Skills API to name, description, license, compatibility, metadata, and allowed-tools. Re-read November 25, 2026; the quotations that had drifted are given in that day’s wording. ↩

  278. Claude Code CHANGELOG, 2.0.45: “Send background tasks to Claude Code on the web by starting a message with &”; 2.1.154: “Removed the stale “& for background” hint from the shortcuts help panel”; no entry through 2.1.322 says more about the prefix (read November 10, 2026). Interactive mode, Claude Code documentation, fetched November 10, 2026: the Quick commands table has rows for “/ at start”, “! at start”, “@”, “:”, and “? on empty input”, and none for &. ↩

  279. Explore the .claude directory: “Don’t delete ~/.claude.json, ~/.claude/settings.json, or ~/.claude/plugins/”. Debug your configuration: “It prints read-only installation and settings diagnostics without starting a session.” Fetched November 10, 2026. ↩

  280. Configure permissions: “a deny or ask rule covers the invocation Claude usually produces and isn’t a security boundary around the program”; “Rules are evaluated in order: deny, then ask, then allow.”; “A deny rule doesn’t match the same program by path or inside sh -c, so pair it with the sandbox network allowlist when the restriction must hold”. Fetched November 10, 2026. ↩

  281. Claude Code Docs, “All settings”, and Claude Code Docs, “Configure the sandboxed Bash tool.” Fetched November 11, 2026. The sandbox.excludedCommands entry in the settings reference: “A pattern with no wildcard is an exact match, so docker matches only docker with no arguments.” and “Your entries take a Bash call out of the sandbox only when they cover every command in it” and “Exclusion is a convenience, not a security boundary”; its example value is ["docker *"]. From the sandboxing page: “docker * matches docker with or without arguments” and “An excluded command runs with your full access.” ↩

  282. Claude Code Docs, “Configure the sandboxed Bash tool”, and Claude Code Docs, “All settings.” Fetched November 11, 2026. From the sandboxing page, hosts outside your allowed domains: “In an interactive terminal session, the decision depends on your permission mode”, with the table rows “bypassPermissions mode, and plan mode with bypass permissions available” (“Allowed without a prompt”), “Manual mode, acceptEdits mode, and plan mode otherwise” (“You get a prompt”), auto mode (“Refused unless the command listed the host and the classifier approved the list”), and dontAsk mode (“Refused”). The strict allowlist: “the built-in sandbox proxy refuses the connection in every permission mode. In bypassPermissions mode, hosts outside your allowed domains are allowed unless one of them is on.” Where it can be set: “to true in user, managed, or CLI --settings settings” and “Setting it in a repository’s .claude/settings.json or .claude/settings.local.json has no effect. Requires Claude Code v2.1.219 or later.” The sandbox.network.strictAllowlist entry in the settings reference gives the scope as “User or managed” and adds “A repository can’t turn it on or off.” ↩

  283. Claude Code Docs, “Model configuration”; Claude Fable 5.1 model overview, Claude Platform Docs; and the npm registry record for @anthropic-ai/claude-code. Fetched November 11, 2026. The model configuration page: “Fable 5.2 requires Claude Code v2.1.321 or later, and Fable 5.1 requires v2.1.257 or later.” The registry lists 2.1.252 (published 2026-08-31) and 2.1.257 (published 2026-09-01) and no version between them. The Fable 5.1 overview carries no Claude Code version today, and says of the sibling model: “Claude Mythos 5.1 offers the same capabilities only to organizations verified through Anthropic’s verification programs, such as the Cyber Verification Program. It shares Claude Fable 5.1’s specifications and pricing.” 

  284. Claude Code Docs, “Commands”; Claude Code Docs, “Interactive mode”; and Claude Code Docs, “Environment variables.” Fetched November 11, 2026. /recap: “Generate a one-line summary of the current session on demand. See Session recap for the automatic recap that appears after you’ve been away”. /tui: “Set the terminal UI renderer and relaunch into it. fullscreen enables the flicker-free alt-screen renderer. default, or classic on v2.1.327 or later, selects the classic renderer. With no argument, prints the active renderer”. Interactive mode: “Session recap is on by default for every plan and provider. To turn automatic recaps off, open /config and turn off Session recap.” CLAUDE_CODE_ENABLE_AWAY_SUMMARY: “Set to 0 to force recaps off regardless of the /config toggle. Set to 1 to force recaps on when awaySummaryEnabled is false.” Re-read November 25, 2026; the quotations that had drifted are given in that day’s wording. ↩↩

  285. Claude Code Docs, “Environment variables.” Fetched November 11, 2026. CLAUDE_CODE_USE_POWERSHELL_TOOL: “Controls the PowerShell tool. On Windows without Git Bash, the tool is enabled automatically; set to 0 to disable it. On Windows with Git Bash installed, the tool is on by default for claude.ai and Console accounts; set to 1 to enable it in Amazon Bedrock, Google Cloud’s Agent Platform, and Microsoft Foundry sessions, or 0 to turn it off. On Linux, macOS, and WSL, set to 1 to enable it, which requires pwsh on your PATH.” ↩

  286. Claude Code Docs, “Configure permissions”, and the Claude Code CHANGELOG. Fetched November 11, 2026. Rule order: “Rules are evaluated in order: deny, then ask, then allow. The first match in that order determines the outcome, and rule specificity doesn’t change the order.” and “An allow rule can’t carve an exception out of a deny rule.” Tool name wildcards: “Deny and ask rules also accept glob patterns in the tool-name position.” and “A tool matched by a bare-name glob deny rule is removed from Claude’s context” and “Allow rules accept tool-name globs only after a literal mcp__<server>__ prefix.”; an unanchored allow glob “is skipped and doesn’t auto-approve anything.” The CHANGELOG’s 2.1.166 entry adds glob support in the deny rule tool-name position and says “allow rules reject non-MCP globs, and unknown tool names in deny rules warn at startup”; it says nothing about allowing tools back after a glob deny. ↩

  287. Claude Code Docs, “Configure the sandboxed Bash tool.” Fetched November 11, 2026. Denied hosts: “A connection to a host in deniedDomains is refused in every permission mode too.” The unsandboxed retry: “The retried command runs unsandboxed. In an interactive terminal session, who approves it depends on your permission mode”, with the entries bypassPermissions mode (“the retry runs without a prompt”), auto mode (“a separate classifier model evaluates the underlying command”), and dontAsk mode (“Claude Code denies the retry”); in Manual and acceptEdits mode the page says you get a prompt. Turning the retry off: “With the retry disabled, Claude Code ignores the dangerouslyDisableSandbox parameter.” The page’s own limit: “Sandboxing reduces risk but is not a complete isolation boundary. Review the limitations below before relying on it as a hard security control.” ↩

  288. Customize Claude Code with plugins, Claude, October 9, 2025, fetched November 11, 2026 (the anthropic.com/news/claude-code-plugins address redirects here): “Plugins are now in public beta for all Claude Code users.” Anthropic’s marketplaces, Claude Code documentation, fetched November 11, 2026: “Anthropic publishes two general-purpose plugin marketplaces for Claude Code”; “The community marketplace’s name is claude-community, not its repository name”; “By default, Claude Code adds the official marketplace, claude-plugins-official, for you”; “You add it in a Claude Code session with /plugin marketplace add anthropics/claude-plugins-community”. ↩

  289. Choose a permission mode, Claude Code documentation, fetched November 11, 2026. The Available modes table lists “Reads only” as what runs without asking in default (Manual) mode. Allowed by default in auto mode: “Pushing to any branch of the repository you’re working in, including the default branch”; “permissions.deny rules can still block push commands as written in every mode. The remote’s own branch protection still applies.” Blocked by default: “Force push”; “git commit --amend when the commit at HEAD was not created in this session”; “From v2.1.198, git commit --amend when the commit at HEAD has already been pushed”; “which the classifier presumes would discard uncommitted changes”; “Committing or pushing a change that would send secrets or sensitive data outside the repository when it runs”. On approvals: “include the specific thing that makes it dangerous, such as the branch of a force push”. Configure auto mode, same date: “By default in auto mode, Claude can push to the repository you’re working in, including its default branch, without a prompt. It can also open pull requests there when your task asks for one.”; on the permission-modes page, “A non-default branch whose name marks it as a deploy or publication target, such as production or gh-pages, isn’t covered: the classifier judges a push there on its own terms.”; “These rules match commands that begin with git push or gh pr create. A push Claude writes another way, such as git -C <dir> push”. Configure permissions, same date: “A push written another way, such as git -C . push, isn’t matched”. Re-read November 25, 2026; the quotations that had drifted are given in that day’s wording. ↩

  290. Claude Code Docs, “Error reference”, and Claude Code Docs, “Connect Claude Code to tools via MCP.” Fetched November 11, 2026. The error reference gives these strings: “Context limit reached · /compact or /clear to continue” with “In -p output and the transcript, the text stays Prompt is too long.”; “API Error: Request rejected (429)” under “You have hit the rate limit configured for your API key, Amazon Bedrock project, or Google Cloud project.”; “You’ve hit your session limit” with the weekly, Opus and Sonnet variants under “Subscription plans include a rolling usage allowance.” (the CHANGELOG, same fetch, lists under 2.1.312 “Changed usage limit messages to call the 5-hour window the “5-hour limit” instead of the “session limit”“, and Claude Code 2.1.322 prints You've hit your 5-hour limit); “Not logged in · Please run /login” under “No valid credential is available for this session.”; “Login expired · Please run /login”; and “MCP server “” needs you to sign in again (run /mcp to re-authenticate)”. MCP page: “When a server’s status is ✘ Failed to connect, claude mcp list appends the failure detail to that status line, and claude mcp get <name> shows it on an Issue: line.” ↩

  291. GitHub Advisory Database, fetched November 11, 2026. GHSA-4fgq-fpq9-mr3g (CVE-2025-59536; affected versions below 1.0.111, patched in 1.0.111): “Claude Code could be tricked to execute code contained in a project before the user accepted the startup trust dialog.” GHSA-jh7p-qr78-84p7 (CVE-2026-21852; affected versions below 2.0.65, patched in 2.0.65): “A vulnerability in Claude Code’s project-load flow allowed malicious repositories to exfiltrate data including Anthropic API keys before users confirmed trust.” ↩

  292. Claude Code Docs, “Configure the sandboxed Bash tool”, and Claude Code Docs, “All settings”. Fetched November 11, 2026. From the sandboxing page: “To keep Chromium’s or Electron’s own sandbox, or to run a nested bubblewrap or unshare, set sandbox.allowNestedUserNamespaces to true in ~/.claude/settings.json, not the project’s .claude/settings.json.”; “This setting alone isn’t enough for rootless Podman or Buildah, which the sandbox stops in other ways too.”; “For rootless Podman, Buildah, or a script or test command that runs a browser or unshare, add a pattern to sandbox.excludedCommands, such as podman *.” The settings reference: “Let sandboxed commands on Linux and WSL2 create user namespaces, which Chromium’s and Electron’s own sandbox, a nested bubblewrap, and unshare need.” ↩

  293. Claude Code Docs, “Environment variables”, and Claude Code Docs, “All settings”. Fetched November 11, 2026. CLAUDE_CODE_DISABLE_WORKFLOWS: “Equivalent to the disableWorkflows setting”. The disableWorkflows entry: “CLAUDE_CODE_DISABLE_WORKFLOWS turns workflows off for one session; whichever of the two turns them off, the other can’t turn them back on”. The enableWorkflows entry: “Appears in /config as Dynamic workflows, which writes this key to your user settings” and “unset, so workflows are on unless you’re on the Pro plan, where they’re off”. MAX_THINKING_TOKENS: “When unset and thinking is enabled, models with adaptive reasoning choose their own thinking depth, and other models use the cap.”; “Set to 0 to disable thinking on the Anthropic API, except on Opus 5.5, Sonnet 5.5, Haiku 5.5, and the Fable models, which can’t have thinking turned off. On third-party providers, 0 omits the thinking parameter instead.”; “For a positive value, Claude Code ignores the number itself on adaptive reasoning models, except when CLAUDE_CODE_DISABLE_ADAPTIVE_THINKING turns adaptive reasoning off”. CLAUDE_CODE_DISABLE_ADAPTIVE_THINKING: “Set to 1 to disable adaptive reasoning on Opus 4.6 and Sonnet 4.6 and fall back to the fixed thinking budget controlled by MAX_THINKING_TOKENS. Has no effect on Fable models, Sonnet 5 and later, Haiku 5.5, or Opus 4.7 and later, which always use adaptive reasoning”. ↩

  294. Claude Code Docs, “Connect Claude Code to tools via MCP”; Claude Code Docs, “Environment variables”; and the Claude Code CHANGELOG. Fetched November 11, 2026. From the MCP page: “Server instructions, and the description of a tool that loads upfront: 4,096 characters”; “The description of a tool that Claude loads through tool search: 16,384 characters”; “Before v2.1.296, the shorter limit was 2,048 characters, and before v2.1.295 it applied to every tool description, including one loaded through tool search.”; “Claude Code uses that number for both limits. With 8192, for example, you raise the 4,096-character limit on server instructions and tool descriptions loaded upfront, and lower the 16,384-character limit on tool descriptions loaded through tool search. This variable requires Claude Code v2.1.280 or later.”; “Descriptions and instructions from some of the MCP servers that Anthropic hosts at api.anthropic.com reach Claude in full, and setting this variable doesn’t cut them.” The CLAUDE_CODE_MAX_MCP_DESCRIPTION_LENGTH row of the environment variables page: “The value you set replaces both default limits: 4096, and 16384 for the description of a tool that Claude loads through tool search.” CHANGELOG 2.1.299: “Changed MCP tool descriptions and server instructions from Anthropic’s first-party MCP servers at api.anthropic.com to reach Claude in full instead of being cut at 4,096 characters”. ↩

  295. Claude Code Docs, “Tools reference”; Claude Code Docs, “Environment variables”; and the Claude Code CHANGELOG. Fetched November 11, 2026. Time limit for background commands: “A command that Claude starts in the background gets 30 minutes, or the timeout Claude passes with run_in_background, up to a maximum of 2 hours” and “In a run with the -p flag whose prompt you pass as text rather than with --input-format stream-json, both defaults are 10 minutes instead of 30.” CHANGELOG 2.1.321: “Fixed claude -p sometimes telling Claude that background commands get 30 minutes when they are stopped after 10”. The BASH_MAX_TIMEOUT_MS row: “Maximum timeout the model can set for a foreground Bash or PowerShell tool command, in milliseconds (default: 600000, or 10 minutes). The effective ceiling is the larger of this and BASH_DEFAULT_TIMEOUT_MS. An effective ceiling longer than 2 hours also becomes the maximum time limit for background commands in unattended sessions.” Re-read November 25, 2026; the quotations that had drifted are given in that day’s wording. ↩

  296. Claude Code Docs, “Environment variables”, and the Claude Code CHANGELOG. Fetched November 11, 2026. The CLAUDE_CODE_SHELL_PREFIX row: “Command prefix that wraps shell commands Claude Code spawns: Bash tool calls, hook commands, status line commands, and stdio MCP server startup commands. PowerShell hooks and exec-form hooks run without the prefix. Useful for logging or auditing. Setting a bare executable path such as /path/to/logger.sh runs each command as /path/to/logger.sh '<command>'. The wrapper receives the command line as a single shell-quoted argument in $1, so the wrapper must re-evaluate $1 with a shell” (the row’s example is exec bash -c "$1"), and “Treating $1 as a bare executable path breaks stdio MCP servers that pass arguments such as npx -y <package>.” CHANGELOG 1.0.61: “Added CLAUDE_CODE_SHELL_PREFIX for wrapping Claude and user-provided shell commands run by Claude Code”. ↩

  297. Claude Fable 5.2 model overview and Models overview, Anthropic platform docs, fetched November 11, 2026. The Model IDs table on the Fable 5.2 page has the row “Amazon Bedrock (bedrock-runtime)” with the ID global.anthropic.claude-fable-5-2; the Opus 5.5, Sonnet 5.5, Haiku 5.5, and Fable 5.1 pages list anthropic.claude-opus-5-5, anthropic.claude-sonnet-5-5, anthropic.claude-haiku-5-5, and anthropic.claude-fable-5-1 for Amazon Bedrock. The Models overview explains the difference: “a model that Bedrock serves only on its bedrock-runtime endpoint shows its inference profile ID instead.” ↩

  298. How Claude marks AI-generated content, Claude Help Center, and How Claude’s text watermarking works, Anthropic, both fetched November 11, 2026. Help Center: “Claude models launched in the EU on or after August 2, 2026 will support machine-readable marking at launch.”; “The law includes a transition period for AI systems launched before August 2, 2026, and we’re working to add marking support for earlier Claude models.”; “Consistent with our commitments under the Code, Anthropic is adding watermarks to outputs from models released before August 2, 2026.”; the table “Which Claude models support watermarking”, with its notes “Rollout on Amazon Bedrock will complete by November 10.” and “For Sonnet 4.6, outputs may not reliably carry the text watermark when temperature, top_p, or top_k is set to a non-default value.”; “Watermarking will be applied at the model level, which means it will be present no matter which Claude product or surface the text comes from.”; “Content Credentials (C2PA) are added when Claude creates a file, so it applies only where a platform offers Claude’s file generation features: in the Claude apps and the Claude Platform (API), including Claude Platform on AWS and Claude in Microsoft Foundry.”; “Watermark detection is in private preview.”; “To check whether a file contains a Claude-issued Content Credential, use the free Claude Content Checker.” The announcement, updated September 1, 2026: “We are releasing a detection API in private preview.” ↩

  299. Choose a permission mode, Claude Code documentation, fetched November 11, 2026. “In addition to file edits, acceptEdits mode auto-approves common filesystem Bash commands: mkdir, touch, rm, rmdir, mv, cp, and sed.” and “Like file edits, auto-approval applies only to paths inside your working directory or additionalDirectories.” On auto mode: “A separate classifier model reviews actions before they run”. ↩

  300. All settings and Configure the sandboxed Bash tool, Claude Code documentation, fetched November 11, 2026. The sandbox.credentials entry: “Claude Code protects only the entries you list; there is no built-in credential deny list.” and, for its default, “unset, so no credentials are protected”. The sandboxing page: “There is no built-in credential deny list, so only the files and variables you list are restricted.” ↩

  301. Create custom subagents, Claude Code documentation, fetched November 11, 2026. Permission modes: “If you leave it unset, the subagent inherits the main conversation’s permission mode.”; “The main conversation’s permission mode decides whether Claude Code uses the value you set”; “When the main conversation is in bypassPermissions, acceptEdits, or auto mode, your subagent runs in that same mode and Claude Code ignores the permissionMode you set.”; “When the main conversation is in plan mode, the subagent stays in plan mode whichever permissionMode you set, unless it runs as an agent team teammate under the agent teams rules.”; “When the main conversation is in default or dontAsk mode, the subagent runs in the permission mode you set. It keeps the main conversation’s permission mode instead in cases such as these”; “You set bypassPermissions. The bypassPermissions exception requires Claude Code v2.1.267 or later.”; “You set auto and auto mode isn’t available to the subagent”. Re-read November 25, 2026; the quotations that had drifted are given in that day’s wording.

    Tools: “To restrict tools, use the tools field as an allowlist or the disallowedTools field as a denylist.”; “Inherits every tool available to subagents if omitted.”; Explore and Plan each list “read-only tools; Write and Edit are denied”. Context and model: “Each subagent starts with a fresh, isolated context window.”; “A fork is a subagent that inherits the entire conversation so far instead of starting fresh.”; the model order is “The per-invocation model parameter”, “The subagent definition’s model frontmatter, where inherit selects the main conversation’s model”, “The CLAUDE_CODE_SUBAGENT_MODEL environment variable, when you set it to a model alias or model ID”, “The main conversation’s model”.

    omitClaudeMd: “managed policy files still load, except for managed subagents”; “Ignored when the agent runs as the main session agent via --agent or the agent setting.” experimental: “ignores 1h while your Claude subscription is using usage credits”. memory: “if you turn auto memory off, with the autoMemoryEnabled setting or CLAUDE_CODE_DISABLE_AUTO_MEMORY, the memory field has no effect”. skills: “You can’t preload skills that set disable-model-invocation: true”. mcpServers: “Claude Code loads an inline MCP server from an agent file in your project’s .claude/agents/ directory, or in an --add-dir directory’s .claude/agents/, only after you trust the folder the agent file came from. Before v2.1.238, Claude Code loaded these servers without checking trust.” Frontmatter hooks: “To let a project-level subagent’s frontmatter hooks run, accept the workspace trust dialog for the folder that contains the agent file. Hooks from user-level subagents in ~/.claude/agents/ and from definitions you pass with --agents run without this step.” Choose a permission mode, same fetch: “With Claude Code v2.1.283 or later, auto mode is the built-in starting permission mode for interactive terminal and VS Code sessions.” ↩

  302. Configure permissions, Claude Code documentation, fetched November 11, 2026: “A bare tool name like Bash removes the tool from Claude’s context entirely, so Claude never sees it”; “A scoped rule like Bash(rm *) leaves the tool available and blocks matching calls when Claude attempts them”; of a bare WebFetch deny rule, “Claude Code removes the WebFetch tool, so Claude can’t fetch at all”; “refuses commands that begin with git push. A push written another way, such as git -C . push, isn’t matched”; “It doesn’t match the same program invoked in a different form, so a deny or ask rule covers the invocation Claude usually produces and isn’t a security boundary around the program.” Configure auto mode, same date: “A push Claude writes another way, such as git -C <dir> push or git -c <key>=<value> push, doesn’t match the rule”. Extend Claude with skills, same date: “To block tools across all skills and prompts, add deny rules in your permission settings.” ↩

  303. Configure cloud environments, Claude Code documentation, fetched November 11, 2026: “Cloud sessions start from a fresh clone of your repository. Anything you commit to the repo is available. Anything you’ve installed or configured only on your own machine isn’t available in the session.” Its table answers “No” for “Plugins enabled only in your user settings” and for “MCP servers you added with claude mcp add at the default local scope or the user scope”, and “Yes, in a session with one repository” for “Your repo’s .mcp.json MCP servers”. ↩

  304. Settings files and precedence, Run parallel sessions with worktrees, and How Claude remembers your project, Claude Code documentation, fetched November 11, 2026. Settings: “Claude Code reads the shared .claude/settings.json from the session’s primary working directory”; of .claude/settings.local.json, “In a worktree, it uses the file at the main checkout’s root.” Worktrees, “What worktrees share with the main checkout”: “choosing “Yes, and don’t ask again” for a Bash command in a worktree session saves the rule to the main checkout’s .claude/settings.local.json. The rule applies in the main checkout and in every other worktree of the repository, and it survives the worktree’s removal.”; “On Windows and in the other cases where Claude Code doesn’t use the repository root, the rule stays with that worktree.”; “commands such as git commit work in a session at the worktree’s root, which is where --worktree starts one”. Memory: “all worktrees and subdirectories within the same repo share one auto memory directory”. The Claude Code CHANGELOG, section 2.1.63, same fetch: “Project configs & auto memory now shared across git worktrees of the same repository”. ↩

  305. Claude Code CHANGELOG, section 2.1.312, fetched November 11, 2026: “Changed usage limit messages to call the 5-hour window the “5-hour limit” instead of the “session limit”“. The error reference, Claude Code documentation, same fetch, still prints the earlier wording: “You’ve hit your session limit · resets 3:45pm”. ↩

  306. Data usage, Claude Code documentation, fetched November 11, 2026. Error reports: “error messages and stack traces from Claude Code’s own internals, sent to a third-party error tracking service over TLS. Claude Code redacts known patterns of secrets, file paths, email addresses, and other personal information before anything leaves your machine. Set DISABLE_ERROR_REPORTING=1 to opt out.”; “Error reporting is on only when all of these apply”, followed by “you sign in with a Claude Pro, Max, or Ultra subscription”, “you’re running Claude Code v2.1.198 or later”, “you’re connecting directly to the Claude API”, and “your organization doesn’t have a zero data retention or HIPAA agreement”. Providers: “By default, error reporting, telemetry, and bug reporting are disabled when using Amazon Bedrock, Google Cloud’s Agent Platform, Microsoft Foundry, or Claude Platform on AWS.”; “When a host platform sets CLAUDE_CODE_PROVIDER_MANAGED_BY_HOST, metrics default to on for Google Cloud’s Agent Platform, Amazon Bedrock, Microsoft Foundry, and Claude Platform on AWS, and follow the standard DISABLE_TELEMETRY opt-out.” ↩

  307. Choose a permission mode and Development containers, Claude Code documentation, fetched November 11, 2026. Permission modes, on bypassPermissions: “Only use this mode in isolated environments like containers, VMs, or dev containers without internet access, where Claude Code cannot damage your host system.” Development containers: “When executed with --dangerously-skip-permissions, dev containers do not prevent a malicious project from exfiltrating anything accessible inside the container, including the Claude Code credentials stored in ~/.claude.”; “Avoid mounting host secrets such as ~/.ssh or cloud credential files into the container; prefer repository-scoped or short-lived tokens.” The output of claude --help on Claude Code 2.1.322, read the same day, describes the flag as “Bypass all permission checks. Recommended only for sandboxes with no internet access.” Claude Code 2.1.332 prints the same --help text (run November 25, 2026). ↩

  308. Deploy managed settings and All settings, Claude Code documentation, fetched November 11, 2026. Remote settings: “Claude Code can fetch this source when the session meets one of these conditions”: “It has an eligible credential”; “It signs in to a gateway with /login”; “It runs in Claude Desktop’s Code tab behind a gateway that serves that session settings”. The HKCU registry: “Claude Code reads it only when no admin document is present above it and no host-supplied parent settings supply a restrictive key”; a document is present when “It sets any policy key to a value other than null, even a value Claude Code can’t read” or “It is an HKLM value, managed settings file, or managed-settings.d directory that exists but can’t be read”. Re-read November 25, 2026; the quotations that had drifted are given in that day’s wording.

    Merging: “set managedSourcesBehavior to "merge" in the highest-ranked source you deploy”; “The user-writable HKCU registry never merges with another source.”; lists: “Combines the entries from every source”; locks: “Applies the strictest value any source sets; a looser value applies only from the highest-ranked source”; restriction allowlists: “Takes the list whole from the highest-ranked source that sets it, without adding entries from lower sources”; values taken whole: “Takes the value whole from the highest-ranked source that sets it, without combining entries or fields from lower sources”; every other key: “Takes the value from the highest-ranked source that sets it”. A policy key is “any settings key other than the two control keys, wslInheritsWindowsSettings and managedSourcesBehavior”. Delivery: “The file in the steps above is one of four ways to get managed settings onto a machine.”; “As a macOS configuration profile or a Windows HKLM registry value, through Jamf, Intune, Group Policy, or a similar tool”; “/etc/claude-code/managed-settings.json” under “Linux and WSL”. Settings reference: “Taking sandbox.credentials.awsPairs and sandbox.ripgrep whole requires Claude Code v2.1.257 or later.” ↩

  309. Claude Code CHANGELOG, v2.1.323 through v2.1.332, fetched November 25, 2026 (294, 139, 367, 173, 144, 130, 142, 135, and 150 top-level bullets for 2.1.323, 2.1.325, 2.1.326, 2.1.327, 2.1.328, 2.1.329, 2.1.330, 2.1.331, and 2.1.332; no 2.1.324 section), and the GitHub releases v2.1.323 (2026-11-12T22:12:13Z), v2.1.325 (11-13T20:40:01Z), v2.1.326 (11-16T22:11:05Z), v2.1.327 (11-17T23:17:45Z), v2.1.328 (11-19T01:14:04Z), v2.1.329 (11-19T22:14:41Z), v2.1.330 (11-20T22:32:56Z), v2.1.331 (11-23T21:34:41Z), and v2.1.332 (11-25T01:32:14Z); no v2.1.324 release exists. npm publish times from npm view @anthropic-ai/claude-code time: 2.1.323 2026-11-12T20:29:28Z, 2.1.324 11-13T18:42:36Z, 2.1.325 11-13T20:07:25Z, 2.1.326 11-16T18:43:39Z, 2.1.327 11-17T20:33:19Z, 2.1.328 11-18T23:09:39Z, 2.1.329 11-19T18:40:25Z, 2.1.330 11-20T19:16:01Z, 2.1.331 11-23T18:36:26Z, 2.1.332 11-24T22:06:38Z; dist-tags on 2026-11-25: latest 2.1.332, next 2.1.332, stable 2.1.326. Verbatim, 2.1.332: “Changed the default model on Microsoft Foundry to Sonnet 5.5: deploy claude-sonnet-5-5, or set ANTHROPIC_DEFAULT_SONNET_MODEL to a model you have deployed”; “Changed the sonnet model alias on Google Cloud’s Agent Platform and Microsoft Foundry to Sonnet 5.5, and Foundry’s opus alias to Opus 5.5; sonnet on Amazon Bedrock stays at Sonnet 4.5”; “Added a PreSkillShellCommand hook event that can refuse a skill or command’s inline shell commands as it loads; on 2.1.331 and older, a settings file naming it opens a dialog at start”; “Added skills from MCP servers (beta). They show as server:skill in the / menu; other skills keep their names”; “Changed /schedule, permission prompts and /loop’s cloud offer to say “cloud scheduled task” instead of “routine” or “cloud schedule”; /routines still works”. 2.1.330: “Changed recurring scheduled tasks and /loop to run up to 30 days instead of 7 while their session keeps running, and say when they end; tasks made before this release still end at 7 days”. 2.1.328: “Added auto mode for Claude Opus 4.6 and Sonnet 4.6 on Amazon Bedrock, Google Cloud’s Agent Platform, Microsoft Foundry and Claude apps gateway; interactive sessions with no permission mode start in it”. 2.1.325: “Changed sandboxed Bash commands to follow the normal permission flow by default; set sandbox.autoAllowBashIfSandboxed: true to keep running them without prompts”. 2.1.323: “Added Code Mode, an experimental opt-in in which Claude writes JavaScript to call its tools”; “Removed the subagentStatusLine setting: subagent rows always use the default look, and settings files that still hold the key load as before”; “Changed the context window assumed for a model ID that Claude Code doesn’t recognize from 200K to 1M; use /autocompact to compact earlier, or CLAUDE_CODE_DISABLE_1M_CONTEXT=1 to keep 200K”; “Changed MCP_SDK_GENERATION=v1 to run the v2 MCP client in a compatibility mode (earlier handshake, relaxed OAuth sign-in checks), because the v1 MCP client is removed”. ↩↩↩↩↩↩↩↩↩↩↩↩↩

  310. Claude Code documentation, fetched November 25, 2026: Model configuration (sitemap lastmod 2026-11-25), Claude Code on Microsoft Foundry and Claude Code on Google Cloud’s Agent Platform (both lastmod 2026-11-24). Model configuration, alias table: “Anthropic API | Opus 5.5 | Sonnet 5.5 | Haiku 5.5”; “Claude Platform on AWS | Opus 5.5 | Sonnet 4.6 | Haiku 4.5”; “Claude Models on Google Cloud (Anthropic managed) | Opus 5.5 | Sonnet 5.5 | Haiku 4.5”; “Amazon Bedrock, Google Cloud’s Agent Platform | Opus 5.5 | Sonnet 4.5 | Haiku 4.5”; “Microsoft Foundry | Opus 4.6 | Sonnet 4.5 | Haiku 4.5”. Default model: “Claude Platform on AWS, Claude Models on Google Cloud (Anthropic managed), Amazon Bedrock, and Google Cloud’s Agent Platform: defaults to Opus 5.5”; “Microsoft Foundry: defaults to Sonnet 4.5”. Foundry page: “Pin specific model versions for every deployment”; “Without ANTHROPIC_DEFAULT_OPUS_MODEL, the opus alias on Microsoft Foundry resolves to Opus 4.6”. Agent Platform page: “without ANTHROPIC_DEFAULT_SONNET_MODEL, the sonnet alias resolves to Sonnet 4.5”. These pages had not caught up with the v2.1.332 release notes on that date. ↩↩

  311. Hooks reference, Claude Code documentation, fetched November 25, 2026 (34 rows in the event table). PreSkillShellCommand: “Runs before an injected command, a shell command that runs while a skill or a command such as /security-review loads. PreToolUse hooks don’t fire for injected commands.”; “Requires Claude Code v2.1.332 or later, including in the desktop app and VS Code extension.”; “an earlier version such as v2.1.331 opens each interactive terminal session with a warning dialog: Unknown hook event "PreSkillShellCommand" was ignored”; “If you configure a prompt or agent hook on this event, Claude Code can’t run it and blocks each command the hook matches.”; “Your script runs after the permission check on injected commands, so it gets the commands that passed. It also runs in bypassPermissions mode.”; “You can block a command from this hook, but you can’t approve or change one.” On failures: “set "onFailure": "block" on a command, http, or mcp_tool hook. Requires Claude Code v2.1.295 or later. On mcp_tool hooks, onFailure requires v2.1.328 or later.” Reusing the script: “You can reuse the blocking script from How a hook resolves.”; “To use one script on both events, leave hookEventName as PreToolUse.”; the script printed under “How a hook resolves” is saved as .claude/hooks/block-rm.sh, and the page adds “install jq and make sure it is on your PATH”. ↩↩↩

  312. All settings (the settings reference) and Configure the sandboxed Bash tool, Claude Code documentation, fetched November 25, 2026. sandbox.autoAllowBashIfSandboxed: “false: sandboxed commands go through the regular permission flow, so your allow rules and permission mode decide. The /sandbox Mode tab calls this regular permissions mode”; “Default: false. Before v2.1.324, the default was true”; “To set it to true in managed settings, add it to the sandbox block of your highest-ranked managed source”. Sandboxing, sandbox modes: “In both, the sandbox enforces the same filesystem and network restrictions; the difference is only in whether sandboxed commands are auto-approved or require explicit permission.” The settings reference no longer has a subagentStatusLine entry. ↩↩

  313. Run prompts on a schedule, Claude Code documentation, fetched November 25, 2026: “Recurring tasks automatically expire 30 days after creation. The task fires one final time, then deletes itself. This bounds how long a forgotten loop can run. Before v2.1.330, the limit was 7 days, and recurring tasks created with CronCreate on those versions keep it.”; “cancel and recreate it before it expires, or use cloud scheduled tasks or Desktop scheduled tasks for durable scheduling”. ↩↩

  314. Run tool calls from code with Code Mode, Claude Code documentation, fetched November 25, 2026: “Code Mode is experimental and off by default. It may change or be removed in any release.”; “With Code Mode, Claude writes a piece of JavaScript that makes the tool calls, and Claude Code runs that code in your session.”; requirements: “Claude Code v2.1.323 or later”; “With a cloud provider, you need v2.1.331 or later. You can’t use Code Mode through a gateway or with Claude for Government.”; “Claude Opus 5.5, Sonnet 5.5, Haiku 5.5, or Fable 5.2”; “Code Mode doesn’t work with the VS Code panel, the Desktop app, or cloud sessions”; agent teams v2.1.326, mods v2.1.327, feature-flag fetching off or OpenTelemetry events and metrics on v2.1.329. “Add CLAUDE_CODE_EXPERIMENTAL_CODE_MODE with the value 0 to your managed settings so that nobody in your organization can use Code Mode”; “You can’t turn on Code Mode for your users from managed settings.” ↩↩

  315. Connect Claude Code to tools via MCP and Environment variables, Claude Code documentation, fetched November 25, 2026. MCP skills: “MCP skills are in public beta and require Claude Code v2.1.331 or later.”; “A skill’s name is <server>:<skill>.”; “When Claude loads an MCP skill in auto mode, the default, you don’t see a prompt. The classifier decides whether the skill loads, without reading it.”; “When you sign in with /login on a Pro, Max, or Ultra plan, MCP skills are on. With /login on a Team or Enterprise plan, they’re off until your organization turns them on.”; “Anthropic doesn’t scan skills from other connectors or servers, including Directory servers added with claude mcp add.”; “Skills can direct Claude to run code. Servers can change skills at any time. Add only servers you trust.” On add-json: “To pipe the JSON in, pass - in its place: cat server.json | claude mcp add-json <name> -. Run the command outside a Claude Code session. Requires Claude Code v2.1.327 or later.” Environment variables, MCP_SDK_GENERATION: “Pin which MCP client runtime this process connects to MCP servers with: v1, built on MCP TypeScript SDK 1.x, or v2”. ↩↩

  316. Anthropic platform documentation, fetched November 25, 2026. Claude Platform release notes, November 23, 2026: “We announced the deprecation of the Claude Opus 4.5 model (claude-opus-4-5-20251101 and claude-opus-4-5), with retirement on the Claude API scheduled for January 22, 2027. We recommend migrating to Claude Opus 5.5.”; November 16, 2026: “Text generated by Claude Opus 4.6, Claude Opus 4.5, Claude Sonnet 4.5, and Claude Haiku 4.5 carries Anthropic’s text watermark on supported platforms.” Model deprecations: “claude-opus-4-5-20251101 | Deprecated | November 23, 2026 | January 22, 2027”; “claude-sonnet-4-5-20250929 | Deprecated | September 30, 2026 | November 30, 2026”; “claude-opus-4-6 | Active | N/A | Not sooner than February 5, 2027”; “claude-opus-5 | Active | N/A | Not sooner than July 24, 2027”; “claude-sonnet-5 | Active | N/A | Not sooner than June 30, 2027”; “claude-sonnet-4-6 | Active | N/A | Not sooner than February 17, 2027”; “claude-opus-4-1-20250805 | Retired | June 5, 2026 | August 5, 2026”; “claude-opus-4-20250514 | Retired | April 14, 2026 | June 15, 2026”; and the retirement table gives claude-opus-4-8 as the recommended replacement for both retired Opus models. How Claude marks AI-generated content, Claude Help Center, fetched November 25, 2026: the table marks text watermarks for Opus 4.6, Opus 4.5, Sonnet 4.6, Sonnet 4.5, and Haiku 4.5 on first-party surfaces and in cloud partner output, and “For Opus 4.6, Opus 4.5, Opus 3, Sonnet 4.6, Sonnet 4.5, and Haiku 4.5, outputs may not reliably carry the text watermark when temperature, top_p, or top_k is set to a non-default value.” ↩↩↩

  317. Claude Code with Claude Models on Google Cloud (Anthropic managed), Claude Code documentation, fetched November 25, 2026 (sitemap lastmod 2026-11-14; first Wayback Machine capture 2026-11-15): “the Claude API, run by Anthropic and reached through your Google Cloud project”; “install Claude Code v2.1.307 or later”; the env block with CLAUDE_CODE_USE_ANTHROPIC_GOOGLE_CLOUD, ANTHROPIC_GOOGLE_CLOUD_PROJECT, and ANTHROPIC_GOOGLE_CLOUD_WORKSPACE_ID; “The API provider line contains on Google Cloud”. Launch date from the Claude Platform release notes, October 22, 2026: “We’ve launched Claude Models on Google Cloud (Anthropic managed), the Claude API operated by Anthropic and reached through your Google Cloud project. Google Cloud IAM controls access. Google Cloud Marketplace handles billing.” The Claude Code CHANGELOG does not mention the provider or its variables. ↩

  318. Get a pull request ready with /ship and /steward and Claude Ship, Claude Code documentation, fetched November 25, 2026 (first Wayback Machine captures of both pages 2026-11-23). “/ship is a Claude Code command that opens a GitHub pull request for your change if your branch doesn’t have one. Claude reviews your change and works on feedback and failing checks to help get it ready to merge.”; “Run either command from the Claude Code CLI in a terminal, in your local clone of the repository. Cloud sessions don’t have them.”; “once the pull request is ready, merge it yourself”; prerequisites: “Claude Code v2.1.330 or later” and “the GitHub CLI 2.63 or later”; “In bypassPermissions mode, no watch starts.”; “You can also set CLAUDE_CODE_DISABLE_SHIP to 1, for example under env in managed settings. Requires Claude Code v2.1.331 or later.” Claude Ship: “a set of agents that help get your team’s GitHub pull requests ready to merge” (Code Review, PR Steward, Claude Approvals); “Claude Ship is for organizations on Team and Enterprise plans.”; “Code Review is generally available. PR Steward and Claude Approvals are in public beta.” The Claude Code CHANGELOG does not mention /ship or /steward. ↩↩

  319. Voice dictation, Claude Code documentation, fetched November 25, 2026: “recording also stops when you send or edit the prompt. It stops by itself after 60 seconds with no recognized words or after 10 minutes total.”; “Before v2.1.332, recordings stopped after 15 seconds with no recognized words or after two minutes, and Claude Code then sent a transcript of three or more words.” ↩↩

  320. Claude Code documentation, fetched November 25, 2026. Environment variables: CLAUDE_CODE_RESUME_HINT_COMMAND (“Requires Claude Code v2.1.323 or later”), CLAUDE_CODE_FULL_SIGN_IN_LINK (v2.1.330), CLAUDE_CODE_DISABLE_RESPONSE_COMPRESSION (v2.1.331; “Ignored in project and local settings”), CLAUDE_CODE_DISABLE_DEFERRED_TOOL_RESUME (v2.1.328), OTEL_RESOURCE_INCLUDE_HOST (v2.1.326), CLAUDE_CODE_DISABLE_SHIP (v2.1.331), VERTEX_REGION_CLAUDE_5_5_SONNET (“Added in v2.1.284”), and CLAUDE_CODE_OVERLOADED_RETRY_MAX_DELAY_MS (“whole milliseconds from 32000 to 300000”; “Values above 64000 require v2.1.323 or later”). Plugin manifest reference, engines: “The Claude Code versions that the plugin works on, as a semver range under the claude-code key”; “Requires Claude Code v2.1.323 or later. To keep the plugin working on v2.0.15 through v2.1.75, omit engines.” Choose a permission mode: “If your organization has the HIPAA configuration applied, terminal and VS Code sessions on Claude Code v2.1.326 or later start in auto mode by default. On v2.1.285 through v2.1.325, an eligible session starts in Manual mode by default.” Commands, /tui: “default, or classic on v2.1.327 or later, selects the classic renderer”. The plugin manifest reference does not list optionalDependencies, and the environment variables page does not list CLAUDE_CODE_DISABLE_AGENT_PROGRESS_SUMMARIES; both are in the release notes only. ↩↩↩

  321. Environment variables, Claude Code documentation, fetched November 25, 2026, compared row by row with this guide’s Environment Variables Reference. CLAUDE_CODE_SUBAGENT_EFFORT: “It doesn’t apply to forks, forked skills, or teammates. Requires Claude Code v2.1.315 or later”. CLAUDE_CODE_SYNC_SKILLS: “In an interactive session, the variable requires v2.1.323 or later”. CLAUDE_CODE_STRICT_INLINE_SHELL_RM_PROMPT: “Has no effect when CLAUDE_CODE_DISABLE_INLINE_SHELL_RM_PROMPT is 1. Requires Claude Code v2.1.299 or later”. CLAUDE_CODE_SESSION_ID: “Set automatically to the current session ID in Bash and PowerShell tool subprocesses”. CLAUDE_CODE_WORKFLOW_PREFIX_STAGGER_MS: “Default 5000. Set to 0 to disable the wait.” CLAUDE_CODE_LOOP_KEEPALIVE: “when its second or later iteration ends with nothing scheduled”. CLAUDE_CODE_OTEL_CONTENT_MAX_LENGTH: “in UTF-16 code units (default: 61440, i.e. 60 KB)”. The page has no row for OTEL_EXPORTER_OTLP_TIMEOUT; its limit comes from the Claude Code CHANGELOG, 2.1.323: “Fixed OpenTelemetry exports failing when a proxy took over 10 seconds to reach the collector; it now has 25 seconds, also the most that OTEL_EXPORTER_OTLP_TIMEOUT can allow (previously 30)”. ↩

  322. Extend Claude with skills, Claude Code documentation, fetched November 25, 2026, frontmatter reference, model: “Accepts /model values, or inherit for the active model. When Claude runs the skill, the session keeps its model.”; “With context: fork, the value is the forked subagent’s per-invocation model.” ↩

  323. Intercept and control agent behavior with hooks, Claude Agent SDK documentation, fetched November 25, 2026, “Block the action when a callback fails”: “On most events, if a callback throws or returns output that fails validation, the action goes ahead and your app receives an SDKInformationalMessage warning whose tag is hook_callback_failed.”; “To block the action instead, set onFailure: "block" in TypeScript or on_failure="block" in Python on the matcher. Requires TypeScript Agent SDK v0.3.317 or later, or Python Agent SDK v0.2.177 or later.”; “Stop, SubagentStop, TaskCompleted, and TeammateIdle: these events ignore the option, so the action goes ahead.”; “With "block" set, a path with no return blocks the action.” TypeScript Agent SDK CHANGELOG, 0.3.317: “Added onFailure to hook matchers: with "block", a hook that throws or returns invalid output blocks the action”; 0.3.325: “Added a system/informational warning, tagged hook_no_verdict, when a PreToolUse hook can’t run or answer, or times out, without refusing its tool call”. Python Agent SDK CHANGELOG, 0.2.177: “Set on_failure="block" to block the action when a callback raises, returns None, or returns a value the CLI rejects.” ↩

  324. Claude Code documentation, fetched November 25, 2026. Settings files and precedence: “Settings precedence, highest first: managed settings, command line, project local, shared project, user.”; “Other flags, such as --model, set one thing for the session and aren’t part of this stack”; “When you set the same list key, such as permissions.allow, in more than one file, Claude Code combines the lists instead of picking one”; “Claude Code also keeps a fifth file, ~/.claude.json, that it writes for itself; you don’t need to edit it. It holds your account details, MCP server configurations, per-project state such as trust decisions, and the global config keys that /config writes for you.” Authentication: “On macOS, credentials are stored in the encrypted macOS Keychain.”; “On Linux, credentials are stored in ~/.claude/.credentials.json with file mode 0600.”; “On Windows, credentials are stored in %USERPROFILE%\.claude\.credentials.json”. Create custom subagents, frontmatter table: background, “Set to true to keep this subagent in the background even when Claude asks to wait for it. By default, custom subagents Claude spawns from the main conversation already start in the background”; autoCompactWindow, “Lower the auto-compact window for this subagent to a token count of 100000 or more. Requires Claude Code v2.1.296 or later”; disallowedTools, “An entry with a specifier, such as Bash(git push *), still removes the whole tool”; isolation, “By default, the copy branches from your default branch rather than the parent session’s HEAD.” ↩

  325. Claude Code documentation, fetched November 25, 2026. Connect Claude Code to tools via MCP, “Failed first connections”: “When an HTTP or SSE server’s first connection fails with a transient error, such as a 5xx response, a connection refused, or a timeout, Claude Code retries up to three times. If the connection still fails, Claude Code marks the server as failed.”; “Those retries don’t apply in these cases”: “A stdio server’s first connection”, “A WebSocket server’s first connection”, and “An authentication or not-found error, because it requires a configuration change to resolve.” Configure auto mode: “On a Pro, Max, Ultra, or Team plan, you need v2.1.228 or later, or v2.1.233 or later on native Windows. On an Enterprise plan or with a Claude Console API key, you need v2.1.283 or later.”; “Telemetry off, third-party provider, or Claude apps gateway: before v2.1.304, the command isn’t available in sessions where feature-flag fetching is off.” ↩↩

  326. Claude Tag documentation on claude.com, fetched November 25, 2026. Work with Claude Tag: “Claude Tag is available on Team and Enterprise plans, on Anthropic’s first-party service. It isn’t available on individual plans (Free, Pro, Max, or Ultra), or for third-party deployments.”; “It posts a checklist in the thread as it goes, and the whole exchange stays visible to the channel.” Setup overview: “Claude Tag is in public beta. Features and behavior described here may change before general availability.”; “Running setup requires the Owner role in a Claude organization on a Team or Enterprise plan.”; “Channel work draws from your organization’s usage balance; on a Team plan nothing runs until credits are loaded.”; “Running @Claude connect requires a Slack workspace admin”. Migrate from the earlier Claude in Slack: “Your existing Slack app and @Claude handle stay, and no data migrates. What changes is who Claude acts as and who sets it up.”; “The New version starts with no access of its own. GitHub repositories and other connections do not carry over from individual users’ linked accounts”. Overview, also: “Anyone in a Slack channel can tag Claude into a problem and hand it work”. ↩

  327. Claude Code documentation, re-read November 25, 2026 for the passages that changed after the November 10 and 11 fetches. Connect Claude Code to tools via MCP: “Terminal CLI sessions, Agent SDK sessions, and GitHub Actions runs have them on v2.1.304 or later”; “If feature-flag fetching is off, for example on Amazon Bedrock or with telemetry turned off, you need an interactive terminal session on Claude Code v2.1.317 or later”; “A non-fork subagent that the main conversation started, in an interactive terminal session that fetches feature flags, on v2.1.331 or later. The server can’t be one defined in the subagent’s own file”; “MCP tasks can work in the VS Code extension and in local desktop app sessions. In both, you need Claude Code v2.1.331 or later and a session that fetches feature flags.”; “Calls from subagents, except an MCP task in the cloud”. Configure your terminal for Claude Code: “Ghostty, Kitty, iTerm2, WezTerm, Warp, Windows Terminal 1.25 or later | Works without setup”; “gnome-terminal, Windows Terminal before 1.25, JetBrains IDEs such as PyCharm and Android Studio | Not available; use Ctrl+J or \ then Enter”; “/terminal-setup and the first-run terminal setup prompt enable this setting only on macOS 26 and earlier. Both also turn off your profile’s audible bell.” Commands: “/voice [hold\|tap\|off] | Toggle voice dictation, or enable it in a specific mode. Requires a Claude.ai account”; the /code-review row, “Pass --fix to have Claude apply the findings, --comment to post them on the GitHub PR or GitLab merge request, or ultra to run a deep cloud review.”; the page has no /buddy row. Hooks reference: “Setup supports only command hooks. SessionStart supports only command and mcp_tool hooks”. Escalate hard decisions with the advisor tool: “The advisor tool is experimental and requires the Anthropic API, Claude Platform on AWS, or Claude Models on Google Cloud (Anthropic managed). On Claude Platform on AWS or Claude Models on Google Cloud (Anthropic managed), it requires Claude Code v2.1.300 or later. It isn’t available on Amazon Bedrock, Google Cloud’s Agent Platform, or Microsoft Foundry.” Create custom subagents: “web-fetch | Haiku, or the model of the conversation that starts it when it can’t use Haiku”; “Claude Code detects the change within a few seconds and the next delegation uses the updated definition, with no restart needed.”; “Claude Code doesn’t watch .claude/agents/ inside directories added with --add-dir or /add-dir”; “Sessions started with --disable-slash-commands don’t watch these directories at all.” Orchestrate teams of Claude Code sessions: “Split panes require tmux or iTerm2: the default in-process mode works in any terminal.”; “No per-teammate permission modes at spawn”. Configure the sandboxed Bash tool: “The sandbox runs on macOS, Linux, and WSL2. On native Windows, Claude Code runs commands unsandboxed.” Commands, /batch <instruction>: “Orchestrate large-scale changes across a codebase in parallel. Researches the codebase, decomposes the work into 5 to 30 independent units, and presents a plan. Once approved, spawns one background subagent per unit in an isolated worktree. Each subagent implements its unit, runs tests, and opens a PR or reports what happened. Requires a git repository or a WorktreeCreate hook that creates the worktrees. Outside a git repository, /batch requires Claude Code v2.1.281 or later.” Orchestrate teams of Claude Code sessions, Permissions: “A new teammate starts with the lead’s mode”; “If the lead is in dontAsk mode, the teammate starts in Manual mode instead.” Environment variables: CLAUDE_CODE_MAX_CONCURRENT_SUBAGENTS, “can be running in one session before the Agent tool refuses to spawn another (default: 20)”; CLAUDE_CODE_MAX_SUBAGENT_SPAWN_DEPTH, “allowed below the main conversation (default: 3)”; CLAUDE_CODE_MAX_SUBAGENTS_PER_SESSION, “Removed in v2.1.224 and now a no-op.” Get started with Claude Code on the web: “Cloud sessions are available on Pro, Max, Ultra, and Team plans, and for Enterprise users with premium seats or Chat + Claude Code seats.” ↩

  328. Claude Code CHANGELOG, v2.1.333, fetched December 1, 2026 (268 top-level bullets; npm publish 2026-11-30T19:04:51Z, GitHub release 2026-11-30T22:30:49Z). “Changed --allowedTools and --tools to stop the launch on some lists given as several values; put the list in one value, such as --allowedTools "Read,Edit,Write"”; “Added a Built-in tab to /plugin that lists built-in plugins by group with plain names, and shows the ones your organization’s settings lock on or off”; “Changed the terminal progress bar, now following the tab’s busy status, /radio, spinner tips and the tab title’s busy mark into built-in plugins you can turn off in /plugin”; “Changed /stickers, /radio, shipped spinner tips and words, example prompts and the tab title’s mark to need their built-in plugins running; spinnerTipsOverride tips and spinnerVerbs still show”; “Added REVIEW.md support to /code-review: local reviews now follow the root REVIEW.md on your repository’s default branch”; “Changed SDK sessions to end background commands, monitors and wakeups once the host is gone and no subagent runs; CLAUDE_CODE_PRINT_BG_WAIT_CEILING_MS=0 opts out; stream-json adds keep_alive lines”; “Changed compaction so that uploaded files, downloads and saved tool results are no longer re-attached afterwards; Claude can read them again when it needs them”; “Changed Code Mode to be available in sessions that have OpenTelemetry tracing on; each tool call that its code makes now gets its own spans”. ↩↩↩↩↩↩↩

  329. Claude Code documentation, fetched December 1, 2026. Commands: /radio, “Open Claude FM lo-fi radio in your browser. Prints the stream URL when no browser is available”; /stickers, “Check Claude Code sticker availability”. CLI reference: the --allowedTools example is still "Bash(git log *)" "Bash(git diff *)" "Read", and --tools takes “tool names like "Bash,Edit,Read"”. Mods overview: “run /plugin at the Claude Code prompt and go to the Installed tab, which lists them under Built-in”; “The settings and flags that stop installed mods, such as disableAllHooks, --bare, and --safe-mode, don’t stop built-in mods.” Run tool calls from code with Code Mode: with tracing on, “you need v2.1.333 or later”. Review locally with /code-review: “It doesn’t read REVIEW.md.” ↩↩↩

  330. Claude Code CHANGELOG, section 2.1.334, and the v2.1.334 release, read December 1, 2026. npm registry: 2.1.334 published 2026-12-01T18:55:49Z; GitHub release 2026-12-01T22:12:28Z; dist-tags that day: latest and next 2.1.334, stable 2.1.331. Verbatim: “Changed auto-compact’s per-model auto setting to near 400K on most current 1M models, -p and SDK runs too (rolling out; on now with third-party providers or telemetry off); see /autocompact”; “Added an Auto-compact window row to /config to see and change the size that /autocompact sets”; “Added folder-level REVIEW.md support to /code-review: local reviews also follow REVIEW.md files in folders above a committed change”; “Gateway: Added claude gateway --config <file> --check config to check a config file without starting, and a start now reports a bad managed policy before it connects to Postgres”; “Added cacheWrite5m, cacheWrite1h and, for Haiku 5.5, longPrompt to modelPricing, and cache_write_5m, cache_write_1h, long_prompt to gateway pricing.overrides; old keys still work”; “Windows: Added /desktop and claude --desktop on Arm computers”; “Changed managed PostToolUse hooks so that when a tool can’t use a rewrite, Claude gets an error that says so; return the tool’s own output shape to keep the rewrite”. The 2.1.333 and 2.1.334 sections carry no entry for extraKnownMarketplaces or for fast mode. ↩↩↩↩↩

  331. Documentation read December 1, 2026. Model configuration: “On auto at 400K, compaction runs at about 367K tokens”; “run /autocompact 1M in your session. On your own machine, the size is saved for later sessions on that model version, and compaction runs at about 967K tokens”; “The managed entry replaces the size a developer saved for that model”; the alias table row “Google Cloud’s Agent Platform, Microsoft Foundry | Opus 5.5 | Sonnet 5.5 | Haiku 4.5”; “Microsoft Foundry: defaults to Sonnet 5.5”. CLI reference, claude mcp add --web <name> <url>: “Requires Claude Code v2.1.330 or later, and v2.1.332 or later on Team and Enterprise plans”; MCP: “This requires a claude.ai login and Claude Code v2.1.330 or later on a Pro, Max, or Ultra plan.” Environment variables, CLAUDE_CODE_ATTRIBUTION_PROJECT: “Name the claude.ai Project your usage is reported under: its UUID or ID. Set it in the launch environment”; CLAUDE_CODE_DISABLE_REPLAYED_THINKING_PROBE: “Set to 1 to turn off both retries. Requires Claude Code v2.1.334 or later”. Settings reference, attributionProjectPolicy: “Set your organization’s default Project for usage reports”. Fast mode: “Fast mode for Claude Fable 5.2 and Claude Opus 5.5 is available. Fast mode for Claude Opus 5 is in research preview”; “Fast mode for Opus 4.8 was deprecated on October 30, 2026, and removed on November 30, 2026. If Opus 4.8 is still your model with fast mode on, the API rejects your requests.” Plugin loading: automatic updates are “off for every other marketplace”. Commands, /desktop: “Requires macOS or x64 Windows and a Claude subscription”. Model deprecations: “claude-sonnet-4-5-20250929 | Retired | September 30, 2026 | November 30, 2026”; “This model was retired on Anthropic-operated platforms on November 30, 2026. It is available as a deprecated model on Amazon Bedrock (bedrock-runtime)”; “The dates on this page apply to Anthropic-operated platforms: the Claude API, Claude Platform on AWS, Claude Models on Google Cloud (Anthropic managed), and Microsoft Foundry. Partner-operated platforms, Claude Models on Google Cloud (Google managed) and Amazon Bedrock, set their own retirement schedules”. ↩↩↩↩↩

  332. Anthropic, Claude projects are now in beta on Team and Enterprise plans, November 30, 2026, read December 1, 2026: “We’re bringing the redesigned projects experience to Team and Enterprise plans”; “On Enterprise, projects stay off until an Owner turns them on”; “Use is billed by where the project was created (as Cowork from the Chat tab or as Claude Code from the Code tab), and prices don’t change on either plan”. Projects, Claude Code documentation, read the same day: “Projects are in public beta on Pro, Max, Ultra, Team, and Enterprise plans.” ↩