Skip to content

v1.9.0 — Memory v2 executor primitives

Choose a tag to compare

@CocoRoF CocoRoF released this 01 May 04:53
· 241 commits to main since this release
d7fa76e

Memory v2 — executor side. Adds the file-provider primitives and the retriever flag that the Geny-side leaf source-of-truth design depends on (plan: CocoRoF/Geny/plan.md).

Added

  • GenyMemoryRetriever.slim_mode (new keyword arg, default False) — when set, retriever stops after the lightweight layers (recent_turns + session_summary + vault_map) and leaves heavy retrieval (MEMORY.md body / vector / keyword / backlinks / curated) to the agent's progressive disclosure tools.

    GenyMemoryRetriever(memory_manager, slim_mode=True, max_inject_chars=8000)
  • _load_vault_map helper — duck-types index_manager.render_vault_map() so consumers that publish a vault snapshot get it injected automatically.

  • NOTE_CATEGORIES extended with three v2 categories:

    • conversations — leaf source-of-truth (conversations/<YYYY-MM-DD>/<id>.md)
    • dms — per-counterpart-per-day index bundle
    • compactions — s02 compactor snapshot vault notes

    Mirrors Geny's service.memory.structured_writer.VALID_CATEGORIES so a FileMemoryProvider running standalone can scan Geny-written vaults end-to-end.

Compatibility

  • slim_mode is opt-in. Existing callers preserve the historical 6-layer behaviour.
  • NOTE_CATEGORIES only adds — no removals or renames.

Companion

  • Geny PR: CocoRoF/Geny#631 (merged) — full Memory v2 redesign on the Geny side