Skip to content

Interface: ForkBatchEntryRecord ​

Defined in: ports/fork-batch-continuation-frame.ts:26

Per-fork execution entry inside a ForkBatchContinuationFrame.

Tracks the child fork's lifecycle status, 3-way commit retry state, suspension epoch, scope checkpoints, and nested continuation stack.

Properties ​

PropertyModifierTypeDescriptionDefined in
activePartitionsreadonlyreadonly string[]Active partition identifiers extracted for this child fork.ports/fork-batch-continuation-frame.ts:36
callIdreadonlystringParent assistant turn callId that dispatched this fork or resumeFork batch.ports/fork-batch-continuation-frame.ts:32
childScopeCheckpoint?readonlystringSerialized child scope checkpoint captured prior to suspension.ports/fork-batch-continuation-frame.ts:58
committedReceiptJson?readonlystringJSON-serialized scope receipt returned by a clean commitChild.ports/fork-batch-continuation-frame.ts:62
conflictCheckArmedreadonlybooleanWhether conflictCleanCheck is armed on this child fork's scope handle.ports/fork-batch-continuation-frame.ts:48
conflictRetryCountreadonlynumberNumber of 3-way commitChild conflict-bounce retries attempted so far.ports/fork-batch-continuation-frame.ts:46
continuationStackreadonlyreadonly ContinuationFrame[]Nested outer-to-inner continuation stack for the child executable.ports/fork-batch-continuation-frame.ts:68
forkIdreadonlystringLogical identifier of the child fork.ports/fork-batch-continuation-frame.ts:28
lessonsFlushed?readonlybooleanWhether the child's deduplicated lesson outcomes have been flushed to LessonStore.ports/fork-batch-continuation-frame.ts:66
outputJson?readonlystringJSON-serialized validated child output payload once completed.ports/fork-batch-continuation-frame.ts:60
resumeFrameInjected?readonlybooleanWhether the resumption tool_result or synthetic user frame has already been injected.ports/fork-batch-continuation-frame.ts:56
statusreadonly| "RUNNING" | "CHILD_COMMITTED" | "COMPLETED" | "SUSPENDED" | "FAILED" | "ABORTED"Lifecycle status of the child fork within the batch.ports/fork-batch-continuation-frame.ts:38
suspendedForkId?readonlystringMonotonic suspendedForkId when resuming a prior SuspendedForkRecord via resumeFork.ports/fork-batch-continuation-frame.ts:30
suspensionEpochreadonlynumberMonotonic suspension epoch counter for this forkId.ports/fork-batch-continuation-frame.ts:50
syncedToParentCheckpoint?readonlystringParent checkpoint marker persisted after syncChild completes during resumeFork.ports/fork-batch-continuation-frame.ts:52
syncResultJson?readonlystringJSON-serialized ReconcileResult from syncChild persisted for crash-safe resumption.ports/fork-batch-continuation-frame.ts:54
toolNamereadonlystringName of the .fork() capability tool (or 'resumeFork').ports/fork-batch-continuation-frame.ts:34
toolResultJson?readonlystringJSON-serialized wire tool_result payload recorded when the fork entry settles.ports/fork-batch-continuation-frame.ts:64

Released under the MIT License.