Optional triggerWhat event or schedule triggers a consolidation run.
'turns' – run after every N conversation turns (every = turn count).'interval' – run on a wall-clock timer (every = milliseconds).'manual' – only run when explicitly called via consolidate().'interval'
Optional everyNumeric complement to trigger.
When trigger='turns' this is the turn count; when trigger='interval'
this is the millisecond interval.
3_600_000
Optional pruneMinimum strength below which a memory 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.
true
Optional maxMaximum number of new insight traces derived per consolidation cycle. Guards against unbounded graph growth.
10
Optional intervalHow often to run consolidation in milliseconds (internal scheduler).
Superseded by trigger+every at the facade level; kept for compatibility.
3_600_000
Optional maxMaximum number of traces to process per consolidation cycle. Bounds CPU/memory cost of a single run.
500
Optional mergeSimilarity threshold used when merging redundant traces.
0.92
Optional minMinimum cluster size required before schema integration fires.
5
Extended consolidation configuration that adds lifecycle-management fields on top of the core
ConsolidationConfigused internally.The
trigger+everypair replace the internalintervalMsat the facade level; adapters translate these to the internal representation.