{"name":"CLAUDE_CODE_DIR_SYNC_ARCHIVE","slug":"claude-code-dir-sync-archive","family":"env","title":"Environment variables","noun":"environment variable","description":"CLAUDE_CODE_DIR_SYNC_DISABLE_ANCHORING turns off path anchoring, and seven sync variables are now stripped from child processes.","description_source":"entry","described_by":{"version":"2.1.239","anchor":"directory-sync-anchoring-can-be-switched-off-plus-seven-dir-"},"presence":{"first_seen":"2.1.242","removed_in":"2.1.246","in_current_build":false,"newest_mined":"2.1.308","builds":3,"mined_builds":149,"first_cited":{"version":"2.1.246","released_at":"2026-08-25 19:17:34","spans":1}},"aliases":[],"entries":[{"version":"2.1.246","anchor":"cloud-directory-sync-is-now-git-only-plus-a-new-mode-for-pla","heading":"Cloud directory sync is now git-only, plus a new mode for plain folders","line":"Cloud directory sync now only does git; the per-file and archive engines are gone.","released_at":"2026-08-25 19:17:34","reason":"found in this entry's text"},{"version":"2.1.242","anchor":"cloud-directory-sync-gains-git-and-tar-archive-engines-besid","heading":"Cloud directory sync gains git and tar-archive engines beside the per-file lane","line":"Cloud file sync gains git-bundle and tar-archive modes, but you still sync file by file.","released_at":"2026-08-24 19:16:14","reason":"found in this entry's text"},{"version":"2.1.242","anchor":"cloud-session-sync-for-folders-that-are-not-git-checkouts","heading":"Cloud session sync for folders that are not git checkouts","line":"Cloud sessions could sync a plain folder, not just a git checkout, if an env var is set.","released_at":"2026-08-24 19:16:14","reason":"named in this entry, found in this entry's text"},{"version":"2.1.239","anchor":"directory-sync-anchoring-can-be-switched-off-plus-seven-dir-","heading":"Directory-sync anchoring can be switched off, plus seven dir-sync variables now stripped from child processes","line":"CLAUDE_CODE_DIR_SYNC_DISABLE_ANCHORING turns off path anchoring, and seven sync variables are now stripped from child processes.","released_at":"2026-08-21 17:18:54","reason":"named in this entry, found in this entry's text"},{"version":"2.1.239","anchor":"sync-and-hook-forwarding-switches-now-survive-into-remote-se","heading":"Sync and hook-forwarding switches now survive into remote sessions","line":"Seven more environment variables you export locally now carry into remote and worker processes.","released_at":"2026-08-21 17:18:54","reason":"named in this entry, found in this entry's text"}],"entries_total":5,"docs":[],"docs_total":0,"gates":[],"related":[{"name":"CLAUDE_CODE_DIR_SYNC_CHAIN","slug":"claude-code-dir-sync-chain","description":"A new 'chained' directory-sync mode exists behind an undocumented CLAUDE_CODE_DIR_SYNC_CHAIN env var"},{"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-archive","family_url":"https:\/\/changelogs.core-directive.com\/reference\/env.json"}