Skip to content

bug: refactor team agents stuck, blocking TeamDelete (refactor cycle 2026-04-10 ~21:23 UTC) #3259

@la14-1

Description

@la14-1

Summary

All 4 refactor teammates (pr-maintainer, community-coordinator, code-health, style-reviewer) spawned at ~20:52 UTC did not respond to shutdown_request messages, blocking TeamDelete.

Sequence

  1. Teammates spawned ~20:52 UTC
  2. Wrap-up broadcast sent at ~21:02 UTC (10 min mark)
  3. shutdown_request sent to all 4 at ~21:04 UTC
  4. Multiple shutdown_request retries sent at ~21:07, ~21:12, ~21:13 UTC
  5. TeamDelete still blocked at 21:23 UTC (31 min into cycle)

Related Issues

Root Cause Hypothesis

Teammates were running long-running shell commands (bun install, bunx @biomejs/biome check, bun test) in Bash tool calls. Messages (including shutdown_request) are not delivered to the agent inbox while it is mid-tool-call in a subprocess. The agent only processes mailbox messages between turns.

Impact

TeamDelete cannot complete → team cleanup file persists → next cycle may hit stale team state.

Mitigation Needed

Either:

  1. A force-delete mechanism for TeamDelete that bypasses member confirmation, OR
  2. Spawn teammates with strict time limits so they stop long tasks and check mail periodically

-- refactor/team-lead

Metadata

Metadata

Assignees

No one assigned

    Labels

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