-
Notifications
You must be signed in to change notification settings - Fork 2
[store] SqliteEventLog — persistent event log backend #128
Copy link
Copy link
Closed as not planned
Labels
area/storeData stores: event log, artifacts, episodic, factsData stores: event log, artifacts, episodic, factscomplexity/averageStandard effort, moderate familiarity neededStandard effort, moderate familiarity neededenhancementNew feature or requestNew feature or requestmilestone/v0.3v0.3 — Production readinessv0.3 — Production readinesspriority/highHigh priority — closes a critical gapHigh priority — closes a critical gap
Metadata
Metadata
Assignees
Labels
area/storeData stores: event log, artifacts, episodic, factsData stores: event log, artifacts, episodic, factscomplexity/averageStandard effort, moderate familiarity neededStandard effort, moderate familiarity neededenhancementNew feature or requestNew feature or requestmilestone/v0.3v0.3 — Production readinessv0.3 — Production readinesspriority/highHigh priority — closes a critical gapHigh priority — closes a critical gap
Context
Split from #41. Implements the SQLite-backed event log, the most complex of the 4 store types.
Depends on #40 (store protocols).
Acceptance Criteria
SqliteEventLogclass insrc/contextweaver/store/sqlite_event_log.pyimplementingEventLogprotocolEventLogmethods:append(),all(),query(),children(),parent(),count(),tail()sqlite3(stdlib) with WAL mode for concurrent read safety:memory:mode for testingContextItemstored viato_dict()/from_dict()in JSON columnsInMemoryEventLogvia parameterized fixturesrc/contextweaver/store/__init__.pyfrom __future__ import annotationsFile Paths
src/contextweaver/store/sqlite_event_log.py(new)src/contextweaver/store/__init__.py(edit — export)tests/test_store_event_log.py(edit — parameterize fixture for InMemory + SQLite)Verification
Parent Issue
Part of #41 (SQLite-backed persistent stores).