Follow Discord
Sweep 03 Dec 2026 · 19:13Z Build v2.1.336 553 read Stable v2.1.332 Latest v2.1.336 Next v2.1.336 Feeds RSS JSON llms.txt llms-full.txt Unofficial

Claude Code v2.1.336 ·

Eval-confined sessions get no extra write paths and can wait for settings

With CLAUDE_CODE_EVAL_CONFINED set, the sandbox grants no extra write paths, and a new CLAUDE_CODE_EVAL_AWAIT_SETTINGS makes startup wait for settings

Group of 2 Use it now Notable No documentation found New Features
JSON All of v2.1.336
Use it nowTier: how much it should matter to you
4Useful: my rating, 1 to 5
3Signal: worth watching, 1 to 5
Managed SettingsArea: what it touches
New FeaturesKind: in v2.1.336,
What probably matters to youSection of the release

What

CLAUDE_CODE_EVAL_CONFINED is an environment variable, a named value handed to Claude Code when it starts. It marks a session as confined for evaluation runs. This release changes two things about such sessions.

  • The sandbox is the barrier that limits which files commands started by Claude Code can change. In an eval-confined session, its list of extra folders that may be written to (allowWrite) is now always empty. Other sessions still get the list Claude Code works out as before.
  • A new environment variable, CLAUDE_CODE_EVAL_AWAIT_SETTINGS, is added. When it and CLAUDE_CODE_EVAL_CONFINED are both set and Claude Code is running its main command, it waits for its settings to finish downloading before it starts.
  • Elsewhere, Claude Code sets CLAUDE_CODE_EVAL_AWAIT_SETTINGS to "1" itself when there are no standalone plugin_ servers but some other server meets a certain condition.

Why

In evaluation runs, commands can only write where the sandbox already allows, with no extra folders added on top. The run can also be made to start only after its settings have arrived, rather than starting before they are in place. These are knobs for evaluation runs. Ordinary sessions are not affected unless these variables are set.

Read from

See this entry in the whole of v2.1.336 →

Feedback