-
-
Notifications
You must be signed in to change notification settings - Fork 89
REST + CLI mirror for loopover_evaluate_escalation #6754
Copy link
Copy link
Closed
Labels
gittensor:featureGittensor-scored feature linked to a feature issue — scores a 0.25x multiplier.Gittensor-scored feature linked to a feature issue — scores a 0.25x multiplier.help wantedExtra attention is neededExtra attention is needed
Description
Metadata
Metadata
Assignees
Labels
gittensor:featureGittensor-scored feature linked to a feature issue — scores a 0.25x multiplier.Gittensor-scored feature linked to a feature issue — scores a 0.25x multiplier.help wantedExtra attention is neededExtra attention is needed
Context
The MCP tool
loopover_evaluate_escalation(src/mcp/server.ts:2089, viaevalEscalation) is gated only byenforceToolRateLimit, calling the pureevaluateEscalationfunction on caller-supplied data. Same auth/purity tier asloopover_check_slop_risk(full REST/CLI parity already). No REST route or CLI mirror exists for this one.Requirements
POST /v1/loop/evaluate-escalationdelegating to the existing pureevaluateEscalationfunction.Deliverables
POST /v1/loop/evaluate-escalationrouteTest 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 escalation evaluator 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).