pub struct CuratorSection {
pub reflection_namespaces: Option<HashMap<String, ReflectionPassConfig>>,
pub confidence_decay_half_life_days: Option<HashMap<String, f64>>,
}Expand description
#1671/n15 (v0.7.1) — [curator] sectioned per-namespace curator
configuration.
Wire format:
# Per-namespace reflection-pass gate (#1671). `curator --reflect
# --all-namespaces` reflects ONLY namespaces listed here with
# `enabled = true`; a single `--namespace <ns>` invocation bypasses
# the gate (operator asked explicitly).
[curator.reflection_namespaces."team/eng"]
enabled = true
max_depth = 5
# Per-namespace confidence-decay half-life override, in days (n15).
# Absent → the compiled DEFAULT_HALF_LIFE_DAYS (30). Only consulted
# when the decay feature is enabled (AI_MEMORY_CONFIDENCE_DECAY=1).
[curator.confidence_decay_half_life_days]
"team/eng" = 14.0Fields§
§reflection_namespaces: Option<HashMap<String, ReflectionPassConfig>>#1671 — per-namespace reflection-pass overrides keyed by
namespace. curator --reflect --all-namespaces participates ONLY
for namespaces present here with enabled = true; absent /
disabled namespaces are skipped (the conservative default that
kept --all-namespaces a safe no-op before this wiring). Reuses
the curator’s own
crate::curator::reflection_pass::ReflectionPassConfig.
confidence_decay_half_life_days: Option<HashMap<String, f64>>n15 — per-namespace confidence-decay half-life override (days),
keyed by namespace. Absent / non-finite / non-positive → the
compiled crate::confidence::DEFAULT_HALF_LIFE_DAYS. Only
consulted when confidence decay is enabled
(AI_MEMORY_CONFIDENCE_DECAY=1).
Trait Implementations§
Source§impl Clone for CuratorSection
impl Clone for CuratorSection
Source§fn clone(&self) -> CuratorSection
fn clone(&self) -> CuratorSection
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for CuratorSection
impl Debug for CuratorSection
Source§impl Default for CuratorSection
impl Default for CuratorSection
Source§fn default() -> CuratorSection
fn default() -> CuratorSection
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for CuratorSection
impl<'de> Deserialize<'de> for CuratorSection
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>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for CuratorSection
impl RefUnwindSafe for CuratorSection
impl Send for CuratorSection
impl Sync for CuratorSection
impl Unpin for CuratorSection
impl UnsafeUnpin for CuratorSection
impl UnwindSafe for CuratorSection
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
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>,
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>
Converts
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>
Converts
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