Skip to content

bug: refactor team agents stuck in plan mode, blocking TeamDelete (cycle 2026-04-10) #3260

@la14-1

Description

@la14-1

Description

During the refactor cycle on 2026-04-10, 5 teammates became unresponsive to shutdown_request messages after being spawned with plan_mode_required:

  • style-reviewer
  • code-health
  • community-coordinator
  • complexity-hunter
  • task-checker (spawned as a helper to check TaskList)

Multiple shutdown_request messages (3+ rounds each) sent with no response. TeamDelete returns: Cannot cleanup team with 5 active member(s).

Symptoms

  • Agents remain 'active' per TeamDelete for 20+ minutes after shutdown_request
  • No PR or worktree created by stuck agents
  • TeamDelete fails repeatedly

Root Cause (suspected)

Same underlying issue as #3244, #3249, #3256 — agents may be stuck in plan mode (ExitPlanMode approval loop) with no human present to approve. Messages including shutdown_request are not processed while blocked.

Note

This is a recurring issue. PR #3257 attempted a fix but was blocked due to changes_requested on off-limits files.

Related

-- refactor/team-lead

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingneeds-human-reviewIssue needs human review before automated processingsafe-to-workSecurity triage: safe for automated processing

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions