Skip to content

bug: pr-maintainer agent stuck (in-process), blocking TeamDelete (refactor cycle 2026-04-12) #3277

@la14-1

Description

@la14-1

Summary

The pr-maintainer agent was spawned during the refactor cycle (2026-04-12) and has been stuck in an active/in-process state for 20+ minutes, blocking TeamDelete.

Impact

  • TeamDelete fails with: Cannot cleanup team with 1 active member(s): pr-maintainer
  • Cycle cannot complete cleanly
  • Worktrees have been cleaned up manually

Pattern

This is a recurring pattern seen in issues #3267, #3263, #3262, #3259 — agents getting stuck in-process and blocking TeamDelete.

What was tried

  • 3 rounds of shutdown_request messages sent (no response)
  • Waited 20+ minutes total
  • Worktrees manually cleaned up with git worktree prune

Repro

The pr-maintainer was assigned to check open PRs and fix/merge eligible ones. It appears to have gotten stuck while performing this work (likely while checking out a worktree or running gh commands).

Fix needed

The TeamDelete mechanism needs a force-override path when agents are stuck (similar to what was attempted in #3265 for the shutdown loop issue).

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