{"name":"CLAUDE_CODE_DIR_SYNC_CHAIN","slug":"claude-code-dir-sync-chain","family":"env","title":"Environment variables","noun":"environment variable","description":"A new 'chained' directory-sync mode exists behind an undocumented CLAUDE_CODE_DIR_SYNC_CHAIN env var","description_source":"entry","described_by":{"version":"2.1.280","anchor":"a-chained-directory-sync-mode-exists-gated-by-an-undocume"},"presence":{"first_seen":"2.1.280","removed_in":"2.1.283","in_current_build":false,"newest_mined":"2.1.283","builds":3,"mined_builds":126,"first_cited":{"version":"2.1.280","released_at":"2026-09-22 15:44:39","spans":2}},"aliases":[],"entries":[{"version":"2.1.283","anchor":"dir-sync-chained-pushes-are-now-always-on-claude-code-dir","heading":"Directory sync always sends changes as linked bundles, with no env var needed","line":"Chained pushes in cloud directory sync are now always on, and `CLAUDE_CODE_DIR_SYNC_CHAIN` is no longer read","released_at":"2026-09-25 18:46:11","reason":"found in this entry's text"},{"version":"2.1.281","anchor":"directory-sync-link-chain-shipping-on-the-cloud-worker-depen","heading":"Directory sync link-chain shipping on the cloud worker depends on a laptop env var","line":"`--cloud` directory sync can send each turn's changes as linked bundles, but only when the laptop sets `CLAUDE_CODE_DIR_SYNC_CHAIN`","released_at":"2026-09-23 17:01:17","reason":"found in this entry's text"},{"version":"2.1.280","anchor":"a-chained-directory-sync-mode-exists-gated-by-an-undocume","heading":"A 'chained' directory-sync mode exists, gated by an undocumented env var","line":"A new 'chained' directory-sync mode exists behind an undocumented CLAUDE_CODE_DIR_SYNC_CHAIN env var","released_at":"2026-09-22 15:44:39","reason":"found in this entry's text, named in this entry"},{"version":"2.1.280","anchor":"windows-specific-env-vars-added-to-the-host-passthrough-allo","heading":"Windows-specific env vars added to the host-passthrough allowlist","line":"More environment variables, including Windows-specific ones, now pass through to Claude Code","released_at":"2026-09-22 15:44:39","reason":"found in this entry's text"}],"entries_total":4,"docs":[],"docs_total":0,"gates":[],"related":[{"name":"CLAUDE_CODE_DIR_SYNC_ARCHIVE","slug":"claude-code-dir-sync-archive","description":"CLAUDE_CODE_DIR_SYNC_DISABLE_ANCHORING turns off path anchoring, and seven sync variables are now stripped from child processes."},{"name":"CLAUDE_CODE_DIR_SYNC_DISABLE_ANCHORING","slug":"claude-code-dir-sync-disable-anchoring","description":"Cloud file sync writes through directory handles so a swapped symlink can't redirect it, and says when that's unavailable."},{"name":"CLAUDE_CODE_DIR_SYNC_ENGINE","slug":"claude-code-dir-sync-engine","description":"Set CLAUDE_CODE_LEGACY_BUNDLE to true to go back to the old single-file build shape."},{"name":"CLAUDE_CODE_DIR_SYNC_FFWD","slug":"claude-code-dir-sync-ffwd","description":"Set CLAUDE_CODE_LEGACY_BUNDLE to true to go back to the old single-file build shape."},{"name":"CLAUDE_CODE_DIR_SYNC_GIT","slug":"claude-code-dir-sync-git","description":"You can set CLAUDE_CODE_DIR_SYNC_GIT to pick a git-based engine for syncing your directory to a cloud session."},{"name":"CLAUDE_CODE_DIR_SYNC_OVERLAY","slug":"claude-code-dir-sync-overlay","description":"CLAUDE_CODE_DIR_SYNC_DISABLE_ANCHORING turns off path anchoring, and seven sync variables are now stripped from child processes."},{"name":"CLAUDE_CODE_DIR_SYNC_STREAM","slug":"claude-code-dir-sync-stream","description":"More environment variables get carried into remote sessions; none are set by default."}],"url":"https:\/\/changelogs.core-directive.com\/reference\/env\/claude-code-dir-sync-chain","family_url":"https:\/\/changelogs.core-directive.com\/reference\/env.json"}