Rulvar API reference / @rulvar/core / TerminationLimits
Interface: TerminationLimits
Defined in: packages/core/src/journal/termination.ts:34
The frozen limits vector written into termination.init.
Properties
| Property | Type | Description | Defined in |
|---|---|---|---|
finalizeReserveUsd | number | The finalize reserve carved out of the cap; 0 in pre-v1.8 journals. | packages/core/src/journal/termination.ts:61 |
kMax | number | Maximum declared ladder length per the profile-registry snapshot. | packages/core/src/journal/termination.ts:44 |
maxDepth | number | D0, default 1, ceiling 4; static per-branch limit. | packages/core/src/journal/termination.ts:42 |
maxEscalationsPerLogicalTask | number | E0, default 2, per lineage; the old name is rejected (XF-10). | packages/core/src/journal/termination.ts:40 |
maxRevisionsPerRun | number | V0, default 32; absolute and non-replenishable. | packages/core/src/journal/termination.ts:36 |
maxTotalSpawns | number | S0, default 128; debited on every admitted spawn of any origin. | packages/core/src/journal/termination.ts:38 |
orchestratorCapUsd | number | The 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/src/journal/termination.ts:59 |
runBudgetUsdCeiling | number | B0 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/src/journal/termination.ts:52 |