Skip to content

Commit e421eae

Browse files
authored
docs: stop saying CPython refuses AI co-authors (#65)
1 parent 8ad4c4a commit e421eae

1 file changed

Lines changed: 15 additions & 6 deletions

File tree

‎docs/guides/policies.md‎

Lines changed: 15 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -246,12 +246,13 @@ Suggest: Write the Assisted-by value so that it matches ^\S+/\S+$ (set by ai_dis
246246
That failure carries no correction, because the tool should not guess which
247247
model or format you meant.
248248

249-
### Disclosure that is appreciated, not required
249+
### Refusing the tool as a co-author, without asking for disclosure
250250

251-
Some projects — [CPython](https://devguide.python.org/getting-started/generative-ai/)
252-
among them — welcome disclosure without demanding it, while still refusing the
253-
tool as a co-author. Put CC014 in the top-level `warn` list and the other two
254-
keep enforcing:
251+
[pip](https://github.com/pypa/pip/blob/main/AI_POLICY.md) and
252+
[attrs](https://github.com/python-attrs/attrs/blob/main/.github/AI_POLICY.md)
253+
close any pull request that lists an LLM as a co-author, but they don't ask
254+
contributors to disclose AI use. Put CC014 in the top-level `warn` list and
255+
the other two keep enforcing:
255256

256257
```toml title="cchk.toml"
257258
warn = ["ai_disclosure"]
@@ -268,9 +269,17 @@ Docs: https://commit-check.com/rules/#cc014
268269
This rule is set to warn in the config; it does not fail the run.
269270
```
270271

271-
The run still passes. See
272+
The run still passes. The warning still suggests a disclosure that pip and
273+
attrs don't ask for: commit-check has no switch that turns off a single rule,
274+
so reporting CC014 is as quiet as it gets. See
272275
[Report a rule without enforcing it](../configuration.md#report-a-rule-without-enforcing-it).
273276

277+
[CPython](https://devguide.python.org/getting-started/ai-tools/) sets no rule
278+
for commits at all: disclosing AI use is appreciated but not required, and
279+
triagers judge each contribution by whether its author can explain it in their
280+
own words. A policy like that leaves nothing for commit-check to enforce, so
281+
keep `ai_attribution` at its default, `"ignore"`.
282+
274283
### Exempting automation
275284

276285
Bots that legitimately carry AI trailers can be excluded:

0 commit comments

Comments
 (0)