pub struct LoopConfig {Show 21 fields
pub max_iterations: u32,
pub time_budget_secs: u64,
pub cooldown_secs: u64,
pub halt_urgency_threshold: f64,
pub max_retries_per_target: u32,
pub allow_advisory_only_steps: bool,
pub scope: Scope,
pub workspace_path: String,
pub memory_dir: String,
pub forge_db_path: String,
pub include_hyperedges: bool,
pub oracle_max_iterations: u32,
pub minimal_perturbation_budget: usize,
pub observation_import_limit: usize,
pub observation_projection_limit: usize,
pub runtime_config: RuntimeConfig,
pub forge_config: ForgeConfig,
pub patch_plan_seeds: Vec<PatchPlanSeed>,
pub policy_snapshots: Vec<PolicySnapshot>,
pub approval_records: Vec<ApprovalRecord>,
pub calibration_abstention_threshold_micros: u64,
}Expand description
Full configuration for an OODA loop run.
Includes budget limits, scope identity, workspace paths, runtime and Forge engine settings, policy snapshots, and optional patch seeds.
Fields§
§max_iterations: u32§time_budget_secs: u64§cooldown_secs: u64§halt_urgency_threshold: f64§max_retries_per_target: u32§allow_advisory_only_steps: bool§scope: Scope§workspace_path: String§memory_dir: String§forge_db_path: String§include_hyperedges: bool§oracle_max_iterations: u32§minimal_perturbation_budget: usize§observation_import_limit: usize§observation_projection_limit: usize§runtime_config: RuntimeConfig§forge_config: ForgeConfig§patch_plan_seeds: Vec<PatchPlanSeed>§policy_snapshots: Vec<PolicySnapshot>§approval_records: Vec<ApprovalRecord>§calibration_abstention_threshold_micros: u64Implementations§
Source§impl LoopConfig
impl LoopConfig
Sourcepub fn default_for_scope(
scope: Scope,
workspace_path: impl Into<String>,
) -> Self
pub fn default_for_scope( scope: Scope, workspace_path: impl Into<String>, ) -> Self
Builds the default loop configuration for a scope and workspace path.
Sourcepub fn patch_seed_for(&self, target_key: &str) -> Option<&PatchPlanSeed>
pub fn patch_seed_for(&self, target_key: &str) -> Option<&PatchPlanSeed>
Returns the configured patch seed for a target key, if one exists.
Trait Implementations§
Source§impl Clone for LoopConfig
impl Clone for LoopConfig
Source§fn clone(&self) -> LoopConfig
fn clone(&self) -> LoopConfig
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for LoopConfig
impl Debug for LoopConfig
Auto Trait Implementations§
impl Freeze for LoopConfig
impl RefUnwindSafe for LoopConfig
impl Send for LoopConfig
impl Sync for LoopConfig
impl Unpin for LoopConfig
impl UnsafeUnpin for LoopConfig
impl UnwindSafe for LoopConfig
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more