feat(mcp): register loopover_get_agent_audit_feed as a local stdio tool - #7971
Conversation
|
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 #7971 +/- ##
==========================================
- Coverage 89.11% 81.94% -7.17%
==========================================
Files 93 94 +1
Lines 21723 23942 +2219
Branches 3755 4602 +847
==========================================
+ Hits 19358 19620 +262
- Misses 2187 4126 +1939
- Partials 178 196 +18
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 00:50:32 UTC
Review summary Nits — 5 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.
|
Summary
loopover_get_agent_audit_feedwas a remote MCP tool (src/mcp/server.ts) with amaintain audit-feedCLI mirror (CLI mirror for loopover_get_agent_audit_feed #6733), but had no local stdio MCP tool registration.loopover_get_maintainer_noise, calling the sameGET .../agent/audit-feedendpoint the CLI already uses (optionalsince/limitforwarded verbatim).Closes #7757
Change
packages/loopover-mcp/bin/loopover-mcp.ts): addedauditFeedShape(owner/repo + optional since/limit), mirroring the remote tool.loopover_get_agent_audit_feedwith a matchingSTDIO_TOOL_DESCRIPTORSentry (agentcategory). Thin GET proxy of{repoBase}/agent/audit-feed; query filters forwarded only when present (same pattern as the CLI).mcp-tool-rename-aliases.test.ts(currentmainalready includes Register loopover_get_automation_state as a local stdio MCP tool #7752 automation-state).Tests
test/unit/mcp-cli-agent-audit-feed.test.ts: in-processInMemoryTransportcoverage — with-filters path (since+limit) and no-filters path (empty query /query.size === 0false branch), so everyif/ ternary arm is hit.Validation
git diff --checkclean;npm run build:mcpclean.coverage-final.json: all added statements/functions hit; bothsince/limitif-arms and thequery.size > 0ternary arms are[1,1].mainat 95 tools).UI Evidence
N/A — local stdio MCP tool only; no UI surface changed.