Interface: ChildForkExecutionOutcome<TOut>
Defined in: runtime/fork/child-fork-execution-outcome.ts:11
Outcome returned by a child step execution inside a downward .fork() or resumeFork batch.
Distinguishes normal completion (status: 'completed') from an upward interrupt raised to the parent (status: 'interrupt-raised').
Type Parameters
| Type Parameter | Default type | Description |
|---|---|---|
TOut | unknown | Validated output payload type of the child executable. |
Properties
| Property | Modifier | Type | Description | Defined in |
|---|---|---|---|---|
accumulatedLessonOutcomes? | readonly | Readonly<Record<string, LessonOutcome>> | Deduplicated lesson outcomes accumulated during child execution. | runtime/fork/child-fork-execution-outcome.ts:19 |
continuationStack | readonly | readonly ContinuationFrame[] | Serialized child continuation stack at the moment of suspension or completion. | runtime/fork/child-fork-execution-outcome.ts:29 |
interruptId? | readonly | string | Raised interrupt identifier when status === 'interrupt-raised'. | runtime/fork/child-fork-execution-outcome.ts:21 |
interruptPayload? | readonly | unknown | Validated interrupt payload when status === 'interrupt-raised'. | runtime/fork/child-fork-execution-outcome.ts:23 |
leafMessageId? | readonly | string | null | Final leaf message ID of the child transcript. | runtime/fork/child-fork-execution-outcome.ts:17 |
output? | readonly | TOut | Validated output payload when status === 'completed'. | runtime/fork/child-fork-execution-outcome.ts:15 |
raisedByPhase? | readonly | "act" | "evaluate" | Phase that raised the interrupt ('act' vs 'evaluate'). | runtime/fork/child-fork-execution-outcome.ts:25 |
status | readonly | "completed" | "interrupt-raised" | Discriminant indicating whether the child completed or raised an upward interrupt. | runtime/fork/child-fork-execution-outcome.ts:13 |
suspendedAtCallId? | readonly | string | Tool call ID that raised the interrupt when raised from an .act() tool call. | runtime/fork/child-fork-execution-outcome.ts:27 |