{"agent":"claude","input":"A Grafana alert fired for this Spring Boot service; its webhook payload follows this prompt. Use the Grafana connection to read the alert rule and its query. Query Prometheus for http_server_requests_seconds_count by uri, status and exception for the 30 minutes before startsAt, and query Loki for the service's error logs and stack traces in the same window. Find the cause in the owner and visit controllers (OwnerController, VisitController and the @ModelAttribute methods they run first). Write a JUnit test in the existing @WebMvcTest style that fails the way production failed, fix the code, and run ./mvnw test until it passes. Open a pull request that quotes the PromQL and LogQL you ran, the log lines behind the diagnosis, and the alert's generatorURL. If the data does not point at code, say so in the session result and open no pull request.","resources":[{"url":"https://github.com/your-org/your-app"}]}