rulvar API reference / @rulvar/plan / canonicalPlanState
Function: canonicalPlanState()
ts
function canonicalPlanState(plan): Record<string, unknown>;Defined in: packages/plan/src/plan-hash.ts:48
The canonical JSON projection of PlanState: nodes sorted by NodeId plus the guard fold counters, nothing else.
Parameters
| Parameter | Type |
|---|---|
plan | TaskPlan |
Returns
Record<string, unknown>