{"agent":"claude","input":"Add soft delete for the Post model in this Prisma 7 project. Read package.json, prisma.config.ts, prisma/schema.prisma, prisma/seed.ts, src/index.ts and tsconfig.json first. Add a nullable deletedAt DateTime column with an index to Post, start a local Postgres, set DATABASE_URL, run prisma migrate dev --name post_soft_delete and then prisma generate. Create src/prisma.ts exporting a client extended with $extends whose query extension on post turns delete into update and deleteMany into updateMany setting deletedAt, and adds deletedAt: null to the where of findMany, findFirst, findUnique, count and update unless the caller already filters on deletedAt. Use it in src/index.ts, keep every route, and add POST /post/:id/restore. Leave prisma/seed.ts on the bare client so its deleteMany stays a hard delete, and say why in the PR. Add vitest and a test script, write src/soft-delete.test.ts covering delete, the filtered reads, the count of deleted rows and restore, run prisma migrate deploy, prisma db seed, the tests and tsc --noEmit, and open a pull request that lists the operations the extension intercepts and the ones it does not.","resources":[{"url":"https://github.com/your-org/your-app"}]}