fix(signals): scope contributor-open-pr-monitor to isInstalled, not isRegistered - #5691
Conversation
…sRegistered buildContributorOpenPrMonitor scoped a contributor's open-PR "next steps" packet to isRegistered repos. Every field it produces (classification, reasons, next steps, guidance) is generic PR-hygiene advice with zero gittensor-specific data (no reward-risk, no decision-pack fields), so per the product decision on #5025, it's now available for any self-host operator's installed repos regardless of gittensor-subnet opt-in status -- consistent with #5021/#5022/#5024's isRegistered->isInstalled fixes. Since no gittensor-specific fields exist on this endpoint today, no field-trimming was needed: gittensor stays a pure additive plugin here by not having added anything to this surface in the first place. Closes #5025
|
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 #5691 +/- ##
=======================================
Coverage 95.02% 95.02%
=======================================
Files 577 577
Lines 45978 45978
Branches 14724 14724
=======================================
Hits 43689 43689
Misses 1530 1530
Partials 759 759
Flags with carried forward coverage won't be shown. Click here to find out more.
🚀 New features to boost your workflow:
|
|
Tip 🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩 ✅ LoopOver review result - approve/merge recommendedReview updated: 2026-07-14 05:34:24 UTC
✅ Suggested Action - Approve/Merge
Review summary Nits — 5 non-blocking
Review context
Contributor next steps
Signal definitions
[BETA] Chat with GittensoryAsk Gittensory 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://gittensory.aethereal.dev/docs/gittensory-commands 🟩 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
buildContributorOpenPrMonitorscoped a contributor's open-PR "next steps" packet toisRegisteredrepos.isInstalled— with the architectural note that gittensor-specific enrichment should be additive-plugin, not base-then-stripped. Since this endpoint carries no gittensor-specific fields today, that principle is already satisfied without any field-trimming: gittensor never added anything here in the first place.registeredRepoCountdeliberately left unchanged (now counts installed repos) — its rename is explicitly sequenced into Dashboard 'registered vs installed' copy audit #5026 (dashboard "registered vs installed" copy audit), which the issue's own dependency chain says should land last, once the split is accurate everywhere.Test plan
npm run test:ci— full local gate, clean (0 failures)Closes #5025