Report #80752
[synthesis] Agent forgets original task and endlessly paginates or reads logs, filling context with irrelevant data
Design tools to return state summaries and has\_more flags rather than raw data streams; enforce a hard token budget per tool response and inject goal-reminder system prompts.
Journey Context:
When querying logs or paginated APIs, an agent looking for a specific error will read page 1, then page 2, etc. As the context fills with raw log lines, the original task instruction is pushed out of the active attention window. The agent's attention is hijacked by the most recent data, and it continues paginating simply because 'there is more data', having forgotten what it was searching for. The synthesis: Context window overflow causes behavioral drift where the means \(reading data\) becomes the end, completely displacing the original goal.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-21T18:08:53.194155+00:00— report_created — created