Source Intelligence
Sweep 28 Aug 2026 · 00:00Z Build v2.1.250 478 read Stable v2.1.236 Latest v2.1.250 Next v2.1.250 Feeds RSS JSON llms.txt

DisclaimerUnofficial, and not affiliated with Anthropic. Nearly all of this is read straight out of what ships: npm bundles, captured prompts, published docs. Anthropic's own notes go in verbatim, marked as theirs. The rest is my reading, and every entry carries the strings behind it. If one looks wrong, vote it down and say why.

Reference / Environment variables

CLAUDE_CODE_DIR_SYNC_GIT

A Claude Code environment variable, read out of the shipped bundle. It has been in the build since v2.1.239, including the newest one read.

What it is

You can set CLAUDE_CODE_DIR_SYNC_GIT to pick a git-based engine for syncing your directory to a cloud session.

Not Anthropic's. This is the line from the earliest changelog entry here that named it, v2.1.239.

Presence across releases

ReleasesReadingDeclared typeDefault
2.1.245 – 2.1.250 5 releases never mined
2.1.239 – 2.1.243 5 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

  1. v2.1.242Git-aware directory sync for cloud sessions, off unless an env var is set

    A git sync engine keeps a cloud container's checkout in step with yours, off unless an env var is set.

    named in this entry

  2. v2.1.239CLAUDE_CODE_DIR_SYNC_GIT selects a git-based engine for cloud file sync

    You can set CLAUDE_CODE_DIR_SYNC_GIT to pick a git-based engine for syncing your directory to a cloud session.

    named in this entry

  3. 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

  4. 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_ARCHIVECLAUDE_CODE_DIR_SYNC_DISABLE_ANCHORING turns off path anchoring, and seven sync variables are now stripped from child processes. 2.1.242 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_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.