Automates the removal of finished agent worktrees and prunes merged branches to maintain repository hygiene.