From c5d3c307cf4eecad58eef094500297804eba668e Mon Sep 17 00:00:00 2001 From: Snider Date: Fri, 20 Feb 2026 01:45:14 +0000 Subject: [PATCH] docs(todo): add commit hash for Phase 1 completion Co-Authored-By: Virgil --- TODO.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/TODO.md b/TODO.md index ff83df0..e8067c6 100644 --- a/TODO.md +++ b/TODO.md @@ -18,7 +18,7 @@ Dispatched from core/go orchestration. Pick up tasks in order. - [x] **Session storage interface** — Extracted in-memory session map into `SessionStore` interface with `Get`, `Set`, `Delete`, `DeleteByUser`, `Cleanup` methods. `MemorySessionStore` wraps the original map+mutex pattern. `ErrSessionNotFound` sentinel error. - [x] **SQLite session store** — `SQLiteSessionStore` backed by go-store (SQLite KV). Sessions stored as JSON in `"sessions"` group. Mutex-serialised for SQLite single-writer safety. - [x] **Background cleanup** — `StartCleanup(ctx, interval)` goroutine purges expired sessions periodically. Stops on context cancellation. -- [x] **Session migration** — Backward-compatible: `MemorySessionStore` is default, `WithSessionStore(store)` option for persistent store. All existing tests updated and passing. +- [x] **Session migration** — Backward-compatible: `MemorySessionStore` is default, `WithSessionStore(store)` option for persistent store. All existing tests updated and passing. Commit `1aeabfd`. ## Phase 2: Key Management