Type Alias: ExecutionInspection
ExecutionInspection = {
status:"pending"; } | {status:"completed"; } | {interruptions: readonlyInterruption[];reason?:"approval"|"client-tool"|"ambiguous-effect"|"unresolved-effect"|"yield";status:"interrupted"; } | {message?:string;status:"cancelled"; } | {detail?:unknown;message?:string;reason:StopReason;status:"failed"; } &ExecutionRecovery
Defined in: packages/core/src/runtime/executor.ts:33
Read-only lifecycle. Completion means a candidate exists; result() validates it.
interrupted lists the addresses waiting for an answer; resolve them with
ExecutionRun.resolve(). ambiguous-effect and unresolved-effect are
suspensions, so they are interrupted reasons, not failed ones.
cancelled is a status, so it is not also a StopReason.
failed.reason is a StopReason; message carries the free text.