Follow Discord
Sweep 22 Oct 2026 · 04:32Z Build v2.1.308 527 read Stable v2.1.308 Latest v2.1.308 Next v2.1.308 Feeds RSS JSON llms.txt llms-full.txt Unofficial

Claude Code v2.1.299 ·

Windows sandboxed commands now receive environment variables from settings

On Windows, environment variables from settings or /env now reach sandboxed commands, and ones that cannot be passed are logged as left out

You'll notice Bug Fixes
JSON All of v2.1.299
You'll noticeTier: how much it should matter to you
3Useful: my rating, 1 to 5
1Signal: worth watching, 1 to 5
SandboxArea: what it touches
Bug FixesKind: in v2.1.299,
Bug FixesSection of the release

Unclear Which variables cannot be passed into the sandbox is not stated.

What

On Windows, commands run inside the sandbox (a walled-off space that limits what a command can reach) now receive the environment variables you set in your settings or with /env. Environment variables are named values a program reads when it starts. Any that cannot be passed are logged with the message "these variables from settings or /env are not passed to the sandboxed command".

If setting up the sandbox for a command is cancelled, the command now stops before it starts, and Claude Code logs tengu_shell_abort_before_spawn.

Why

If you use the sandbox on Windows, variables from your settings may now reach your sandboxed commands where they did not before, and some may still be left out. Check the log if a command is missing one.

Read from
Names in the bundle/env
Since it was published

The entry above is what we published on the day. These lines were added later, as Anthropic's own pages caught up, and they sit beside the original rather than replacing it.

Added since A small documentation edit on Connect Claude Code to tools via MCP touched a line naming /env after this was published. Descriptions and instructions from some of the MCP servers that Anthropic hosts at `api.anthropic.com` reach Claude in full. To change the limits for the other MCP servers in your session, set [`CLAUDE_CODE_MAX_MCP_DESCRIPTION_LENGTH`](/do… mcp see the edit
Confirmed since Anthropic's documentation has since written up /env, on claude-platform-on-aws-iam-actions. | `POST` | `/v1/environments` | `CreateEnvironment` | Data | api/claude-platform-on-aws-iam-actions see the edit
How sure we are
Something disagreesSomething we can check disagrees with this entry, or the writer said they could not settle it.
The writer flagged doubtWhich variables cannot be passed into the sandbox is not stated.
Anthropic's documentation agreesAnthropic's documentation has since written up /env, on claude-platform-on-aws-iam-actions.

See this entry in the whole of v2.1.299 →

Feedback