Skip to content

CLI mirror for loopover_get_contributor_profile #6737

Description

@JSONbored

Context

The MCP tool loopover_get_contributor_profile (src/mcp/server.ts:1992, via getContributorProfile at src/mcp/server.ts:3511) mirrors GET /v1/contributors/:login/profile (src/api/routes.ts:3093, gated by requireContributorAccess, the same gate decision-pack/repo-decision already satisfy). No CLI mirror exists despite the sibling commands using the identical /v1/contributors/:login/... route family and login-resolution logic.

Requirements

  • Add a profile (or contributor-profile) top-level CLI command (or stdio tool) mirroring decisionPackCli's structure.
  • GET /v1/contributors/{login}/profile.
  • Resolve login via --login/LOOPOVER_LOGIN.
  • Support --json output.

Deliverables

  • profile CLI command/stdio tool
  • Login resolution reused from decisionPackCli
  • Unit test

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

A contributor can pull their own profile from the CLI, matching the existing decision-pack/repo-decision commands.

Links & Resources

Precedent: decisionPackCli at loopover-mcp.js:3175-3190 and repoDecisionCli at loopover-mcp.js:3205-3223.

Metadata

Metadata

Assignees

No one assigned

    Labels

    gittensor:featureGittensor-scored feature linked to a feature issue — scores a 0.25x multiplier.help wantedExtra attention is needed

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions