Repository navigation
bench: run trials in a local Chromium (--browser local) - #117
Merged
Merged
Conversation
yummybomb
force-pushed
the
hypeship/bench-local-chrome
branch
from
October 8, 2026 18:57
550bccc to
998964a
Compare
yummybomb
force-pushed
the
hypeship/bench-local-chrome
branch
2 times, most recently
from
October 9, 2026 02:25
3241f74 to
a45c736
Compare
yummybomb
changed the base branch from
hypeship/bench-checkout-intents
to
hypeship/ab-harness
October 9, 2026 02:26
--browser local runs each trial in a Chromium on this machine with a throwaway profile, the xwebmcp extension and its own xwebmcp home, so sites see a real browser and the machine's IP. Tools are registered through the extension's bridge, and the agent uses `xwebmcp mcp` and Chrome DevTools MCP, with their own allowlist, MCP config and system prompt. A resumed run keeps the backend it was planned with.
yummybomb
force-pushed
the
hypeship/bench-local-chrome
branch
from
October 9, 2026 06:09
a45c736 to
8af7484
Compare
yummybomb
marked this pull request as ready for review
October 9, 2026 08:27
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.
Stacked on #112.
Summary
--browser localruns bench trials in a Chromium on your own machine instead of a Kernel browser, so sites see your IP and a real browser. This is for the many tool PRs on sites whose bot protection blocks Kernel browsers.Local State, and its ownXWEBMCP_HOME. Chrome passes that home to the native host through its environment, so trials running in parallel never share a bridge.xwebmcpfrom this checkout (or uses--xwebmcp), and registers the same pinned batch it sends to Kernel through the extension'saddCustomToolsbridge call. It then injects into the open tab withrefreshTaband waits for the tools to go live.xwebmcp mcpprovideslist_toolsandinvoke_tool, and Chrome DevTools MCP everything else, with their ownallowlist.local.txt,mcp.local.jsonandprompts/system.local.md. Control can't install tools:install_tooland the tab tools aren't allowed.--stealthand signed-in domains are Kernel-only.--headlessis for machines without a display.Testing
node --test "bench/**/*.test.mjs": 74 pass. New tests cover a Kernel run resumed with--browser local, which keeps using Kernel browsers (it used to switch to local ones), and the extension id, the per-browser MCP config, the local allowlist, the local browser prompt line, and transcript parsing ofxwebmcp mcpcalls and the extension'stool_refformat.search_flightsand answered in 23s against control's 63s.<user-data-dir>/NativeMessagingHoststhere as on Linux (chrome::DIR_USER_NATIVE_MESSAGINGinchrome_paths.cc), so the runner writes the manifest only into each trial's profile and changes nothing in~/Library.Review fixes
~/Library/Application Support.xwebmcpchanged since it started.local.mjsgainsremoveCustomToolfor the control sign-in check from Add bench: A/B harness for pi agents with and without xwebmcp tools #112. Checked in headless Chromium 154: a tool registered, went live, returned non-ASCII output through the bridge, and was removed.Later fixes
openai/gpt-5.4-mini, 1 pair ofipwho-country-asn: both armscorrect.