Skip to content

Interface: PreFlightBatchEvalParams<THandle> ​

Defined in: runtime/policy/pre-flight-batch-eval-params.ts:15

Parameters for evaluating pre-flight policy guards across a pending tool call batch (i..k).

Supplies the active PolicyNode, remaining tool calls starting at index i, registered tool nodes, active capability leases, and step execution context.

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/pre-flight-batch-eval-params.ts:23
ctxreadonlyStepExecutionContext<THandle>Step execution context providing scopeHandle and registry.runtime/policy/pre-flight-batch-eval-params.ts:25
policyreadonlyPolicyNode<THandle> | undefinedActive policy AST node governing tool execution, or undefined when unguarded.runtime/policy/pre-flight-batch-eval-params.ts:17
remainingCallsreadonlyreadonly RemainingToolCallRecord[]Unfinished tool calls (i..k) starting with the currently inspected call at index 0.runtime/policy/pre-flight-batch-eval-params.ts:19
toolsByNamereadonlyReadonlyMap<string, BuiltInToolASTNode<THandle>>Map of tool name to passive ToolASTNode mounted on the actor or unlocked by active skills.runtime/policy/pre-flight-batch-eval-params.ts:21

Released under the MIT License.