pub struct FeatureFlags {
pub secrets_filter: bool,
pub pii_filter: bool,
pub multi_domain: bool,
pub audit_log: bool,
pub llm_features: bool,
pub auto_capture: bool,
pub consolidation: bool,
pub org_scope_enabled: bool,
pub auto_extract_entities: bool,
}Expand description
Feature flags for controlling optional subcog features.
Fields§
§secrets_filter: boolEnable secret detection and filtering.
pii_filter: boolEnable PII detection and filtering.
multi_domain: boolEnable multi-domain support.
audit_log: boolEnable audit logging.
llm_features: boolEnable LLM-powered features.
auto_capture: boolEnable auto-capture during hooks.
consolidation: boolEnable memory consolidation.
org_scope_enabled: boolEnable org-scope storage (PostgreSQL shared storage).
auto_extract_entities: boolEnable automatic entity extraction during memory capture.
When enabled, entities (people, organizations, technologies, concepts) are automatically extracted from captured memories and stored in the knowledge graph for graph-augmented retrieval.
Implementations§
Source§impl FeatureFlags
impl FeatureFlags
Sourcepub fn from_config_file(file: &ConfigFileFeatures) -> Self
pub fn from_config_file(file: &ConfigFileFeatures) -> Self
Creates feature flags from config file settings.
ARCH-HIGH-002: Delegated from SubcogConfig::apply_config_file.
Sourcepub const fn merge_from(&mut self, file: &ConfigFileFeatures)
pub const fn merge_from(&mut self, file: &ConfigFileFeatures)
Merges another set of flags into this one.
Only overrides fields that are set in the source.
Trait Implementations§
Source§impl Clone for FeatureFlags
impl Clone for FeatureFlags
Source§fn clone(&self) -> FeatureFlags
fn clone(&self) -> FeatureFlags
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for FeatureFlags
impl Debug for FeatureFlags
Source§impl Default for FeatureFlags
impl Default for FeatureFlags
Source§fn default() -> FeatureFlags
fn default() -> FeatureFlags
Auto Trait Implementations§
impl Freeze for FeatureFlags
impl RefUnwindSafe for FeatureFlags
impl Send for FeatureFlags
impl Sync for FeatureFlags
impl Unpin for FeatureFlags
impl UnwindSafe for FeatureFlags
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> FutureExt for T
impl<T> FutureExt for T
§fn with_context(self, otel_cx: Context) -> WithContext<Self>
fn with_context(self, otel_cx: Context) -> WithContext<Self>
§fn with_current_context(self) -> WithContext<Self>
fn with_current_context(self) -> WithContext<Self>
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§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§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
T in a tonic::Request§impl<L> LayerExt<L> for L
impl<L> LayerExt<L> for L
§fn named_layer<S>(&self, service: S) -> Layered<<L as Layer<S>>::Service, S>where
L: Layer<S>,
fn named_layer<S>(&self, service: S) -> Layered<<L as Layer<S>>::Service, S>where
L: Layer<S>,
Layered].