{"agent":"claude","input":"Write Playwright end-to-end tests for this tRPC + Next.js app. Read playwright.config.ts, playwright/smoke.test.ts, .github/workflows/main.yml, src/pages/index.tsx, src/pages/post/[id].tsx, src/pages/404.tsx, src/server/routers/post.ts and prisma/seed.ts first. Add playwright/posts.test.ts covering: the home page lists the seeded post; adding a post through the form shows it in the list without a reload; a 33-character title and an empty text each show the add error with zod's message and add nothing; clicking a post opens its page with the title, the Posts breadcrumb and the Raw data card; an unknown post id shows 404 and the not-found message with a Back to posts link; an unknown route shows the custom 404 page; and, as a serial spec, six new posts make Load more appear and a click reaches That's every post. Use getByLabel and getByRole, a nonce per test, and no count assertions. In the smoke file, replace networkidle and reload with a visibility assertion and the name selectors with labels. Start Postgres as the workflow does, run pnpm prebuild, pnpm build and pnpm test-e2e with CI=1 three times, and open a pull request with the reporter output; note anything the workflow relies on that the config does not install. Do not change the app or the workflow.","resources":[{"url":"https://github.com/your-org/your-app"}]}