-
-
Notifications
You must be signed in to change notification settings - Fork 86
CLI mirror for loopover_monitor_open_prs #6732
Copy link
Copy link
Closed
Labels
gittensor:featureGittensor-scored feature linked to a feature issue — scores a 0.25x multiplier.Gittensor-scored feature linked to a feature issue — scores a 0.25x multiplier.help wantedExtra attention is neededExtra attention is needed
Description
Activity
Metadata
Metadata
Assignees
Labels
gittensor:featureGittensor-scored feature linked to a feature issue — scores a 0.25x multiplier.Gittensor-scored feature linked to a feature issue — scores a 0.25x multiplier.help wantedExtra attention is neededExtra attention is needed
Context
The MCP tool
loopover_monitor_open_prs(src/mcp/server.ts:2012, implemented bymonitorOpenPullRequestsatsrc/mcp/server.ts:3542) and the REST routeGET /v1/contributors/:login/open-pr-monitor(src/api/routes.ts:3117, gated byrequireContributorAccess) both already do this work. Noloopover_monitor_open_prsentry exists among theregisterStdioTool(...)calls inpackages/loopover-mcp/bin/loopover-mcp.js(confirmed via full extraction, cross-checked against the pinned tool count intest/unit/mcp-tool-rename-aliases.test.ts).Requirements
registerStdioTool("loopover_monitor_open_prs", ...)inloopover-mcp.jsproxyingGET /v1/contributors/{login}/open-pr-monitor.loginfrom--login/LOOPOVER_LOGIN/active session the same waydecisionPackClidoes.--jsonoutput.test/unit/mcp-tool-rename-aliases.test.ts(63 → 64).Deliverables
registerStdioTool("loopover_monitor_open_prs", ...)inloopover-mcp.jsdecisionPackCli's patternmcp-cli-tools.test.tsstyleTest Coverage Requirements
99%+ Codecov patch coverage on every changed line and branch in the new route/tool/CLI code, plus a test asserting output parity between the mirrored surfaces for identical input.
Expected Outcome
A contributor can run
loopover-mcpfrom the CLI to monitor their own open PRs, without needing the MCP server surface.Links & Resources
Precedent:
registerStdioTool("loopover_get_pr_reviewability", ...)atloopover-mcp.js:1192— identical thinapiGetproxy shape.