Optional enabledtrue
How often to run consolidation (ms).
3_600_000 (1 hour)
Max traces to process per cycle.
500
Similarity threshold for merging redundant traces.
0.92
Minimum cluster size for schema integration.
5
Optional triggerWhat event or schedule triggers a consolidation run.
'turns' – fire after every N conversation turns (every = turn count).'interval' – fire on a wall-clock timer (every = milliseconds).'manual' – only fire when explicitly requested.'interval'
Optional everyNumeric complement to trigger.
When trigger='turns' this is the turn count; when trigger='interval'
this is the millisecond period.
3_600_000
Optional pruneMinimum Ebbinghaus strength below which a trace is pruned. Must be between 0 and 1.
0.05
Optional mergeCosine similarity above which two traces are candidates for merging. Must be between 0 and 1.
0.92
Optional deriveWhether the consolidation engine should derive new insight traces from clusters of related memories during each cycle.
true
Optional maxMaximum number of new insight traces the engine may derive per cycle. Guards against unbounded graph growth.
10
Whether the periodic consolidation timer is active. Set to false for short-lived contexts (benches, tests, one-shot scripts) where a lingering
setIntervalwould keep the Node event loop alive past the meaningful work.When false,
CognitiveMemoryManagerstill constructs the pipeline sorunConsolidation()works on-demand; only the auto-started timer is suppressed.