Skip to content

Interface: PostFlightSandboxParams<THandle> ​

Defined in: runtime/policy/post-flight-sandbox-params.ts:17

Parameters for executing a tool with effectTracking === 'subprocess-post-flight' (SPEC.md §3.5).

Supplies the tool node, driver, call record, parsed arguments, CheckpointableScope, active policy, capability leases, and a persistence callback for inFlightPreToolCheckpoint.

Type Parameters ​

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

Properties ​

PropertyModifierTypeDescriptionDefined in
activeLeasesreadonlyreadonly LeaseDelta[]Active capability leases (agent-frame.activeLeases unioned with loop-frame.grantedLoopLeases).runtime/policy/post-flight-sandbox-params.ts:31
callRecordreadonlyRemainingToolCallRecordWire-level tool call record being executed.runtime/policy/post-flight-sandbox-params.ts:23
checkpointScopereadonlyCheckpointableScope<THandle, Record<string, unknown>>Active CheckpointableScope driver supporting serializeCheckpoint, restoreCheckpoint, and diffEffects.runtime/policy/post-flight-sandbox-params.ts:27
ctxreadonlyStepExecutionContext<THandle>Step execution context providing scopeHandle, registry, and recordEffects.runtime/policy/post-flight-sandbox-params.ts:33
parsedArgsreadonlyunknownParsed JSON arguments passed to toolDriver.execute().runtime/policy/post-flight-sandbox-params.ts:25
persistInFlightCheckpointreadonly(checkpoint) => Promise<void>Async callback that durably persists or clears inFlightPreToolCheckpoint in LedgerStore before/after execution.runtime/policy/post-flight-sandbox-params.ts:35
policyreadonlyPolicyNode<THandle> | undefinedOptional PolicyNode evaluated post-flight over diffEffects.runtime/policy/post-flight-sandbox-params.ts:29
toolDriverreadonlyToolDriver<BuiltInToolASTNode<THandle>, THandle>Registered ToolDriver for toolNode.type.runtime/policy/post-flight-sandbox-params.ts:21
toolNodereadonlyBuiltInToolASTNode<THandle>Passive tool AST node with effectTracking === 'subprocess-post-flight'.runtime/policy/post-flight-sandbox-params.ts:19

Released under the MIT License.