What
A linked git worktree is an extra working folder attached to a git repository that lives somewhere else. When the first upload of files to a cloud session starts from such a folder, Claude Code now handles it. It refuses the upload when:
- the repository's own settings would change how git behaves
- it cannot set up a private git folder to check the current commit
- a link has been planted in the repository behind the worktree
- the folder layout no longer matches what was checked earlier
There is a new failure cause, admin_dir.
Why
If you start cloud sessions from a git worktree, file sync can now work, or fail with a clearer reason, rather than trusting a repository set up in a risky way.
Something disagreesSomething we can check disagrees with this entry, or the writer said they could not settle it.
The writer flagged doubt
It is not clear whether linked worktrees were already turned away elsewhere before, so this may be new support or only added safety checks.