Function: executeLocalCommandCheck()
ts
function executeLocalCommandCheck<THandle>(
node,
_input,
ctx
): Promise<CheckEvaluationResult>;Defined in: node/src/executors/local-command-executors.ts:115
Executes a LocalCommandCheckNode (type: 'node:command-check') as a deterministic check gate.
Returns { ok: true, deficits: [] } when the underlying command exits with code 0, or captures the error message as a deficit when the command fails.
Type Parameters
| Type Parameter | Default type | Description |
|---|---|---|
THandle | unknown | Runtime handle type of the active isolation scope. |
Parameters
| Parameter | Type | Description |
|---|---|---|
node | LocalCommandCheckNode<THandle> | Passive command check AST node. |
_input | unknown | Unused check input parameter. |
ctx | StepExecutionContext<THandle> | Active step execution context. |
Returns
Promise<CheckEvaluationResult>
Check evaluation outcome and deficit messages.