chore(scripts): audit the qualityGateMinScore-unset population for the cold-start default#7598
Conversation
…e cold-start default Adds a read-only audit that reports, across the current repository_settings population, what fraction of configured repos have no effective qualityGateMinScore (readiness threshold) set, and — for that threshold-less population specifically — what per-action-class autonomy levels are actually in force. This gives the maintainer-only cold-start-default design issue (JSONbored#7595) real data instead of a guess. The threshold is config-as-code now (no repository_settings column backs it), so the script resolves it exactly as resolveRepositorySettings does: from each repo's latest repo-focus-manifest snapshot, with the typed gate.readiness.minScore winning over the generic settings.qualityGateMinScore. The tightening-only self-tune override is ignored on purpose — it can only raise an existing threshold, never create one, so it can't change the unset count. SELECT-only via wrangler d1 execute; it never writes to D1 or changes any repo's behavior. The pure aggregation/formatting is unit-tested; the markdown report is printed to stdout so it can be pasted verbatim as the findings comment on JSONbored#7595. Closes JSONbored#7596
|
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 #7598 +/- ##
=======================================
Coverage 88.48% 88.48%
=======================================
Files 720 720
Lines 75749 75749
Branches 22559 22559
=======================================
Hits 67024 67024
Misses 7679 7679
Partials 1046 1046
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-21 00:05:01 UTC
Review summary Nits — 3 non-blocking
Decision drivers
Context & advisory signals — never blocks the verdict
Linked issue satisfactionPartially addressed 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.
|
chore(scripts): audit the qualityGateMinScore-unset population for the cold-start default
Adds a read-only audit that reports, across the current repository_settings
population, what fraction of configured repos have no effective
qualityGateMinScore (readiness threshold) set, and — for that threshold-less
population specifically — what per-action-class autonomy levels are actually in
force. This gives the maintainer-only cold-start-default design issue (#7595)
real data instead of a guess.
The threshold is config-as-code now (no repository_settings column backs it),
so the script resolves it exactly as resolveRepositorySettings does: from each
repo's latest repo-focus-manifest snapshot, with the typed gate.readiness.minScore
winning over the generic settings.qualityGateMinScore. The tightening-only
self-tune override is ignored on purpose — it can only raise an existing
threshold, never create one, so it can't change the unset count.
SELECT-only via wrangler d1 execute; it never writes to D1 or changes any repo's
behavior. The pure aggregation/formatting is unit-tested; the markdown report is
printed to stdout so it can be pasted verbatim as the findings comment on #7595.
Closes #7596