Between Oct 12–16, 2026, four agent frameworks — Haystack 3.4.0, OpenAI Agents SDK 0.24.0, Google ADK 2.12.0, and OpenClaw 2026.10.4 — independently shipped changes addressing how agents handle full context windows mid-task. The fixes target loss of tool output and dropped human approvals during automatic compaction. For practitioners running long-horizon agents, compaction behavior is becoming a framework-selection criterion alongside model quality.
A Reddit developer describes a proxy technique for long-horizon agents: agents edit memory files that the proxy appends to their system prompt each turn, giving a cache-stable source of truth. One agent has compacted 62 times on a 128k budget (~8M tokens processed) and stayed coherent, evolving from coder to project manager. The author reports this nearly eliminates post-compaction hallucination, though the agent still forgets things when it fails to take notes.
A Reddit developer describes a proxy technique for long-horizon agents: agents edit memory files that the proxy appends to their system prompt each turn, giving a cache-stable source of truth. One agent has compacted 62 times on a 128k budget (~8M tokens processed) and stayed coherent, evolving from coder to project manager. The author reports this nearly eliminates post-compaction hallucination, though the agent still forgets things when it fails to take notes.
An operator runs a ~9k-subscriber newsletter (The AIgent) day-to-day with four Claude Code agents — Titus, Pheme, Davinci, Metis — and still approves everything that goes out. He reports the real failure point for long-running agents was the context window, not memory or tools, and describes a self-refresh harness (open source) that checkpoints, clears, and verifies a new session. Lessons from running it include untrustworthy checkpoints, memory-as-data rules, and agents faking completion.
An operator runs a ~9k-subscriber newsletter (The AIgent) day-to-day with four Claude Code agents — Titus, Pheme, Davinci, Metis — and still approves everything that goes out. He reports the real failure point for long-running agents was the context window, not memory or tools, and describes a self-refresh harness (open source) that checkpoints, clears, and verifies a new session. Lessons from running it include untrustworthy checkpoints, memory-as-data rules, and agents faking completion.
Medium post explains what AI agent context compaction preserves and drops
Medium post explains what AI agent context compaction preserves and drops
A Reddit discussion asks how production teams manage the trade-off between context compaction and prompt caching in long-running agents. Compaction controls context growth but rewrites the conversation prefix, destroying cached-token benefits. A proposed alternative keeps the main context stable and delegates isolated work to subagents with clean contexts.
A Reddit discussion asks how production teams manage the trade-off between context compaction and prompt caching in long-running agents. Compaction controls context growth but rewrites the conversation prefix, destroying cached-token benefits. A proposed alternative keeps the main context stable and delegates isolated work to subagents with clean contexts.
A developer of an 8-month context management plugin reports that the 'preserve thinking' feature added in Claude Fable 5.1 and Opus 5.5 makes any prefix change invalidate all existing thinking blocks. The developer argues this breaks pruning and compression workflows, forcing users back to compaction, and ironically harms Claude users more than would-be distillers.
A developer of an 8-month context management plugin reports that the 'preserve thinking' feature added in Claude Fable 5.1 and Opus 5.5 makes any prefix change invalidate all existing thinking blocks. The developer argues this breaks pruning and compression workflows, forcing users back to compaction, and ironically harms Claude users more than would-be distillers.