Skip to content

v2.1.1 — Production Hardening

Choose a tag to compare

@rolandpg rolandpg released this 15 Apr 00:55
· 269 commits to master since this release

What's New

Production Blockers Fixed

  • O(n) supersession scan replaced with O(E) entity index lookup
  • File locking on all JSONL writes (fcntl)
  • SQL injection sanitized (5 sites in VectorMemory)
  • LanceDB dedup guard prevents ghost rows
  • Entity index invalidated on supersession

Performance

  • Dual-stream write: remember() returns in ~45ms (was 700-3500ms)
  • Async entity index saves (5-second write-behind)
  • KG JSONL compaction added to rebuild_index.py
  • Batched access_count persistence (60-second flush)

Architecture

  • GraphRetriever decoupled from KG internals (TypeDB path unblocked)
  • Memory evolution via evolve=True on remember()
  • GOV-012 logging: structlog + OCSF v1.3 events + audit log

CI/CD

  • GitHub Actions: lint, test, governance checks, build
  • SECURITY.md and CHANGELOG.md added

Benchmark

  • LOCOMO v2.1.0: 22.0% overall (LLM judge)