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.242 ·

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

Nothing to try yet Notable No documentation found In Development
JSON All of v2.1.242
Nothing to try yetTier: how much it should matter to you
3Useful: my rating, 1 to 5
4Signal: worth watching, 1 to 5
Cloud SessionsArea: what it touches
In DevelopmentKind: in v2.1.242,
What probably matters to youSection of the release

Folder consent wording is already visible, but the archive engine only builds when CLAUDE_CODE_DIR_SYNC_ARCHIVE is set.

What

Cloud sessions can now be started from an ordinary directory rather than a git checkout, using a second sync engine that applies file archives sent from your machine, keeps a session-side trash for cloud deletions, and tells the model exactly which files never cross. The consent prompt that asks whether to copy your files into a cloud session already picks its title, body and "without sync" wording depending on whether you are in a git repository or a plain folder, so the folder wording is visible in this build. The folder engine itself is only constructed when the environment variable CLAUDE_CODE_DIR_SYNC_ARCHIVE is set and its enabled check passes, so with that variable unset the prompt wording is present but no folder sync happens.

Details
  • The folder version of the consent prompt spells out what stays behind: anything the top-level .gitignore excludes, dot-named files and directories, and git repositories nested inside the folder.
  • The sync itself excludes dot-files, dependency and build folders, credential-named files, symlinks, editor leftovers, and files over the size limit.
  • Which engine is in play is decided by the archive engine check, and on the worker path by CLAUDE_CODE_DIR_SYNC_ARCHIVE; with the variable unset nothing is constructed and the git-based engine remains the only path.
  • When your copy and the cloud copy of a file conflict, your version is kept under the original name.
  • Sync bookkeeping lives in a .ccr-dir-sync directory at the top of the synced folder.
  • New reasons are recorded internally for why the consent prompt was skipped, and an event named dir_sync_worker_archive_armed marks the folder worker being armed.
Evidence

Allow Claude Code to copy the files in this folder (never ones its top-level .gitignore excludes, dot-named files or directories, or git repositories inside it) into cloud sessions you start here, so a session works on your current files and can keep going while this machine is off. Synced files are encrypted at rest., dir_sync_worker_archive_armed

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

Read from
Names in the bundleCLAUDE_CODE_DIR_SYNC_ARCHIVE
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_ARCHIVE

See this entry in the whole of v2.1.242 →

Feedback