Skip to content

Interface: InterruptEdgeResolution<THandle> ​

Defined in: runtime/agent/interrupt-edge-resolution.ts:12

Outcome returned by resolveInterruptEdge() when handling a policy, voluntary, or child interrupt (SPEC.md §3.5 & §3.6).

Distinguishes in-band resumption (status: 'resumed'), step replacement (status: 'replace'), and upward propagation (status: 'unhandled').

Type Parameters ​

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

Properties ​

PropertyModifierTypeDescriptionDefined in
abortMeta?readonlyRecord<string, unknown>Optional abort metadata produced by P.policy.onLimitExceeded cleanup (SPEC.md §3.9).runtime/agent/interrupt-edge-resolution.ts:26
feedback?readonlystringFeedback string returned by .resumeWith(...) when status === 'resumed'.runtime/agent/interrupt-edge-resolution.ts:16
grantedLeasesreadonlyreadonly LeaseDelta[]Capability leases granted by .elevateLeaseWhen(...) during adjudication.runtime/agent/interrupt-edge-resolution.ts:18
interruptIdreadonlystringRaised interrupt identifier.runtime/agent/interrupt-edge-resolution.ts:22
isLimitExceeded?readonlybooleanTrue when this resolution originated from a .onLimitExceeded() epistemic flush sequence.runtime/agent/interrupt-edge-resolution.ts:28
payloadreadonlyunknownValidated interrupt payload.runtime/agent/interrupt-edge-resolution.ts:24
replaceHandler?readonlyInterruptHandlerNode<unknown, unknown, THandle>Matched .replaceWith(...) handler when status === 'replace'.runtime/agent/interrupt-edge-resolution.ts:20
statusreadonly"replace" | "resumed" | "unhandled"Resolution status of the interrupt edge.runtime/agent/interrupt-edge-resolution.ts:14

Released under the MIT License.