Skip to content

CLI mirror for loopover_get_agent_audit_feed #6733

Description

@JSONbored

Context

The MCP tool loopover_get_agent_audit_feed (src/mcp/server.ts:2546, via getAgentAuditFeed, requireRepoManageAccess-gated) has a REST equivalent at GET /v1/repos/:owner/:repo/agent/audit-feed (src/api/routes.ts:2614, maintainer-gated via requireRepoMaintainer, supports ?since=, ?limit=, ?pull=). Not present among the CLI's registerStdioTool calls, and not one of maintain's subcommands (status|queue|approve|reject|pause|resume|set-level|precision, see printMaintainHelp at loopover-mcp.js:2676).

Requirements

  • Add a maintain audit-feed [--since <iso>] [--limit <n>] [--pull <n>] subcommand to maintainCli in loopover-mcp.js proxying GET {repoBase}/agent/audit-feed.
  • Update printMaintainHelp.
  • Add coverage mirroring maintain precision's existing test pattern.

Deliverables

  • maintain audit-feed subcommand
  • Updated printMaintainHelp
  • Unit test

Test Coverage Requirements

99%+ Codecov patch coverage on every changed line and branch in the new route/tool/CLI code, plus a test asserting output parity between the mirrored surfaces for identical input.

Expected Outcome

A maintainer can pull the agent audit feed from the CLI the same way they already can via REST/MCP.

Links & Resources

Precedent: maintain precision subcommand at loopover-mcp.js:2779-2798, same maintainer-CLI shape.

Metadata

Metadata

Assignees

No one assigned

    Labels

    gittensor:featureGittensor-scored feature linked to a feature issue — scores a 0.25x multiplier.help wantedExtra attention is needed

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions