# Trace-scanner word/pattern list (scanned with grep -iE, one pattern per line). # High-precision defaults: expressions that won't false-positive on everyday code. # Single high-frequency words like "model", "assistant" are DELIBERATELY absent (false-positive risk). # Add your own vendor/template name below (§4.2) so it is caught before commit. # If a pattern is legitimate in a specific repo: put a .trace-allowlist.txt at that repo's root and # write the pattern (FULL line) there -> exempt only in that repo. (Not included in the payload.) # # Each pattern carries its own case on the line below it (`#test:` must be caught, `#test-clean:` must not). # smoke-test.sh discovers them, drives the REAL hook with them, and fails if any pattern has no case — an # untested pattern is how a typo ships as a gate that matches nothing. This file is excluded from the scan by # name, so the cases here never self-trigger. Co-Authored-By #test: Co-Authored-By: An Assistant # "Generated by/with" alone matched every machine-written header in existence — a pubspec.lock, an EF Core # scaffold, protoc, openapi-generator. A live --dotnet install could not make its FIRST commit because the # cloned base carries a Dart lockfile saying "Generated by pub". §4.1 is about AI AUTHORSHIP, so the pattern # now needs that context nearby; the clean cases below pin the classes that used to false-positive. generated with.{0,40}(claude|chatgpt|copilot|cursor|codex|assistant|llm|language model|[^a-z]ai([^a-z]|$)) #test: Generated with an AI coding tool generated by.{0,40}(claude|chatgpt|copilot|cursor|codex|assistant|llm|language model|[^a-z]ai([^a-z]|$)) #test: #test-clean: # Generated by pub #test-clean: // This code was generated by the EF Core tools. Written by Claude #test: // Written by Claude, reviewed by nobody 🤖 #test: chore: tidy up 🤖 Claude Code #test: scaffolded with Claude Code Copilot #test: suggested by Copilot ChatGPT #test: pasted from ChatGPT AI-generated #test: this module is AI-generated AI generated #test: AI generated boilerplate yapay zeka tarafindan #test: bu dosya yapay zeka tarafindan uretildi asistan tarafindan #test: asistan tarafindan duzenlendi # Ordinary text that names none of the above and must stay committable. #test-clean: refactor the order handler and add a regression test #test-clean: fix(auth): reject an expired refresh token #test-clean: docs: explain the migration rollback procedure # --- §4.2 vendor / third-party template names (fill in per project) --- # DevArchitecture #