You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
"Vibe" alone is a common word, so only "Mistral Vibe" or the vibe@mistral.ai address counts. A person at @mistral.ai and a human "Qwen Li" are not flagged. Tests cover each case.
Checks
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.
Summary by CodeRabbit
New Features
Added recognition for Mistral Vibe and Qwen Code signatures in commit metadata, including co-author, sign-off, and disclosure trailers.
Mistral Vibe’s “Generated by” marker is also recognized.
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 <vibe@mistral.ai>"
(on unless include_commit_signature = false).
- Qwen Code appends
"Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>"
(on unless gitCoAuthor.commit is off).
"Vibe" alone stays unflagged: only "Mistral Vibe" or Vibe's own address
names the tool.
The signature catalog adds Mistral Vibe and Qwen Code detection. Tests cover their identity patterns, signature roles, name lookup, and false-positive cases.
Changes: AI signature catalog additions
Layer / File(s)
Summary
Add and validate tool signatures commit_check/ai_signatures_data.py, tests/ai_signatures_test.py
The catalog defines and registers Mistral Vibe and Qwen Code signatures. Tests check identity matching, signature roles, tool-name lookup, and false positives.
commit-check/commit-check#495 requests new known AI tool coverage in the same catalog and test files. This change adds coverage for two tools, though the issue asks for one tool per PR.
Suggested labels:enhancement
Suggested reviewers:invictustitan2
Merge Risk: Minimal · up to 336c2
The documented default signatures are covered by the new patterns. No actionable merge-blocking risk is established beyond normal checks.
Pre-merge checks: 5
Check name
Status
Explanation
Description Check
Check skipped - CodeRabbit’s high-level summary is enabled.
Title check
The title names the main change: adding detection of Mistral Vibe and Qwen Code default signatures. The summary confirms new MISTRAL_VIBE and QWEN_CODE signature constants in commit_check/ai_signature…
Docstring Coverage
Docstring coverage is 100.00% which is sufficient. The required threshold is 80.00%. Docstring coverage is scoped to functions touched by this diff with cyclomatic complexity of at least 2. Documentat…
Linked Issues check
Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check
Check skipped because no linked issues were found for this pull request.
Full details: Title check
Explanation
The title names the main change: adding detection of Mistral Vibe and Qwen Code default signatures. The summary confirms new MISTRAL_VIBE and QWEN_CODE signature constants in commit_check/ai_signatures_data.py and matching tests. The title is specific, follows the conventional feat(ai) form, and is 62 characters long.
Full details: Docstring Coverage
Explanation
Docstring coverage is 100.00% which is sufficient. The required threshold is 80.00%. Docstring coverage is scoped to functions touched by this diff with cyclomatic complexity of at least 2. Documentation-only edits and deletions within surviving functions are included; unchanged diff context and fully deleted functions are excluded. Analyzed 1 functions across 2 files.
Finishing Touches
Generate docstrings
Commit to this branch
Create a new PR
Generate unit tests (beta)
Commit to this branch
Create a new PR
Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.
The reason will be displayed to describe this comment to others. Learn more.
Additional comments: 1
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 Vibe body marker is case-sensitive and may not match what the model writes.
_body_marker compiles without IGNORECASE. 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",
),
Review info
Run configuration
Source mode: Auto
Repository: Unavailable
Branch: Unavailable
File: No configuration file from this repository applied
Commit: Unavailable
Layers: defaults
Review profile: CHILL
Plan: Advanced
Run ID: 39ac02b0-3c61-4447-a0ca-68dfdf815d48
Commits
Reviewing files that changed from the base of the PR and between 67ad6e3 and 336c27f.
Files selected for processing: 2
commit_check/ai_signatures_data.py
tests/ai_signatures_test.py
Included review availability: This review used your included allowance. Your plan provides up to 1 included review per hour; 0 remain after this review.
System calls cannot be simulated consistently and are left out of the measure. The reported value understates the real cost. Switch to the Walltime instrument to measure them.
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
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.
What
Two AI coding tools sign their commits by default, and
ai_attributionlet both signatures through underforbidanddisclose:Generated by Mistral Vibe.+Co-Authored-By: Mistral Vibe <vibe@mistral.ai>include_commit_signature = falseCo-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>gitCoAuthor.commitis offBoth are added to the signature catalog the same way Continue was.
Before / after
forbid[FAIL] CC013 ai-attribution: Mistral VibediscloseAssisted-by: Mistral VibeCo-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>,forbid[FAIL] CC013 ai-attribution: Qwen CodeAssisted-by: Qwen Code,discloseCo-authored-by: Vibe Smith <vibe@example.com>False positives
"Vibe" alone is a common word, so only "Mistral Vibe" or the
vibe@mistral.aiaddress counts. A person at@mistral.aiand a human "Qwen Li" are not flagged. Tests cover each case.Checks
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.Summary by CodeRabbit