Under the hood
Directory sync takes a pluggable held-state probe that by default detects an unmerged git index.
Directory sync now accepts a pluggable heldStateProbe callback used in its fast-forward/held logic. By default it checks for an unmerged_index condition, letting sync detect an unresolved merge state on the local checkout and react accordingly.