Skip to content

Function: executeAddDependencies() ​

ts
function executeAddDependencies<THandle>(params): Promise<PlanMutationResult>;

Defined in: runtime/plan/execute-plan-mutation.ts:311

Executes the addDependencies capability tool to register existing lane items as prerequisites (SPEC.md §3.7.2).

Validates acyclicity and maxPrerequisiteDepth in LedgerStore.mutateLanePlan() and suspends the parent step if any added prerequisite has not yet reached a terminal state.

Type Parameters ​

Type ParameterDefault typeDescription
THandleunknownRuntime handle type of the active isolation scope.

Parameters ​

ParameterTypeDescription
paramsPlanMutationParams<THandle>Plan mutation parameters and dependency item keys.

Returns ​

Promise<PlanMutationResult>

Added dependency keys and suspension status.

Released under the MIT License.