feat(mcp): add loopover_list_bounties and loopover_get_bounty_lifecycle tools - #9360
Conversation
…le tools
Mirror the two remaining public bounty REST routes (GET /v1/bounties and
GET /v1/bounties/:id/lifecycle) as read-only MCP tools, matching the shape of
the existing loopover_get_bounty_advisory. loopover_list_bounties takes no input
and returns every cached bounty; loopover_get_bounty_lifecycle takes a bounty id
and returns its { bountyId, events } history, surfacing the REST 404 as a tool
error. Both are categorized under discovery and carry MCP output schemas.
|
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 #9360 +/- ##
==========================================
+ Coverage 75.38% 75.82% +0.44%
==========================================
Files 275 276 +1
Lines 58023 59230 +1207
Branches 6181 6418 +237
==========================================
+ Hits 43739 44911 +1172
- Misses 14014 14027 +13
- Partials 270 292 +22
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-27 14:19:43 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.
|
feat(mcp): add loopover_list_bounties and loopover_get_bounty_lifecycle tools
Mirror the two remaining public bounty REST routes (GET /v1/bounties and
GET /v1/bounties/:id/lifecycle) as read-only MCP tools, matching the shape of
the existing loopover_get_bounty_advisory. loopover_list_bounties takes no input
and returns every cached bounty; loopover_get_bounty_lifecycle takes a bounty id
and returns its { bountyId, events } history, surfacing the REST 404 as a tool
error. Both are categorized under discovery and carry MCP output schemas.
Closes #9296
Validation
Verified locally on this branch before opening:
npm run typechecknpx turbo run build:tsc build:verifynpm run test:coverage— patch coverage 100.0% of changed lines