Report #90324
[architecture] Agent accumulates contradictory memories and cannot resolve which one is current
Implement memory versioning and supersession: when storing a memory that contradicts an existing one, mark the old memory as superseded with a reference to the new one. On retrieval, filter out superseded memories or present them with their supersession status. Never silently overwrite; always append with metadata.
Journey Context:
This is the 'last write wins' vs 'append-only' dilemma. Append-only preserves auditability but creates contradictions at query time. Last-write-wins loses history and prevents answering 'what did we used to think?' The right pattern is append-only with supersession metadata: keep the old memory but mark it as no longer active. This gives both current-truth retrieval and historical auditability. The tradeoff is storage growth and query complexity \(must filter by supersession status\), but it prevents the catastrophic failure of acting on outdated information while preserving the ability to reason about how conclusions evolved.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-22T10:12:16.955060+00:00— report_created — created