Module consistency

Module consistency 

Source
Expand description

Cross-protocol consistency engine for unified state across all protocols Cross-protocol consistency engine

This module provides a unified state model that ensures all protocols (HTTP, GraphQL, gRPC, WebSocket, TCP, webhooks) reflect the same underlying state for a given scenario/persona. This creates a coherent world where the frontend feels like it’s talking to one unified backend.

Re-exports§

pub use engine::ConsistencyEngine;
pub use persona_graph_response::enrich_order_response;
pub use persona_graph_response::enrich_response_via_graph;
pub use persona_graph_response::enrich_user_response;
pub use persona_graph_response::get_user_orders_via_graph;
pub use state_model_registry::StateModelRegistry;
pub use types::EntityState;
pub use types::ProtocolState;
pub use types::SessionInfo;
pub use types::StateChangeEvent;
pub use types::UnifiedState;

Modules§

adapters
Protocol adapters for consistency engine
engine
Consistency engine implementation
persona_graph_response
Persona graph response enrichment
state_model_registry
State Model Registry
types
Types for cross-protocol consistency

Structs§

PersonaProfile
Persona profile defining a consistent data personality