mockforge_core/consistency/
mod.rs

1//! Cross-protocol consistency engine
2//!
3//! This module provides a unified state model that ensures all protocols
4//! (HTTP, GraphQL, gRPC, WebSocket, TCP, webhooks) reflect the same underlying
5//! state for a given scenario/persona. This creates a coherent world where
6//! the frontend feels like it's talking to one unified backend.
7
8pub mod adapters;
9pub mod engine;
10pub mod persona_graph_response;
11pub mod state_model_registry;
12pub mod types;
13
14pub use engine::ConsistencyEngine;
15pub use persona_graph_response::{
16    enrich_order_response, enrich_response_via_graph, enrich_user_response,
17    get_user_orders_via_graph,
18};
19pub use state_model_registry::StateModelRegistry;
20pub use types::{
21    EntityState, PersonaProfile, ProtocolState, SessionInfo, StateChangeEvent, UnifiedState,
22};