GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
GeezerVison is showing github.com — feat(ai): detect Mistral Vibe and Qwen Code default signatures by shenxianpeng · Pull Request #659 · commit-check/commit-check Conversation
|
| Tool | Default signature | Where it comes from |
|---|---|---|
| Mistral Vibe | Generated by Mistral Vibe. + Co-Authored-By: Mistral Vibe <[email protected]> |
vibe/core/system_prompt.py, on unless include_commit_signature = false |
| Qwen Code | Co-authored-by: Qwen-Coder <[email protected]> |
packages/core/src/config/config.ts, on unless gitCoAuthor.commit is off |
Both are added to the signature catalog the same way Continue was.
$ printf 'Fix parser\n\nGenerated by Mistral Vibe.\nCo-Authored-By: Mistral Vibe <[email protected]>\n' > msg
$ CCHK_AI_ATTRIBUTION=forbid CCHK_CONVENTIONAL_COMMITS=false commit-check -m msg --compact
| Message | Before (main) | After |
|---|---|---|
Mistral Vibe signature, forbid |
exit 0 | [FAIL] CC013 ai-attribution: Mistral Vibe |
Mistral Vibe signature, disclose |
exit 0 | CC014 + CC015, suggests Assisted-by: Mistral Vibe |
Co-authored-by: Qwen-Coder <[email protected]>, forbid |
exit 0 | [FAIL] CC013 ai-attribution: Qwen Code |
Assisted-by: Qwen Code, disclose |
passes, named Generic AI | passes, named Qwen Code |
Co-authored-by: Vibe Smith <[email protected]> |
exit 0 | exit 0 (unchanged) |
"Vibe" alone is a common word, so only "Mistral Vibe" or the [email protected] address counts. A person at @mistral.ai and a human "Qwen Li" are not flagged. Tests cover each case.
pytest: 1498 passed. The one failure, test_load_config_file_permission_error, also fails on main when run as root. ruff check and ruff format are clean. README pins are already on v2.19.5.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
Both tools sign their commits by default, and both signatures passed forbid and disclose: - Mistral Vibe's system prompt asks the model to end each commit with "Generated by Mistral Vibe." and "Co-Authored-By: Mistral Vibe <[email protected]>" (on unless include_commit_signature = false). - Qwen Code appends "Co-authored-by: Qwen-Coder <[email protected]>" (on unless gitCoAuthor.commit is off). "Vibe" alone stays unflagged: only "Mistral Vibe" or Vibe's own address names the tool.
There was an error while loading. Please reload this page.
Walkthrough
Merge Risk:
|
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
Sorry, something went wrong.
There was an error while loading. Please reload this page.
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@ ## main #659 +/- ## ========================================= Coverage 100.00% 100.00% ========================================= Files 14 14 Lines 2458 2460 +2 Branches 477 477 ========================================= + Hits 2458 2460 +2 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
commit_check/ai_signatures_data.py: 1
399-401:Trivial · Functional Correctness · Low value
Unverified finding
Verification ran but could not confirm this finding. It is shown for review, not as a verified issue.The
Generated by Mistral Vibebody marker is case-sensitive and may not match what the model writes.
_body_markercompiles withoutIGNORECASE. The comment says the model writes the signature itself, so output such as "generated by mistral vibe" or a different case would not be detected. The identity trailers and the name pattern are case-insensitive, so this behavior is inconsistent. The Continue and Claude markers have the same property, so this may be intentional.If case-insensitive matching is wanted, build the marker with an inline flag:
Proposed change
_body_marker( - r"^Generated by Mistral Vibe\b", "``Generated by Mistral Vibe`` body marker" + r"(?i:^Generated by Mistral Vibe)\b", + "``Generated by Mistral Vibe`` body marker", ),
39ac02b0-3c61-4447-a0ca-68dfdf815d48commit_check/ai_signatures_data.pytests/ai_signatures_test.pyIncluded review availability: This review used your included allowance. Your plan provides up to 1 included review per hour; 0 remain after this review.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
Merging this PR will not alter performance1 warning
Performance Changes
Comparing Footnotes
|
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
Successfully merging this pull request may close these issues.
There was an error while loading. Please reload this page.