Prompt Dispatch
Use When
- •A worker must execute a command or task prompt.
Inputs
- •
session_id - •prompt/command text
Procedure
- •Validate target session exists and is not in human takeover.
- •Enqueue command for that session.
- •Send command and track lifecycle state.
Output Contract
- •
command_id - •
session_id - •
status:queued|running|done|failed
Guardrails
- •One command stream per session.
- •Record result snippet for auditability.