aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2026-06-16 09:30:29 +0200
committerMichał Górny <mgorny@gentoo.org>2026-06-17 13:38:46 +0200
commit96a15a40249f49551f3492d43fbd3e80f4b91e70 (patch)
tree0edd5ee569ea0360bcd45940dc7fd9f0f516d8f2 /.gitmodules
parentlocal/reuqire-signed-push: don't mention SKS (diff)
downloadgithooks-master.tar.gz
githooks-master.tar.bz2
githooks-master.zip
New hook to detect AI-assisted commitsHEADgithooks-20260617T113846Zmaster
Add a hook that specifically reject comments using common LLM signatures, including `Co-authored-by:`, `Assisted-by:` and `Generated-by:` trailers. This is meant to prevent the worst accidents, and it is by no means complete or bulletproof. Some of the patterns are zealous because tools like Gemini do not reliably use a single e-mail address; we can add exceptions if they actually hit real people (and we get clear confirmation that their employer doesn't force them using LLMs on us). Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to '.gitmodules')
0 files changed, 0 insertions, 0 deletions