Encourage accessibility snapshots in Playwright results - #169
Open
rgarcia wants to merge 1 commit into
Open
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
rgarcia
force-pushed
the
hypeship/clawbench-aria-snapshot
branch
from
August 28, 2026 23:34
ace5e7a to
54ca49b
Compare
rgarcia
force-pushed
the
hypeship/clawbench-aria-snapshot
branch
from
August 29, 2026 00:35
54ca49b to
a2bcbcc
Compare
rgarcia
force-pushed
the
hypeship/clawbench-aria-snapshot
branch
from
August 30, 2026 18:23
a2bcbcc to
474b3b3
Compare
rgarcia
force-pushed
the
hypeship/clawbench-aria-snapshot
branch
from
August 30, 2026 18:23
474b3b3 to
2466301
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.
Summary
execute_playwright_codeinput description to ask every invocation for useful page stateariaSnapshot()after navigation and interactionWhy
Browser agents need the result of each Playwright call to decide the next action. Explicitly returning a compact accessibility snapshot keeps that state useful without producing a full-page payload.
This is intentionally separated from #162 so the ClawBench workflow can benchmark this description-only change against its base SHA.
Replay
Watch the successful Kernel MCP ClawBench replay for
v2-1202-beauty-cart-quantity-theordinaryat 4× speed.The task requires the agent to find Multi-Peptide + HA Serum, open the correct product, change its quantity to
2, and add it to the cart. ClawBench intercepted the resultingCart-AddProductrequest and the strict judge verified that it contained the correct product and quantity. The run scored1.0for interception and strict reward.This run exposed only Kernel MCP
execute_playwright_codeto Codex with GPT-5.6 Luna. Its source was the exact description-change commit37273e3, and the trajectory usedariaSnapshot()in 11 browser calls. The published 51-second replay contains no credentials, signed Kernel URLs, session IDs, or private benchmark artifacts.Test plan
bun test src/lib/mcp/register.test.tsbunx tsc --noEmitbunx prettier --check src/lib/mcp/tools/playwright.ts