Skip to main content

mockforge_core/reality_continuum/
mod.rs

1//! Pillars: [Reality]
2//!
3//! Reality Continuum - Dynamic blending of mock and real data sources
4//!
5//! This module provides functionality to gradually transition from mock to real backend
6//! data by intelligently blending responses from both sources. This enables teams to
7//! develop and test against a real backend that's still under construction.
8
9pub mod blender;
10pub mod config;
11pub mod engine;
12pub mod field_mixer;
13pub mod merge_strategy;
14pub mod schedule;
15
16/// `ResponseGenerationTrace` and friends were promoted to
17/// [`mockforge_foundation::response_generation_trace`] so that
18/// `mockforge-openapi` can hold traces without depending on `mockforge-core`.
19/// This module re-exports them under their legacy path for backwards
20/// compatibility.
21pub mod response_trace {
22    pub use mockforge_foundation::response_generation_trace::*;
23}
24
25pub use blender::ResponseBlender;
26pub use config::{ContinuumConfig, ContinuumRule, MergeStrategy, TransitionMode};
27pub use engine::RealityContinuumEngine;
28pub use field_mixer::{EntityRealityRule, FieldPattern, FieldRealityConfig, RealitySource};
29pub use response_trace::{
30    BlendingDecision, FieldBlendingDecision, PersonaGraphNodeUsage, ResponseGenerationTrace,
31    RuleExecution, TemplateExpansion,
32};
33pub use schedule::{TimeSchedule, TransitionCurve};