#!/bin/bash
# Block AI attribution in commit messages
if grep -qiE "(co-authored-by:.*claude|co-authored-by:.*chatgpt|generated with)" "$1"; then
    echo "ERROR: Remove AI attribution from commit message"
    exit 1
fi
echo "Commit message: PASS"
