ALMA-memory v0.5.1
Added - Phase 2: Graph Database Backends
-
Memgraph Backend (
alma/graph/backends/memgraph.py)- Neo4j Bolt protocol compatible graph database
- Supports authenticated and unauthenticated connections
- Full
GraphBackendinterface implementation - 32 unit tests
-
Kuzu Backend (
alma/graph/backends/kuzu.py)- Embedded graph database (no server required, like SQLite for graphs)
- In-memory mode with
:memory:for testing - Persistent mode with file path for production
- Full
GraphBackendinterface implementation - 23 unit tests
-
Testing Module (
alma/testing/)MockStorage: Full in-memoryStorageBackendimplementationMockEmbedder: Deterministic hash-based embeddings for testing- Factory functions:
create_test_heuristic(),create_test_outcome(),
create_test_preference(),create_test_knowledge(),create_test_anti_pattern() - 27+ unit tests
Changed
- Updated
create_graph_backend()factory to support"memgraph"and"kuzu"backends - Added coverage exclusions for optional graph backends
- Version bump to 0.5.1