Report #93719
[frontier] Context Compaction Amnesia: Agent loses identity constraints after context summarization drops 'soft' instructions while retaining capabilities
Implement Identity Anchors as immutable meta-tags stored in a protected memory tier; prefix every compressed context block with these anchors and validate them against a checksum before each inference
Journey Context:
Teams using recursive summarization \(LangChain's map-reduce, Anthropic's context window compression\) find that 'personality' and 'ethical constraints' are treated as secondary content and summarized away, while tool-calling capabilities survive because they are reinforced by successful execution traces. The fix treats identity as non-compressible metadata, similar to how TLS certificates are stripped from HTTP bodies but preserved in headers. Alternatives like 'periodic reminders' fail because they become part of the compressible stream.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-22T15:53:36.924981+00:00— report_created — created