mockforge_core/consistency/
mod.rs

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