Skip to content

Interface: SuspendedForkRecord ​

Defined in: ports/suspended-fork-record.ts:9

Durable ledger record representing a downward child fork suspended by an upward interrupt (INTERRUPT_RAISED) or paused at the turn-batch barrier by a sibling interrupt (PAUSED_BY_SIBLING_INTERRUPT).

Resumed or aborted on the parent's single timeline via the built-in resumeFork tool.

Properties ​

PropertyModifierTypeDescriptionDefined in
activePartitionsreadonlyreadonly string[]Active logical partitions associated with the suspended fork.ports/suspended-fork-record.ts:23
childScopeCheckpoint?readonlystringOptional serialized scope checkpoint of childHandle captured upon suspension.ports/suspended-fork-record.ts:47
conflictCheckArmedreadonlybooleanWhether conflictCleanCheck is armed on the child scope handle.ports/suspended-fork-record.ts:33
conflictRetryCountreadonlynumberNumber of 3-way commitChild conflict retries accumulated prior to suspension.ports/suspended-fork-record.ts:31
continuationStackreadonlyreadonly ContinuationFrame[]Outer-to-inner serialized continuation stack ([loop-frame, agent-frame]).ports/suspended-fork-record.ts:49
forkIdreadonlystringLogical identifier of the child fork.ports/suspended-fork-record.ts:13
forkToolNamereadonlystringName of the .fork() capability tool that created the child fork.ports/suspended-fork-record.ts:21
interruptId?readonlystringOptional identifier of the raised InterruptNode.ports/suspended-fork-record.ts:41
interruptPayloadJson?readonlystringOptional JSON-serialized payload of the raised interrupt.ports/suspended-fork-record.ts:43
parentStepExecIdreadonlystringStep execution identifier of the parent actor that spawned the fork.ports/suspended-fork-record.ts:19
raisedByPhase?readonly"act" | "evaluate"Optional loop phase ('act' | 'evaluate') that raised the upward interrupt.ports/suspended-fork-record.ts:29
resumeFrameInjected?readonlybooleanWhether the resumption wire frame has already been injected into the child transcript.ports/suspended-fork-record.ts:39
runIdreadonlystringIdentifier of the enclosing flow run.ports/suspended-fork-record.ts:17
suspendedAtCallId?readonlystringOptional callId of the interrupt tool call on the inner .act() agent-frame.ports/suspended-fork-record.ts:45
suspendedForkIdreadonlystringMonotonic suspension identifier formatted as ${forkId}#${suspensionEpoch}.ports/suspended-fork-record.ts:11
suspensionEpochreadonlynumberPositive integer suspension epoch counter for forkId.ports/suspended-fork-record.ts:15
suspensionReasonreadonly"INTERRUPT_RAISED" | "PAUSED_BY_SIBLING_INTERRUPT"Reason the child fork entered suspension.ports/suspended-fork-record.ts:25
syncedToParentCheckpoint?readonlystringOptional parent checkpoint marker persisted after syncChild during resumeFork.ports/suspended-fork-record.ts:35
syncResultJson?readonlystringOptional JSON-serialized ReconcileResult from syncChild.ports/suspended-fork-record.ts:37
triggeredByForkId?readonlystringOptional suspendedForkId of the sibling fork that triggered a barrier pause.ports/suspended-fork-record.ts:27

Released under the MIT License.