{"agent":"claude","input":"Add health checks to this Flask app. Read app/__init__.py, config.py, app/api/errors.py, app/errors/handlers.py, app/search.py, boot.sh, the Procfile and the deployment directory first. Add a health blueprint with GET /health/live, which answers 200 with no dependencies, and GET /health/ready, which runs SELECT 1 through the SQLAlchemy session, pings Redis, and pings Elasticsearch only when the app has a client, reporting it as disabled otherwise; answer 503 with each dependency's status when any check fails, send Cache-Control: no-store, and require no login. Register the blueprint in create_app. Add a unittest case to tests.py in the existing style with the app's test client and TestConfig: live answers 200, ready answers 200 with Redis's ping patched to succeed, and ready answers 503 with ping raising a connection error. Run python tests.py and flask routes. Do not change requirements.txt, the Dockerfile or the deployment files. Open a pull request that lists the routes and what each checks and quotes the test output.","resources":[{"url":"https://github.com/your-org/your-app"}]}