Files
fusion/.changeset/fix-worktree-retry-cleanup.md
gsxdsm b5ce4d2f0a fix(KB-170): handle worktree cleanup after merge retries exhausted
- Add mergeRetries counter to track per-task retry attempts
- Auto-resolve lock files and generated files during retry attempts
- Clean up worktree when all 3 merge retry attempts are exhausted
- Add comprehensive tests for retry cleanup logic in executor
- Add changeset for the worktree retry cleanup fix
2026-03-30 10:50:43 -07:00

185 B

@dustinbyrne/kb
@dustinbyrne/kb
patch

Automatically clean up a conflicting git worktree and retry creation when rerunning a failed task hits the "branch is already used by worktree" error.