{"version":"2.1.326","anchor":"agent-process-kill-helper-and-worktree-cleanup-fix","canonical_anchor":"agent-process-kill-helper-and-worktree-cleanup-fix","heading":"Agent processes can be killed together, and worktree cleanup reports more accurately","tier":"internal","area":"Subagents","scope":"individual","heads_up":false,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.326\/e\/agent-process-kill-helper-and-worktree-cleanup-fix","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.326","markdown":"### Agent processes can be killed together, and worktree cleanup reports more accurately\n\nClaude Code can now kill all running processes of an agent at once, and worktree removal reports its real result\n\n**What**\n\nClaude Code can now stop every running group of processes that belongs to a given agent (a helper Claude starts to work on part of a task). By default it uses `SIGKILL`, a signal that ends a process immediately.\n\nRemoving a worktree (a separate checkout of your repository for one task) now reports whether git's own record of it was removed based on what actually happened. In some cases it no longer removes the `worktrees` folder.\n\n**Why**\n\nThis affects how leftover agent processes and worktrees are cleaned up.\n\n- Area: Subagents\n- Tier: Under the hood\n- Useful: 2\/5\n- Signal: 2\/5\n- Scope: individual\n- Heads-up: no"}