Skip to content

v2026.5.26

Choose a tag to compare

@Kaiji-Z Kaiji-Z released this 25 May 11:42
· 199 commits to main since this release

Memory Consolidation Engine + Dedup Fixes

Breaking Changes

  • Dreaming system replaced with Memory Consolidation Engine — no more narrative dream generation. Instead, daily cron scans session transcripts, extracts structured knowledge via LLM, and routes to existing cognitive stores (PersonaStore, FragmentStore, CorrectionStore).

Features

  • Memory Consolidation Engine (extensions/memory-core/src/consolidation*.ts) — daily 3 AM cron, per-user pipeline, LLM extraction, Jaccard dedup, routes to cognitive stores + MEMORY.md inline sections
  • Agent isolation — consolidation now resolves userId from session files (not hardcoded agentId), supporting multi-agent workspaces
  • MEMORY.md integration — high-confidence items (≥0.7, behavioral_pattern ≥0.8) auto-written to inline sections (👤 User / 🎯 Active Focus)
  • Consolidation configmemory.consolidation.enabled, .cron, .concurrency, .batchSize, .lookbackDays

Bug Fixes

  • Heartbeat empty spin — skip LLM calls when HEARTBEAT.md is empty; isolated heartbeat sessions use transient mode (auto-cleaned)
  • Memory dedupmemory_tidy full now includes inline section dedup (within-section + cross-topic Jaccard ≥0.8); memory_save adds date prefix + dedup; relocateInlineToTopic checks existing similar content

Documentation

  • Updated README.md / README.en.md / AGENTS.md reflecting consolidation architecture
  • Updated memory-organize skill and KAIJIBOT-GUIDE template

Commits

  • 3562fb601e refactor: dreaming → consolidation engine (78 files, -15,147 net lines)
  • 66df85f4b4 fix: skip empty heartbeat LLM calls + transient isolated sessions
  • 0f89fb3577 feat: consolidation runtime wiring + agent isolation + MEMORY.md integration
  • 1bcc35ced3 fix: memory system dedup — inline sections, memory_save, relocateInlineToTopic
  • 1bb5a37ee7 docs: update README/AGENTS.md for consolidation engine replacing dreaming
  • f49529fad1 release: v2026.5.26