Skip to main content

EngineOptions

Struct EngineOptions 

Source
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: u32

Identical-failure loops before escalating to a human (CONTEXT.md §11).

§test_ratchet: bool

Apply 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: bool

Whether 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

Source§

fn clone(&self) -> Self

Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for EngineOptions

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Default for EngineOptions

Source§

fn default() -> Self

Returns the “default value” for a type. Read more

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = !

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, !>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.