Aller au contenu principal

Define memory governance and observability requirements for agents

Implementation Effort: Medium – Requires defining what memory operations must be logged, what provenance metadata each entry carries, how long history is retained, and how memory telemetry is routed into existing audit and SIEM/XDR pipelines.
User Impact: Low – This is an administrative and engineering standard applied to how agents record and retain memory activity; end users are not directly prompted or affected.

Overview

Agent memory is both high-value data and a control plane, so it needs the same auditability that any system capable of acting is held to. Without a governance and observability standard, memory becomes a store that influences agent behavior but cannot be reliably investigated, trusted, or safely expired during an incident. This activity defines the requirements for full-lifecycle visibility: every create, read, update, and delete operation on memory should be logged with the identity, timestamp, source, and model version that produced it; history should be retained long enough to reconstruct an incident and roll back corrupted state; and where memory propagated — its blast radius — should be traceable. It also sets the requirement that memory telemetry is integrated with the organization's audit and security operations tooling, so that memory activity is correlated with broader signals rather than sitting in an isolated log. For agents built on Microsoft 365 Copilot, memory-enabled interactions already emit structured audit events to Microsoft Purview and can be surfaced for investigation; for custom agents, the same provenance and logging discipline must be built in deliberately.

This supports Assume breach because complete, provenance-rich logging of memory operations is what allows a security team to detect memory poisoning and persistent cross-prompt injection, trace how a corrupted entry influenced later interactions, and expire or roll back affected memory during response. It supports Verify explicitly by requiring provenance metadata on every entry, so that the trustworthiness of stored information can be judged from its source and identity rather than assumed. Governance also anchors the ability to respond to data subject requests and to apply the correct retention and deletion handling to memory that would otherwise fall outside standard controls. If this standard is not established, memory operations go unrecorded or unattributed, there is no chain of custody to investigate corruption, blast radius cannot be determined, and the organization loses the audit trail it needs to prove what an agent remembered, why, and how that memory shaped its behavior.

Reference