Journal-backed manual intervention controls.
This module resolves manual pause boundaries by appending run-thread facts. The dispatch thread is updated only after the run thread contains the durable resolution and any successor runnable intent.
Summary
Functions
Approves a journal-paused :approval step and schedules its success path.
Rejects a journal-paused :approval step and schedules its rejection path.
Resumes a journal-paused :pause step and schedules its successor.
Types
Functions
@spec approve(String.t(), map(), keyword()) :: {:ok, Squidie.ReadModel.Inspection.Snapshot.t()} | {:error, control_error()}
Approves a journal-paused :approval step and schedules its success path.
@spec reject(String.t(), map(), keyword()) :: {:ok, Squidie.ReadModel.Inspection.Snapshot.t()} | {:error, control_error()}
Rejects a journal-paused :approval step and schedules its rejection path.
@spec resume(String.t(), map(), keyword()) :: {:ok, Squidie.ReadModel.Inspection.Snapshot.t()} | {:error, control_error()}
Resumes a journal-paused :pause step and schedules its successor.