Skip to main content

sim_lib_openai_server/plan/
mod.rs

1//! Plan subsystem: parsing, checking, and evaluating SIM plan expressions that
2//! orchestrate model atoms through combinators such as race, fallback, chain,
3//! verify, debate, and cache.
4
5/// Atom address resolution into backend descriptors.
6pub mod address;
7/// The plan combinator table and its metadata.
8pub mod combinators;
9/// Plan evaluation against a model request, producing a response and event trace.
10pub mod eval;
11pub(crate) mod eval_context;
12mod eval_helpers;
13pub(crate) mod fixtures;
14/// Parser turning the textual plan surface syntax into plan expressions.
15pub mod parse;
16/// Structural plan validation, limits, and explanation.
17pub mod shape;
18
19pub use address::{BackendDescriptor, resolve_atom_address};
20pub use combinators::{PlanCombinator, plan_combinators, plan_combinators_expr, plan_symbol};
21pub use eval::{
22    PlanEvalEvent, PlanEvalReport, eval_plan, eval_plan_report, eval_plan_report_with_cache,
23    eval_plan_report_with_cache_and_runners, eval_plan_report_with_cache_runners_and_federation,
24    eval_plan_report_with_federation,
25};
26pub use parse::parse_plan;
27pub use shape::{PlanLimits, check_plan, check_plan_with_limits, explain_plan};