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
| Property | Type | Inherited from | Defined in |
|---|---|---|---|
badBaseStreak | number | - | packages/plan/src/plan-entries.ts:263 |
doneRefs | Record<NodeId, EntryRef> | - | packages/plan/src/plan-entries.ts:264 |
plan | TaskPlan | PlanWorking.plan | packages/plan/src/plan-entries.ts:247 |
specs | Readonly<Record<NodeId, TaskSpec>> | PlanWorking.specs | packages/plan/src/plan-entries.ts:248 |