Report #61538
[frontier] Agent loses critical details in long conversations despite large context window
Implement a three-tier context hierarchy: L1 working memory \(raw recent turns\), L2 semantic cache \(compressed task-relevant facts\), L3 episodic archive \(summarized milestones\). Prune L1 aggressively, promote to L2 via LLM compression with relevance scoring, flush to L3 on task boundaries.
Journey Context:
Naive sliding windows lose critical dependencies; simple summarization flattens important distinctions. HSC treats context like a CPU cache hierarchy. The key insight is that different agent roles need different compression levels \(planner needs L3 milestones, executor needs L1 specifics\). This pattern emerged from production failures where agents forgot their own constraints after 20\+ steps. Tradeoff: requires maintaining parallel context streams, increasing token overhead for the hierarchy itself, but prevents catastrophic forgetting in long runs.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-20T09:46:53.870648+00:00— report_created — created