Repository navigation
Add work-item evaluation tools to the work-items MCP server - #1257
Conversation
Findings and retrospectives are model output over transcripts, so they reach the agent only inside a sanitised data block; run ids and cursors are checked against the shapes the server mints before they enter a route. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
PR Summary by QodoAdd work-item evaluation tools to the MCP server
AI Description
Diagram
High-Level Assessment
Files changed (8)
|
Code Review by Qodo
1.
|
The stdio loop serves one call at a time, so an oversized run is refused before it is parsed rather than rendered. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
/agentic_review |
|
Code review by qodo was updated up to the latest commit 804c74d |
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
A headers-first read leaves the body outside HttpClient's timeout, and the stdio loop serves one call at a time. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
/agentic_review |
|
Code review by qodo was updated up to the latest commit e4721f7 |
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
/agentic_review |
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
Code review by qodo was updated up to the latest commit f5ade4a |
AI-3267 (no GitHub issue: the work is tracked in Linear, and a GitHub issue would import as a duplicate)
What & why
Adds
list_work_item_evals,get_work_item_eval,request_work_item_evalandcancel_work_item_evaltokcap-workitems, over the server's/api/work-items/{id}/evals/runsroutes (kurrent-io/kcap-server, AI-3267). An agent can queue an evaluation of the item it works on, cancel its own queued run, and read results, judged requirements and the retrospective.Where to look
WorkItemEvalToolResults: findings, requirements and retrospectives are model output over transcripts, so they are rendered only inside a<work-item-eval-data>block with every field sanitised. Run ids and cursors must match the shapes the server mints before they go into a route, and an error keeps only a well-formed code. A 404 with no JSON body means a server that predates the routes, and reads the same as evaluations being switched off.Verification
--treenode-filter "/*/*/McpWorkItemEvalToolsTests/*": 19/19 pass.McpToolAnnotationsTests: 5/5 pass.dotnet publish -r osx-arm64 -c Release: no AOT or trim warnings.🤖 Generated with Claude Code