{"agent":"codex","input":"For the react-express-mongodb stack, add health checks to every service in compose.yaml using commands each image actually contains (read every Dockerfile first: the backend image is slim and has no curl), switch depends_on to condition: service_healthy, and write a smoke-test.sh that runs docker compose up -d --build --wait, creates a todo with POST /api/todos, reads it back from GET /api through the frontend on port 3000, checks / serves the React app, prints compose logs on failure and always runs docker compose down -v. Add a GitHub Actions workflow that runs the script on pull requests touching that directory. Run it in the sandbox from a clean start until it passes and open a pull request.","resources":[{"url":"https://github.com/your-org/your-app"}]}