{"agent":"claude","input":"The build of this Create React App project fails with error:0308010C:digital envelope routines::unsupported. Reproduce it first: print node --version, run npm ci, then npm test, npm run build and npm start (stop the dev server once it has compiled or failed), and record which of them fail and the first frames of the stack trace. Find the line in node_modules that picks the hash algorithm and name the webpack and react-scripts versions from the lockfile. Read every CI file and say which Node version it uses. Then test two fixes on separate branches of work and compare them: (1) NODE_OPTIONS=--openssl-legacy-provider, and (2) upgrading react-scripts to the latest release. For the upgrade, run the build, the tests and the dev server again, list what changed in build/ compared with a build made under option 1, and say whether any source file had to change. Check whether a further npm install of an unrelated package still works after the upgrade, and fix the cause if it does not. Do not add the legacy provider flag to any script. Pin the Node version CI uses to a current LTS instead of a moving tag. Open a pull request for the upgrade with the output of every command before and after.","resources":[{"url":"https://github.com/your-org/your-app"}]}