Rulvar API reference / @rulvar/core / reduceDecisionChain
Function: reduceDecisionChain()
ts
function reduceDecisionChain(entries): DecisionChainRow[];Defined in: packages/core/src/l0/decision-chain.ts:92
Folds a run's entries into its decision chain: the seq-ordered authority records only. Input order is not trusted; rows sort by seq ascending, the journal's own total order.
Parameters
| Parameter | Type |
|---|---|
entries | readonly JournalEntry[] |