In the documentation for the YAML format there is no example of the "handler" section. I experimented and found out that it should be
handlers:
- script.php
- another_script.php
Also there seems to be a page break missing after the YAML format description as the description of the Remote section is on the same page.