Skip to main content

ito_domain/
lib.rs

1//! Domain models and repositories for Ito.
2//!
3//! `ito-domain` defines the stable "shape" of Ito data (modules, changes, tasks,
4//! plans) and provides repository abstractions for reading and writing the
5//! on-disk representation.
6//!
7//! Consumers should prefer repository APIs over direct file I/O so storage
8//! formats can evolve without rewriting higher-level logic.
9
10#![warn(missing_docs)]
11
12/// Backend coordination ports (lease, sync, read) for the backend API.
13pub mod backend;
14
15/// Change definitions and computed status.
16pub mod changes;
17
18/// Domain-level error types.
19pub mod errors;
20
21/// Project discovery and filesystem traversal.
22pub mod discovery;
23
24/// Module definitions and dependency graph helpers.
25pub mod modules;
26
27/// Planning primitives and execution plan construction.
28pub mod planning;
29
30/// Task models and task list parsing.
31pub mod tasks;
32
33/// Audit event domain types and pure functions.
34pub mod audit;
35
36/// Serde schema types for workflow definitions, plans, and execution state.
37///
38/// Re-exported from the former `ito-schemas` crate.
39pub mod schemas;