Skip to content

REST + CLI mirror for loopover_check_test_evidence #6749

Description

@JSONbored

Context

The MCP tool loopover_check_test_evidence (src/mcp/server.ts:2122, via checkTestEvidence at src/mcp/server.ts:3653-3676) is the same deterministic-lint tier as loopover_check_slop_risk (rate-limit-only gate, pure classifyTestCoverage/hasLocalTestEvidence computation). No REST route or CLI mirror exists.

Requirements

  • Add POST /v1/lint/test-evidence delegating to the same classification logic.
  • Add a test-evidence CLI subcommand.

Deliverables

  • POST /v1/lint/test-evidence route
  • test-evidence 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

Test-evidence checks are 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