A faster sync path for 'attached' sessions handles directory sync separately from the older full merge logic
For sessions where a laptop's state is "attached" to a live machine, Claude Code now uses a lighter fast-forward or no-op check to keep directories in sync, instead of the older full three-way merge logic. This path can report that a session is "unready" (the machine has a detached HEAD) or "left" with a reason such as the branch being switched or having diverged. A companion function now also explains a new "switched off" case, meaning the sync feature is switched off for that session.
This gives attached sessions a cheaper, quicker sync check instead of always running the heavier merge process, while still surfacing clear reasons like a diverged branch or the feature being disabled when syncing isn't possible.