Add client-side calendar event notification system that evaluates JMAP CalendarEventAlert triggers and displays toast notifications when alert times are reached. Includes configurable notification sound, acknowledged alert persistence, and proactive event fetching for background alerts. Also mounts ToastContainer globally to fix silent toast failures.
8 lines
372 B
Plaintext
Executable File
8 lines
372 B
Plaintext
Executable File
# 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
|