--- id: b1ba1b27-d2bf-44f9-a1f5-0ace2017dc18 type: decision title: "Multi-graph support: named, segregated memory namespaces for cognitive memory" tags: ["[\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"cognitive-memory\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"", multi-graph, architecture, mcp, "\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"v3.1.0\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"]"] importance: 0.8 confidence: 0.8 created: "2026-02-28T20:56:05.164875+00:00" updated: "2026-03-01T22:17:22.786579+00:00" relations: - target: dc9c2638-360e-4e15-990c-76fcd16672c0 type: BUILDS_ON direction: outgoing strength: 0.8 edge_id: 1f7a87ef-5d03-45bb-a1d2-3fd8796b1e7f - target: dc6b6c6f-1319-47cf-a691-dd40751ff121 type: FOLLOWS direction: outgoing strength: 0.8 edge_id: e04cd4da-322f-4192-9d26-ae67fc4a5f0e - target: 9ea72015-0b85-4a42-9ae1-144866f8d86f type: BUILDS_ON direction: outgoing strength: 0.8 edge_id: f5227880-ea2c-4330-b7f1-eb367fc12c9e - target: 5fb6b3c0-cc6a-4baa-8552-8d2731379b0b type: BUILDS_ON direction: outgoing strength: 0.7 edge_id: 2adf60cc-84e8-4351-9ea0-1036983c39a1 - target: 5fb6b3c0-cc6a-4baa-8552-8d2731379b0b type: FOLLOWS direction: incoming strength: 0.9 edge_id: 19267562-3fd0-4213-987a-75bed0d644aa - target: 2d6f02bc-5a7c-404d-a566-36107aaaf6e6 type: FOLLOWS direction: incoming strength: 0.9 edge_id: 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.