-
-
Notifications
You must be signed in to change notification settings - Fork 90
CLI mirror for loopover_get_repo_outcome_patterns #6734
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
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_get_repo_outcome_patterns(src/mcp/server.ts:1916, viagetRepoOutcomePatternsatsrc/mcp/server.ts:3345) mirrors the already-public, unauthenticated REST routeGET /v1/repos/:owner/:repo/outcome-patterns(src/api/routes.ts:3086). No CLI stdio tool exists for it.Requirements
registerStdioTool("loopover_get_repo_outcome_patterns", { inputSchema: ownerRepoShape }, ...)proxyingGET {prefix}/outcome-patterns.--jsonsupport.test/unit/mcp-tool-rename-aliases.test.ts's tool count.Deliverables
registerStdioTool("loopover_get_repo_outcome_patterns", ...)Test 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
Repo outcome patterns are queryable from the CLI, matching the existing public REST/MCP surfaces.
Links & Resources
Precedent:
registerStdioTool("loopover_get_maintainer_noise", ...)atloopover-mcp.js:1225— sameownerRepoShape+apiGetpattern.