Automatic Episode Distillation
Turns repeated operator feedback and past runs into clean, reviewable memory summaries.
Hundreds of individual feedback notes pile up until prompts are cluttered and unmanageable.
Related lessons automatically merge into clean candidate summaries ready for 1-click operator verification.
What It Does (In Plain English)
Memory Consolidation listens to feedback.recorded (including rejected approvals), automatically saves candidate episode memories, and once enough similar episodes accumulate (minGroupSize), distills them into a concise draft summary that a human can verify (memory_consolidation.verify).
Real-World Example
- 1Operators reject 3 runs for the same missing compliance check.
- 2Memory Consolidation captures all 3 episodes and drafts one clean distilled guideline.
- 3An operator reviews and verifies it — making it active institutional memory.
When Should You Turn It On?
Enterprise Edition. Pair with memory to compound institutional knowledge automatically over months.
Safety level note: Level 1 · Review — Read-only. Can inspect and answer, never changes outside systems.
How to Add It (workspace.yaml)
# Enterprise Edition (@neusym/kit-memory-consolidation)
kits:
- "@neusym/kit-memory-consolidation@0.1.0"
kitConfigs:
memory-consolidation:
minGroupSize: 3Kits It Works With
Technical Details & Configuration Options (9 settings)
| Package | @neusym/kit-memory-consolidation |
|---|---|
| Provides Ports | None |
| Requires Ports | scopes@1search-index@1 |
| Optional Ports | memory@1lineage@1diagnostics@1tools@1model@1embedding@1budget@1 |
| Publishes Events | None |
| Owned DB Collections | memory_consolidations |
Configuration Options (kitConfigs.memory-consolidation)
| Setting | Type | Default | Description |
|---|---|---|---|
minGroupSize | integer | 2 | — |
autoConsolidateOnMemoryChange | boolean | true | — |
autoConsolidateOnFeedback | boolean | true | — |
verifiedOnlyInContext | boolean | false | — |
maxContextItems | integer | 5 | — |
synthesisMode | string | "concat" | — |
dedupeThreshold | number | 0.92 | — |
synthesisModel | string | "" | — |
budgetScope | string | "" | — |