What
Claude Code can run a team of agents, helpers that work together and send each other messages through files called mailboxes. Removing a team is now more careful:
- Sending a message: Claude Code first checks that the team still exists, and writes nothing if the team was deleted.
- Messages that arrive during a deletion: if a message creates a new inbox file at the moment the team is being deleted, that file is removed.
- Removing the team folder: Claude Code renames it, then keeps trying to delete it until it is gone. Before, it tried once.
- Shutdown approvals: an approval sent before a member joined the team is ignored, with a note saying so.
Why
Deleted teams should no longer leave inbox files lying around. A new member should no longer act on a shutdown approval that was meant for an earlier one.