Multi-Repo Sync Diagnosis and Repair
When bulk pulls fail across repos in a multi-repo workspace, diagnose failures in parallel and categorize by type: diverged branches (ahead/behind), stale lock files, submodule issues, or untracked file conflicts. For each failure, identify root cause (deleted symlinks, untracked dirs, stale .git/index.lock), remove blocking artifacts, then retry with appropriate merge strategy. Handle background git processes that may leave stale locks by checking running processes and waiting before retry.