Interface: SpeculateTournamentParams<THandle>
Defined in: runtime/speculate/speculate-tournament-params.ts:25
Parameters for executing a parallel .speculate() tournament (SPEC.md §3.7.2 Capability 2).
Consolidates the SpeculateCapabilityNode, parent state, BranchableScope, ScopeLockManager, StepContinuationQueue, LedgerStore, LessonStore, HumanAdapter map, and step runner callback.
Type Parameters
| Type Parameter | Default type | Description |
|---|---|---|
THandle | unknown | Runtime handle type of the active BranchableScope. |
Properties
| Property | Modifier | Type | Description | Defined in |
|---|---|---|---|---|
argsJson | readonly | string | Raw JSON arguments passed to the .speculate() tool call. | runtime/speculate/speculate-tournament-params.ts:43 |
branchableScope | readonly | BranchableScope<THandle, Record<string, unknown>, Record<string, unknown>> | Active BranchableScope driver. | runtime/speculate/speculate-tournament-params.ts:49 |
callId | readonly | string | Wire-level tool callId of the .speculate() invocation. | runtime/speculate/speculate-tournament-params.ts:31 |
capability | readonly | SpeculateCapabilityNode<unknown, unknown, unknown, unknown, THandle, unknown, unknown> | Matched SpeculateCapabilityNode. | runtime/speculate/speculate-tournament-params.ts:33 |
continuationQueue | readonly | StepContinuationQueue | Per-stepExecId serialized continuation stack queue. | runtime/speculate/speculate-tournament-params.ts:53 |
ctx | readonly | StepExecutionContext<THandle> | Step execution context of the parent actor (ctx.scopeHandle is parentHandle). | runtime/speculate/speculate-tournament-params.ts:65 |
executeChildStep? | readonly | (childNode, childInput, childCtx) => Promise<ChildForkExecutionOutcome<unknown>> | Optional callback executing a branch worker, sole-survivor evaluator, arbiter, or refinement step. | runtime/speculate/speculate-tournament-params.ts:67 |
existingTournamentFrame? | readonly | SpeculateContinuationFrame | Optional existing SpeculateContinuationFrame when recovering mid-tournament. | runtime/speculate/speculate-tournament-params.ts:47 |
humanAdaptersById? | readonly | ReadonlyMap<string, HumanAdapter> | Map of HumanAdapter instances keyed by humanNode.id for 'unpark-escalation'. | runtime/speculate/speculate-tournament-params.ts:63 |
ledgerStore | readonly | LedgerStore | Durable LedgerStore instance. | runtime/speculate/speculate-tournament-params.ts:55 |
lessonStore? | readonly | LessonStore | Optional LessonStore flushed strictly for the winning branch after WINNER_COMMITTED. | runtime/speculate/speculate-tournament-params.ts:57 |
lockManager | readonly | ScopeLockManager | Shared-read / exclusive-write lock manager for parentHandle. | runtime/speculate/speculate-tournament-params.ts:51 |
modelDriver? | readonly | ModelDriver | Optional ModelDriver used for conflict-bounce note injection. | runtime/speculate/speculate-tournament-params.ts:59 |
outerFrames | readonly | readonly ContinuationFrame[] | Outer continuation frames prefixing SpeculateContinuationFrame. | runtime/speculate/speculate-tournament-params.ts:45 |
parentInput | readonly | unknown | Validated parent input payload. | runtime/speculate/speculate-tournament-params.ts:29 |
parentNode | readonly | AgentNode<unknown, unknown, THandle> | Parent AgentNode launching the tournament. | runtime/speculate/speculate-tournament-params.ts:27 |
wirePrefix? | readonly | CompiledWirePrefix | Optional pinned CompiledWirePrefix. | runtime/speculate/speculate-tournament-params.ts:61 |