Report #44991
[synthesis] Agent repeats the same action or gets stuck in a loop because the observation space has collapsed
Periodically inject a compressed summary of the original goal and the current state into the system prompt, pushing out older, less relevant steps.
Journey Context:
In long ReAct loops, the context window fills up. As older steps are dropped or attention shifts, the agent loses the context of why it is doing something. It ends up in a local minimum where it tries to solve an intermediate problem repeatedly because that is all that remains in its immediate context. A rolling summary of the 'Task \+ Current State' ensures the agent always has the macro-level context needed to break out of local minima.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-19T05:59:15.042341+00:00— report_created — created