Rulvar API reference / @rulvar/core / RepairLedgerRound
Interface: RepairLedgerRound
Defined in: packages/core/src/stores/repair-ledger.ts:45
One counted repair, folded from its journaled verdict or dispatch (RV4002/RV4105).
Properties
| Property | Type | Description | Defined in |
|---|---|---|---|
callId? | string | The finish call id the verdict was keyed by, when journaled. | packages/core/src/stores/repair-ledger.ts:67 |
costUsd? | number | That wire priced at the caller's table; absent when unpriceable. | packages/core/src/stores/repair-ledger.ts:86 |
failedValidators | readonly string[] | The failed validator names, verbatim from the verdict. | packages/core/src/stores/repair-ledger.ts:69 |
sections? | readonly string[] | The section markers the repair actually resubmitted, when the healing attempt was a sectional splice whose acceptance journaled them (the draft gate's orchestrator_draft_gate acceptance and the RV808b finish splice both record theirs). | packages/core/src/stores/repair-ledger.ts:76 |
seq | number | The verdict decision's seq: the repair's address in the run. | packages/core/src/stores/repair-ledger.ts:65 |
stage | "draft" | "composition" | "round" | "semantic" | Which gate granted it (the draft gate, a composition invocation, or the RV3307 round's own pool), or 'semantic' for a dispatched semantic repair round itself (RV4105): the round has no verdict decision, so its row folds from the settled dispatch entry. | packages/core/src/stores/repair-ledger.ts:52 |
trigger? | "claim" | "citation" | "coverage" | "combined" | What dispatched the semantic round (RV4105): 'claim' (the RV3307 contradiction round), 'citation' (the RV4004 entailment round), 'coverage' (the RV4202 round armed by a non-'full' final grade alone), or 'combined' (one bounded round carrying more than one defect class, RV4202), read from the costAttribution.repairTrigger stamped at dispatch. Absent on non-semantic rows and on journals written before the stamp shipped (absence means NOT RECORDED, RV1209). | packages/core/src/stores/repair-ledger.ts:63 |
wireRef? | number | The repair wire's own address: the seq of the first incremental billing row after this verdict whose record carries the RV4002 wire-level phase: 'repair' stamp, in the same scope. Absent when the row has not landed (the RV2008 async posture) or predates the stamp. | packages/core/src/stores/repair-ledger.ts:84 |