Skip to content

REST + CLI mirror for loopover_plan_idea_claims #6756

Description

@JSONbored

Context

The MCP tool loopover_plan_idea_claims (src/mcp/server.ts:2056) is explicitly described as "deterministic and source-free," rate-limit-only gated, calling buildClaimPlan. No REST route or CLI mirror exists.

Requirements

  • Add POST /v1/loop/plan-idea-claims delegating to the same pure function.
  • Add a CLI subcommand/stdio tool.

Deliverables

  • POST /v1/loop/plan-idea-claims 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

Idea-claim planning is available over REST/CLI, not just MCP.

Links & Resources

Precedent: POST /v1/lint/slop-risk pattern.

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