feat(api): REST + CLI mirror for loopover_pr_outcome (#6747) - #6996
Conversation
|
Superagent didn't find any vulnerabilities or security issues in this PR. |
Expose post-merge PR outcomes via GET /v1/contributors/:login/pr-outcomes and stdio/shell CLI so contributors are not limited to the host MCP tool. Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #6996 +/- ##
==========================================
+ Coverage 89.25% 93.72% +4.46%
==========================================
Files 688 689 +1
Lines 68491 68508 +17
Branches 18737 18740 +3
==========================================
+ Hits 61135 64209 +3074
+ Misses 5647 3302 -2345
+ Partials 1709 997 -712
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-17 17:50:27 UTC
Review summary Nits — 5 non-blocking
Decision drivers
Context & advisory signals — never blocks the verdict
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. Visual preview
Click any thumbnail to open the full-size screenshot. Before = production · After = this PR's preview deploy. 🟩 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
GET /v1/contributors/:login/pr-outcomes[?limit=N]withrequireContributorAccess, backed by sharedbuildContributorPrOutcomes.loopover_pr_outcome+ shell CLIpr-outcomesthat proxy the new REST route (stdio tool count 77 → 78).mcp-cli-draft-pr-bodyfixture expectation (gittensory→loopover) that was failing CI.Closes #6747
Supersedes #6981 (auto-closed after validate-tests flake / openapi stale check).
Test plan
validate-code+ Codecov patch ≥99%