{"agent":"claude","input":"Migrate this repository's tests from Mocha to the built-in Node.js test runner. Read package.json, every file in test, eslint.config.mjs and .github/workflows/test.yml first, and list the Mocha features in use: globals, hooks, this, callback-style tests, timeouts, reporters, and tests generated at load time. Run npm ci and npm test and record the count. Port in steps and run the suite after each: first node --test on the unchanged files, then with describe and it imported from node:test, then with whatever each remaining failure needs. Explain each failure from the node:test documentation before fixing it. Keep the build step that the test script runs first. When the count matches, break one assertion on purpose and compare what Mocha and node:test print and their exit codes, then restore it. Map the Mocha flags in the test script to node --test flags, check the lowest Node version in the CI matrix supports each one, remove mocha and any package or config entry that exists only for it, including lint plugins, globals and overrides, and run npm ci, npm test and npm run lint from a clean install. Open a pull request with the output of every command.","resources":[{"url":"https://github.com/your-org/your-app"}]}