{"agent":"claude","input":"Add soft delete to this Koa API. Read src/entity/user.ts, src/controller/user.ts, src/server.ts, src/config.ts, src/protectedRoutes.ts, tests/controller/user.test.ts, package.json and .github/workflows/ci.yml first. Add a @DeleteDateColumn named deletedAt to the User entity and a TypeORM migration that adds the column and an index on it; leave userSchema without the field. Change deleteUser to softRemove, keep the JWT email check, and keep deleteTestUsers as a hard remove. Pass withDeleted: true on the duplicate-email findOne calls in createUser and updateUser with a comment saying why. Add GET /users/deleted listing soft-deleted rows and POST /users/{id}/restore calling recover with the same email check, both on the protected router with Swagger decorators. Extend tests/controller/user.test.ts for softRemove, the deleted-email conflict and restore. Run npm run lint, npm test and npm run build until they pass, then open a pull request that explains why reads need no change and which call keeps a hard delete.","resources":[{"url":"https://github.com/your-org/your-app"}]}