Behavior
Triggers the kanban dispatcher to assign all pending (ready) tasks to available employees based on skills and current capacity. The dispatcher matches tasks to employees using role-skill affinity and current workload.
This happens automatically on a timer, but this endpoint lets you force it immediately.
Dispatch runs on two clocks, and only one of them is in this repository: the agent container runs a 30-second safety-net poll (
DISPATCH_INTERVAL_MS), on top of the legacy gateway’s own embedded dispatcher, whose interval lives in the gateway and is not verifiable here. Treat dispatch latency as tens of seconds, and use the explicit dispatch/run endpoints when you need it now.