Dispatch
Dispatch hands a task to a new pi session in the board terminal:
- The parent session runs
pi-kanban dispatch startwith a self-contained task. The command prints the worker’s session id. Options set the folder, name, model, thinking level, and group. - The worker runs on its own. When it is done, it calls the
dispatch_reporttool once. - The parent runs
pi-kanban dispatch wait <id>to get the report.dispatch listshows the workers, anddispatch endends one.
The parent never talks to the worker. The board starts the worker and holds its report, so the parent gets the report even when the worker’s terminal has ended or the board restarted. The sidebar marks a dispatched session with its own icon.
Dispatch needs the board terminal. The dispatch skill teaches pi these commands. They also run from a shell. See the CLI reference.