Skip to content

Interface: EscalateLeaseElevationConfig<TResponse> ​

Defined in: ast/escalate-capability-node.ts:15

Conditional capability lease elevation rule evaluated when a human authority responds to an .escalate() request.

Evaluates predicate(decision) and, when true, applies leaseMapper(decision) to the calling agent's active capability lease set before resuming the turn loop.

Type Parameters ​

Type ParameterDefault typeDescription
TResponseunknownValidated human decision response type.

Properties ​

PropertyModifierTypeDescriptionDefined in
leaseMapperreadonlyBivariantCallback<[decision: TResponse], LeaseDelta>Synchronous mapper constructing the LeaseDelta granted to the calling agent.ast/escalate-capability-node.ts:19
predicatereadonlyBivariantCallback<[decision: TResponse], boolean>Synchronous predicate testing whether the human decision grants a capability lease.ast/escalate-capability-node.ts:17

Released under the MIT License.