Claude Code v2.1.323 Adds Experimental JS Code Mode and 1M Default Context Amid November 13 Dual Outages
Anthropic’s CLI coding agent ships JavaScript tool-batching via CLAUDE_CODE_EXPERIMENTAL_CODE_MODE=1 and raises unrecognized model contexts to 1M, even as two status.claude.com incidents disrupted auth and APIs on Friday.

THE STORY IN THREE POINTS
- Claude Code v2.1.323 (Nov 12) and v2.1.325 (Nov 13) introduce experimental JavaScript Code Mode (CLAUDE_CODE_EXPERIMENTAL_CODE_MODE=1) to batch Bash, Read, and Edit steps inside a single turn, while bumping default context for unrecognized model IDs from 200K to 1M (CLAUDE_CODE_DISABLE_1M_CONTEXT=1 to revert).
- Code Mode works only in interactive native terminal sessions on direct Anthropic subscriptions or Console accounts using Opus 5.5, Sonnet 5.5, Haiku 5.5, or Fable 5.2—excluding Bedrock, Google Cloud Agent Platform, Microsoft Foundry, HIPAA/ZDR orgs, -p, VS Code, Desktop, Remote Control, and Computer Use.
- Separately from November 12 Microsoft 365 upstream disruptions, status.claude.com recorded two major incidents on Friday, November 13: a two-hour auth/login outage (09:58–11:58 UTC) and a 2.5-hour API/claude.ai/Code/Connectors error spike (13:09–15:38 UTC).
How CLAUDE_CODE_EXPERIMENTAL_CODE_MODE=1 batches tools in JavaScript
With releases v2.1.323 (November 12, 22:12 UTC) and v2.1.325 (November 13, 20:40 UTC), Anthropic rolled out an experimental opt-in feature called Code Mode. Instead of forcing Claude to emit one Bash, Read, or Edit call per inference round-trip, setting CLAUDE_CODE_EXPERIMENTAL_CODE_MODE=1 lets the model write a short JavaScript snippet that executes parallel or conditional tool operations inside an internal REPL runtime and returns only the distilled summary to context. Users see standard edit diffs in the main conversation and can press Ctrl+O to inspect collapsed Code rows in the transcript viewer.
For latency-sensitive refactors and multi-file searches, Code Mode sharply cuts turn count—making it distinct from Cloudflare’s similarly named MCP/Agents SDK Code Mode pattern for edge sandboxes. Anthropic also updated default context sizing in parallel: unrecognized model IDs passed to Claude Code now default to a 1M-token window instead of 200K unless administrators export CLAUDE_CODE_DISABLE_1M_CONTEXT=1, a setting teams should watch closely alongside our Claude Code rolling-window quota breakdown.
Cloud provider exclusions, Auto mode classification, and enterprise org lockouts
Availability rules are unusually strict during the experimental phase. Code Mode requires the native interactive terminal build (not npm-legacy or headless -p), running on Windows with Git for Windows or macOS/Linux, authenticated directly to a Claude subscription or Anthropic Console key on Opus 5.5, Sonnet 5.5, Haiku 5.5, or Fable 5.2. It cannot run over Amazon Bedrock, Claude Platform on AWS, Google Cloud Agent Platform, Microsoft Foundry, third-party API gateways, custom ANTHROPIC_BASE_URL proxies, apiKeyHelper, HIPAA, or Zero Data Retention (ZDR) organizations—nor alongside VS Code panel, Desktop app, cloud sessions, Remote Control, Claude in Chrome, Computer Use, Agent SDK, agent teams, or OpenTelemetry exports.
Security reviewers should examine permission nuances documented in settings.json permission hooks: in Auto mode, Anthropic’s classifier inspects the generated JavaScript program prior to execution rather than every dynamic value computed at runtime, while PreToolUse hooks targeting REPL receive raw source via tool_input.code and underlying tool rules still fire per call. Enterprise administrators can block opt-ins organization-wide through managed settings by writing "env": { "CLAUDE_CODE_EXPERIMENTAL_CODE_MODE": "0" }.
Friday November 13 dual outages on status.claude.com separated from M365
Developers updating to v2.1.323 and v2.1.325 on Friday, November 13 encountered two distinct Anthropic platform disruptions logged on status.claude.com—separate from an upstream Microsoft 365 outage the prior day (November 12 at 17:52 UTC). First, incident nn11wk485zfn knocked out authentication and sign-ins across claude.ai, Claude Code, platform.claude.com, and Cowork for roughly two hours from 09:58:58 UTC to 11:58:45 UTC.
Roughly 71 minutes after login recovery, a broader second incident (34wq7gxnxvvm) ran from 13:09:50 UTC to 15:38:49 UTC, triggering elevated error rates across claude.ai, api.anthropic.com, Claude Code, Cowork, Docs and Sheets connectors, Claude Meetings, Managed Agents, and Claude Security. Anthropic resolved both incidents the same afternoon without disclosing underlying root causes publicly.
Sources: Run Tool Calls from Code with Code Mode|Claude Code Docs ↗ Claude Code Release v2.1.323|GitHub anthropics/claude-code ↗ Claude Code Release v2.1.325|GitHub anthropics/claude-code ↗ Claude Status Incidents (Nov 13 Auth & Elevated Error Reports)|status.claude.com ↗ Claude Incident 34wq7gxnxvvm Timeline|Claude Status ↗
THE BROADER CONTEXT · CLAUDE DOSSIER
Explore full product specifications, pricing analysis, and continuous coverage in the Claude Desk Hub. Independent benchmarks available on the AI Intelligence Index and Coding Agents Leaderboard.


