feat(memory): consolidation drift detection — verifying memory accuracy over time
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
調査の方向性
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.
索引モデルが issue の本文から書いたものです。
説明
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.
- 主要言語
- Python
- スター
- 13.3k
- フォーク
- 926
- 平均マージ
- 23時間 31分
- マージ済み PR(30日)
- 26
環境構築
このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
EverMind-AI/EverOS のほかの issue
-
難易度 2/5 半日 初心者へのやさしさ 62/100
EverMind-AI/EverOS#414 ·
メンテナーはふだん 1 日以内に返信
-
難易度 3/5 1〜2日 初心者へのやさしさ 67/100
EverMind-AI/EverOS#551 ·
メンテナーはふだん 1 日以内に返信
-
[Bug]: cascade retry budget is forgotten by a restart during the inline backoff; a row can retry forever without becoming failed対応中かも @feiiiiii5 が 1 日前に担当しました。 オープンbug
難易度 4/5 3〜5日 初心者へのやさしさ 56/100
EverMind-AI/EverOS#549 ·
メンテナーはふだん 1 日以内に返信
-
[Bug]: cascade row stays processing forever when its terminal write (mark_failed / mark_done) fails once対応中かも @feiiiiii5 が 1 日前に担当しました。 オープンbug
難易度 4/5 3〜5日 初心者へのやさしさ 48/100
EverMind-AI/EverOS#548 ·
メンテナーはふだん 1 日以内に返信
-
bug
難易度 4/5 3〜5日 初心者へのやさしさ 52/100
EverMind-AI/EverOS#547 ·
メンテナーはふだん 1 日以内に返信
EverMind-AI/EverOS の issue をすべて見る
似ている issue
-
URLValidator ignores an explicit empty scheme allowlist対応中かも @IlyaKhalafi が今日担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 85/100
tortoise/tortoise-orm#2393 ·
メンテナーはふだん 2 日以内に返信
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 62/100
frappe/frappe_docker#2046 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 62/100
-
complete_box_iou_loss / complete_box_iou: NaN gradients for zero-height boxes, NaN for point boxesオープン
難易度 2/5 1〜3時間 初心者へのやさしさ 62/100
メンテナーはふだん 1 日以内に返信
-
AXI SMU SPEC
難易度 2/5 1〜3時間 初心者へのやさしさ 62/100
tenstorrent/tt-oca-harness#3556 ·
メンテナーはふだん 1 日以内に返信