{"agent":"claude","input":"Add request id logging to this tRPC app. Read src/pages/api/trpc/[trpc].ts, src/server/context.ts, src/server/trpc.ts, src/server/routers/_app.ts, src/server/routers/post.ts, src/server/routers/post.test.ts, src/utils/trpc.ts, vitest.config.mts, .env and .github/workflows/main.yml first. In createContext, take x-request-id from the incoming request when present and otherwise make one with crypto.randomUUID(), put it on the context as requestId, and set it as the x-request-id response header. Add a tRPC middleware in src/server/trpc.ts that logs one JSON line per procedure call to stdout with requestId, path, type, durationMs and ok, and make publicProcedure use it; do not change the routers. Make the onError hook in [trpc].ts log every error with the requestId, path and error code. Keep the existing post.test.ts passing by giving createContextInner a fixed requestId, and add a Vitest test that captures the log line for post.list and checks its fields. Start Postgres as the CI workflow does, run pnpm prebuild, pnpm test-unit, pnpm lint, pnpm typecheck and pnpm build, and open a pull request that shows an example log line and the response header.","resources":[{"url":"https://github.com/your-org/your-app"}]}