Repository navigation
v1.9.0 — Memory v2 executor primitives
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, defaultFalse) — 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_maphelper — duck-typesindex_manager.render_vault_map()so consumers that publish a vault snapshot get it injected automatically. -
NOTE_CATEGORIESextended with three v2 categories:conversations— leaf source-of-truth (conversations/<YYYY-MM-DD>/<id>.md)dms— per-counterpart-per-day index bundlecompactions— s02 compactor snapshot vault notes
Mirrors Geny's
service.memory.structured_writer.VALID_CATEGORIESso aFileMemoryProviderrunning standalone can scan Geny-written vaults end-to-end.
Compatibility
slim_modeis opt-in. Existing callers preserve the historical 6-layer behaviour.NOTE_CATEGORIESonly adds — no removals or renames.
Companion
- Geny PR: CocoRoF/Geny#631 (merged) — full Memory v2 redesign on the Geny side