claude-memory/graph/decisions/multi-graph-support-named-segregated-memory-namespaces-for-c-b1ba1b.md
2026-03-01 16:17:22 -06:00

2.5 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-03-01T22:17:22.786579+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
target type direction strength edge_id
5fb6b3c0-cc6a-4baa-8552-8d2731379b0b BUILDS_ON outgoing 0.7 2adf60cc-84e8-4351-9ea0-1036983c39a1
target type direction strength edge_id
5fb6b3c0-cc6a-4baa-8552-8d2731379b0b FOLLOWS incoming 0.9 19267562-3fd0-4213-987a-75bed0d644aa
target type direction strength edge_id
2d6f02bc-5a7c-404d-a566-36107aaaf6e6 FOLLOWS incoming 0.9 9cdbcffb-68b4-4ecd-953a-4915ee2b80a8

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.