Function: executeSpawnTasks()
ts
function executeSpawnTasks<THandle>(params): Promise<PlanMutationResult>;Defined in: runtime/plan/execute-plan-mutation.ts:221
Executes the spawnTasks capability tool with linear prerequisite chaining ($T_{\text{prevTip}} \leftarrow T_1 \leftarrow \dots \leftarrow T_k \leftarrow T_{\text{parent}}$) (SPEC.md §3.7.2).
Enforces maxSpawnedPerRun, applies enforcePatch, computes 'inherit-parent-with-boost' priority, commits LedgerStore.mutateLanePlan(), and suspends the parent run with headScopeCheckpoint.
Type Parameters
| Type Parameter | Default type | Description |
|---|---|---|
THandle | unknown | Runtime handle type of the active isolation scope. |
Parameters
| Parameter | Type | Description |
|---|---|---|
params | PlanMutationParams<THandle> | Plan mutation parameters and task list. |
Returns
Promise<PlanMutationResult>
Chained prerequisite keys and suspension metadata.