Follow Discord
Sweep 22 Oct 2026 · 04:32Z Build v2.1.308 527 read Stable v2.1.308 Latest v2.1.308 Next v2.1.308 Feeds RSS JSON llms.txt llms-full.txt Unofficial

Claude Code v2.1.239 ·

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

Use it now Notable No documentation found New Features
JSON All of v2.1.239
Use it nowTier: how much it should matter to you
3Useful: my rating, 1 to 5
4Signal: worth watching, 1 to 5
Directory SyncArea: what it touches
New FeaturesKind: in v2.1.239,
What probably matters to youSection of the release
What

Directory sync, the mechanism that keeps a working directory tracked as it moves, normally anchors paths so it can follow a directory even if it is renamed. Setting CLAUDE_CODE_DIR_SYNC_DISABLE_ANCHORING turns that off and falls back to resolving paths by name, and the same release adds seven Claude-managed directory-sync variables to the set that is removed from the environment handed to child processes, so they do not leak into tools and subprocesses Claude Code spawns. Two of those seven names are reserved but do nothing yet.

Details
  • CLAUDE_CODE_DIR_SYNC_DISABLE_ANCHORING is unset by default and is recognised both as an environment variable and through the settings file; run it as CLAUDE_CODE_DIR_SYNC_DISABLE_ANCHORING=1 claude.
  • When anchoring is off by this variable, the reason is reported as switched_off.
  • Windows already skips anchoring regardless of the variable, and reports the reason platform.
  • The seven stripped variables include CLAUDE_CODE_DISABLE_DIR_SYNC, CLAUDE_CODE_DIR_SYNC_GIT and CLAUDE_CODE_WORKER_EPOCH; five of the seven are actually read, covering dir-sync start decisions, hook forwarding and worker epoch.
  • CLAUDE_CODE_DIR_SYNC_ARCHIVE and CLAUDE_CODE_DIR_SYNC_OVERLAY are read nowhere in this build, so setting them has no effect; unlike their siblings they are absent from the typed environment accessor list and appear only in the filter set and the export map.
Evidence

CLAUDE_CODE_DIR_SYNC_DISABLE_ANCHORING, CLAUDE_CODE_DIR_SYNC_OVERLAY

Strings lifted out of the shipped bundle, so the claim above can be checked against them.

Read from
How sure we are
One source agreesOne thing we can check says the same as this entry.
The name it cites is new in this buildNew in this build: CLAUDE_CODE_DIR_SYNC_DISABLE_ANCHORING

See this entry in the whole of v2.1.239 →

Feedback