What
Setting this environment variable now decides which engine syncs your directory to a cloud session worker, and the worker logs that the switch is on when it takes effect. Without it, the previous engine selection applies unchanged.
Details
- The engine actually chosen, and the reason when it ends up as none, are both reported in cloud-session telemetry.
Evidence
dir_sync_worker_git_switch_on
Strings lifted out of the shipped bundle, so the claim above can be checked against them.
Names in the bundleCLAUDE_CODE_DIR_SYNC_GIT
One source agreesOne thing we can check says the same as this entry.
The name it cites is new in this build
New in this build: CLAUDE_CODE_DIR_SYNC_GIT