{"agent":"claude","input":"Convert this Express codebase from JavaScript to TypeScript with strict mode. First list every .js file by directory, the module style, the Node version in engines and CI, the package manager from the lockfile, and the test command and what it needs to run. Start the database the tests need in the sandbox and run the existing test suite once as the baseline. Add typescript, ts-jest and the @types packages for the dependencies at versions matching the lockfile, and a tsconfig.json with strict true, esModuleInterop and an outDir; add a build script and point the start script, the process manager config and the Dockerfile at the compiled output. Convert one directory at a time in dependency order, config before utils before models before services before middlewares before routes before the entry point, with real interfaces for documents, request handlers, errors and config instead of any, and run npx tsc --noEmit and the test suite after each directory until both are clean. Update the ESLint config so lint still runs over .ts files. Do not change behavior: type existing code as it is and list anything you think should change separately. Open a pull request with the final tsc output, the test results, and the count of any and @ts-expect-error left with the reason for each.","resources":[{"url":"https://github.com/your-org/your-app"}]}