feat(mcp): add CLI mirror for loopover_explain_gate_disposition - #6935
feat(mcp): add CLI mirror for loopover_explain_gate_disposition#6935bohdansolovie wants to merge 1 commit 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>
|
🚨 Contributor flagged. Click here for more info: Superagent Dashboard |
|
Superagent didn't find any vulnerabilities or security issues in this PR. |
|
Caution 🛑 LoopOver review result - fixes requiredReview updated: 2026-07-17 14:34:14 UTC
Review summary Nits — 1 non-blocking
CI checks failing
Flagged checks (non-blocking)
Decision drivers
Context & advisory signals — never blocks the verdict
Linked issue satisfactionAddressed 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.
|
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #6935 +/- ##
==========================================
- Coverage 93.71% 89.41% -4.30%
==========================================
Files 685 685
Lines 68358 68358
Branches 18726 18726
==========================================
- Hits 64059 61121 -2938
- Misses 3302 5485 +2183
- Partials 997 1752 +755
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 (CI is failing (validate, validate-tests (3))). 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
buildGateDispositions/GateDispositioninto@loopover/engine(predicted-gate.ts) and re-exports them for the MCP server.registerStdioTool("loopover_explain_gate_disposition")that proxies/v1/local/branch-analysislikeloopover_predict_gate, then reshapespredictedGatelocally.Closes #6740
Scope
Validation
npm run build --workspace @loopover/enginenpm run test -- test/unit/mcp-explain-gate-disposition.test.ts test/unit/mcp-cli-plan-scorer-tools.test.tsSafety
.loopover.ymlboundary asloopover_predict_gate