Pattern
CI Git State Mismatch
ci-git-state-mismatch
CI jobs fail because their workflow assumptions about git refs, branch creation rules, permissions, or remote history diverge from repository reality—breaking pushes, merge automation, or package/repo publishing until ref fetches, hooks, runner scope, and permissions are aligned.