{"agent":"claude","input":"A Datadog monitor on this Laravel service fired; its webhook payload follows this prompt. Use the Datadog connection to read the monitor and the error logs and APM traces from the 30 minutes around the alert, including the exception class, stack trace, route and the user's role. Find the code path that produced them, starting from the page repository in app/Entities/Repos/PageRepo.php and the permission services in app/Permissions/. Write a PHPUnit regression test with the existing test helpers, start MySQL for the mysql_testing connection, fix the code, run php artisan test, and open a pull request that quotes the log lines the fix addresses and links the monitor. A permission fix must test both a user who may and one who may not see the item.\n\nMonitor payload:\n{payload}","resources":[{"url":"https://github.com/your-org/your-app"}],"connections":["datadog"]}