feat(memory): consolidation drift detection — verifying memory accuracy over time
Los mantenedores suelen responder en 1 día
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 5/5
- Tiempo estimado
- Más de una semana
- Aptitud para principiantes
- 25/100
Línea de trabajo
Start by reading the consolidation pipeline and the proposed /api/v1/memories/verify integration point. Clarify which implementation path is intended: an on-demand endpoint, a background hook, or dashboard metrics. Done should mean sampled consolidated claims are checked against their source data and verification results are reported; the issue does not define thresholds or a selected approach.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
Problem
EverMemOS stores memories through a three-stage pipeline: Encoding → Consolidation → Retrieval. Each stage involves compression — episode summaries condense conversations, profiles aggregate episodes. This compression is necessary but inherently lossy.
The question nobody's asking yet: after consolidation runs over weeks of data, do the stored memories still accurately reflect what actually happened?
I hit this running a 28-day autonomous OpenClaw agent with a two-tier memory system (daily logs + curated long-term memory). Around day 20, I noticed retrieval relevance degrading — not because the indexing broke, but because the curated summaries had drifted from the source material through successive compression passes. The system returned confident, plausible answers that were subtly wrong.
Where drift enters
- Episode → Profile compression: Each consolidation pass discards detail. After N passes, profile claims may not survive spot-check against source conversations.
- Contradiction accumulation: New episodes can contradict earlier profile entries. Without explicit conflict resolution, the profile may hold both claims simultaneously.
- Temporal decay asymmetry: Recent memories are well-grounded in source data. Older memories have been compressed more times with less recoverable context.
Proposed: Periodic Memory Integrity Checks
A lightweight verification layer that periodically samples consolidated memories and checks them against source data:
1. Sample N profile entries (weighted toward older entries)
2. Retrieve the source episodes/conversations that produced each entry
3. Compare the profile claim against source content
4. Score: does the profile accurately represent the source?
5. Flag entries where score drops below threshold
Metrics to track:
consolidation_accuracy: % of sampled profile entries that survive source verificationdrift_rate: change in accuracy over time (are newer consolidations more accurate than older ones?)contradiction_count: profile entries that conflict with each other
Why this matters for EverMemOS specifically
EverMemOS's 93% LoCoMo accuracy measures retrieval quality at a point in time. But long-running agents need longitudinal integrity — memory that stays accurate across weeks, not just a benchmark window. The consolidation pipeline is where accuracy erodes silently, because the system never re-checks its own summaries against ground truth.
I've been working on behavioral reliability measurement for autonomous agents (measuring the gap between what agents report and what actually happened). In a 28-day study across 13 agents, self-reported accuracy diverged from externally verified accuracy by ~7% — and the divergence was invisible from inside the system. Memory consolidation drift is one likely mechanism.
Concrete integration point
Could be implemented as:
- A new
/api/v1/memories/verifyendpoint that runs spot-checks on-demand - A background consolidation hook that samples and verifies after each consolidation cycle
- Dashboard metrics showing memory accuracy trend over time
Happy to share the measurement approach and dataset if helpful. The core insight: the system that writes the memories cannot be the only system that verifies them — you need at least a spot-check loop back to source data.
- Lenguaje dominante
- Python
- Estrellas
- 13.3k
- Forks
- 926
- Merge medio
- 19 h 29 min
- PR fusionados (30 d)
- 43
Preparar el entorno
Este proyecto no incluye contenedor de desarrollo, Dockerfile ni guía de contribución, así que la configuración corre por tu cuenta: empieza por su README y consulta nuestra guía para la primera contribución para los pasos generales.
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de EverMind-AI/EverOS
-
Dificultad 2/5 Medio día Aptitud para principiantes 62/100
EverMind-AI/EverOS#414 ·
Los mantenedores suelen responder en 1 día
-
[Bug]: strict json.loads on lax LLM JSON breaks extraction (trailing commas) and 500s /flushPosiblemente ocupada @1AbdullahButt la tomó hoy. Abierto
Dificultad 3/5 1-2 días Aptitud para principiantes 74/100
EverMind-AI/EverOS#564 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
Dificultad 4/5 3-5 días Aptitud para principiantes 25/100
EverMind-AI/EverOS#558 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
Dificultad 3/5 1-2 días Aptitud para principiantes 67/100
EverMind-AI/EverOS#551 ·
Los mantenedores suelen responder en 1 día
-
enhancement
Dificultad 4/5 3-5 días Aptitud para principiantes 35/100
EverMind-AI/EverOS#537 ·
Los mantenedores suelen responder en 1 día
Todos los issues de EverMind-AI/EverOS
Issues similares
-
binding:python bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 82/100
Los mantenedores suelen responder en 1 día
-
The Browser tab fails with a Wayland error when Open Terminal runs from a Wayland desktop sessionAbierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
open-webui/open-terminal#210 ·
-
triage/confirmed
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
agentscope-ai/agentscope#3807 ·
Los mantenedores suelen responder en 2 días
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
NousResearch/hermes-agent#150542 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 1/5 Menos de una hora Aptitud para principiantes 91/100
triton-inference-server/server#9069 ·
Los mantenedores suelen responder en 1 día