Skip to content

feat(core): improve describe element grounding#2721

Open
fishear wants to merge 3 commits into
mainfrom
feat/describe_optmize
Open

feat(core): improve describe element grounding#2721
fishear wants to merge 3 commits into
mainfrom
feat/describe_optmize

Conversation

@fishear

@fishear fishear commented Jun 25, 2026

Copy link
Copy Markdown
Contributor

Summary

  • add structured describe primitives for dropdowns, options, controls, status/text targets, and diagnostic retry metadata
  • tighten describe/locate prompts so field bodies, dropdown values/options, icons, and repeated table/list targets are separated more reliably
  • add diagnostic retry feedback centered on marker 1 context while treating marker 2 as the failed locator result
  • update describe deep-locate marker/crop handling and Qwen3 bbox normalization used by grounding verification

Evaluation

  • full none run: verify-20260625-214738
  • full diagnostic run: verify-20260625-215733
  • targeted FCST diagnostic follow-up: verify-20260625-221223 passed; verify-20260625-221801 remained flaky on the shadow screenshot, so this case is not counted as a stable fix

Validation

  • pnpm --dir packages/core exec vitest --run -u tests/unit-test/prompt/describe.test.ts tests/unit-test/agent-describe-element.test.ts
  • pnpm run lint

@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented Jun 26, 2026

Copy link
Copy Markdown

Deploying midscene with  Cloudflare Pages  Cloudflare Pages

Latest commit: 3fe5867
Status: ✅  Deploy successful!
Preview URL: https://15a011a9.midscene.pages.dev
Branch Preview URL: https://feat-describe-optmize.midscene.pages.dev

View logs

@fishear fishear requested review from EAGzzyCSL and ottomao June 26, 2026 09:42
@fishear fishear enabled auto-merge (squash) June 26, 2026 09:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant