Skip to content

rulvar API reference


rulvar API reference / @rulvar/plan / rebasePlanRevision

Function: rebasePlanRevision()

ts
function rebasePlanRevision(request, context): RebaseEvaluation;

Defined in: packages/plan/src/rebase.ts:89

Steps 2-4 of the committed algorithm: base validation, sequential per-op conflict resolution against the mutating head, and the post-revision counter update. Pure: the caller owns the lock, the append, and every effect.

Parameters

ParameterType
requestPlanReviseRequest
contextRebaseContext

Returns

RebaseEvaluation