pub struct ReflectionPassConfig {
pub enabled: bool,
pub max_depth: Option<u32>,
}Expand description
Per-namespace configuration for the reflection pass.
Defaults to enabled = false per #666 acceptance: reflection is
opt-in because (a) it depends on the Ollama LLM being available
at the time the pass runs, and (b) it writes new (typed) memories
to the namespace, which operators may want to gate by namespace
rather than enable globally.
Fields§
§enabled: boolWhen false (default), the pass skips this namespace entirely.
max_depth: Option<u32>Per-namespace override of the operator-supplied --max-depth
flag. When None, the pass uses the resolved governance-policy
max_reflection_depth (default 3) as its ceiling. When
Some(N), the pass refuses to propose a reflection whose
new depth would exceed N (the substrate cap still applies
on top — this is a curator-side guard rail, not a substrate
override).
Trait Implementations§
Source§impl Clone for ReflectionPassConfig
impl Clone for ReflectionPassConfig
Source§fn clone(&self) -> ReflectionPassConfig
fn clone(&self) -> ReflectionPassConfig
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for ReflectionPassConfig
impl Debug for ReflectionPassConfig
Source§impl Default for ReflectionPassConfig
impl Default for ReflectionPassConfig
Source§impl<'de> Deserialize<'de> for ReflectionPassConfig
impl<'de> Deserialize<'de> for ReflectionPassConfig
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
impl Eq for ReflectionPassConfig
Source§impl PartialEq for ReflectionPassConfig
impl PartialEq for ReflectionPassConfig
Source§fn eq(&self, other: &ReflectionPassConfig) -> bool
fn eq(&self, other: &ReflectionPassConfig) -> bool
self and other values to be equal, and is used by ==.Source§impl Serialize for ReflectionPassConfig
impl Serialize for ReflectionPassConfig
impl StructuralPartialEq for ReflectionPassConfig
Auto Trait Implementations§
impl Freeze for ReflectionPassConfig
impl RefUnwindSafe for ReflectionPassConfig
impl Send for ReflectionPassConfig
impl Sync for ReflectionPassConfig
impl Unpin for ReflectionPassConfig
impl UnsafeUnpin for ReflectionPassConfig
impl UnwindSafe for ReflectionPassConfig
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
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§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
key and return true if they are equal.impl<T> ErasedDestructor for Twhere
T: 'static,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more