mirror of
https://github.com/stablyai/orca.git
synced 2026-11-16 02:47:34 +00:00
A chat worker that stops at a permission prompt now escalates with the prompt itself as structured data (approval id, state, worker, summary, allowed actions). The coordinator can deny it with a reason through `orchestration deny`; the worker carries on and gets the reason as mail. Only a person can allow a prompt: the answer method decides "person" from the transport, never from params. The stop report keys one escalation per approval and sends one closing line when it is answered, and no longer tells the coordinator that `orchestration send` answers a prompt. `orchestration send` now warns when the delivery gate would hold the mail right now (an open prompt, a blocked status, typed text), and says delivery state is unknown for a worker on a paired server.