Repository navigation
fix(evals): j5-cli runner on v0.1.11 - #1228
Merged
Merged
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Jacksondr5
force-pushed
the
j5code/evals-mid-turn-steer
branch
from
November 24, 2026 03:14
dbc4b9c to
2b50034
Compare
4 of 8 tasks
- Codex: accept MCP elicitations (tool-call approvals) as J5's adapter does in full access, and catch a turn/interrupt rejection that crashed a shard. - Claude: pass each tool's _meta, so always-loaded tools (request_secret, send_to_user) load. - List v0.1.11's Theme, Issues and Message toolkits and the forge scope, and answer T3 calls through upstream's answerToolCall, which replaces the runner's mirrored result shaping. - Grade with upstream's pasted text and world files, alongside #1207's steer checks. - settle-after-merge-on-wake and settle-after-delayed-merge-waits grade the merge tools v0.1.11 introduced (FORK.md temporary in-place patch). Co-Authored-By: Claude Opus 5.5 <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]>
… accepts Review (Giveback dispatcher): a bare number has no repository, so the real watch_pull_request refuses it with PullRequestTargetIncompleteError. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Upstream's decoder drops keys J5's version of a tool adds, such as delegate_task's persona, so persona cases graded an input without it. Carried over from #957's eval work. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Jacksondr5
force-pushed
the
j5code/evals-runner-v0111
branch
from
November 28, 2026 21:39
d3abede to
5692db5
Compare
Jacksondr5
changed the base branch from
j5code/evals-mid-turn-steer
to
j5/main
November 28, 2026 21:39
Jacksondr5
marked this pull request as ready for review
November 28, 2026 21:39
|
Warning Review limit reachedYou've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository. Next included review available in 30 minutes. View limit details
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. |
…edger row by path Co-Authored-By: Claude Opus 5.5 <[email protected]>
This branch was successfully deployed
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
The
evals/j5-clirunner (#1125) gave wrong results on v0.1.11 (#1205). Codex refused every T3 tool call, Claude never saw always-loaded tools, the catalog lacked v0.1.11's toolkits, and a Codex shard could crash. Two upstream settle cases also failed every correct sample, because they still expectedgh pr mergeafter v0.1.11 told agents to usepull_request_merge. The v0.1.11 advance's eval report found these problems. Claude's decoder also dropped J5-only tool keys, which the #957 evals found.What changed
This applies the advance's runner patch, now directly on
j5/main:mcpServer/elicitation/requestbefore each MCP call. The runner now accepts it withtoMcpElicitationResponse(params, "accept"), as J5's Codex adapter does. Before this fix, all 63 T3 calls in the advance's first Codex run were refused._meta, so Claude Code loadsrequest_secretandsend_to_userwithout ToolSearch (anthropic/alwaysLoad).ThemeToolkit,IssuesToolkitandMessageToolkitand passes theforgescope, matchingMcpHttpServer.layerTools. T3 calls are now answered by upstream's ownanswerToolCall, so secret files, forge state, page sources and$sequencemocks behave the way upstream's eval expects.Effect.orDieandFetchHttpClient.layerinstead of casting the Effect's requirements away, and it uses a counter id instead ofMath.random(). The HTTP client serves only upstream's shell simulator, which T3 tools never reach.withProductFieldsandSUBAGENT_WATCH_ERRORhad no callers, so I removed them.gradeSamplenow getspastedTextandworldFilePaths. test(evals): mid-turn J5 steer case (does not reproduce #1188's refusal) #1207's steer grading is not part of this PR: test(evals): mid-turn J5 steer case (does not reproduce #1188's refusal) #1207 was closed because its case never reproduced Agent messages steer into running turns by default (follow upstream's auto, retire D4's queue default) #1188.normalizeToolInputdecodes against upstream's tool schemas and drops keys only J5's version adds, such asdelegate_task'spersona, so J5 persona calls were graded as missing their persona.keepJ5Keysmerges the raw input under the normalized one. Codex keeps raw arguments and needs no change. The dropped field descriptions are a separate issue, MCP tool field descriptions on checked schemas never reach agents #1254.turn/interruptrequest now has a.catch, so a rejected interrupt no longer kills the shard.evals/mcp-tool-use/cases/orchestration.ndjson):settle-after-merge-on-wakenow expectspull_request_mergewithexpectedHeadShacontainingabc1234. It used to expect Bashgh pr merge.settle-after-delayed-merge-waitsnow acceptswatch_pull_requestbyurl, or byrepositorytogether withnumber, which is what Claude passes. A barenumberis not accepted, because the real tool refuses it (d3abedec64, after a Giveback dispatcher review).settle-after-merge-on-wake, and 4 Claude forsettle-after-delayed-merge-waits. The 2 Codex samples ofsettle-after-delayed-merge-waitsalready passed and still do.This PR is now based on
j5/main(after #1125 merged) and no longer stacks on #1194 or #1207.Smoke results
One sample each,
--catalog j5,--shards 1, on the earlier stacked commitb2b89067da(beforekeepJ5Keys; no new runs for this rebase, since runs need approval):claude-sonnet-5-5settle-after-merge-on-wake✅j5-mid-turn-steer-acts✅ (case from #1207, not in this PR)gpt-6.1-sol(high)settle-after-merge-on-wake✅: MCP approvals were acceptedcrew-member-done✅Usage (subscriptions):
Upstream impact
evals/mcp-tool-use/cases/orchestration.ndjsonis upstream-owned. FORK.md records the edit as a temporary in-place patch ("Two settle eval cases grade the merge tools v0.1.11 introduced") and adds a path-ledger row. Upstream'smainstill has both stale cases, so they are a give-back candidate.Checklist
j5-cli/upstream.test.tsandmcp-tool-use/run.test.tspass, and the smoke runs above exercise the changed pathsFORK.md(case text and file-table row) in this PRClaude Opus 5.5 in Claude Code (J5 Code).
🤖 Generated with Claude Code