AI

Persistent User Memory

Give the assistant cross-session memory of the user: a per-user store of durable facts, extracted at the existing summarize hook, deduped/superseded/expired, and injected into the assistant prompt on later conversations as a bounded set ranked by relevance to the current question. Identified users speaking for themselves only: the guest principal and any impersonated session are excluded from memory on both the write and the read path.

State
Not started
Progress
0%
Steps
0 / 36
Started
Not started
Last activity
2026-09-16
Module
LaraAI

Tasks.

  • Task 1: ai_memory_facts table + MemoryFact model + FactKind enum0/6
  • Task 2: classify and slot extracted facts (kind + subject)0/5
  • Task 3: UserMemoryService (write + reads)0/3
  • Task 4: run the summarize/extract hook on the path users actually reach0/5
  • Task 5: inject user memory and conversation memory through the governed prompt context0/5
  • Task 6: make "forget" honest, and give the user a switch0/4
  • Task 7: config, erasure, memory management API, and RAG docs0/5
  • Final verification0/3