Skip to content

rulvar API reference


rulvar API reference / @rulvar/core / ResumeOptions

Interface: ResumeOptions

Defined in: packages/core/src/engine/engine.ts:209

Properties

PropertyTypeDescriptionDefined in
args?unknownThe run's original arguments: not journaled for in-process workflows in v1, so the host supplies them (resume binding residuals).packages/core/src/engine/engine.ts:214
dryRun?booleanDry-run: replay-strict matching; the first would-be-live call throws JournalMissError and the run settles with that typed error, zero live calls performed.packages/core/src/engine/engine.ts:220
invalidate?number[]invalidate/retry: entries to unpin before matching.packages/core/src/engine/engine.ts:222
lease?LeaseQueue mode: the worker's lease. The engine carries it on EVERY journal append of this resume (the kernel's single append site), so a stale worker's writes are rejected by the fencing epoch and never become visible (M8 entry amendment; DEF-6; FR-703). putMeta and transcript blobs stay advisory and unfenced.packages/core/src/engine/engine.ts:231