feat(mcp): register loopover_get_agent_audit_feed stdio tool - #7973
feat(mcp): register loopover_get_agent_audit_feed stdio tool#7973xfodev wants to merge 1 commit into
Conversation
…ed#7757) loopover_get_agent_audit_feed is exposed as a remote MCP tool (src/mcp/server.ts) and a `maintain audit-feed` CLI verb, but had no local stdio MCP registration, unlike its maintain-adjacent siblings from PR JSONbored#6382. Add the registerStdioTool block + STDIO_TOOL_DESCRIPTORS entry in packages/loopover-mcp/bin/loopover-mcp.ts, proxying the same GET /v1/repos/:owner/:repo/agent/audit-feed route the CLI already calls. Covers the new stdio lines with an in-process test that drives the tool through a real MCP client over InMemoryTransport, and bumps the stdio tool-count pin from 95 to 96. Closes JSONbored#7757
|
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 #7973 +/- ##
==========================================
- Coverage 91.89% 81.94% -9.95%
==========================================
Files 738 94 -644
Lines 75699 23938 -51761
Branches 23008 4599 -18409
==========================================
- Hits 69566 19617 -49949
+ Misses 5041 4125 -916
+ Partials 1092 196 -896
Flags with carried forward coverage won't be shown. Click here to find out more.
|
|
Caution 🛑 LoopOver review result - reject/close recommendedReview updated: 2026-07-22 00:58:18 UTC
Review summary Nits — 6 non-blocking
Why this is blocked
📋 Copy for AI agents — paste into your coding agentDecision 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.
|
|
LoopOver is closing this pull request on the maintainer's behalf (No linked issue detected). 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
loopover_get_agent_audit_feedis exposed as a remote MCP tool (src/mcp/server.ts) and amaintain audit-feedCLI verb, but had no local stdio MCP registration — the same gap class PR #6382 fixed for itsmaintain-adjacent siblings. This adds the missing stdio surface:registerStdioTool("loopover_get_agent_audit_feed", …)+ itsSTDIO_TOOL_DESCRIPTORSentry (categoryagent) inpackages/loopover-mcp/bin/loopover-mcp.ts, mirroring the freshly-mergedloopover_get_automation_statesibling (Register loopover_get_automation_state as a local stdio MCP tool #7752):ownerRepoShapeinput,apiGetproxy,toolResultwrapper.GET /v1/repos/:owner/:repo/agent/audit-feedroute — the same route the remote tool and the CLI already call. No new REST route, no new CLI verb, nosrc/mcp/server.tschange.The handler is intentionally branch-free (no
??/?./ ternaries) socodecov/patchstays at 100% on the new lines.Tests
test/unit/mcp-cli-agent-audit-feed-stdio.test.ts(new, in-process): imports the bin.tsand drives the tool through a real MCPClientoverInMemoryTransportagainst a fixture server, asserting the tool is listed and the proxied request hits/v1/repos/owner/repo/agent/audit-feed(GET).test/unit/mcp-tool-rename-aliases.test.ts: stdio tool-count pin bumped95 → 96(all three assertions) with a running-log comment. Verified the live built bin registers exactly 96 tools.mcp-tool-categories) and themaintainstdio-proxy suite (mcp-cli-maintain-tools) pass unchanged.UI Evidence
N/A — backend MCP tooling only; no
apps/**files touched.Validation
packages/loopover-mcpbuilds clean (tsc -p).mcp-tool-rename-aliases,mcp-tool-categories,mcp-cli-maintain-toolspass (32 tests); live server registers exactly 96 tools.main; no base conflict.Closes #7757