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
{{ message }}
Repository navigation
Commit b4bf321
Browse filesBrowse the repository at this point in the historyBrowse files
docs: --ai-only, ai_tools and new AI marks for v2.20.1 (#77)
Brings the site up to commit-check 2.20.1.
## What changes
| Page | Before | After |
|---|---|---|
| Changelog | latest entry v2.20.0 | v2.20.1 entry (2026-11-08) and a
Highlights row |
| Pre-commit snippets (configuration, example, tools comparison,
pre-commit guide) | `rev: v2.20.0` | `rev: v2.20.1` |
| Rules, CC013 | tool list ends at Qwen Code | adds Warp and Crush,
credit trailers (`Reviewed-by:` etc.) naming a tool, the Claude Code
notice with or without the emoji, and agent run links (Claude Code
session, Codex task, Devin session, Jules task, Cursor agent) |
| Policy guides | no way to check a pull request description | new
section "Checking a pull request description" with `--ai-only`,
including the label-only use under `ignore` |
| Command-line recipes, Reading the JSON | no `ai_tools` | `ai_tools`
explained with an example |
Every example output was run against commit-check 2.20.1 from PyPI, e.g.
a description ending in `Link to Devin run:
https://app.devin.ai/sessions/...` under `forbid` gives `fail`,
`ai_tools: ["Devin"]`, CC013; "We used Claude Code for this." passes
with no tools.
## Checks
- `python -m pytest tests/ -q` with commit-check 2.20.1: 18 passed.
- `mkdocs build --strict`: clean.
The Action's `pr-body` / `ai-label` and the App's `check_body` /
`ai_label` are documented once those ship.
<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
<!-- coderabbit-ai-generated:v1 -->
## Summary by CodeRabbit
* **Documentation**
* Updated the release notes and guides with information about
AI-attribution checks for piped text and recognized AI marks.
* Documented the `ai_tools` field in JSON results and clarified that
tool mentions alone are not treated as marks.
* Updated pre-commit examples to use version 2.20.1.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
---------
Co-authored-by: Xianpeng Shen <3353385+shenxianpeng@users.noreply.github.com>
Copy file name to clipboardExpand all lines: docs/changelog.md
+31Lines changed: 31 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -11,6 +11,7 @@ below and to the page that documents the feature properly.
11
11
12
12
| Version | What changed | Documented in |
13
13
|---|---|---|
14
+
|[2.20.1](#v2201)|`--ai-only` checks a pull request description against the AI rules; JSON reports `ai_tools`; Warp, Crush, credit trailers and agent run links recognised |[Checking a pull request description](guides/policies.md#checking-a-pull-request-description) · [CC013](rules.md#cc013)|
14
15
|[2.20.0](#v2200)| A commit authored by an AI tool rejected (CC017); Continue, Mistral Vibe and Qwen Code recognised; subject length `0` turns the rule off; Python 3.10 dropped |[CC017](rules.md#cc017) · [CC013](rules.md#cc013) · [CC004](rules.md#cc004)|
15
16
|[2.19.5](#v2195)| GitHub merge queue branches accepted by default; aider's default co-author trailer recognised; exit 2 when git cannot read the repository |[CC201](rules.md#cc201) · [CC013](rules.md#cc013) · [Exit codes](troubleshoot.md#exit-codes)|
0 commit comments