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
| Property | Modifier | Type | Description | Defined in |
|---|---|---|---|---|
allowed | readonly | boolean | True when all proposed effects are permitted by this guard or covered by an active lease. | ports/runtime-executor-registry.ts:140 |
violatedEffects | readonly | readonly ToolEffect[] | Subset of proposed effects that violated the guard and were not covered by any active lease. | ports/runtime-executor-registry.ts:142 |
violationSummary | readonly | string | Human- and model-readable explanation of the policy violation. | ports/runtime-executor-registry.ts:144 |