{"agent":"claude","input":"Add cursor pagination to the post.all procedure in packages/api/src/router/post.ts. Use a keyset cursor on (createdAt, id) because id is a random UUID, with a zod input of limit (1 to 50, default 10) and an optional cursor, order by createdAt then id descending, fetch limit + 1 and return { items, nextCursor }. Add a composite index on (createdAt, id) to packages/db/src/schema.ts and say in the pull request that drizzle-kit push applies it. Move every caller in apps/nextjs, apps/tanstack-start and apps/expo to useInfiniteQuery through infiniteQueryOptions, flatten the pages, and add a load-more control using the existing UI package. Check that the create and delete invalidations still match. Run pnpm typecheck, pnpm lint and pnpm format, and test the tiebreak against a local Postgres with posts that share a createdAt. Open a pull request quoting each result.","resources":[{"url":"https://github.com/your-org/your-app"}]}