agentd/engine/mod.rs
1// SPDX-License-Identifier: Apache-2.0
2//! The **workflow engine v3** (RFC 0027): the dialect-3 model + validation
3//! ([`model`]), templates ([`template`]), and the durable run record + pure
4//! scheduler ([`run`]). Step *execution* (turn workers, MCP calls, internal
5//! tools, timers) is the runtime's job (`crate::runtime`): the engine says
6//! what is ready and records what happened. P3 ships the model, validation
7//! and the scheduler with the core step kinds; P4 completes the catalogue
8//! (iteration, waits, child runs, start nodes beyond `once`/`manual`).
9
10pub mod data;
11pub mod model;
12pub mod run;
13pub mod template;
14
15pub use model::{Workflow, parse_workflow, workflow_schema};
16pub use run::{Next, RunState, RunStatus, StepStatus};