Skip to content

CLI mirror for loopover_get_repo_onboarding_pack #6738

Description

@JSONbored

Context

The MCP tool loopover_get_repo_onboarding_pack (src/mcp/server.ts:1873, gated by requireRepoOnboardingPackAccess, maintainer/owner/operator session only) mirrors GET /v1/repos/:owner/:repo/onboarding-pack/preview (src/api/routes.ts:2491, gated by requireAppRole(["maintainer","owner","operator"]) + requireSessionRepoAccess). No CLI mirror exists.

Requirements

  • Add a maintain onboarding-pack --repo owner/repo [--refresh] subcommand (session-authenticated via existing loopover-mcp login) proxying GET {repoBase}/onboarding-pack/preview?refresh=.

Deliverables

  • maintain onboarding-pack subcommand
  • 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

Maintainers can preview a repo's onboarding pack from the CLI.

Links & Resources

Precedent: existing session-gated maintain subcommands (pause/resume/set-level) at loopover-mcp.js:2761-2778.

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