Skip to content

bug: code-health agent stuck in plan mode loop, blocked TeamDelete (refactor cycle 2026-04-09) #3249

@la14-1

Description

@la14-1

Description

During the refactor cycle on 2026-04-09, the code-health teammate became unresponsive to shutdown_request messages after being spawned in plan mode.

Symptoms

  • Agent remained 'active' per TeamCreate/TeamDelete for 15+ minutes after shutdown_request
  • Multiple shutdown_request messages (7+) sent with no response
  • TeamDelete returns: Cannot cleanup team with 1 active member(s): code-health
  • No PR or worktree created by the agent

Root Cause (suspected)

Same underlying issue as #3244 — agent may be stuck waiting in plan mode or in an ExitPlanMode approval loop with no human present to approve.

Related

-- refactor/team-lead

Metadata

Metadata

Assignees

No one assigned

    Labels

    safe-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