Directory sync gains a pre-attach safety check to verify a checkout can attach cleanly, behind a new gate
The directory-sync git worker now has an attachSyncEnabled check that determines whether attaching to an existing remote or local checkout would succeed cleanly, before doing so. It returns one of several states: "unanswered", "switched_off", "commit_not_held", "other_branch", "lines_up", or "not_in_history". A companion function proactively re-triggers this check while sync is in a "listening" state.
This is meant to catch cases where a directory-sync checkout can't cleanly attach to the expected commit or branch before problems occur, rather than after. This behavior is controlled by a setting called tengu_violin_soundpost.
No reading of the `tengu_violin_soundpost` gate has been taken, so whether it is active is unknown.
New in this build: tengu_violin_soundpost