Skip to content

Rulvar API reference


Rulvar API reference / @rulvar/core / RepairLedger

Interface: RepairLedger

Defined in: packages/core/src/stores/repair-ledger.ts:90

The workflow-wide repair aggregate (RV4002).

Properties

PropertyTypeDescriptionDefined in
compositionnumberGranted mechanical repairs inside composition invocations, the round's own included.packages/core/src/stores/repair-ledger.ts:94
draftnumberDraft-gate rejections (each granted the loop's next attempt).packages/core/src/stores/repair-ledger.ts:92
roundsreadonly RepairLedgerRound[]One row per counted repair, in seq order. Semantic rounds carry their own rows since RV4105 (stage 'semantic', with the trigger when the journal stamped one), so their wires have a home and semantic: 2 is decomposable without cross-reading metas.packages/core/src/stores/repair-ledger.ts:105
semanticnumberDispatched semantic repair rounds (RV3307).packages/core/src/stores/repair-ledger.ts:96
totalnumberdraft + composition + semantic.packages/core/src/stores/repair-ledger.ts:98
unstagedVerdictsnumberFinish-validation 'repair' verdicts with no journaled stage: the journal predates RV4002, so the buckets above are a FLOOR, not the workflow answer. Zero on every journal this engine writes.packages/core/src/stores/repair-ledger.ts:111