fix(miner): stop pickScript selecting watch/fix validation scripts - #10261
Conversation
…SONbored#10006) Exclude watch/write script-name segments from the pattern fallback and pick the lexicographically smallest survivor so verification never runs :watch or :fix.
…SONbored#10006) Keep the lex-order assertion on toMatchObject only so root tsc stays green. Co-authored-by: Cursor <cursoragent@cursor.com>
|
Tip ✅ LoopOver review result - approve/merge recommendedReview updated: 2026-07-31 15:01:02 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.
|
|
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 #10261 +/- ##
==========================================
+ Coverage 80.60% 80.64% +0.03%
==========================================
Files 283 284 +1
Lines 59101 59208 +107
Branches 7000 7054 +54
==========================================
+ Hits 47641 47748 +107
Misses 11167 11167
Partials 293 293
Flags with carried forward coverage won't be shown. Click here to find out more.
|
Summary
The target-repo verification gate stops running non-terminating watch scripts (which today burn a 10-minute
timeout and then block every PR for that repo) and stops running auto-fix scripts that silently rewrite the
worktree after self-review; a repo with only such scripts falls through to the gate's existing, documented
no_commands_detected skip, and stack detection returns the same commands regardless of package.json key order.
Closes #10006