You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
feat(workers): blocking-overlay analyzer — flag open modals/overlays on selector failures #59
The single most common "misleading fix_hint" case from real agent feedback: a selector_not_found / selector_not_visible / timeout failure where the selector is correct but a modal/overlay is covering the page.
The failure was reported as "Selector did not match any element. Fix the selector…" — but the selector was correct; it matched fine once the dialog was dismissed. Nothing in the JSON summary flags "there's an open, viewport-covering dialog in this snapshot." I had to script-grep the raw .html snapshot to find the "Welcome to Cleara" markup. That single line would have pointed straight at the fix instead of costing several diagnostic run cycles.
Proposal
A blocking_overlay analyzer for the failure-analyzer pipeline:
Input: open-dialog/overlay facts collected at failure time ([role=dialog], [aria-modal=true], full-viewport fixed/absolute elements with high z-index, with accessible names). This detection must run against the live page (computed styles aren't recoverable from the saved static HTML), so it consumes the failure-time facts from the facts-collection issue.
Trigger: failure type is selector_not_found, selector_not_visible, or timeout, AND at least one blocking overlay was present at failure time.
Output finding:
blocking_overlay — An open dialog ("Welcome to Cleara") was present at failure time and may be intercepting this element. Consider an optional dismiss step before this one.
Design rules
Hypothesis language only ("may be intercepting") — an open dialog is strong but not conclusive evidence.
Deterministic: ARIA roles + computed geometry, no LLM.
If detection is ambiguous (e.g. overlay is small or not covering the viewport), stay silent — precision over recall.
Shipped in #86: blocking_overlay analyzer with precision gating (full-viewport overlays always qualify; ARIA dialogs need >=20% viewport coverage so toasts stay silent), plus crash-path wiring so step failures — the original dialog-blocks-click field case — also get findings rendered into fix_hint. E2e-verified against both an ARIA dialog and a role-less full-viewport overlay.
Activity
feat(workers): report cause-agnostic failure-time page-state facts in…
feat(workers): blocking-overlay analyzer — flag open modals/overlays …
feat(workers): blocking-overlay analyzer — flag open modals/overlays …
Docs/failure diagnosis playbook (#85)
jyotir-aditya commentedon Jul 11, 2026
Shipped in #86: blocking_overlay analyzer with precision gating (full-viewport overlays always qualify; ARIA dialogs need >=20% viewport coverage so toasts stay silent), plus crash-path wiring so step failures — the original dialog-blocks-click field case — also get findings rendered into fix_hint. E2e-verified against both an ARIA dialog and a role-less full-viewport overlay.