-
Notifications
You must be signed in to change notification settings - Fork 2
[store] SqliteFactStore — persistent key-value fact backend #124
Copy link
Copy link
Closed as not planned
Labels
area/storeData stores: event log, artifacts, episodic, factsData stores: event log, artifacts, episodic, factscomplexity/simpleStraightforward change, minimal riskStraightforward change, minimal riskenhancementNew feature or requestNew feature or requestmilestone/v0.3v0.3 — Production readinessv0.3 — Production readinesspriority/mediumMedium priority — production readinessMedium priority — production readiness
Metadata
Metadata
Assignees
Labels
area/storeData stores: event log, artifacts, episodic, factsData stores: event log, artifacts, episodic, factscomplexity/simpleStraightforward change, minimal riskStraightforward change, minimal riskenhancementNew feature or requestNew feature or requestmilestone/v0.3v0.3 — Production readinessv0.3 — Production readinesspriority/mediumMedium priority — production readinessMedium priority — production readiness
Context
Split from #41. Implements the SQLite-backed fact store. Simplest of the 4 store types alongside EpisodicStore.
Depends on #40 (FactStore protocol).
Acceptance Criteria
SqliteFactStoreclass insrc/contextweaver/store/sqlite_facts.pyimplementingFactStoreprotocolFactStoremethods:set(),get(),list_keys()sqlite3(stdlib) with WAL mode:memory:mode for testingInMemoryFactStorevia parameterized fixturesrc/contextweaver/store/__init__.pyfrom __future__ import annotationsFile Paths
src/contextweaver/store/sqlite_facts.py(new)src/contextweaver/store/__init__.py(edit — export)tests/test_store_facts.py(edit — parameterize fixture)Verification
Parent Issue
Part of #41 (SQLite-backed persistent stores).