{"agent":"claude","input":"Add health check endpoints to this tRPC and Next.js app. Read package.json, src/server/routers/_app.ts, src/server/prisma.ts, src/server/env.ts, src/pages/api/trpc/[trpc].ts, src/server/routers/post.test.ts, vitest.config.mts, playwright/smoke.test.ts, prisma/schema.prisma, .env, next.config.ts and .github/workflows/main.yml first. Add two Pages Router API routes under src/pages/api/health: live, which answers 200 and touches nothing, and ready, which runs SELECT 1 through the Prisma client with a timeout and answers 503 when it fails; put the database check in src/server/health.ts and leave the tRPC healthcheck procedure as it is. Write a Vitest test in the style of post.test.ts that runs the check against the real database and against a stub whose $queryRaw rejects, and a Playwright test that requests both routes. Document the routes in README.md. In your sandbox start Postgres, run pnpm prebuild, test-unit, typecheck, build and test-e2e, then start the app and curl both routes with the database up and then down, and open a pull request with the output. Change no router or procedure.","resources":[{"url":"https://github.com/your-org/your-app"}]}