Apple Notes Incident Runbook
Common Incidents
Notes.app Crash During Automation
# 1. Check if Notes is running
pgrep -x Notes || echo "Notes not running"
# 2. Restart Notes
killall Notes 2>/dev/null; sleep 2; open -a Notes; sleep 3
# 3. Verify access
osascript -l JavaScript -e "Application(\"Notes\").defaultAccount.notes.length"
# 4. Resume automation
iCloud Sync Stuck
# Check iCloud status
defaults read MobileMeAccounts
# Force sync
killall bird; sleep 5; killall cloudd; sleep 5
# Verify notes are syncing
osascript -l JavaScript -e "Application(\"Notes\").defaultAccount.notes.length"
Permissions Revoked
# Reset automation permissions
tccutil reset AppleEvents
# Re-run script to trigger permission prompt
osascript -l JavaScript -e "Application(\"Notes\").defaultAccount.notes.length"