pub struct CapabilityMemoryKindVocab {
pub vocabulary: Vec<String>,
pub recall_filter: String,
pub cli_filter: String,
pub auto_classify: String,
pub auto_classify_modes: Vec<String>,
}Expand description
v0.7.x Form 6 (issue #759) — Batman-taxonomy memory-kind capability surface. Names the recall-filter / auto-classify surfaces shipped under Form 6.
Field → implementation anchor map:
vocabulary: the complete enumerated vocabulary the substrate accepts on thememory_kindcolumn. Always["observation", "reflection", "persona", "concept", "entity", "claim", "relation", "event", "conversation", "decision"]in v0.7.x — anchored at compile time bycrate::models::MemoryKind::all.recall_filter: MCPmemory_recalland HTTP recall accept akindsparameter (CSV string or JSON array)."implemented"once the param is plumbed into [crate::mcp::tools::recall] and [crate::handlers::http::recall_response].cli_filter:ai-memory recall --kind concept,entityCLI flag."implemented"once the flag is wired incrate::cli::recall::RecallArgs.auto_classify: the namespace-policy-gatedpre_store::auto_classify_kindhook."implemented"once the hook module is compiled andmemory_storecallscrate::hooks::pre_store::maybe_auto_classifyafter policy resolution.auto_classify_modes: enumerated policy modes the operator may set. Always["off", "regex_only", "regex_then_llm"]— anchored againstcrate::models::MemoryKindAutoClassify.
Fields§
§vocabulary: Vec<String>Complete enumerated vocabulary the substrate accepts on the
memory_kind column. Compile-anchored.
recall_filter: StringMCP memory_recall + HTTP recall kinds param wiring.
cli_filter: StringCLI --kind flag wiring.
auto_classify: StringNamespace-policy-gated auto-classify pre_store hook wiring.
auto_classify_modes: Vec<String>Enumerated auto-classify policy modes (off / regex_only /
regex_then_llm). Compile-anchored.
Implementations§
Trait Implementations§
Source§impl Clone for CapabilityMemoryKindVocab
impl Clone for CapabilityMemoryKindVocab
Source§fn clone(&self) -> CapabilityMemoryKindVocab
fn clone(&self) -> CapabilityMemoryKindVocab
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 CapabilityMemoryKindVocab
impl Debug for CapabilityMemoryKindVocab
Source§impl<'de> Deserialize<'de> for CapabilityMemoryKindVocab
impl<'de> Deserialize<'de> for CapabilityMemoryKindVocab
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
impl Eq for CapabilityMemoryKindVocab
Source§impl PartialEq for CapabilityMemoryKindVocab
impl PartialEq for CapabilityMemoryKindVocab
Source§fn eq(&self, other: &CapabilityMemoryKindVocab) -> bool
fn eq(&self, other: &CapabilityMemoryKindVocab) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for CapabilityMemoryKindVocab
Auto Trait Implementations§
impl Freeze for CapabilityMemoryKindVocab
impl RefUnwindSafe for CapabilityMemoryKindVocab
impl Send for CapabilityMemoryKindVocab
impl Sync for CapabilityMemoryKindVocab
impl Unpin for CapabilityMemoryKindVocab
impl UnsafeUnpin for CapabilityMemoryKindVocab
impl UnwindSafe for CapabilityMemoryKindVocab
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>,
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
Compare self to
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>
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