dispatch_send
Create a dispatch packet to assign a task to another agent, complete with assignment brief and verification contact. Saves as pending and returns a dispatch ID for tracking.
Instructions
Create a dispatch packet assigning work to another agent: writes
meta.json + assignment.md with status 'pending' under
$WILLOW_HOME/dispatch/. assignment_md is the full brief the specialist
will read; reply_to names who verifies the handoff. The packet advances
pending → working → complete via dispatch_accept and handoff_write_v4.
Filesystem-backed unless an authority envelope governs verb "dispatch"
for this caller (#333) — then citing that envelope (and its quota) gates
the write, Postgres-backed for that one check. Returns the new packet's
metadata including its dispatch_id.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| role | No | ||
| phase | No | operate | |
| app_id | Yes | ||
| to_app | Yes | ||
| summary | No | ||
| priority | No | normal | |
| reply_to | No | willow | |
| context_refs | No | ||
| assignment_md | Yes |