diff --git a/memory/2026-02-25-predictive-memory-scorer-architecture-review.md b/memory/2026-02-25-predictive-memory-scorer-architecture-review.md new file mode 100644 index 000000000..fbb0c2198 --- /dev/null +++ b/memory/2026-02-25-predictive-memory-scorer-architecture-review.md @@ -0,0 +1,11 @@ +# 2026-02-25 Session Notes + +## Predictive Memory Scorer Architecture Review + +Session opened with Nicholai reading and requesting comparison on the Predictive Memory Scorer architecture document. The document outlines a comprehensive system for training a per-user memory ranking model that evolves from heuristic baseline scoring (decay + BM25) to learned predictions using a lightweight cross-attention architecture. + +Key architectural approach: standalone Rust binary sidecar communicating with daemon via JSON-RPC 2.0 stdin/stdout. Model is lightweight (~370K params, d=64 internal embedding dimension) trained on per-memory relevance labels from continuity scorer. RRF-based ranking fusion with earned influence (α) that adjusts based on session-end NDCG comparison wins. Cold start with pure baseline fallback, progressing to active prediction after 10+ sessions and >40% success rate threshold. + +Plan includes 8 implementation phases: data pipeline prerequisites (session_memories table + per-memory scoring) → Rust autograd/model core → training pipeline → daemon integration → observability backend → dashboard UI → documentation. Full execution plan with delegation to 8 agents specified, with security audit and integration testing phases. + +User attempted to share comparison image but attachment appeared corrupted. \ No newline at end of file diff --git a/memory/memories.db b/memory/memories.db index 307da2899..7b378f019 100644 Binary files a/memory/memories.db and b/memory/memories.db differ diff --git a/memory/memories.db-shm b/memory/memories.db-shm index 34d6d9d72..a814289ef 100644 Binary files a/memory/memories.db-shm and b/memory/memories.db-shm differ diff --git a/memory/memories.db-wal b/memory/memories.db-wal index e904d23cb..91722c792 100644 Binary files a/memory/memories.db-wal and b/memory/memories.db-wal differ