feat(mcp): add CLI mirror for loopover_explain_gate_disposition#6950
feat(mcp): add CLI mirror for loopover_explain_gate_disposition#6950bohdansolovie 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's CLI already registers 72 tools (JSONbored#6753 left the discovery suite one behind); this mirror adds loopover_explain_gate_disposition, so the invariant is 73. Co-authored-by: Cursor <cursoragent@cursor.com>
|
Warning ⏸️ LoopOver review result - manual review recommendedReview updated: 2026-07-17 15:23:53 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.
|
|
🚨 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 #6950 +/- ##
==========================================
+ Coverage 89.35% 93.71% +4.35%
==========================================
Files 685 685
Lines 68364 68364
Branches 18727 18727
==========================================
+ Hits 61088 64065 +2977
+ Misses 5517 3302 -2215
+ Partials 1759 997 -762
Flags with carried forward coverage won't be shown. Click here to find out more.
|
|
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.tsSafety
Made with Cursor