Skip to content

Rulvar API reference


Rulvar API reference / @rulvar/rulvar / EscalationOptions

Interface: EscalationOptions

Defined in: packages/core/dist/index.d.ts

Properties

PropertyTypeDescriptionDefined in
deadlineMs?numberFlavor B suspension deadline; REQUIRED for flavor B (Appendix A).packages/core/dist/index.d.ts
defaultDecision?EscalationDecisionApplied by the timeout resolution (by: 'timeout'); REQUIRED for flavor B since RV1506: the deadline's expiry applies it, and the historical engine default of accept resolved an unattended scope escalation fail open. Declare what a timeout means ({ kind: 'cancel' } is the conservative posture); there is no engine default anymore.packages/core/dist/index.d.ts
flavor?"A" | "B"Default 'A'.packages/core/dist/index.d.ts
minSpendUsd?numberIn-run minimum spend before scope_bigger; default 0 (M3-T09). A finite number >= 0, validated before any LLM call: the gate compares spend against it, and a NaN would silently disable it.packages/core/dist/index.d.ts