{"version":"2.1.337","anchor":"new-env-var-claude-code-cowork-guest-writes-config-withholds","canonical_anchor":"new-env-var-claude-code-cowork-guest-writes-config-withholds","heading":"New Cowork environment variables, including one that ignores env values from the global config","tier":"use","area":"Cowork","scope":"both","heads_up":false,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.337\/e\/new-env-var-claude-code-cowork-guest-writes-config-withholds","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.337","markdown":"### New Cowork environment variables, including one that ignores env values from the global config\n\nCLAUDE_CODE_COWORK_GUEST_WRITES_CONFIG and CLAUDE_CODE_COWORK_MARKS_DISPATCH_SENDS are new; the first stops global config env values being applied\n\n**What**\n\nAn environment variable is a setting given to a program when it starts. Cowork is a way of running Claude Code inside another application. Two new Cowork environment variables were added to the list of variables Claude Code passes along, next to the existing `CLAUDE_CODE_COWORK_SAVE_CARDS` and `CLAUDE_CODE_COWORK_SHELL_CHECK`:\n\n- `CLAUDE_CODE_COWORK_GUEST_WRITES_CONFIG`: when it is set, Claude Code no longer applies environment values taken from the global config, the settings file shared by all your projects.\n\n- `CLAUDE_CODE_COWORK_MARKS_DISPATCH_SENDS`: what it does was not looked at.\n\nNeither name existed in the previous build.\n\n**Why**\n\nIn a Cowork setup with `CLAUDE_CODE_COWORK_GUEST_WRITES_CONFIG` set, environment values you put in your global config will not take effect, so they need to be supplied another way.\n\n- Area: Cowork\n- Names: `CLAUDE_CODE_COWORK_GUEST_WRITES_CONFIG`\n- Tier: Use it now\n- Useful: 5\/5\n- Signal: 4\/5\n- Scope: both\n- Heads-up: no"}