-
-
Notifications
You must be signed in to change notification settings - Fork 89
CLI mirror for loopover_get_bounty_advisory #6736
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_bounty_advisory(src/mcp/server.ts:2230, viagetBountyAdvisoryatsrc/mcp/server.ts:4518) mirrors the fully public REST routeGET /v1/bounties/:id/advisory(src/api/routes.ts:3611, no auth gate). No CLI stdio tool exists.Requirements
registerStdioTool("loopover_get_bounty_advisory", { inputSchema: z.object({ id: z.string().min(1) }) }, ...)proxyingGET /v1/bounties/{id}/advisory.loopover-mcp bounty <id>alias, matching howdecision-pack/repo-decisionget both a tool and a dedicated top-level command.Deliverables
registerStdioTool("loopover_get_bounty_advisory", ...)bountycommand aliasTest 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 bounty's advisory is queryable from the CLI without needing the MCP server.
Links & Resources
Precedent:
registerStdioTool("loopover_get_skipped_pr_audit", ...)atloopover-mcp.js:1289— simple public/unauthenticatedapiGetproxy.