Skip to main content

orchestrator_config/
lib.rs

1//! Configuration models, loading, and validation for the Agent Orchestrator.
2//!
3//! This crate provides the pure data types and validation logic used by the
4//! orchestrator core, CLI, and daemon.  It intentionally avoids runtime
5//! dependencies (async, database, process spawning) so that configuration
6//! changes do not trigger recompilation of the scheduler or persistence layers.
7#![cfg_attr(
8    not(any(test, feature = "test-harness")),
9    deny(clippy::panic, clippy::unwrap_used, clippy::expect_used)
10)]
11#![deny(missing_docs)]
12#![deny(clippy::undocumented_unsafe_blocks)]
13
14/// Adaptive planner configuration data types.
15pub mod adaptive;
16/// K8s-style declarative resource types shared by the CLI surface.
17pub mod cli_types;
18/// Configuration model types.
19pub mod config;
20/// CRD scope enum.
21pub mod crd_scope;
22/// CRD data types (definitions, resources, manifests).
23pub mod crd_types;
24/// Dynamic step configuration data types.
25pub mod dynamic_step;
26/// Environment resolution utilities for command execution.
27pub mod env_resolve;
28/// Plugin security policy — controls which CRD plugin commands are permitted.
29pub mod plugin_policy;
30/// Unified resource store and apply-result types.
31pub mod resource_store;
32/// Agent selection strategy and scoring weight types.
33pub mod selection;