[
  {
    "matcher": "",
    "hooks": [
      {
        "type": "command",
        "command": "python3 /home/user/claude-workspace/scripts/supervisor_stop.py --via-settings; rc=$?; [ $rc -eq 2 ] && exit 2; exit 0"
      },
      {
        "type": "command",
        "command": "python3 /home/user/claude-workspace/scripts/check-store-on-stop.py; rc=$?; [ $rc -eq 2 ] && exit 2; exit 0"
      },
      {
        "type": "command",
        "command": "bash ./persist-transcript.sh 2>/dev/null || true"
      }
    ]
  }
]
