Step 1
Register
Agent declares ID, role, capabilities. Gets tracked.
→
Step 2
Get Work
getNextTask() scores candidates across 4 dimensions.
→
Step 3
Lock Task
Exclusive lock. 30-min TTL. One agent per task.
→
Step 4
Execute
Agent works. BRE validates transitions. Audit trail records.
→
Step 5
Complete + Handoff
Approve via BRE. Release lock. Find unblocked tasks. Recommend next.
0-40
Cascade Value
How many downstream tasks does completing this unblock? BFS over reverse dependency graph.
0-25
Epic Momentum
Is this epic in progress? Last task in epic gets max score. Finish what's started.
0-20
Capability Match
Does agent's role match the task? Coding+feature, testing+QA. Soft match, no penalties.
0-15
Dependency Freshness
Was a dependency just completed? Pick up momentum while context is fresh.
Advisory, not prescriptive: Work recommendations are scored suggestions. Agents (or humans) decide whether to follow them. Task locks are the only hard constraint: one agent per task at a time.
Every action is audited: Recommendations, handoffs, lock acquisitions, and releases all emit events to the EventBus. Per-agent compliance scoring is possible because the audit trail captures actor identity on every operation.