Skip to content

REST + CLI mirror for loopover_simulate_open_pr_pressure #6751

Description

@JSONbored

Context

The MCP tool loopover_simulate_open_pr_pressure (src/mcp/server.ts:1981) is deterministic, public-safe, and read-only — no repo access required, no GitHub writes. No REST route or CLI mirror exists.

Requirements

  • Add POST /v1/lint/open-pr-pressure (or similar) exposing the same deterministic ranking.
  • Add a CLI subcommand.

Deliverables

  • POST /v1/lint/open-pr-pressure route
  • CLI 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

Open-PR-pressure simulation is available over REST/CLI, matching the other deterministic lint tools' parity.

Links & Resources

Precedent: POST /v1/lint/slop-risk + slopRiskCli.

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