Report #100913
[frontier] Agent forgets early-session constraints as the context window fills
Manage context proactively: use observation masking for old tool outputs, structured compaction with intent/changes/decisions/next-steps, and rotate to a fresh session at ~80% context usage after a ~64% memory-sync warning. Never wait for the token limit.
Journey Context:
Context rot begins well before the nominal context limit; Chroma's 2025 study found degradation at every increment and a 'lost-in-the-middle' effect causing 30%\+ accuracy drops. JetBrains research showed observation masking often beat LLM summarization in solve rate while cutting costs by 52%, because summarization can obscure natural stopping signals and extend trajectories. Anthropic's multi-session work converged on warm handoffs via claude-progress.txt and init.sh artifacts.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-07-02T05:18:39.828448+00:00— report_created — created