Skip to content

fix(goap): orphaned skill — bug_triage routed to non-existent auto-triage-sweep agent #3532

@mabry1985

Description

@mabry1985

Summary

GOAP dispatches bug_triage work items to an agent called auto-triage-sweep, which is not registered in the agent health registry. This creates an orphaned skill (orphanedSkillCount: 1) and a cascading failure loop.

Impact

  • 100% failure rate on auto-triage-sweep (4/4 failed)
  • 11 items stuck in error state, WIP blown to 24 (limit: 2)
  • 12 duplicate incidents (INC-003 through INC-016) filed by the GOAP feedback loop, all describing the same stuck agent
  • GOAP keeps re-dispatching, creating a tight failure→alert→dispatch→failure loop

Root Cause

The auto-triage-sweep agent is referenced in GOAP action config but does not appear in the live agent registry. It was either:

  • Never deployed
  • Deregistered / crashed without cleanup
  • A config typo

Meanwhile, Quinn (quinn) is online, reachable (63ms latency), and advertises bug_triage as a skill.

Fix

  1. Re-route the GOAP action for bug_triage from auto-triage-sweepquinn (or whichever agent should own this)
  2. Drain the 11 error-state items (retry or discard)
  3. Consolidate/close INC-003 through INC-016 once routing is fixed
  4. Add a guard in GOAP dispatch: if the target agent is not in the live registry, skip dispatch and fire an alert instead of looping

Labels

bug, goap, priority:high

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions