Skip to content

Rulvar API reference


Rulvar API reference / @rulvar/core / reconcileRunMeta

Function: reconcileRunMeta()

ts
function reconcileRunMeta(
   store, 
   runId, 
opts?): Promise<ReconcileResult>;

Defined in: packages/core/src/stores/reconcile.ts:1039

Repairs a divergent meta row from the journal: 'meta-behind' and 'stranded' audits rewrite status (every other meta field, unknown fields included, is preserved byte for byte), 'suspect' and 'consistent' audits change nothing. Zero model calls, no workflow needed; the crash residue between a settle's journal flush and its meta write repairs without resuming the run at all.

Parameters

ParameterType
storeJournalStore
runIdstring
opts?ReconcileOptions

Returns

Promise&lt;ReconcileResult&gt;