{"agent":"claude","input":"Migrate this repository's tests from Mocha to Vitest. First read package.json, any .mocharc file, every file under test/, and .github/workflows. List every Mocha feature in use with counts: tests and hooks that take a done callback, before and after hooks, this.timeout, this.skip, this.retries, --require modules, --check-leaks, --exit, reporters, and helper files in the test directory that are not tests. Run the existing suite and record files, tests and coverage. Add a Vitest config with globals enabled, the node environment, an include that matches only real test files, and a setup file for anything Mocha loaded with --require. Run it once before converting anything and report the result honestly: if tests that take done are reported as passed, say that they did not run their assertions. Convert callback-style tests so that done() resolves and done(err) rejects, without changing any assertion; use a syntax-aware edit, not a regular expression. Rename before and after to beforeAll and afterAll, and move this.timeout values to the test's timeout option. Break one assertion inside a request callback on purpose, confirm the run fails, and restore it. Replace the coverage command with a Vitest coverage provider, confirm it reports the library's files with non-zero figures, and keep the lcov output where the workflow's upload step finds it. Read engines.node of the installed Vitest and compare it with every Node version in the workflow matrix; if any version is not covered, do not edit the matrix, and state the options. Remove mocha and packages nothing else uses. The final run must show the same number of tests as the Mocha baseline. Open a pull request with both totals, the feature counts, and what has no Vitest equivalent.","resources":[{"url":"https://github.com/your-org/your-app"}]}