Interface: EscalateCapabilityNode<TPayload, TResponse>
Defined in: ast/escalate-capability-node.ts:31
Passive AST node representing a voluntary exogenous human escalation capability ($cap.escalate(interrupt, $esc => ...)).
Exposes a synthetic capability tool named after interrupt.id that suspends the calling agent, pages the bidirectional human channel, and returns the validated TResponse in-band.
Type Parameters
| Type Parameter | Default type | Description |
|---|---|---|
TPayload | unknown | Escalation brief payload type validated by interrupt.schema. |
TResponse | unknown | Human decision response type validated by responseSchema. |
Properties
| Property | Modifier | Type | Description | Defined in |
|---|---|---|---|---|
elevateLeaseWhen? | readonly | EscalateLeaseElevationConfig<TResponse> | Optional lease elevation rule applied when the human authority approves a protected mutation. | ast/escalate-capability-node.ts:41 |
human | readonly | HumanNode<"bidirectional"> | Bidirectional human authority paged when the escalation tool is invoked. | ast/escalate-capability-node.ts:37 |
interrupt | readonly | InterruptNode<TPayload> | Interrupt definition whose schema validates the agent's escalation brief tool call. | ast/escalate-capability-node.ts:35 |
responseSchema | readonly | ZodType<TResponse> | Zod schema validating the human authority's decision response. | ast/escalate-capability-node.ts:39 |
type | readonly | "harness:escalate-capability" | Discriminant identifying an exogenous escalation capability AST node. | ast/escalate-capability-node.ts:33 |