Skip to content

Add agent health checks to task dispatch routing #112

@kai-linux

Description

@kai-linux

Goal

Stop assigning tasks to agents with degraded performance. Implement health checks in task dispatch that gate assignments based on recent success rates.

Success Criteria

  • Task dispatcher queries recent agent performance metrics (last 24h)
  • Tasks assigned only to agents with >80% recent success rate
  • Agents below threshold skipped in fallback chain
  • System escalates to human review if no healthy agent available
  • deepseek (53.8% failure) and none agent failures removed from rotation

Constraints

  • Must not break existing task assignment logic
  • Health check lookup must be <100ms
  • Must preserve escalation-to-human path when no healthy agent found

Metadata

Metadata

Assignees

No one assigned

    Projects

    Status

    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions