DefaultMemoryMaintenanceOrchestrator

constructor(repository: PropositionRepository, consolidator: MemoryConsolidator, abstractor: PropositionAbstractor? = null, abstractionThreshold: Int = 5, abstractionTargetCount: Int = 3, retireBelow: Double? = null, retireDecayK: Double = 2.0, decayManager: DecayManager? = null, collector: CollectorRunner? = null)

Parameters

repository

Storage backend for propositions.

consolidator

Decides how session propositions are folded into long-term memory.

abstractor

Optional; synthesizes higher-level insights from entity groups.

abstractionThreshold

Minimum propositions per entity group before abstraction runs.

abstractionTargetCount

How many abstractions to generate per group.

retireBelow

Hard-delete propositions whose effective confidence falls below this; null disables retirement.

retireDecayK

Decay-rate multiplier used when computing effective confidence for retirement.

decayManager

Optional; refreshes the store's materialised effective-confidence column right before retirement so the pushed-down below-threshold filter reads fresh values (see retire). Null for backends that compute effective confidence live (the in-memory store), where there is no column to refresh.

collector

Optional mark-and-sweep collector run as the final stage; null disables it.