{"agent":"claude","input":"Add soft delete to the tasks table in this Drizzle project. Read drizzle.config.ts, the schema file, the database client module, the env module, every route, handler and test for tasks, the migrations directory and package.json first. Create .env from .env.example. Record the results of typecheck, lint and tests before changing anything and list what already fails. Add a nullable deletedAt timestamp column in the style of the existing timestamp columns and generate the migration with drizzle-kit generate; commit the SQL, the snapshot and the journal entry, and do not edit earlier migrations. Change the delete handler to set deletedAt on a row that is not already deleted and keep its 404 for a missing or already deleted row. Add the not-deleted condition to every query that reads or updates tasks: list, get one and patch. Omit deletedAt from the insert, patch and select schemas so no request can set it and no response exposes it, and check that the task schemas in the generated OpenAPI document are unchanged. Add tests: delete returns 204 and the row remains with deleted_at set when read directly through the database client; get, patch and a second delete return 404; list omits it; a create or patch body with deletedAt does not set it. Apply the migrations with drizzle-kit migrate to a scratch database that already holds a row and confirm the new one applies. Add no restore endpoint and no purge job; list them as follow-ups. Open a pull request with the migration SQL and the output of typecheck, lint and tests.","resources":[{"url":"https://github.com/your-org/your-app"}]}