Skip to content

Rulvar API reference


Rulvar API reference / @rulvar/rulvar / claimJudgeStageOf

Function: claimJudgeStageOf()

ts
function claimJudgeStageOf(label): "draft" | "final" | undefined;

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

Which pass a claim-consistency judge label names (RV3404): the exact CLAIM_JUDGE_LABEL is the draft pass, and every suffixed variant is a post draft pass over the composed document (today the final pass and the repair round's re-judge, both dispatching under -final, RV2509/RV3307). undefined for every other label. One classifier for both reducers, the RV3302 doctrine extended from the judge predicate to the stage: the split must never read differently off the live stream and off the journal of one run.

Parameters

ParameterType
labelstring | undefined

Returns

"draft" | "final" | undefined