Skip to main content

Module types

Module types 

Structs§

DeterministicRunState
Persisted state for a deterministic workflow run, enabling resume after interruption. Serialized to a JSON file alongside the SOP.
DeterministicSavings
Tracks how many LLM round-trips were saved by deterministic execution.
FilesystemEventKindIter
An iterator over the variants of FilesystemEventKind
PlannedToolCall
An authored tool invocation planned for a step. Args may embed {{steps.N.path}} / {{calls.K.path}} bindings (see sop::binding) that resolve against captured run data before dispatch. pinned carries a sample output (typically lifted from a real run’s StepToolCall.output_data) so downstream bindings can be authored and previewed without re-executing the tool.
Sop
A complete Standard Operating Procedure definition.
SopEvent
An incoming event that may trigger one or more SOPs.
SopManifest
Top-level SOP.toml structure.
SopMeta
The [sop] table in SOP.toml.
SopRun
A full SOP execution run (from trigger to completion).
SopRunSummary
Lightweight projection of a run for list surfaces (Runs page). Carries just enough to render a row and open the per-run overlay, without the full step-result payload.
SopStep
A single step in an SOP procedure, parsed from SOP.md.
SopStepResult
Result of executing a single SOP step.
SopTriggerSourceIter
An iterator over the variants of SopTriggerSource
StepPos
Persisted canvas coordinate for a step node. Written by the Blueprint editor when a node is dragged; never edited in the step-definition form.
StepPosition
One step’s persisted canvas coordinate in SOP.toml.
StepSchema
JSON Schema fragment for validating step input/output data. Stored as a raw serde_json::Value so callers can validate without pulling in a full JSON Schema library.
StepToolCall
One tool invocation captured during a step’s execution. A step may make any number of calls (including the same tool repeatedly); index preserves invocation order so authoring surfaces can replay the sequence and map data between calls.

Enums§

FilesystemEventKind
A normalized filesystem change kind reported by the watcher.
SopAdmission
A2: the outcome of evaluating a matched trigger against a SOP’s SopAdmissionPolicy. Advisory - Admit still passes through the authoritative CAS start_run; the non-admit variants are surfaced by the dispatch layer (logged + carried on DispatchResult) so a trigger is never silently lost.
SopAdmissionPolicy
How concurrent triggers are handled when a SOP’s execution slots are full. A run parked at a HITL approval releases its slot (A1), so this governs the remaining case: too many runs actively executing at once. No variant ever silently drops a trigger except Drop, which is explicit opt-in.
SopExecutionMode
How much autonomy the agent has when executing an SOP.
SopPriority
SOP priority level, used for execution mode resolution and scheduling.
SopRunAction
What the engine instructs the caller to do next after a state transition.
SopRunStatus
Status of an SOP execution run.
SopStepKind
The kind of a workflow step.
SopStepStatus
Result status of a single step execution.
SopTrigger
What event can activate an SOP.
SopTriggerSource
The source type of an incoming event that may trigger an SOP. Derived from SopTrigger; one discriminant per trigger variant.