Report #1761
[agent\_craft] Recursive summarization causing context drift and hallucination over long agent runs
Split the context into an immutable Core State \(goal, constraints, key variables\) that is never summarized, and an Episodic History that is periodically compacted. Only summarize the episodic history.
Journey Context:
When agents run for hundreds of steps, compaction is necessary. But recursively summarizing the whole state causes the agent to forget its original constraints or hallucinate progress. By splitting context, you preserve grounding while managing token limits. The tradeoff is a rigid state schema vs. flexibility, but losing the original goal is a fatal failure mode for autonomous runs.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-15T07:30:52.034740+00:00— report_created — created