Skip to main content

macp_modes/
lib.rs

1//! `macp-modes` — the MACP coordination mode implementations.
2//!
3//! Contains the [`mode`] layer (the `Mode` trait and the decision, proposal,
4//! task, handoff, quorum, multi_round, and passthrough modes) and the
5//! [`mode_registry`]. Modes evaluate governance through an injected
6//! [`macp_core::PolicyEvaluator`]; this crate has no dependency on any concrete
7//! policy engine, so a consumer can drive MACP coordination with its own
8//! evaluator. Transport-free — no tonic, storage, or async runtime beyond the
9//! registry's change-notification channel.
10
11pub mod mode;
12pub mod mode_registry;
13pub mod step;