Skip to content

Interface: BasePolicyGuardASTNode<TType> ​

Defined in: ast/base/base-policy-guard-ast-node.ts:9

Domain-agnostic base AST node contract for pre-flight and post-flight policy guards (PolicyGuardASTNode).

Evaluated by RuntimeExecutorRegistry.policyGuards[node.type] over ToolEffect descriptors and active capability leases (LeaseDelta).

Extended by ​

Type Parameters ​

Type ParameterDefault typeDescription
TType extends stringstringString-literal discriminant of the policy guard node.

Properties ​

PropertyModifierTypeDescriptionDefined in
idreadonlystringLogical identifier of the guard instance.ast/base/base-policy-guard-ast-node.ts:13
typereadonlyTTypeUnique string-literal discriminant of the policy guard node.ast/base/base-policy-guard-ast-node.ts:11

Released under the MIT License.