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

  1. Create a team with TeamCreate and spawn teammates via Task with team_name
  2. Teammates complete their work and go idle
  3. Run TeamDelete — succeeds, files removed from ~/.claude/teams/ and ~/.claude/tasks/
  4. Observe: teammate names still appear in the bottom status bar (@main @w1-cli @w1-statusline · shift+↑ to expand)
  5. The team panel remains expandable and shows stale data (e.g., "Sautéed for 1h 45m")
  6. 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

  • TeamDelete cleans 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_name parameter on Task tool

Workaround

Restart the CC session (/clear or close/reopen the terminal).

View original on GitHub ↗

This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗