CLAUDE_CODE_DIR_SYNC_ARCHIVE
A Claude Code environment variable, read out of the shipped bundle. It has been in the build since v2.1.242, including the newest one read.
What it is
CLAUDE_CODE_DIR_SYNC_DISABLE_ANCHORING turns off path anchoring, and seven sync variables are now stripped from child processes.
Not Anthropic's. This is the line from the earliest changelog entry here that named it, v2.1.239.
Presence across releases
| Releases | Reading | Declared type | Default |
|---|---|---|---|
| 2.1.245 – 2.1.250 5 releases | never mined | — | — |
| 2.1.242 – 2.1.243 2 releases | in the build | bool | — |
A row reading never mined is a release with no archived bundle behind it. Nothing was read out of it, so nothing here says whether the name was in it. A declared type or a default is only ever what that release's own bundle stated.
Changelog entries naming it
-
v2.1.242Cloud session sync for folders that are not git checkouts
Cloud sessions could sync a plain folder, not just a git checkout, if an env var is set.
named in this entry
-
v2.1.239Directory-sync anchoring can be switched off, plus seven dir-sync variables now stripped from child processes
CLAUDE_CODE_DIR_SYNC_DISABLE_ANCHORING turns off path anchoring, and seven sync variables are now stripped from child processes.
named in this entry
-
v2.1.239Sync and hook-forwarding switches now survive into remote sessions
Seven more environment variables you export locally now carry into remote and worker processes.
named in this entry
Documentation pages
None of Anthropic's documentation pages this site has a copy of carries this name.
Names beside it
Every environment variable in the inventory starting claude_code_dir_sync, up to twelve of them.
CLAUDE_CODE_DIR_SYNC_DISABLE_ANCHORINGCloud file sync writes through directory handles so a swapped symlink can't redirect it, and says when that's unavailable. 2.1.239
CLAUDE_CODE_DIR_SYNC_ENGINESet CLAUDE_CODE_LEGACY_BUNDLE to true to go back to the old single-file build shape. 2.1.242
CLAUDE_CODE_DIR_SYNC_FFWDSet CLAUDE_CODE_LEGACY_BUNDLE to true to go back to the old single-file build shape. 2.1.242
CLAUDE_CODE_DIR_SYNC_GITYou can set CLAUDE_CODE_DIR_SYNC_GIT to pick a git-based engine for syncing your directory to a cloud session. 2.1.239
CLAUDE_CODE_DIR_SYNC_OVERLAYCLAUDE_CODE_DIR_SYNC_DISABLE_ANCHORING turns off path anchoring, and seven sync variables are now stripped from child processes. never mined
CLAUDE_CODE_DIR_SYNC_STREAMMore environment variables get carried into remote sessions; none are set by default. never mined
Read out of the published npm bundle release by release, and out of Anthropic's own documentation as this site captured it. Nothing on this page is a description anybody here wrote about what the environment variable does. All environment variables.