Repository navigation
fix(evals): j5-cli runner on v0.1.11 - #1228
Draft
Jacksondr5 wants to merge 3 commits into
Draft
Jacksondr5 wants to merge 3 commits into
Jacksondr5 wants to merge 3 commits into
Conversation
- 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 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
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
… 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 <noreply@anthropic.com>
4 of 8 tasks
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, with #1194 and #1207 stacked on it) 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 advance's eval report found these problems:/mnt/storage/j5/upstream-0.1.11-review/evals-report.md, "The runner needed four fixes for head".What changed
This applies the advance's runner patch (
evals-runs/runner-patch-for-head.diff), adapted to the rebased stack: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. The patch conflicted with test(evals): mid-turn J5 steer case (does not reproduce #1188's refusal) #1207 at this line, and I kept test(evals): mid-turn J5 steer case (does not reproduce #1188's refusal) #1207'sgradeSteerchecks next to them.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.The stack itself is rebased onto
j5/mainataabc4a14c2in this branch only. FORK.md's knip case 95 had a conflict: I kept v0.1.11's text and added theevalsworkspace sentence. The base branches have not been force-pushed yet, so until #1125, #1194 and #1207 are rebased, GitHub shows the whole advance in this diff. The changes for this PR are the last two commits.Smoke results
One sample each,
--catalog j5,--shards 1, on commitb2b89067da:claude-sonnet-5-5settle-after-merge-on-wake✅j5-mid-turn-steer-acts✅: the steered message was acted ongpt-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