Run is the handle for one runId in this process. After a restart, get a new handle with runtime.resume.
AgentResult
reconcile
resolution is "retry", "complete", or "fail". output and message are optional. The call throws invalid_state_transition when the run is not waiting.