Skip to content

rulvar API reference


rulvar API reference / @rulvar/plan / PlanFoldState

Interface: PlanFoldState

Defined in: packages/plan/src/plan-entries.ts:262

The plan fold state: the working state plus fold-side records that deliberately stay OUT of planHash. badBaseStreak reconciles two normative clauses: a bad_base revision leaves the hashed state byte-identical (planHashAfter == planHashBefore) yet still lengthens the guard streak: the guards therefore consume effectiveDroppedStreak, the hashed counter plus the trailing bad_base entries. doneRefs remembers which entry resolved each done node so waive_dep drops can point blockingRef at it.

Extends

Properties

PropertyTypeInherited fromDefined in
badBaseStreaknumber-packages/plan/src/plan-entries.ts:263
doneRefsRecord<NodeId, EntryRef>-packages/plan/src/plan-entries.ts:264
planTaskPlanPlanWorking.planpackages/plan/src/plan-entries.ts:247
specsReadonly<Record<NodeId, TaskSpec>>PlanWorking.specspackages/plan/src/plan-entries.ts:248