Function: executeSpeculateTournament()
ts
function executeSpeculateTournament<THandle>(params): Promise<SpeculateTournamentResult>;Defined in: runtime/speculate/execute-speculate-tournament.ts:342
Executes a parallel .speculate() tournament across $B$ isolated branch scopes (SPEC.md §3.7.2 Capability 2).
Races $B$ branch workers in parallel, parks branches hitting exogenous human escalations or upward interrupts as PARKED_ON_ESCALATION, evaluates Post-Race Cases 1–4, runs crossVerifier and arbiter with built-in candidate index validation, supports non-destructive 'unpark-escalation', and commits the winning branch.
Type Parameters
| Type Parameter | Default type | Description |
|---|---|---|
THandle | unknown | Runtime handle type of the active BranchableScope. |
Parameters
| Parameter | Type | Description |
|---|---|---|
params | SpeculateTournamentParams<THandle> | Speculative tournament parameters. |
Returns
Promise<SpeculateTournamentResult>
Tournament tool result and final SpeculateContinuationFrame.