-
-
Notifications
You must be signed in to change notification settings - Fork 89
CLI mirror for loopover_get_maintainer_lane #6739
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_maintainer_lane(src/mcp/server.ts:1863, viagetMaintainerLane/loadMaintainerLaneReport) returns the same data already present as the.maintainerLanefield ofGET /v1/repos/:owner/:repo/intelligence(src/api/routes.ts:2362, built inbuildRepoIntelligenceResponse). The CLI already hasloopover_get_label_auditproxying to this same/intelligenceendpoint and picking out.labelAudit(loopover-mcp.js:1521-1535) —maintainerLanesits right besidelabelAuditin the same response but has no CLI extraction.Requirements
registerStdioTool("loopover_get_maintainer_lane", { inputSchema: ownerRepoShape }, ...)that GETs{prefix}/intelligenceand returns{ repoFullName, generatedAt, maintainerLane: intelligence?.maintainerLane ?? null }, copyingloopover_get_label_audit's implementation exactly.Deliverables
registerStdioTool("loopover_get_maintainer_lane", ...)loopover_get_label_audit's patternTest 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
Maintainer-lane data is queryable from the CLI, matching its sibling
labelAuditfield's existing extraction.Links & Resources
Precedent:
registerStdioTool("loopover_get_label_audit", ...)atloopover-mcp.js:1521-1535— byte-for-byte the same pattern, different field.