Skip to content

Function: executePostFlightSandboxedTool() ​

ts
function executePostFlightSandboxedTool<THandle>(params): Promise<PostFlightSandboxResult>;

Defined in: runtime/policy/internal/execute-post-flight-sandboxed-tool.ts:17

Executes a 'subprocess-post-flight' tool inside a checkpointed sandbox (SPEC.md §3.5).

Serializes inFlightPreToolCheckpoint before running the subprocess, restores the checkpoint on throw/abort or post-flight guard rejection, and records effects only when permitted.

Type Parameters ​

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

Parameters ​

ParameterTypeDescription
paramsPostFlightSandboxParams<THandle>Post-flight sandbox parameters and checkpoint scope.

Returns ​

Promise<PostFlightSandboxResult>

Execution result and post-flight verification status.

Released under the MIT License.