Session Consolidation Pass
class SessionConsolidationPass constructor(consolidator: MemoryConsolidator, sessionPropositions: List<Proposition> = emptyList()) : ConsolidationPass
Consolidation pass that folds a session's propositions into long-term memory by delegating verbatim to an injected MemoryConsolidator.
This pass does NOT re-implement promote/reinforce/merge logic — it hands the session and the snapshot (the existing long-term ACTIVE set) to the consolidator and projects the resulting com.embabel.dice.projection.memory.ConsolidationResult into a ConsolidationPassResult.
The session propositions are supplied at construction (one pass instance per cycle) because the run snapshot is the long-term set the session is consolidated against, not the session itself.
Properties
Functions
Link copied to clipboard
open override fun run(contextId: <Error class: unknown class>, propositions: List<Proposition>): ConsolidationPassResult
Consolidate the snapshot propositions for contextId, reporting the outcome.