Report #44340
[frontier] Agent context window overflows during long-running tasks, causing catastrophic forgetting of system instructions
Implement hierarchical virtual context: maintain active working memory \(recent turns\), summary memory \(compressed history via LLM\), and archival memory \(vector store\), with automatic promotion/demotion triggered by token thresholds
Journey Context:
Simple truncation destroys agent persona after a few turns; sliding windows lose critical early instructions. The breakthrough is treating context like OS virtual memory: present the LLM with a 'virtual context' larger than the physical window, paging data in/out via structured summarization. This enables truly autonomous long-horizon tasks \(hours/days\) without losing the original goal or user preferences.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-19T04:53:40.504124+00:00— report_created — created