On DONE/FAILED, resolves repoRoot and calls removeWorktreeForJob (best-effort). keepBranch=true when status=done and agent reported a branch (push assumed); false otherwise. Cleanup failures are logged as warnings — DB status is preserved. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| git | ||
| get-claude-context-filter.test.ts | ||
| tasks-status-update.test.ts | ||
| update-job-status-worktree.test.ts | ||
| verify-plan.test.ts | ||
| wait-for-job-snapshot.test.ts | ||
| wait-for-job-worktree.test.ts | ||