{"version":"2.1.331","anchor":"worktree-branch-deletion-reports-its-outcome","canonical_anchor":"worktree-branch-deletion-reports-its-outcome","heading":"Worktree branch cleanup now records whether the branch was deleted","tier":"internal","area":"Worktrees","scope":"individual","heads_up":false,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.331\/e\/worktree-branch-deletion-reports-its-outcome","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.331","markdown":"### Worktree branch cleanup now records whether the branch was deleted\n\nDeleting a worktree's branch now reports kept, git refused or deleted, and background tasks keep their queued notifications\n\n**What**\n\nA worktree is a separate working copy of your repository that Claude Code can create on its own branch. When Claude Code tries to delete that branch, it now reports one of three outcomes instead of nothing:\n\n- kept\n\n- git refused\n\n- deleted\n\nSeparately, teleport and MCP tasks that are moved to the background now hold on to the notifications waiting for them. When you bring such a task back, those notifications are queued again. MCP is the Model Context Protocol, a way to connect outside tools to Claude Code.\n\n**Why**\n\nClaude Code can now tell whether a branch was actually removed, and notifications for a backgrounded task are no longer lost when you take it back.\n\n- Area: Worktrees\n- Tier: Under the hood\n- Useful: 1\/5\n- Signal: 1\/5\n- Scope: individual\n- Heads-up: no"}