Skip to content

REST + CLI mirror for loopover_build_progress_snapshot #6753

Description

@JSONbored

Context

The MCP tool loopover_build_progress_snapshot (src/mcp/server.ts:2078, via buildLoopProgress) is gated only by enforceToolRateLimit, calling the pure buildProgressSnapshot function on caller-supplied data. Same auth/purity tier as loopover_check_slop_risk (which has full REST/CLI parity already). No REST route or CLI mirror exists for this one.

Requirements

  • Add POST /v1/loop/progress-snapshot delegating to the existing pure buildProgressSnapshot function.
  • Add a matching CLI subcommand/stdio tool.

Deliverables

  • POST /v1/loop/progress-snapshot route
  • CLI subcommand/stdio tool
  • 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

The progress-snapshot builder is available over REST/CLI, matching its same-tier sibling check_slop_risk's existing parity.

Links & Resources

Precedent: POST /v1/lint/slop-risk (src/api/routes.ts:3164) + slopRiskCli (loopover-mcp.js:3098).

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