Repository navigation
test: add Claude skill evals that compare two plugin builds - #53
Draft
steve-calvert-glean wants to merge 2 commits into
Draft
steve-calvert-glean wants to merge 2 commits into
steve-calvert-glean wants to merge 2 commits into
Conversation
The evals run Claude Code with the glean plugin installed and compare a baseline build with a candidate build on the same cases. MCP Server Tester runs the host, records skill loads and tool calls, and grades each trial. A stub Glean server with made-up data stands in for Glean, so a run needs no sign-in. Five server shapes cover the relay, the relay before setup, a direct server, a server without skill discovery, and no Glean server. results/ holds the summaries of two runs against a work-in-progress build that removes the local relay from the Claude package.
The proxy shape stands for Claude Code connected to the plugin's own endpoint with no local server in between. The model sees find_skills_and_tools, run_tool, get_tool_approval, set_tool_approval, search and read_document, so a run shows whether the skills still work there and whether the model calls set_tool_approval, the tool that saves Always Allow. It runs the discovery and regression cases. Every case is a read; there is no write case yet.
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.
Problem
We change the plugin's skills without a way to measure what the change does to the model's behavior. A skill that reads well can still send the user to a tool that the server does not have.
What this adds
evals/holds a repeatable eval that compares two builds of the Claude plugin on the same cases:gleanwork/claude-plugins.setup.mjs.Both run in Claude Code with the
gleanplugin installed from a marketplace. MCP Server Tester runs the host headless, records each skill load and tool call, and grades each trial.A stub Glean server with made-up data stands in for Glean, so a run needs no sign-in. Six server shapes cover the tool lists the plugin can meet: the local relay, the relay before setup, a direct Glean server, the plugin's own endpoint with no relay, a server without skill discovery, and no Glean server. For the relay shapes, the baseline's real relay runs in front of the stub.
evals/README.mdhas the method, the commands and the limits. No shipped file changes.First results
evals/results/holds the summaries of two runs. The candidate is a work-in-progress build that removes the local relay from the Claude package and connects Claude Code to the Glean server directly. That build is not in this pull request and is not published. It is #54.Run of 2026-11-24: 24 cases, 5 trials each, Claude Code 2.1.319,
claude-sonnet-5-5.setupsetuprelayrelay-first-rundirectno-discoveryno-glean"Names
setup" counts the answers that send the user to the relay'ssetuptool on a server that has no such tool.glean_runnames the missingsetuptool in 8 of its 15 answers.Run of 2026-11-25,
proxyshape only, against the #54 build: 7 cases, 5 trials each, same host and model. Both builds passed 35 of 35, and no trial calledset_tool_approval. Every case is a read; the shape has no write case yet. This run has no summary inevals/results/.The run of 2026-11-23 found a gap in the candidate: three skills other than
glean_runstill told the user to say "Set up Glean for me". The candidate now changes them, and the second run adds cases for them.Limits
Test plan
node evals/claude/setup.mjs --candidate <dir>installs both builds and writes five eval configs.mst run --dry-runpasses for all five configs.summarize.mjsoutput matches an independent recount ofresults.json.