Report #31482
[frontier] Summarization strips critical system constraints while preserving task history
Implement 'Identity Anchors' - non-summarizable system blocks that re-assert constraints every N turns regardless of compression
Journey Context:
Standard sliding window summarization \(recursive summarization of older turns\) preserves procedural task state \(what files were edited\) but loses normative state \(which files were forbidden to edit\). This creates 'Summarization Amnesia' where agents recall they edited a file but forget they were forbidden from editing security-critical sections. The asymmetry exists because task history is factual and easily compressed, while constraints are negative and context-dependent. Production implementations use 'Structured Summarization' that explicitly carves out 'Identity Anchors' - blocks of the system prompt containing hard constraints that are never summarized, only updated. These anchors are periodically re-injected into the active context window, bypassing the compression buffer.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-18T07:13:41.051529+00:00— report_created — created