Repository navigation
Triage batch: occluded-click classification (#88), selector suggestions (#65), framework-aware init (#73), docs drift sweep (#64) - #91
Merged
Conversation
…elector_not_visible (#88) A click blocked by an overlay resolves the locator (the selector is correct) but times out on actionability. Playwright's call log starts with the same 'waiting for locator(...)' line either way, so the crash classifiers reported selector_not_found — steering agents toward rewriting a correct selector. Check for 'locator resolved to' / actionability text first, update the occluded-case fix_hint to stop implying a selector fix, and flip the benchmark's occluding-modal expected_failure_type so this class of drift is caught.
…as not planned (#64) Docs still described the removed hybrid host-worker mode and slim image as current behavior, and listed explicit ROADMAP non-goals (LangGraph wrappers, WebSocket streaming, DOM diffing) as planned. Rewritten against the actual code paths (single server image, per-OS network mode, poll-based dashboard sync); ROADMAP Phase 1 drift checkbox ticked. @verifyruntime references now limited to the still-published SDK package.
…sing starter flow (#73) detectFramework() is a package.json dependency lookup (next -> :3000, vite -> :5173). Detection only fills defaults: an explicit --base-url / VERFIX_BASE_URL always wins, a live detected port still outranks the convention in the wizard, and unknown frameworks keep today's behavior byte-for-byte (flows: []). Detected projects get a conservative home-loads flow (navigate / + page_loaded + no_console_errors) that passes on a fresh starter without hand-editing. Covered by a standalone framework-detect test wired into npm test.
…et on selector failures (#65) selector_not_found/selector_not_visible failures now carry additive details: suggested_selectors (up to 3 candidates from the failure-time DOM, ranked by Dice bigram similarity over id/testid/name/placeholder/ aria-label/text/class, built as ready-to-paste selectors preferring data-testid > id > name > aria-label > text) and dom_snippet (truncated HTML around the expected location: the selector's own match, deepest matching ancestor prefix, or a landmark fallback). Fully deterministic — no LLM, works in strict mode with no AI key. fix_hint names the top candidate when its score clears the 0.8 confidence gate. Wired on both failure paths: assertion failures enrich details in runAssertions; step crashes probe the still-live page in the engine's crash handler and ride at the result top level (selector_context), mirroring page_state/findings. The CLI surfaces both as additive failures[] fields and documents them in the generated instructions. Also fixes strict-mode selector_visible conflating 'matched nothing' with 'matched but hidden' (isVisible() returns false for both): a count() disambiguation now reports selector_not_found vs selector_not_visible truthfully.
jyotir-aditya
force-pushed
the
claude/github-triage-delegation-b6bb1e
branch
from
July 16, 2026 15:59
a5100b0 to
1040298
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Four issues from the open backlog, one commit each.
fix(workers,cli): occluded clicks classify as
selector_not_visible(#88)A click blocked by an overlay resolves the locator but times out on actionability; Playwright's call log starts with the same
waiting for locator(...)line either way, so both crash classifiers reportedselector_not_found— steering agents toward rewriting a correct selector. The classifiers now check forlocator resolved to/ actionability text (intercepts pointer events, not stable, off-viewport) first. The CLI'sselector_not_visiblefix_hint no longer implies a selector fix, and the benchmark'soccluding-modalexpected_failure_typeis flipped so this class of drift is caught from now on.Verified live against the benchmark's occluding-modal app:
type: selector_not_visible,blocking_overlayfinding, non-misleading hint.feat(workers): deterministic closest-selector suggestions + DOM snippet (#65)
selector_not_found/selector_not_visiblefailures now carry two additive fields:suggested_selectors— up to 3 ready-to-paste candidates from the failure-time DOM, ranked by Dice bigram similarity over id/testid/name/placeholder/aria-label/text/class, preferringdata-testid>#id>[name]>[aria-label]>:has-text. Fully deterministic — no LLM, works in strict mode with no AI key.fix_hintnames the top candidate above a 0.8 confidence gate; nothing plausible ⇒ both fields absent (silence over noise). The selector that already failed is never re-suggested.dom_snippet— truncated HTML around the expected location (the selector's own match, its deepest matching ancestor prefix, or a landmark fallback).Wired on both failure paths: assertion failures enrich
detailsinrunAssertions; step crashes probe the still-live page in the crash handler and ride at the result top level (selector_context), mirroringpage_state/findings. The CLI surfaces both as additivefailures[]fields and documents them in the generated.verfix/INSTRUCTIONS.md.Also fixes strict-mode
selector_visibleconflating "matched nothing" with "matched but hidden" (isVisible()returns false for both) via acount()disambiguation — exposed by e2e-testing this feature: the near-miss case previously reported "exists but is not visible" for an element that didn't exist.E2E on the testbed:
#user-name(real id#username) yieldstype: selector_not_found,suggested_selectors: [{"selector": "#username", "score": 1}], the login-formdom_snippet, and a fix_hint naming#username— on both the assertion and step-crash paths.feat(cli): framework-aware init (#73)
detectFramework()is apackage.jsondependency lookup (next→ :3000,vite→ :5173) — a table, not a plugin system. Detection only fills defaults: explicit--base-url/VERFIX_BASE_URLalways wins, a live detected port still outranks the convention in the wizard, and unknown frameworks keep today's behavior byte-for-byte (flows: []). Detected projects get a conservativehome-loadsflow (navigate/+page_loaded+no_console_errors) that passes on a fresh starter without hand-editing.docs: delete hybrid-mode/slim-image drift (#64)
Docs still described the removed hybrid host-worker mode and slim image as current behavior, and listed explicit ROADMAP non-goals (LangGraph wrappers, WebSocket streaming, DOM diffing) as planned. Rewritten against the actual code paths (single server image, per-OS network mode, poll-based dashboard sync); ROADMAP Phase 1 drift checkbox ticked.
@verifyruntimereferences now limited to the still-published SDK package.Verification
cd workers && npx tsc --noEmit --skipLibCheck && npm test— all suites green (including newtest:selector-suggestions, extendedtest:analyzers)cd cli && npx tsc --noEmit+ all standalone CLI suites green (including newtest:framework-detect);cli/test/json-purity.shgreentestbedlogin flow):passed: true,timeline_url: nullCloses #88, closes #65, closes #73, closes #64.