{"version":"2.1.336","anchor":"claude-code-eval-await-settings-new-env-var-forcing-eval-co","canonical_anchor":"claude-code-eval-await-settings-new-env-var-forcing-eval-co","heading":"Eval-confined sessions get no extra write paths and can wait for settings","tier":"use","area":"Managed Settings","scope":"both","heads_up":false,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.336\/e\/claude-code-eval-await-settings-new-env-var-forcing-eval-co","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.336","markdown":"### Eval-confined sessions get no extra write paths and can wait for settings\n\nWith 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\n\n**What**\n\n`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.\n\n- 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.\n\n- 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.\n\n- 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.\n\n**Why**\n\nIn 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.\n\n- Area: Managed Settings\n- Names: `CLAUDE_CODE_EVAL_AWAIT_SETTINGS`\n- Tier: Use it now\n- Useful: 4\/5\n- Signal: 3\/5\n- Scope: both\n- Heads-up: no"}