{"name":"CLAUDE_CODE_CCR_AFFINITY_KEY","slug":"claude-code-ccr-affinity-key","family":"env","title":"Environment variables","noun":"environment variable","description":"FORCE_AUTOUPDATE_PLUGINS, CLAUDE_CODE_CCR_AFFINITY_KEY and CLAUDE_CODE_HOST_CHECKED_FOLDER now appear in Claude Code's lists of environment variables","description_source":"entry","described_by":{"version":"2.1.328","anchor":"force-autoupdate-plugins-added-to-an-env-var-list"},"presence":{"first_seen":"2.1.328","removed_in":null,"in_current_build":true,"newest_mined":"2.1.330","builds":3,"mined_builds":169,"first_cited":{"version":"2.1.328","released_at":"2026-11-18 23:09:39","spans":1}},"aliases":[],"entries":[{"version":"2.1.328","anchor":"force-autoupdate-plugins-added-to-an-env-var-list","heading":"FORCE_AUTOUPDATE_PLUGINS and two remote-session variables join Claude Code's variable lists","line":"FORCE_AUTOUPDATE_PLUGINS, CLAUDE_CODE_CCR_AFFINITY_KEY and CLAUDE_CODE_HOST_CHECKED_FOLDER now appear in Claude Code's lists of environment variables","released_at":"2026-11-18 23:09:39","reason":"found in this entry's text"}],"entries_total":1,"docs":[],"docs_total":0,"gates":[],"related":[{"name":"CLAUDE_CODE_CCR_EARLY_HYDRATE_PREFETCH","slug":"claude-code-ccr-early-hydrate-prefetch","description":"Setting CLAUDE_CODE_CCR_EARLY_REMOTE_CONNECT makes a resumed --sdk-url session open its remote connection early, before the rest of startup finishes"},{"name":"CLAUDE_CODE_CCR_EARLY_PLUGINS_SYNC","slug":"claude-code-ccr-early-plugins-sync","description":"With `CLAUDE_CODE_CCR_EARLY_PLUGINS_SYNC` set, non-interactive hosted sessions sync plugins before the rest of startup"},{"name":"CLAUDE_CODE_CCR_EARLY_REMOTE_CONNECT","slug":"claude-code-ccr-early-remote-connect","description":"Setting CLAUDE_CODE_CCR_EARLY_REMOTE_CONNECT makes a resumed --sdk-url session open its remote connection early, before the rest of startup finishes"},{"name":"CLAUDE_CODE_CCR_EARLY_SKILLS_SYNC","slug":"claude-code-ccr-early-skills-sync","description":"Claude Code now reads four new startup environment variables and passes them through to cloud sessions; they do nothing unless set"},{"name":"CLAUDE_CODE_CCR_EARLY_SYNC_AFTER_SETTINGS_REFUSAL","slug":"claude-code-ccr-early-sync-after-settings-refusal","description":"A new switch, `CLAUDE_CODE_CCR_EARLY_SYNC_AFTER_SETTINGS_REFUSAL`, lets cloud sessions take the early sync path when the settings fetch is refused"},{"name":"CLAUDE_CODE_CCR_EVENT_FLUSH_POLICY","slug":"claude-code-ccr-event-flush-policy","description":"A new environment variable, `CLAUDE_CODE_CCR_EVENT_FLUSH_POLICY`, sets how a remote session sends out its events"},{"name":"CLAUDE_CODE_CCR_FOLD_FIRST_TURN_RESCAN","slug":"claude-code-ccr-fold-first-turn-rescan","description":"Claude Code now reads four new startup environment variables and passes them through to cloud sessions; they do nothing unless set"},{"name":"CLAUDE_CODE_CCR_LAZY_SUBAGENT_HYDRATE","slug":"claude-code-ccr-lazy-subagent-hydrate","description":"Cloud sessions can defer loading subagent transcripts, but the flag is off unless the server enables it."},{"name":"CLAUDE_CODE_CCR_LONG_POLL","slug":"claude-code-ccr-long-poll","description":"If repeated connections deliver no data, Claude Code asks the server for long-poll responses, and `CLAUDE_CODE_CCR_LONG_POLL` can force or block this"},{"name":"CLAUDE_CODE_CCR_ONE_PLUGIN_LOAD_PER_RELOAD","slug":"claude-code-ccr-one-plugin-load-per-reload","description":"Setting `CLAUDE_CODE_CCR_ONE_PLUGIN_LOAD_PER_RELOAD` makes a plugin reload skip clearing caches and run one shared load"}],"url":"https:\/\/changelogs.core-directive.com\/reference\/env\/claude-code-ccr-affinity-key","family_url":"https:\/\/changelogs.core-directive.com\/reference\/env.json"}