Run an instancecreate directories → start sandbox → run harness → read manifest → delete sandbox
Host actionthe worker runs it directly, no sandbox
Approval needed → waiting_approvalApprove, reject, or request changes (back to the loop before). Reminders and timeouts can be set
Agent asks → waiting_inputThe sandbox is deleted. After you reply, a new sandbox resumes the same session
Loop runs out of rounds, until still not metReflects first, then asks you: one more round, accept, or stop
Step fails with on_failed: askAsks you: start over, continue the session with a hint, skip, or stop
On every state change the worker writes new events to myorch-data/events.db. Outlined boxes are where you are needed.