Interface: SpeculateBranchEntryRecord
Defined in: ports/speculate-continuation-frame.ts:10
Per-branch execution entry inside a SpeculateContinuationFrame.
Tracks the branch index, child scope fork ID, tournament status, parked escalation payload, and nested branch worker continuation stack.
Properties
| Property | Modifier | Type | Description | Defined in |
|---|---|---|---|---|
branchIndex | readonly | number | Zero-based index of the candidate branch (0..branchCount - 1). | ports/speculate-continuation-frame.ts:12 |
childScopeCheckpoint? | readonly | string | Optional serialized scope checkpoint captured when the branch parks or completes. | ports/speculate-continuation-frame.ts:23 |
continuationStack | readonly | readonly ContinuationFrame[] | Nested outer-to-inner continuation stack for the branch worker executable. | ports/speculate-continuation-frame.ts:35 |
errorSummary? | readonly | string | Optional error diagnostic summary when status === 'FAILED'. | ports/speculate-continuation-frame.ts:29 |
forkId | readonly | string | Unique child scope fork identifier for this candidate branch. | ports/speculate-continuation-frame.ts:14 |
outputJson? | readonly | string | Optional JSON-serialized output payload when status === 'COMPLETED' or 'WINNER_COMMITTED'. | ports/speculate-continuation-frame.ts:25 |
parkedEscalationPayloadJson? | readonly | string | Optional JSON-serialized escalation/interrupt payload when parked. | ports/speculate-continuation-frame.ts:33 |
parkedInterruptId? | readonly | string | Optional identifier of the interrupt on which the branch parked (status === 'PARKED_ON_ESCALATION'). | ports/speculate-continuation-frame.ts:31 |
scopeReceiptJson? | readonly | string | Optional JSON-serialized TReceipt from scope.inspect(childHandle) or commitChild(). | ports/speculate-continuation-frame.ts:27 |
status | readonly | | "RUNNING" | "COMPLETED" | "FAILED" | "PARKED_ON_ESCALATION" | "WINNER_COMMITTED" | Current tournament status of the candidate branch. | ports/speculate-continuation-frame.ts:16 |