Optional traits: HexacoTraitsCalled by MemoryStore.recordAccess(). Applies reconsolidation drift to the trace's emotional context.
Called by MemoryStore.query() after scoring. Applies retrieval-induced forgetting to competitors and detects FOK signals.
Suppressed trace IDs and metacognitive signals.
Called by EncodingModel.encode(). Classifies the trace as schema-congruent or schema-violating and adjusts encoding strength accordingly.
Called by ConsolidationLoop.run() after step 5 (compact). Runs temporal gist, source confidence decay, and emotion regulation.
Optional llmFn: ((prompt) => Promise<string>)Called by MemoryPromptAssembler. May inject an involuntary recall memory into the assembled context.
Get resolved config for diagnostics.
Orchestrates 8 cognitive mechanisms across the memory pipeline lifecycle.
When
cognitiveMechanismsconfig is present onCognitiveMemoryConfig, an instance is created during initialization. Existing pipeline files call the lifecycle hooks at the appropriate points.If HEXACO traits are provided, mechanism parameters are personality-modulated: emotionality → reconsolidation drift, conscientiousness → RIF strength, openness → involuntary recall probability + novelty boost, honesty → source skepticism, agreeableness → emotion regulation, extraversion → FOK surfacing.