Apple Notes Incident Runbook

Incident response runbook for Apple Notes automation failures. Trigger: "apple notes incident".

jeremylongshore Updated

File contents

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"

Resources

jeremylongshore/claude-code-plugins-plus-skills commit 42b3b0fe87

Frequently asked questions

npx skillmds@latest add jeremylongshore/apple-notes-incident-runbook