{"agent":"claude","input":"Migrate this repository from Yarn 4 to the latest pnpm. Read package.json, .yarnrc.yml, the first lines of yarn.lock, everything under .yarn, .nvmrc and .github/workflows first, and list every place Yarn is named. Record the baseline with the pinned Yarn: install with the lockfile, run the test and lint scripts, and note which packages Yarn built. Then change packageManager, run pnpm import, and compare yarn.lock with pnpm-lock.yaml by package name and version; list every entry that is missing or resolved to a different version. Carry the Yarn patch over to pnpm's patchedDependencies and read the patch: say what it changes and whether it still makes sense under pnpm. Run pnpm install --frozen-lockfile and deal with whatever it refuses, approving build scripts only for packages you can justify by name. Run the tests and lint under pnpm's default layout; if anything fails that passed under Yarn, try nodeLinker: hoisted, report both results and keep the setting that reproduces the baseline. Replace yarn in the scripts and in the workflow, delete yarn.lock, .yarnrc.yml and .yarn, and do not publish or run a release. Open a pull request with the output of every command and a list of what you could not test.","resources":[{"url":"https://github.com/your-org/your-app"}]}