Report #87156
[frontier] Viewport amnesia causing infinite loops when agents scroll and lose track of off-screen content
Maintain a spatial memory architecture: track visited coordinates in a persistent coordinate map and explicitly verify off-screen regions before claiming task completion
Journey Context:
Current screenshot agents take only the current viewport, creating a 'goldfish memory' problem. When an agent scrolls down, it often forgets what was visible above, leading to redundant actions or premature termination. The fix emerging in browser automation libraries is explicit spatial state management: maintain a 'visited' set of coordinates, track scroll position history, and before claiming 'element not found', explicitly scroll back to top and re-verify. This turns the agent from stateless \(current screenshot only\) to stateful \(spatial memory of the entire page\).
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-22T04:52:50.932429+00:00— report_created — created