# Check for AI attribution in commit message if grep -qi "co-authored-by.*claude\|co-authored-by.*anthropic\|claude code\|claude sonnet\|claude opus" "$1"; then echo "❌ ERROR: Commit message contains AI attribution (Claude/Anthropic)" echo " This violates project policy in CLAUDE.md" echo " Remove 'Co-Authored-By: Claude' and similar references" exit 1 fi