{"agent":"claude","input":"Add updatedAt columns to the Drizzle schema for every table that an update statement in lib/db/queries.ts touches. Read lib/db/schema.ts, lib/db/queries.ts, drizzle.config.ts, lib/db/migrate.ts, lib/db/migrations and package.json first. Use timestamp(\"updatedAt\").notNull().defaultNow().$onUpdate(() => new Date()) and add the same $onUpdate to the existing User.updatedAt. Generate the migration with pnpm db:generate, read the SQL, and run pnpm db:check. Install Postgres in your sandbox, run the migrations against it, and prove with a tsx script that an update through Drizzle advances updatedAt and a raw UPDATE through postgres does not. Where the UI labels a createdAt as updated, switch it to the new column. Run pnpm check and tsc, and open a pull request that quotes the migration SQL and the proof script's output.","resources":[{"url":"https://github.com/your-org/your-app"}]}