{"version":"2.1.314","anchor":"team-cleanup-failures-now-propagate","canonical_anchor":"team-cleanup-failures-now-propagate","heading":"Failing to remove a team's folder is now reported as an error","tier":"notice","area":"Agent Teams","scope":"individual","heads_up":false,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.314\/e\/team-cleanup-failures-now-propagate","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.314","markdown":"### Failing to remove a team's folder is now reported as an error\n\nIf Claude Code cannot delete a team's folder during cleanup, the cleanup now reports an error instead of only logging it\n\n**What**\n\nWhen Claude Code tidies up after a team of agents, it deletes the folder it kept for that team. If that deletion failed, it used to write \"Failed to clean up team directory\" to its log and carry on as though the cleanup had worked. The failure now passes upward, and the cleanup as a whole reports an error.\n\n**Why**\n\nA cleanup that did not finish is now visible, so you can tell when a team's folder has been left behind on disk.\n\n- Area: Agent Teams\n- Tier: You'll notice\n- Useful: 1\/5\n- Signal: 1\/5\n- Scope: individual\n- Heads-up: no"}