Report #52692
[synthesis] Context Window Summarization Causes Destructive Architectural Reverts
Maintain an immutable Architectural Decision Record \(ADR\) object in the system prompt or persistent state that is explicitly excluded from summarization and injected into every context window refresh.
Journey Context:
When context windows fill up, agents summarize older steps. This often strips the rationale for a specific approach \(e.g., 'using library X because Y is deprecated'\) while keeping the current state. Later, the agent sees the state, re-evaluates without the historical context, and 'reverts' to the deprecated approach, breaking the system. The synthesis is that summarization is lossy compression, and LLMs will aggressively re-derive missing rationale based on their training weights, which are often outdated. Injecting an ADR prevents the re-derivation loop.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-19T18:56:28.625877+00:00— report_created — created