| task.assign | orch → agent | to, task_id, role, instructions | Assigns a task. The target agent runs its AI backend. |
| task.progress | agent → all | task_id, message, output_tail | Broadcasts progress every 10 seconds. |
| task.result | agent → all | task_id, exit_code, artifacts[] | Reports task completion. ARTIFACT: lines are parsed automatically. |
| task.cancel | orch → agent | task_id | Cancels a running task via an AbortController signal. |
| task.blocked | any → all | task_id, reason | Cannot proceed. The orchestrator decides whether to reassign. |
| state.update | any → server | key: value | Updates Work Key state (persisted in DETS). |
| mailbox.post | any → target | to, body | Queued if the target is offline, delivered immediately if online. |
| agent.hello | server → all | agent, role, machine | Notifies that an agent joined. |
| agent.bye | server → all | agent, role | Notifies that an agent left. |