feat(mcp): register loopover_propose_action as a local stdio tool#7991
Conversation
|
Superagent didn't find any vulnerabilities or security issues in this PR. |
1 similar comment
|
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 #7991 +/- ##
==========================================
- Coverage 91.91% 82.02% -9.90%
==========================================
Files 739 95 -644
Lines 75850 24089 -51761
Branches 23019 4609 -18410
==========================================
- Hits 69717 19758 -49959
+ Misses 5041 4134 -907
+ Partials 1092 197 -895
Flags with carried forward coverage won't be shown. Click here to find out more.
|
|
Tip ✅ LoopOver review result - approve/merge recommendedReview updated: 2026-07-22 02:02:15 UTC
Review summary Nits — 6 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.
|
PR body
Summary
loopover_propose_actionwas a remote MCP tool (src/mcp/server.ts) with amaintain proposeCLI mirror (REST + CLI mirror for loopover_propose_action #6744), but had no local stdio MCP tool registration.loopover_list_pending_actions/loopover_decide_pending_action), POSTing to the same{repoBase}/agent/pending-actionsroute the CLI already uses.Closes #7753
Change
packages/loopover-mcp/bin/loopover-mcp.ts): addedproposeActionShape(owner/repo/pullNumber/actionClassviaPROPOSE_ACTION_CLASSES, plus optional reason/label/reviewBody/mergeMethod/closeComment).loopover_propose_actionwith a matchingSTDIO_TOOL_DESCRIPTORSentry (agentcategory). POSTs with the identicalstripUndefined({...})body the CLI uses so absent optionals are omitted. Stages into the approval queue — never executes until approved. Fixed branch-free summary.mcp-tool-rename-aliases.test.ts(currentmainalready includes Register loopover_generate_contributor_issue_drafts as a local stdio MCP tool #7755).Tests
test/unit/mcp-cli-propose-action.test.ts: in-processInMemoryTransportcoverage — assertsPOST .../agent/pending-actionsand that the fixture-echoed body carries the rightactionClass/pullNumber/reason.Validation
git diff --checkclean;npm run build:mcpclean.coverage-final.json: all added statements/functions hit; zero branches on added lines.mainat 99 tools).