Skip to content

Interface: PolicyGuardEvaluationResult ​

Defined in: ports/runtime-executor-registry.ts:138

Result returned by a PolicyGuardASTNode executor in RuntimeExecutorRegistry.policyGuards.

Reports whether the proposed tool effects are permitted and lists any uncovered violated effects.

Properties ​

PropertyModifierTypeDescriptionDefined in
allowedreadonlybooleanTrue when all proposed effects are permitted by this guard or covered by an active lease.ports/runtime-executor-registry.ts:140
violatedEffectsreadonlyreadonly ToolEffect[]Subset of proposed effects that violated the guard and were not covered by any active lease.ports/runtime-executor-registry.ts:142
violationSummaryreadonlystringHuman- and model-readable explanation of the policy violation.ports/runtime-executor-registry.ts:144

Released under the MIT License.