{"agent":"claude","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, event URLs and first-seen time. Map the frames to the source in app/(dashboard)/dashboard/page.tsx, app/(login)/actions.ts, app/api/team/route.ts, lib/payments/actions.ts, lib/payments/stripe.ts and the Stripe routes under app/api/stripe, and read the recent commits that touched those lines. The project has no test runner: add vitest and @testing-library/react as dev dependencies with pnpm, write a test that reproduces the exception with the data the PostHog events show (mock fetch, the queries module or the stripe client as needed), and confirm it fails. Fix the cause where the bad data enters, then run npx vitest run and pnpm build until both pass. Open a pull request that names the PostHog issue, its occurrence count and first-seen time, and quotes one sample stack trace with the line it maps to. If the cause is outside this repository, say so in the session result and open no pull request.","connections":["posthog"],"resources":[{"url":"https://github.com/your-org/your-app"}]}