{"agent":"codex","input":"Use the PostHog connection to list this project's error-tracking issues from the last 7 days and take the one with the most occurrences. Read its exception type, message, sample stack frames and page URLs, and note whether the events are server or client side. Map the frames to the source in the server API routes under server/api/ and the pages and components that useFetch them, and check the route's data against the interfaces in app/types/index.d.ts. Add Vitest as a dev dependency with pnpm if the project has no test runner, reproduce the exception with a Vitest test, fix it, and run npx vitest run, pnpm run lint and pnpm run typecheck until all pass. Open a pull request that names the PostHog issue, its occurrence count and first-seen time, and quotes one sample stack trace. If the cause is outside this repository, say so in the session result and open no pull request.","resources":[{"url":"https://github.com/your-org/your-app"}]}