feat(mcp): register loopover_get_agent_audit_feed as a local stdio tool - #7972
feat(mcp): register loopover_get_agent_audit_feed as a local stdio tool#7972real-venus wants to merge 1 commit into
Conversation
loopover_get_agent_audit_feed has a remote MCP tool (src/mcp/server.ts) and a
`maintain audit-feed` CLI command, but no local stdio MCP tool registration.
operator using the local MCP server couldn't call it.
Adds the registerStdioTool block following the existing sibling pattern -- a thin
GET proxy of the same {repoBase}/agent/audit-feed route the CLI hits, forwarding
the optional since/limit query filters verbatim (the route validates + defaults).
Input mirrors the remote auditFeedShape (owner/repo/since/limit); description via
stdioToolDescription; category "agent".
test/unit/mcp-cli-agent-audit-feed.test.ts drives it in-process (JSONbored#7764 entrypoint
guard) so the registration + handler get real Codecov coverage, covering both the
with-filters (since+limit) and no-filters (empty query) branches. Count 94 -> 95.
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 #7972 +/- ##
==========================================
+ Coverage 79.59% 81.94% +2.35%
==========================================
Files 738 94 -644
Lines 75699 23942 -51757
Branches 23008 4602 -18406
==========================================
- Hits 60254 19620 -40634
+ Misses 12671 4126 -8545
+ Partials 2774 196 -2578
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:51:47 UTC
Review summary Nits — 2 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
Closes #7757 —
loopover_get_agent_audit_feedhas a remote MCP tool (src/mcp/server.ts) and amaintain audit-feedCLI command, but no local stdio MCP tool registration. #6733 added the REST route + CLI but never the matching stdio tool.What changed (
packages/loopover-mcp/bin/loopover-mcp.ts)registerStdioTool("loopover_get_agent_audit_feed", …)block, placed next toloopover_get_maintainer_noise, mirroring the sibling proxy pattern exactly — a thin GET of the same{repoBase}/agent/audit-feedroute themaintain audit-feedCLI already calls, forwarding the optionalsince/limitquery filters verbatim (the route validates + defaults).auditFeedShapemirrors the remote (owner/repo/since/limit). Description viastdioToolDescription(...)+ aSTDIO_TOOL_DESCRIPTORSentry (category: "agent").Testing / coverage
test/unit/mcp-cli-agent-audit-feed.test.tsdrives it in-process (the loopover_plan_repo_issues has no REST route, CLI command, or local stdio MCP tool #7764isProcessEntrypointguard +InMemoryTransport) for real Codecov-measured coverage — covering both the with-filters (since+limit) and no-filters (empty query) branches.No REST/OpenAPI/CLI-surface change —
ui:openapi:check,command-reference:check,docs/manifestdrift all clean;build:mcpclean.(Supersedes #7967, which was base-conflicted when #7966 merged mid-review — rebased onto current main.)