src.core.board_health_analyzer module#
Board Health Analyzer for detecting project-level deadlocks and bottlenecks.
This module analyzes the overall health of the project board by detecting: - Skill mismatches between available tasks and agent capabilities - Circular dependencies that create deadlocks - Bottleneck tasks that block many others - Chain blocks where sequential dependencies create long waits
- class src.core.board_health_analyzer.HealthIssueType[source]#
Bases:
EnumTypes of board health issues.
- SKILL_MISMATCH = 'skill_mismatch'#
- CIRCULAR_DEPENDENCY = 'circular_dependency'#
- BOTTLENECK = 'bottleneck'#
- CHAIN_BLOCK = 'chain_block'#
- STALE_TASKS = 'stale_tasks'#
- OVERLOADED_AGENTS = 'overloaded_agents'#
- IDLE_AGENTS = 'idle_agents'#
- class src.core.board_health_analyzer.IssueSeverity[source]#
Bases:
EnumSeverity levels for health issues.
- LOW = 'low'#
- MEDIUM = 'medium'#
- HIGH = 'high'#
- CRITICAL = 'critical'#
- class src.core.board_health_analyzer.HealthIssue[source]#
Bases:
objectRepresents a board health issue.
- type: HealthIssueType#
- severity: IssueSeverity#
- __init__(type, severity, description, affected_tasks, affected_agents, recommendations, details)#
- class src.core.board_health_analyzer.BoardHealth[source]#
Bases:
objectOverall board health assessment.
- issues: List[HealthIssue]#
- class src.core.board_health_analyzer.BoardHealthAnalyzer[source]#
Bases:
objectAnalyzes board-level health and detects various types of deadlocks.
- __init__(kanban_client, stale_task_days=7, max_tasks_per_agent=3)[source]#
Initialize the board health analyzer.
- Parameters:
kanban_client (
KanbanInterface) – Interface to kanban board.stale_task_days (
int) – Days before considering a task stale.max_tasks_per_agent (
int) – Maximum recommended tasks per agent.