Skip to content

Rulvar API reference


Rulvar API reference / @rulvar/rulvar / TerminationLimits

Interface: TerminationLimits

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

The frozen limits vector written into termination.init.

Properties

PropertyTypeDescriptionDefined in
finalizeReserveUsdnumberThe finalize reserve carved out of the cap; 0 in pre-v1.8 journals.packages/core/dist/index.d.ts
kMaxnumberMaximum declared ladder length per the profile-registry snapshot.packages/core/dist/index.d.ts
maxDepthnumberD0, default 1, ceiling 4; static per-branch limit.packages/core/dist/index.d.ts
maxEscalationsPerLogicalTasknumberE0, default 2, per lineage; the old name is rejected (XF-10).packages/core/dist/index.d.ts
maxRevisionsPerRunnumberV0, default 32; absolute and non-replenishable.packages/core/dist/index.d.ts
maxTotalSpawnsnumberS0, default 128; debited on every admitted spawn of any origin.packages/core/dist/index.d.ts
orchestratorCapUsdnumberThe resolved orchestrator cap in absolute USD (DEF-7; XF-09), frozen with the counters. Journals recorded before v1.8 store 0 ("not yet resolved"); for them the orchestrator_budget_reserve decision is the authority and is recovered on resume.packages/core/dist/index.d.ts
runBudgetUsdCeilingnumberB0 as frozen at genesis; no API, HITL included, tops up a live run. The vector keeps the GENESIS ceiling even when a later segment's journaled ResumeOptions.run override (RV2208) moved the enforced bound: the frozen dollars are the termination account's record, the override decision entry is the budget's.packages/core/dist/index.d.ts