Skip to content

Interface: SpeculateContinuationFrame ​

Defined in: ports/speculate-continuation-frame.ts:71

Serialized continuation frame for a .speculate() tournament (kind: 'speculate-frame').

Tracks parallel branch racing, deferred escalation parking (PARKED_ON_ESCALATION), cross-verification, contested arbitration, winner cross-pollination refinement, and commit.

Properties ​

PropertyModifierTypeDescriptionDefined in
activeSubStack?readonlyreadonly ContinuationFrame[]Optional continuation stack for an in-flight arbiter or .refineWinnerWhen() session.ports/speculate-continuation-frame.ts:98
branchesreadonlyreadonly SpeculateBranchEntryRecord[]State records for all 0..branchCount - 1 candidate branches.ports/speculate-continuation-frame.ts:100
bufferedLessonOutcomes?readonlyreadonly SpeculateBufferedLessonOutcomeRecord[]Per-branch buffered lesson outcomes flushed only for the committed winner.ports/speculate-continuation-frame.ts:104
callIdreadonlystringWire-level callId of the .speculate() tool invocation.ports/speculate-continuation-frame.ts:77
conflictCheckArmedreadonlybooleanWhether conflictCleanCheck is armed on the winning branch handle.ports/speculate-continuation-frame.ts:94
conflictRetryCountreadonlynumberNumber of 3-way commitChild conflict-bounce retries attempted for the winning branch.ports/speculate-continuation-frame.ts:92
humanRulingsHistoryreadonlyreadonly SpeculateHumanRulingRecord[]Chronological history of human rulings gathered across 'unpark-escalation' rounds.ports/speculate-continuation-frame.ts:102
kindreadonly"speculate-frame"Discriminant identifying a speculative tournament continuation frame.ports/speculate-continuation-frame.ts:73
lessonsFlushed?readonlybooleanWhether buffered lesson outcomes for the winning branch have been flushed to LessonStore.ports/speculate-continuation-frame.ts:96
parentStepExecIdreadonlystringStep execution identifier of the parent actor that launched the tournament.ports/speculate-continuation-frame.ts:75
phasereadonly| "RACING" | "CROSS_VERIFYING" | "ARBITRATING" | "REFINING_WINNER" | "COMMITTING"Current lifecycle phase of the speculative tournament.ports/speculate-continuation-frame.ts:81
preRefinementCheckpoint?readonlystringSerialized checkpoint of the winning handle captured prior to .refineWinnerWhen() execution.ports/speculate-continuation-frame.ts:90
toolNamereadonlystringName of the .speculate() capability tool.ports/speculate-continuation-frame.ts:79
winnerBranchIndex?readonlynumberSelected winning branch index once arbitration or sole-survivor resolution succeeds.ports/speculate-continuation-frame.ts:88

Released under the MIT License.