feat(signals): delegate isTestFile to test-evidence isTestPath - #1306
Merged
JSONbored merged 4 commits intoJun 26, 2026
Conversation
Route local-branch scoring through the shared test path matcher so slop classification and branch previews never drift when test-evidence gains new conventions (JSONbored#1046). 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 #1306 +/- ##
==========================================
- Coverage 95.42% 95.42% -0.01%
==========================================
Files 193 193
Lines 21020 21019 -1
Branches 7614 7613 -1
==========================================
- Hits 20058 20057 -1
Misses 383 383
Partials 579 579
🚀 New features to boost your workflow:
|
Contributor
|
Superagent didn't find any vulnerabilities or security issues in this PR. |
1 task
Contributor
|
Superagent didn't find any vulnerabilities or security issues in this PR. |
JSONbored
approved these changes
Jun 26, 2026
JSONbored
left a comment
Owner
There was a problem hiding this comment.
Screen: ✅ low-risk signal hygiene. Verdict: MERGE-on-merit · hands-off, owner executes. Verified byte-identical bodies → behavior-preserving DRY consolidation, kills a drift hazard. Green.
This was referenced Jun 26, 2026
Closed
12 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Delegates
isTestFileinlocal-branch.tstoisTestPathfromtest-evidence.tsso local scoring, slop, and contributor evidence share one test-path matcher (#561 / #1046 follow-up, extends #947).Behavior:
isTestFileTest plan
git diff --checknpm run typechecknpm test -- test/unit/local-branch-file-classifiers.test.ts