pub struct LoopConfig {Show 17 fields
pub name: String,
pub version: String,
pub description: String,
pub information: Vec<InfoItem>,
pub pre_execution: Vec<WorkItem>,
pub goals: Vec<Goal>,
pub validations: Vec<Validation>,
pub success: Vec<SuccessScenario>,
pub stop_gates: StopGates,
pub schedules: Vec<Trigger>,
pub constraints: Constraints,
pub execution_guidelines: ExecutionGuidelines,
pub default_skills: Vec<DefaultSkill>,
pub graph: GraphSpec,
pub providers: ProviderRouting,
pub skills: SkillPolicy,
pub context: ContextPolicy,
}Fields§
§name: StringLoop identity. Becomes the generated skill name.
version: String§description: String§information: Vec<InfoItem>A — static context every node receives.
pre_execution: Vec<WorkItem>B — the manual work that must happen before automation is allowed.
goals: Vec<Goal>C — named goals.
validations: Vec<Validation>D — how each goal is checked.
success: Vec<SuccessScenario>E — what counts as success.
stop_gates: StopGatesF — the layered exits.
schedules: Vec<Trigger>G — time and event triggers.
constraints: ConstraintsH — constraints applied per node or globally.
execution_guidelines: ExecutionGuidelinesI — named phases with their own standing instruction and ordering.
default_skills: Vec<DefaultSkill>J — sub-agents installed before the loop starts.
graph: GraphSpecExecution graph. Nodes are units of work; edges are real dependencies.
providers: ProviderRoutingProvider routing. Every provider is a command template, so any CLI or HTTP endpoint reachable from a shell is usable without a Rust change.
skills: SkillPolicySub-agent acquisition policy.
context: ContextPolicyHow much of the previous iterations each prompt carries.
Implementations§
Source§impl LoopConfig
impl LoopConfig
pub fn goal_names(&self) -> Vec<&str>
pub fn blocking_validations_for(&self, target: &str) -> Vec<&Validation>
pub fn provider(&self, id: &str) -> Option<&ProviderSpec>
Sourcepub fn cascade_for(&self, tier: Tier) -> Vec<&ProviderSpec>
pub fn cascade_for(&self, tier: Tier) -> Vec<&ProviderSpec>
Resolve a tier to the ordered list of provider ids to try.
Trait Implementations§
Source§impl Clone for LoopConfig
impl Clone for LoopConfig
Source§fn clone(&self) -> LoopConfig
fn clone(&self) -> LoopConfig
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more