Interface: NodeExecutionResult
Defined in: packages/agentos/src/orchestration/runtime/NodeExecutor.ts:44
The normalised result returned by every NodeExecutor.execute() call regardless
of which executor variant was dispatched.
The runtime inspects these fields to decide the next graph step:
success— whether the node completed without error.output— arbitrary payload produced by the node (tool result, LLM response, etc.).error— human-readable error message; only present whensuccessisfalse.routeTarget— next node id determined by arouterorguardrailnode.scratchUpdate— partial object merged intoGraphState.scratchbyStateManager.artifactsUpdate— partial object merged intoGraphState.artifactsbyStateManager.events— additionalGraphEventvalues the executor wants the runtime to emit.interrupt— whentrue, the runtime suspends the run and waits for human input.
Properties
artifactsUpdate?
optionalartifactsUpdate:Record<string,unknown>
Defined in: packages/agentos/src/orchestration/runtime/NodeExecutor.ts:56
Partial update to merge into GraphState.artifacts.
error?
optionalerror:string
Defined in: packages/agentos/src/orchestration/runtime/NodeExecutor.ts:50
Human-readable error description; populated only when success is false.
events?
optionalevents:GraphEvent[]
Defined in: packages/agentos/src/orchestration/runtime/NodeExecutor.ts:58
Extra runtime events the executor wants to surface to callers.
expansionRequests?
optionalexpansionRequests:object[]
Defined in: packages/agentos/src/orchestration/runtime/NodeExecutor.ts:60
Mission graph expansion requests emitted by this node's tool usage.
patch?
optionalpatch:MissionGraphPatch
reason
reason:
string
request
request:
unknown
trigger
trigger:
MissionExpansionTrigger
interrupt?
optionalinterrupt:boolean
Defined in: packages/agentos/src/orchestration/runtime/NodeExecutor.ts:67
When true, the runtime must suspend and await human resolution.
metadata?
optionalmetadata:NodeTelemetry
Defined in: packages/agentos/src/orchestration/runtime/NodeExecutor.ts:73
Optional per-executor telemetry surfaced on the node_end event.
Populated today by the GMI executor (iteration / tool-call counters);
other executors leave it undefined.
output?
optionaloutput:unknown
Defined in: packages/agentos/src/orchestration/runtime/NodeExecutor.ts:48
Arbitrary output produced by the node.
routeTarget?
optionalrouteTarget:string
Defined in: packages/agentos/src/orchestration/runtime/NodeExecutor.ts:52
Target node id returned by router or guardrail rerouting.
scratchUpdate?
optionalscratchUpdate:Record<string,unknown>
Defined in: packages/agentos/src/orchestration/runtime/NodeExecutor.ts:54
Partial update to merge into GraphState.scratch.
success
success:
boolean
Defined in: packages/agentos/src/orchestration/runtime/NodeExecutor.ts:46
Whether the node completed successfully.