Skip to content

Interface: PolicyLimitExceededConfig<THandle> ​

Defined in: ast/policy-node.ts:13

Epistemic flush and abort hook configuration executed when a quantitative policy limit or tripwire is breached.

Forces a final tool-disabled (toolChoice: 'none') structured-output turn against flushInterrupt.schema before executing abortHook and raising flushInterrupt upward.

Type Parameters ​

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

Properties ​

PropertyModifierTypeDescriptionDefined in
abortHook?readonlyAbortHookASTNode<THandle, Record<string, unknown>>Optional abort hook executed after the epistemic flush turn completes.ast/policy-node.ts:17
flushInterruptreadonlyInterruptNode<unknown>Interrupt flushed via a final toolChoice: 'none' structured-output turn before aborting.ast/policy-node.ts:15

Released under the MIT License.