{"agent":"claude","input":"Show Zod validation errors from tRPC under each form field. Read src/server/trpc.ts, src/server/routers/post.ts, src/pages/index.tsx, src/shared-ui/components/field.tsx and src/utils/trpc.ts first. In the errorFormatter, add data.zodError holding the flattened issues when error.cause is a ZodError and keep the rest of the shape as it is; this app is on Zod 4, so use z.flattenError. In AddPostCard, render each field's first message under its input with aria-invalid on the input, and keep the general alert for errors that carry no zodError. Add a Playwright test that submits a 40-character title and expects a message under Title and no alert. Run pnpm typecheck, pnpm lint, pnpm test-unit and pnpm test-e2e against a local Postgres, quote the results and open a pull request.","resources":[{"url":"https://github.com/your-org/your-app"}]}