Jump to Section (07)
- 01 / Why do enterprise AI agents blur accounts and keep stale plans in memory?
- 02 / Why do agent memories silently override company playbooks and rules?
- 03 / How do poisoned memories and zombie deletions create compliance liability?
- 04 / How does a governed memory architecture stop drift, poisoning, and data leaks?
- 05 / What should operations leaders audit before turning on persistent agent memory?
- 06 / Frequently Asked Questions
- 07 / Primary Sources (08)
- Basic lookup works while telling accounts apart fails: Across 310 synthetic sales queries, recalling facts and current states hits roughly 0.93 to 0.98 on a zero-to-one scale, yet none of eight baselines exceeds 0.40 when separating lookalike accounts [1].
- Single edits leave older plans stale: Updating one fact can invalidate earlier conclusions and plans even when revised values go unstated [2]. Dependency-graph updates reach 84.8% direct fact updates and 73.6% downstream derived updates across 3,200 scenarios [2].
- Old memories quietly override written rules: Across 1,383 runs on three open-weight models testing 52 memory-versus-skill contradictions, 89% disclosed nothing about the conflict and 98.8% of tool-call runs emitted no accompanying text [3]. An explicit precedence rule still left 3-10% residual non-compliance on the two stronger models [3].
- Poisoning lingers and deletion leaks: In a 60-session synthetic back-office test across six models, 150 planted items per model caused wrong actions in 2% to 93% of undefended cases [4]. Audits of five commercial agents (around 3,800 sessions) showed visible panels reveal around 20% of stored attributes on average and all five leaked post-delete [5]. Separately, soft deletion left 70 of 71 forgotten secrets recoverable across ten multi-session chats written by the largest tested 1.5B to 7B model [6].
- Governed memory closes the main gaps: Unmerged history lifts account separation to 0.800 [1], zero-LLM append-only storage hits 95.40% across 477/500 evaluations (with MemoryAgentBench splits ranging from 91.00% down to 10.00%) [8], sandboxed checks hold harmful commits to 3.6% [7], runtime provenance stops planted items unless a simulated user approves a bad confirmation (86% correct autonomous completion, no attacker) [4], and lineage encryption recovers none of 71 secrets [6].
- Lookalike account bottleneck: Across 310 synthetic sales queries (210 answerable, 100 unanswerable), DISCERN lifts account separation (entity resolution) to 0.800 where eight baselines cap at 0.40, raising full-benchmark answer accuracy to 0.861 (versus 0.806) and safe refusal scoring (abstention F1) to 0.924 (versus 0.802 max) [1].
- Stale downstream plans: Across 3,200 two-session scenarios, DUNE lifts direct fact updates by 22.2 points (to 84.8%) and downstream dependent updates by 22.5 points (to 73.6%) [2].
- Prompt order beats authority: Across 1,383 runs on three open-weight models, moving the written skill closer to the task shifted factual and procedural winners by prompt position while 89% hid the contradiction [3].
- Deleted chats remain readable: Across ten multi-session chats written by the largest tested model (across compact 1.5B to 7B parameter writers), an attacker holding storage files and current keys recovered 70 of 71 forgotten secrets after logical deletion and 67 with per-object or epoch keys, versus none with LinEra lineage encryption [6].
Why do enterprise AI agents blur accounts and keep stale plans in memory?
Operations teams switch on long-term agent memory for a practical reason. Nobody wants a sales assistant asking the same client for shipping terms or billing contacts every week.
Early demos feel effortless. You mention a preference on Tuesday, check back on Friday, and the assistant repeats it cleanly.
Real company data breaks that calm quickly. Subsidiaries share near-identical names, contract dates shift mid-quarter, and pricing notes get superseded twice before a deal closes [1].
Ahuja and colleagues tested this failure mode on ENT-310, a synthetic enterprise sales-agent benchmark of 310 queries (210 answerable, 100 unanswerable) [1]. Their findings overturn the usual vendor pitch.
Recalling isolated facts and recent updates is largely solved. Retention and currency already score roughly 0.93 to 0.98 on a zero-to-one scale across competent systems, and standard Retrieval-Augmented Generation (RAG) matches dedicated memory tools on basic lookup [1].
Failure strikes when accounts look alike. When similarly named clients or subsidiaries blur together during vector search, none of eight baseline systems scored above 0.40 on telling lookalike accounts apart (entity resolution) [1].
Pulling the right words from the wrong subsidiary still sends the wrong quote. Baselines also struggled to hold back when records were incomplete, capping safe refusal accuracy (abstention F1) at 0.802 [1].
Even when an agent updates a primary fact cleanly, hidden rot stays behind. Ma and colleagues showed that replacing one obsolete fact can invalidate earlier conclusions, answers, and action plans derived from it, even when revised downstream values are never stated [2].
Picture a finance lead tightening a client's credit tier. The store overwrites the credit line, yet an older summary recommending extended payment terms remains active in persistent memory.
To measure that drift, Ma and colleagues built DRM-bench with 3,200 two-session scenarios covering semantic, episodic, and procedural memory [2]. Plain overwrites leave derived notes stale, mirroring the retrieval clashes in why internal AI search serves outdated policies.
| Primary Study | Scope Audited | Key Finding | Operational Takeaway |
|---|---|---|---|
| DISCERN [1] | Synthetic sales queries (310) and multi-session chats (LoCoMo) | Recall ~0.93 to 0.98, 8 baselines <=0.40 entity resolution, DISCERN 0.800 | Keep accounts unmerged at write time |
| DUNE [2] | DRM-bench (3,200 two-session scenarios) | 84.8% direct (+22.2 pts) and 73.6% derived updates (+22.5 pts) | Propagate fact edits across dependencies |
| Epistemic Parity [3] | 1,383 runs, 52 scenarios, 3 open-weight models | 89% silent conflicts, 98.8% textless tool-call runs, 3-10% residual non-compliance (2 stronger models) | Separate SOP rules from memory blocks |
| Ask, Forget, Repair [4] | 6 models, 60 synthetic sessions, 150 items per model | 2% to 93% wrong actions, labels leave 15% and 67% wrong actions on two models, runtime stops planted items unless simulated user approves bad confirmation | Enforce provenance in runtime code |
| FORGETMENOT [5] | ~3,800 sessions, 5 commercial agents | ~20% attributes visible on avg, all 5 leak post-delete, 31.9% Gemini email leak | Audit storage beyond vendor panels |
| LinEra [6] | Multi-session chats (LoCoMo, 1.5B-7B, 10 chats) | 70 of 71 recovered post-delete vs. none with LinEra, 3.8% 4-turn radius (1% turns forgotten) | Pair lineage encryption with 4-turn windows |
| FGSE [7] | WebArena (39.8), AppWorld (78.8) | 5.0% falsification fails, 1.3% regression, 3.6% harmful commits | Test learned lessons in temporary state |
| LongMemOS [8] | 5 benchmarks (10,957 evaluations) | 95.40% LongMemEval-S (477/500), 91.00% CR-SH, USD 0 write fee, 10.00% CR-MH | Use append-only deterministic writes and audit benchmark splits |
Why do agent memories silently override company playbooks and rules?
Written playbooks keep teams aligned. Approval limits, refund caps, and output formats should hold no matter who spoke last.
Production agents break that hierarchy by mixing two sources together. Episodic memory injects past chat notes into the same context block as procedural skill files, with no defined precedence [3].
Pandey named this clash epistemic parity and tested 52 scenarios spanning factual, format, procedural, and permission conflicts [3].
Across 1,383 runs on three open-weight models, neither source won uniformly [3]. Outcomes depended jointly on conflict type, model choice, and injection order [3].
Moving the skill block nearer the task raised its win rate across all six factual and procedural cells (sign test, p = 0.031) yet reversed for format conflicts [3]. Resolution tracked token placement rather than corporate authority [3].
Prompt patches failed to fix it. Adding an explicit "skill takes absolute precedence" rule still left 3-10% residual non-compliance on the two stronger models and pushed the smallest model's factual and procedural resolution in the wrong direction [3].
Silence compounded the damage. In 98.8% of tool-call runs the agent emitted no accompanying text, and 89% of all runs disclosed nothing about the contradiction [3]. Silent adjudication was the default, echoing why AI customer service agents violate company policies.
How do poisoned memories and zombie deletions create compliance liability?
Back-office agents read untrusted text daily. Inbound emails, supplier notes, and web forms flow straight into session histories that populate long-term memory.
That creates a delayed attack path. An agent can be poisoned in one session and exploited in a later session [4].
Motwani tested six language models from four vendors in a 60-session synthetic back-office workload with 150 planted memory items per model and a simulated user [4]. Undefended, planted items caused a wrong action in 2% to 93% of cases depending on the model [4].
Unenforced provenance labels fell short. Showing labels alone cut wrong actions to 0-1% on four models yet left 15% and 67% on the other two [4]. Merging also let user answers inherit untrusted labels and expire, costing label-respecting models up to 30 points [4].
Commercial agents showed parallel privacy gaps. Jarin, Le, and Markopoulou audited five popular AI agents across around 3,800 sessions (~6M tokens) [5]. User-visible memory revealed only around 20% of stored attributes on average, while stealth memory injection (SMI) raised stored personal and sensitive attributes by 25% on Copilot and 15% on Claude [5].
All five commercial agents exhibited non-zero post-deletion leakage, including health and self-harm attributes, and a proof-of-concept 3rd-party email test hit 31.9% leakage on Gemini [5].
Ameur, Mokhtari, and Bouzefrane showed why clicking Delete fails underneath [6]. Because agents write derived summaries, facts, and embeddings from user text, removing a message leaves derivatives, residue, and backups behind [6].
Across ten LoCoMo conversations written by the largest tested model (from 1.5B to 7B writers), an attacker holding all files and current keys recovered 70 of 71 forgotten secrets after logical deletion and 67 with per-object or epoch keys [6]. Those gaps sit beside why prompt injection attacks hijack enterprise AI agents and why enterprise RAG access control leaks restricted data.
How does a governed memory architecture stop drift, poisoning, and data leaks?
Burned teams often swing to extremes. Some disable memory completely, while others add extra LLM rewrite passes that raise costs and erase provenance [8].
Recent research points to a cleaner pattern. Keep writes append-only, propagate dependencies, test lessons before commit, enforce provenance in code, and bind deletion to cryptographic lineage.
Start by banning destructive LLM overwrites. DISCERN applies one rule: preserve at write, resolve at read [1].
At write time, DISCERN builds a strictly additive bi-temporal provenance graph that never merges confusable entities and never drops superseded values [1]. At read time, a zero-LLM tool surface drives an agentic loop committing one of four gated terminal actions [1].
On ENT-310, that lifted account separation (entity resolution) to 0.800 (versus 0.40 max across eight baselines), macro answer correctness to 0.861 (versus 0.806), and abstention F1 to 0.924 (versus 0.802 max) [1]. On LoCoMo with zero tuning, it again led macro correctness at 0.663 versus 0.638 [1].
LongMemOS pushes deterministic writes further [8]. Its zero-LLM, zero-learned-embedding Rust write path persists turns offline in an encrypted, append-only store split at 32 KiB UTF-8 boundaries with monotonic sequence numbers, SHA-256 verification, and explicit supersedes chains [8].
Across 10,957 evaluations on five benchmarks, one frozen binary hit 95.40% on LongMemEval-S (477/500), 92.40% on LongMemEval-M (462/500), 92.86% on LoCoMo Cat 1-4 (Cat 5: 65.02%), and 75.92% micro-average on MemoryAgentBench (2,071 items, with 91.00% CR-SH and 10.00% CR-MH) at USD 0 write-time model fees, 167 ms cold start, and ~75 MB typical RSS (~195 MB peak on BEAM-10M) [8]. That spread from 91.00% CR-SH down to 10.00% CR-MH highlights how much benchmark splits still vary even on deterministic storage [8].
Second, link derived conclusions back to source facts. DUNE maps evidence to nodes and dependencies to edges so edits cascade cleanly [2]. On DRM-bench, DUNE hit 84.8% direct source updates and 73.6% derived updates, lifting averaged F1 by 9.6 points, LLM Judge by 14.8, SourceUpdate by 22.2, and DerivedUpdate by 22.5 [2].
Third, test self-learned lessons before saving them. Tang and colleagues showed direct episode write-back treats local success as unreliable proof of general safety [7]. Falsification-Gated Self-Evolution (FGSE) treats each candidate lesson as a structured hypothesis with a precondition, behavior change, expected effect, and verifier, testing it in temporary state on target-transfer, falsification, and archived-regression probes before commit [7]. FGSE reached 39.8 WebArena success and 78.8 AppWorld average completion while holding falsification failures to 5.0%, regression damage to 1.3%, and harmful committed updates to 3.6% [7].
Fourth, enforce provenance in the runtime. In Motwani's six-model synthetic workload, runtime enforcement stopped every planted item unless a simulated user approved a bad confirmation [4]. With no attacker present, hands-off completion fell to 86% across every model, a drop of 3 to 14 points [4].
Finally, bind deletion to cryptographic lineage. LinEra encrypts each derived memory under a key generated from its parents' keys via a puncturable pseudorandom function, so one puncture makes every descendant unreadable [6]. Where logical delete leaked 70 of 71 secrets and per-object or epoch keys leaked 67, LinEra leaked none across every writer tested [6]. Forgetting 1% of turns erased 73.0% of derived memories under session summaries yet only 3.8% under four-turn windows, which also answered better [6].
What should operations leaders audit before turning on persistent agent memory?
Switching on a vendor's Memory toggle looks simple in a demo. Once real accounts, manuals, and supplier emails flow through the system, ungoverned memory turns into quiet operational risk.
Before approving persistent memory on live workflows, leadership should confirm five concrete controls:
- Append-only writes with unmerged accounts: Confirm writes keep timestamps, hashes, and distinct entities rather than overwriting or blending records [1] [8].
- Dependency links for derived plans: Check that editing a client term updates or invalidates every downstream summary built on the older fact [2].
- Hard SOP precedence with conflict logs: Keep written rules outside unranked memory blocks and block silent tool calls when memory contradicts policy [3].
- Runtime provenance confirmation budgets: Enforce source checks in code, train reviewers against bad approvals, and budget for the 3 to 14 point drop in hands-off completion [4].
- Lineage-complete deletion on narrow windows: Audit real forget requests across derived summaries and backups, using four-turn windows so deleting 1% of turns limits collateral erasure to 3.8% [5] [6].
Persistent memory delivers durable business value only when storage stays immutable, lessons face falsification before commit, provenance runs in code, and deletion destroys every derivative.
Frequently Asked Questions
Does high recall accuracy mean an enterprise memory system is safe to deploy?
No. Across 310 synthetic sales queries (ENT-310), retention and currency reach roughly 0.93 to 0.98, yet none of eight baselines exceeded 0.40 when separating lookalike accounts [1]. Safe rollout requires disambiguation, time-state tracking, and abstention [1].
Can a strict system prompt force an agent to obey SOPs over old memory?
No. Across 1,383 runs on three open-weight models, an explicit "skill takes absolute precedence" rule still left 3-10% residual non-compliance on the two stronger models and moved the smallest model in the wrong direction [3].
What actually survives after clicking Delete in a commercial AI agent?
Audits across five commercial agents showed all five exhibited non-zero post-deletion leakage while user-visible panels showed around 20% of stored attributes on average [5]. On ten LoCoMo chats written by a 7B model, logical deletion left 70 of 71 forgotten secrets recoverable from derived files [6].
How much user friction does runtime provenance enforcement create?
In Motwani's six-model synthetic workload with no attacker present, runtime enforcement lowered autonomous completion without involving the user to 86% across every model, a 3 to 14 point drop, while stopping planted items unless a simulated user approved a bad confirmation [4].
Why do four-turn windows beat session summaries for compliant erasure?
In LinEra's tests, forgetting 1% of turns erased 73.0% of derived memories under session-level summaries yet only 3.8% under four-turn windows, which also delivered stronger answers [6].
Primary Sources & Verification Ledger
08 VERIFIED CITATIONS-
[1]
Ahuja, C., Tanov, V., Kakarla, R., & Taws, J. (2026). DISCERN: Preserve at Write, Resolve at Read for Persistent LLM-Agent Memory. arXiv preprint.ARXIV VERIFIED arxiv.org/abs/2611.15729 ↗
-
[2]
Ma, K., Zhang, M., Chen, S., Zhang, C., Liu, S., & Jin, R. (2026). DUNE: Keeping Derived Memories Consistent with Changing Facts. arXiv preprint.ARXIV VERIFIED arxiv.org/abs/2612.03740 ↗
-
[3]
Pandey, P. (2026). Navigating Epistemic Parity in LLM Agents: A Benchmark for Cross-Source Conflict Resolution Between Memory and Procedural Skills. arXiv preprint.ARXIV VERIFIED arxiv.org/abs/2610.33128 ↗
-
[4]
Motwani, R. (2026). Ask, Forget, Repair: What Provenance-Gated Agent Memory Costs Across Six Language Models. arXiv preprint.ARXIV VERIFIED arxiv.org/abs/2611.36401 ↗
-
[5]
Jarin, I., Le, T., & Markopoulou, A. (2026). FORGETMENOT: Auditing Memory Driven Privacy Risks in Commercial AI Agents. arXiv preprint.ARXIV VERIFIED arxiv.org/abs/2611.29804 ↗
-
[6]
Ameur, Y., Mokhtari, B., & Bouzefrane, S. (2026). Forget the Lineage: Forward-Secure, Lineage-Complete Cryptographic Erasure for LLM-Agent Memory. arXiv preprint.ARXIV VERIFIED arxiv.org/abs/2611.18133 ↗
-
[7]
Tang, R., Gao, H., Ding, Y., Yao, J., Zheng, Z., Sheng, Z., & Hou, L. (2026). When Should Agents Remember? Falsification-Gated Self-Evolution for LLM Agents. arXiv preprint.ARXIV VERIFIED arxiv.org/abs/2611.14326 ↗
-
[8]
Wang, Y. (2026). LongMemOS: Zero-LLM-Write Deterministic Long-Term Memory for Enterprise AI Agents. arXiv preprint.ARXIV VERIFIED arxiv.org/abs/2612.04831 ↗