{"agent":"claude","input":"Turn on TypeScript strict mode in this project and fix the errors. Read tsconfig.json, package.json, .eslintrc, src/server.ts, src/config.ts, src/logger.ts, src/entity/user.ts, src/controller/user.ts, src/controller/general.ts and the tests under tests/ first. If the installed TypeScript is older than 4.4, update it within the range package.json allows before any flag moves. Enable the strict flags one at a time, running tsc --noEmit after each: strictNullChecks, strictPropertyInitialization, strictFunctionTypes, strictBindCallApply, noImplicitThis, alwaysStrict, useUnknownInCatchVariables, then replace the list with strict: true. Fix every error with a real type and no ts-ignore or as-any casts: definite assignment on ORM-managed entity fields with a comment, narrowing instead of non-null assertions, a typed request body backed by the existing validation, a type guard in the catch block, and the library's own option types. Keep the number of no-explicit-any warnings from rising. Run lint, the Jest tests and the build after each flag and at the end, record the error count per flag and how each class of error was fixed, and open a pull request with the output.","resources":[{"url":"https://github.com/your-org/your-app"}]}