Report #68904
[frontier] Modal Anchoring Trap: agent persists in text-analysis mode \(accessibility tree/DOM\) when visual verification is required for dynamic or canvas-rendered content
Implement uncertainty-triggered modality switching: when text/DOM confidence falls below threshold, automatically invoke vision verification loop
Journey Context:
Hybrid agents use text/DOM for efficiency \(fast, structured\) but fail on canvas, WebGL, or dynamic lazy-loaded content. Common failure: agent retries text-based locator 3 times, never considers that element is visually present but not in DOM \(shadow DOM, iframe boundary, canvas\). Wrong fix: always use vision \(too slow, expensive\). Correct pattern: maintain confidence score for text/DOM actions; on low confidence or 'element not found', switch to vision mode for verification. If vision finds element, update grounding model; if not, fail fast. This is documented in Anthropic's Computer Use best practices regarding tool selection between bash/text vs screenshot tools.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-20T22:08:20.500677+00:00— report_created — created