feat(mcp): add CLI mirror for loopover_explain_gate_disposition#6958
feat(mcp): add CLI mirror for loopover_explain_gate_disposition#6958bohdansolovie wants to merge 2 commits into
Conversation
Export buildGateDispositions from @loopover/engine and register the stdio tool as a metadata-only /v1/local/branch-analysis proxy that reshapes predictedGate into per-rule dispositions, matching the remote MCP tool. Closes JSONbored#6740 Co-authored-by: Cursor <cursoragent@cursor.com>
Main already pins 73 after JSONbored#6756; this CLI mirror adds one more registered loopover_ tool. Co-authored-by: Cursor <cursoragent@cursor.com>
|
🚨 Contributor flagged. Click here for more info: Superagent Dashboard |
|
Superagent didn't find any vulnerabilities or security issues in this PR. |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #6958 +/- ##
=======================================
Coverage 93.71% 93.71%
=======================================
Files 685 685
Lines 68373 68373
Branches 18729 18729
=======================================
Hits 64074 64074
Misses 3302 3302
Partials 997 997
Flags with carried forward coverage won't be shown. Click here to find out more.
|
|
Warning ⏸️ LoopOver review result - manual review recommendedReview updated: 2026-07-17 16:05:43 UTC
Review summary Nits — 4 non-blocking
Flagged checks (non-blocking)
Decision drivers
Context & advisory signals — never blocks the verdict
Review context
Contributor next steps
Signal definitions
🧪 Chat with LoopOverAsk LoopOver a question about this PR directly in a comment — grounded only in the same cached, public-safe facts shown above, never a new claim.
Full command reference: https://loopover.ai/docs/loopover-commands 🧪 Experimental — new and may change. 🟩 Safe / merged · 🟦 Advisory · 🟨 Held for review · 🟥 Blocked / closed 💰 Earn for open-source contributions like this. Gittensor lets GitHub contributors earn for the work they already do — register to start earning →. Checked by LoopOver, a quiet PR intelligence layer for OSS maintainers.
|
|
LoopOver is closing this pull request on the maintainer's behalf (conflicts with the base branch — resolve and open a fresh PR). This is an automated maintenance action — to pursue this change, please open a new pull request with the issues resolved. Closed PRs may be analyzed later to improve review accuracy, but they are not automatically reopened or re-reviewed. |
Summary
buildGateDispositionsfrom@loopover/engineand register a stdioloopover_explain_gate_dispositiontool that proxies/v1/local/branch-analysis(metadata-only) and reshapespredictedGateinto per-rule dispositions — matching the remote MCP tool.Closes #6740
Scope
packages/loopover-engine— exportbuildGateDispositions/GateDispositionpackages/loopover-mcp— CLI/stdio mirrorsrc/mcp/server.ts— import shared helper (remove duplicate)Validation
vitest run test/unit/mcp-tool-rename-aliases.test.ts test/unit/mcp-cli-plan-scorer-tools.test.ts(30 passed locally)Safety
Made with Cursor