Agent Teams: zombie teammates persist in UI after TeamDelete
Resolved 💬 3 comments Opened Feb 19, 2026 by flavio-bongiovanni Closed Feb 23, 2026
Description
After using TeamDelete to clean up a team, the teammate indicators (@w1-cli @w1-statusline) continue to show in the CC status bar and the team panel remains visible (shift+↑ to expand). The spinner/timer line also persists (e.g., ✢ Gusting… (1h 49m · 145.9k tokens)).
Steps to Reproduce
- Create a team with
TeamCreateand spawn teammates viaTaskwithteam_name - Teammates complete their work and go idle
- Run
TeamDelete— succeeds, files removed from~/.claude/teams/and~/.claude/tasks/ - Observe: teammate names still appear in the bottom status bar (
@main @w1-cli @w1-statusline · shift+↑ to expand) - The team panel remains expandable and shows stale data (e.g., "Sautéed for 1h 45m")
- Context compaction does NOT clear the stale team UI
Expected Behavior
After TeamDelete completes successfully, the team panel and teammate indicators should be removed from the UI immediately. The CC process should clear its in-memory team state.
Actual Behavior
TeamDeletecleans up disk files (~/.claude/teams/,~/.claude/tasks/) but does NOT clear the in-memory team state- Teammate names persist in the status bar indefinitely
- The team panel remains expandable with stale timer data
- Only restarting the CC session (closing and reopening) clears the display
Environment
- Claude Code v2.1.44 (VS Code extension)
- Linux (WSL2 6.6.87.2)
- Using Agent Teams with
team_nameparameter onTasktool
Workaround
Restart the CC session (/clear or close/reopen the terminal).
This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗