claude-memory/graph/decisions/multi-graph-support-named-segregated-memory-namespaces-for-c-b1ba1b.md
2026-02-28 14:57:19 -06:00

1.6 KiB

id type title tags importance confidence created updated relations
b1ba1b27-d2bf-44f9-a1f5-0ace2017dc18 decision Multi-graph support: named, segregated memory namespaces for cognitive memory
[\\\"cognitive-memory\\\"
multi-graph
architecture
mcp
\\\"v3.1.0\\\"]
0.8 0.8 2026-02-28T20:56:05.164875+00:00 2026-02-28T20:57:19.908975+00:00
target type direction strength edge_id
dc9c2638-360e-4e15-990c-76fcd16672c0 BUILDS_ON outgoing 0.8 1f7a87ef-5d03-45bb-a1d2-3fd8796b1e7f
target type direction strength edge_id
dc6b6c6f-1319-47cf-a691-dd40751ff121 FOLLOWS outgoing 0.8 e04cd4da-322f-4192-9d26-ae67fc4a5f0e
target type direction strength edge_id
9ea72015-0b85-4a42-9ae1-144866f8d86f BUILDS_ON outgoing 0.8 f5227880-ea2c-4330-b7f1-eb367fc12c9e

Multi-graph Support for Cognitive Memory (v3.1.0)

Implemented multi-graph support for cognitive memory (Gitea issue #1).

Architecture

Centralized storage with named graphs. Default graph unchanged; named graphs live as siblings to the default.

Changes Made

  • common.py: Added resolve_graph_path() and list_graphs() helpers
  • mcp_server.py: Added client cache dict with get_client(graph) routing, added "graph" param on all 18 tools, added new memory_graphs tool (19th tool total)
  • cli.py: Added --graph flag and graphs subcommand

Backward Compatibility

All existing calls without graph param route to default graph. Auto-init on first use via _ensure_dirs().

Version

Bumped to 3.1.0.