pub struct EngineOptions {Show 15 fields
pub max_iterations_per_node: u32,
pub global_budget_minutes: Option<u64>,
pub max_total_iterations: Option<u32>,
pub stuck_loop_threshold: u32,
pub test_ratchet: bool,
pub role_models: HashMap<String, String>,
pub role_prefers: HashMap<String, String>,
pub worker_models: HashMap<String, String>,
pub model_ladders: HashMap<String, Vec<String>>,
pub single_family_pool: bool,
pub skill_bodies: HashMap<String, String>,
pub tool_specs: HashMap<String, ToolSpec>,
pub mcp_servers: HashMap<String, McpServerSpec>,
pub gates: Vec<NamedCheckpoint>,
pub evaluator_kind_override: Option<EvaluatorKind>,
}Expand description
Tunable limits for a run, merged from config and the plan’s own budget.
Fields§
§max_iterations_per_node: u32§global_budget_minutes: Option<u64>§max_total_iterations: Option<u32>§stuck_loop_threshold: u32Identical-failure loops before escalating to a human (CONTEXT.md §11).
test_ratchet: boolApply the test ratchet at evaluator gates by default.
role_models: HashMap<String, String>Per-role model defaults (role name → model), from config.
role_prefers: HashMap<String, String>Per-role worker pins (role name → worker name), from preferences.roles.
worker_models: HashMap<String, String>Per-worker model defaults (worker name → model), from config.
model_ladders: HashMap<String, Vec<String>>Per-worker cascade ladders (worker name → models cheap→strong), used to
escalate a node’s model on evaluator failure (CONTEXT.md §7).
single_family_pool: boolWhether the pool is single-family; if so, AI evaluators are same-family and the engine narrates that independence is limited.
skill_bodies: HashMap<String, String>Installed skill bodies (name → instruction body), resolved at run start.
A node’s skills are looked up here and injected into its prompt
(MCP_SKILLS.md §11).
tool_specs: HashMap<String, ToolSpec>MCP tool specs (id → spec) the host path offers to an API worker whose
node attaches that tool (MCP_SKILLS.md §6). A node’s tools are looked
up here to populate its ExecuteRequest.
mcp_servers: HashMap<String, McpServerSpec>MCP server connection specs (server name → spec) the provision path
provisions into a harness whose node attaches a tool from that server
(MCP_SKILLS.md §6).
gates: Vec<NamedCheckpoint>Named review gates from /human checkpoint (active session overlay).
evaluator_kind_override: Option<EvaluatorKind>When set (e.g. via /human evaluator tool|ai|human), overrides each
evaluator node’s kind at grade time.
Trait Implementations§
Source§impl Clone for EngineOptions
impl Clone for EngineOptions
Source§fn clone(&self) -> EngineOptions
fn clone(&self) -> EngineOptions
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more