Code Mode Won't Start? Claude Code 2.1.329 Changed the Rules

Row of identical stainless steel security turnstiles in a dark corridor, most showing a red indicator with one showing a faint green light

Last verified: 2026-11-20 · Claude Code 2.1.329 (npm latest, published 2026-11-19 18:40 UTC) against 2.1.311 on stable

Quick Answer

Code Mode needs Claude Code 2.1.323 or newer and every start-up check to pass. On 2.1.329, telemetry-off, OpenTelemetry metrics and installed mods no longer block it. Check claude --version first: stable is still 2.1.311.

A Code Mode session opens with Code Mode (experimental) isn't available and the reason after it. The official table lists 13 reasons. Three rows no longer apply on 2.1.329, and the channel you installed from decides whether Code Mode can start at all.

Not a corner case: the Claude Code repository held 430 issues with "Code Mode" in the title when I searched it today.

1. Check the channel before any setting

Code Mode arrived in 2.1.323 on 2026-11-12. The npm registry today reports stable at 2.1.311 from 2026-10-26 and latest at 2.1.329. On stable, claude update cannot reach 2.1.323, so the refusal stays it isn't open to your account in this version however often you retry.

claude --version                                  # 2.1.323 or newer, or stop here
npm view @anthropic-ai/claude-code dist-tags      # stable 2.1.311 / latest 2.1.329
claude update                                     # on stable this stops at 2.1.311
/status                                           # in a session: prints the reason

Switching to latest is supported, not a hack. If the reason reads it isn't open to your account yet on 2.1.323 or newer, the gate is server-side and the documented advice is to try again another day.

2. The 13 reasons on 2.1.329

Reason in the session lineBlocks on 2.1.329What to change
not open to your accountyesUpdate past 2.1.323, else retry another day
only works directly with the Anthropic APIyesDrop gateway, Bedrock, Vertex, Foundry, base URL
doesn't work with an API key helperyesRemove apiKeyHelper, ANTHROPIC_AUTH_TOKEN, auth headers
only works with Opus 5.5, Sonnet 5.5 and lateryesStart with --model opus
doesn't work in background jobsyesForeground terminal, no --remote-control
needs settings downloaded from Anthropicno, since 2.1.329Nothing, unless an admin sets 0
OpenTelemetry is ontracing onlyUnset ENABLE_BETA_TRACING_DETAILED; metrics are fine
doesn't yet work with the pluginyes/plugin, disable the one it names
doesn't yet work with an installed modno, since 2.1.327Update; mods that hook tool calls now load
can't be used together with agent teamsno, since 2.1.326Update, use the in-process display mode
this launch's tool optionsyesNo --restricted, add REPL to --tools
couldn't save your answeryesMake ~/.claude.json writable
your organization's settings don't allow ityesAsk about the managed setting

3. The three rows the docs missed

The 2.1.329 release notes, published 2026-11-19 22:14 UTC, carry two lines that rewrite this table. Code Mode now also starts when telemetry, nonessential traffic or feature flags are turned off, and an administrator can still keep it off in managed settings. Leaving DISABLE_TELEMETRY or DO_NOT_TRACK set no longer costs you the feature.

The second line: Code Mode starts while OpenTelemetry events and metrics are enabled, and each tool call a script makes sends its events; tracing still keeps it off. So unsetting CLAUDE_CODE_ENABLE_TELEMETRY along with ENABLE_BETA_TRACING_DETAILED, as the docs advise, now throws away spend and usage metrics you can keep.

Close view of a network cabinet faceplate and switch ports with a few amber and green status LEDs lit in a dark rack

Most lights are fine. Three of them changed meaning this week.

The third: 2.1.327 stopped refusing to start when an installed mod hooks tool calls. The check had been strict enough that claude-mem dropped its tool.call hook, a change its maintainer recorded on 2026-11-17 in that project's issue #6209. Plugins are a separate row and can still refuse.

4. What still blocks it, in the order you hit it

Surface. Interactive terminal only. Code Mode does not work with -p, the Agent SDK, the VS Code panel, the Desktop app or cloud sessions, which is why it works on your laptop and fails in CI.

Credentials and provider. An apiKeyHelper, ANTHROPIC_AUTH_TOKEN, a custom ANTHROPIC_BASE_URL, or a gateway, Bedrock, Vertex or Foundry setup all refuse, even when the same model answers.

Launch flags.--restricted, a --tools list without REPL, or a deny rule on REPL produce this launch's tool options. A tidy allow list written before 2.1.323 is enough to break it.

5. Confirm your case in one screen

claude --version
env | grep -E 'ANTHROPIC|CLAUDE_CODE|OTEL|TELEMETRY|DO_NOT_TRACK'
grep -E 'apiKeyHelper|CODE_MODE' ~/.claude/settings.json
ls -l ~/.claude.json      # writable rules out "couldn't save your answer"

Then start fresh with CLAUDE_CODE_EXPERIMENTAL_CODE_MODE=1 claude and read the top line, or /status inside the session. A project's own settings file cannot turn Code Mode on, so the variable in a repository proves nothing.

6. FAQ

Is it free to try?
It needs a Claude subscription or Console account and bills like a normal session. It refuses on Bedrock, Vertex, Foundry and gateways whatever your plan.

Why did it start before and stop now?
The checks move. 2.1.329 also stopped a mod that lists only some tools from silently turning Code Mode off, so a mod update changes the outcome in either direction.

Will the docs table be fixed?
At 2026-11-20 20:00 KST it still lists the retired rows. The changelog is more current, and /status is the current source for your session.

Can a team block it?
Yes. Managed settings with CLAUDE_CODE_EXPERIMENTAL_CODE_MODE set to 0 win over a user's 1.

Keep going
Verified 2026-11-20 against the npm registry (stable 2.1.311 on 2026-10-26, latest 2.1.329 on 2026-11-19 18:40 UTC), the GitHub releases for v2.1.323 to v2.1.329, the Code Mode docs page read at 20:05 KST today, an issue search in anthropics/claude-code (430 results), and that project's issue #6209. This machine has no Claude Code install, so no session was started here: reason strings are quoted from the docs and changes from the release notes of the version named.

Start with these

Comments

Popular posts from this blog

v0 vs Bolt.new vs Lovable: Which AI App Builder Should You Pay For? (2026)

How to Stop ChatGPT from Sounding Like AI: 3 Negative Constraints

Zapier vs Make vs n8n: Enterprise AI Automation Benchmark & TCO Breakdown (2026)