pub struct Settings {
pub model: Option<String>,
pub api_schema: Option<String>,
pub harness: Option<String>,
pub effort: Option<String>,
pub root_stop_pattern: Option<String>,
pub skills_extra: Vec<SkillsExtraEntry>,
}Expand description
The typed view of the merged settings (v1 fields, ADR-0024 §1.4). Unknown keys
are tolerated at every layer; absent keys are None/empty.
Fields§
§model: Option<String>Default model (threaded to the provider factory; no flag yet).
api_schema: Option<String>Default wire (--api-schema/LOCODE_API_SCHEMA win). Project-denylisted.
harness: Option<String>Default harness pack (--harness wins).
effort: Option<String>Default reasoning effort, as a locode ladder name (--effort wins).
Kept as a string here so this crate stays free of provider types; the
caller parses it and warns on an unknown rung rather than failing.
root_stop_pattern: Option<String>instructions.root_stop_pattern — activates ADR-0023’s root-detection
regex (matching itself lands in Task 31 S2).
skills_extra: Vec<SkillsExtraEntry>skills.extra — validated manual skill entries (consumed by the skills P0).
Trait Implementations§
impl Eq for Settings
impl StructuralPartialEq for Settings
Auto Trait Implementations§
impl Freeze for Settings
impl RefUnwindSafe for Settings
impl Send for Settings
impl Sync for Settings
impl Unpin for Settings
impl UnsafeUnpin for Settings
impl UnwindSafe for Settings
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.