mailbox_write action; an operator decides it; the decision resumes the flow. For the model,
see Human in the loop.
Listing and inspecting
swarm mailbox list (the mailbox.list method) filters by status, run_id, type, and
priority. swarm mailbox view (the mailbox.get method) returns the full payload, the
decision history, and a server-built decision sheet (the entity context and a preview of what
happens downstream).
Deciding
- Approve emits the configured downstream event and resumes the flow.
- Reject records a reason; no downstream event.
- Defer postpones the item until a time.
--idempotency-key to make a decision safely retryable.
How a decision resumes a flow
Approvals on review, approval, and operational-decision items emitmailbox.item_decided,
which the flow subscribes to in order to continue. The decision is an event like any other.
