- Dead files (knip, verified by grep — nothing imports or invokes them):
src/legal_generator.js, test-mcp-stdio.js, test-svg-upload.js, test/integration.test.js, test/test-runner.js. test/integration/http.test.js is a 1-byte empty file.
test/cli.test.js and test/version.test.js spawn bin/cli.js, which does not exist. npm run test:cli / npm run test:version fail on main today (0/4); they are not part of npm test. Delete the tests and scripts, or add the CLI.
- Unused exports (knip) in
src/config.js, src/log.js, src/jwt-validation.js (jwtValidationMiddleware is an Express-style leftover that logs its own deprecation), src/utils.js.
scripts/test-integration-mocha.sh waits a fixed 3 s after docker compose up -d; a run right after a previous one can fail 27 tests until the old compose is torn down.
Found during the Node 24 / dependency upgrade, 2026-09-06 (see chore/deps-prune branch)
src/legal_generator.js,test-mcp-stdio.js,test-svg-upload.js,test/integration.test.js,test/test-runner.js.test/integration/http.test.jsis a 1-byte empty file.test/cli.test.jsandtest/version.test.jsspawnbin/cli.js, which does not exist.npm run test:cli/npm run test:versionfail onmaintoday (0/4); they are not part ofnpm test. Delete the tests and scripts, or add the CLI.src/config.js,src/log.js,src/jwt-validation.js(jwtValidationMiddlewareis an Express-style leftover that logs its own deprecation),src/utils.js.scripts/test-integration-mocha.shwaits a fixed 3 s afterdocker compose up -d; a run right after a previous one can fail 27 tests until the old compose is torn down.Found during the Node 24 / dependency upgrade, 2026-09-06 (see
chore/deps-prunebranch)