Record a dispatch handoff
record_dispatchRecord a dispatch audit event to track which worker (sub-agent or orchestrator) is actively working a ticket. Call after setting status to 'In Progress' for sub-agent handoffs or when taking the ticket back.
Instructions
Record who is actively working an In Progress ticket: appended as a 'dispatch' audit event (ticket_events.jsonl), so get_agent_monitor's lastDispatch and the board UI's orchestration chip can show whether a ticket is running on a sub-agent or back with the orchestrator. Call this right after set_status "In Progress" when handing a ticket off to a fresh sub-agent — worker:"sub-agent", with model (sonnet/opus/haiku/fable) and parallel:true when it's running alongside other sub-agent dispatches. Call it again with worker:"orchestrator" when you take the ticket back (e.g. for review before commit) — the newest call always wins as the ticket's current lastDispatch. Informational only: it never moves the ticket's status.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| note | No | Short context, e.g. "parity + docs" or "taking back for review". | |
| model | No | Model doing the work (sonnet/opus/haiku/fable, or a full model id), when worker is sub-agent. | |
| ticket | Yes | ||
| worker | Yes | Who is now actively working the ticket. | |
| project | Yes | ||
| parallel | No | Whether this dispatch is running alongside other parallel sub-agent dispatches. |