fix(signals): classify Kotlin protobuf stubs as generated#3424
Conversation
protoc's Kotlin plugin emits .pb.kt message stubs; slop already treated .pb.dart/.pb.swift as generated but missed .pb.kt, so machine output was miscounted as substantive source. Co-authored-by: Cursor <cursoragent@cursor.com>
|
Superagent didn't find any vulnerabilities or security issues in this PR. |
|
Warning 🟨🟨🟨🟨🟨🟨🟨🟨🟨🟨🟨🟨 ⏸️ Gittensory review result - manual review recommendedReview updated: 2026-07-05 06:45:49 UTC
⏸️ Suggested Action - Manual Review Review summary Nits — 4 non-blocking
Review context
Contributor next steps
Signal definitions
🟩 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 Gittensory, a quiet PR intelligence layer for OSS maintainers.
|
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #3424 +/- ##
=======================================
Coverage 93.46% 93.46%
=======================================
Files 291 291
Lines 30790 30790
Branches 11221 11221
=======================================
Hits 28779 28779
Misses 1355 1355
Partials 656 656
🚀 New features to boost your workflow:
|
Summary
isGeneratedFileinpath-matchers.tsto treat.pb.ktas protoc-generated output, matching the existing.pb.go/.pb.dart/.pb.swifthandling (fix(signals): classify Dart protobuf stubs as generated #3412).messages.pb.ktstubs; without this,classifyChangedFilemiscounted them as substantive source. Hand-written.ktis unaffected — the.pbinfix is required.Scope
CONTRIBUTING.md.Validation
git diff --checknpm run test:cion Node 22npm audit --audit-level=moderate— 0 vulnerabilitiesproto/messages.pb.ktas generated andsrc/service.ktas non-generatedSafety
UI Evidence
N/A — backend path classifier only.
Notes
Conflict avoidance: Touches only
src/signals/path-matchers.tsandtest/unit/path-matchers.test.ts. Zero overlap with open PRs (#3419 integrations, #3418 orb-broker, #3417/#3415 selfhost, #3414 review-evasion, #3413/#3406 engine, #3379 selfhost, #3314 miner, #3305 enrichment-wire, #3304 queue/gate). Merges cleanly after any of those land without rebase.Made with Cursor