{"agent":"claude","input":"Migrate this repository's ESLint setup from eslintrc files to flat config. First find every ESLint config: files named .eslintrc with any or no extension in every directory, an eslintConfig key in package.json, .eslintignore files, and inline eslint-env comments. Read package.json, the lockfile entries for eslint and each config and plugin, and .github/workflows. Run the lint script as it is and record the result. Save eslint --print-config for one source file and one test file. Choose the target ESLint major: read engines.node for the newest releases and the peer ranges of every shared config and plugin in use, compare them with every Node version in the workflow matrix, and pick the newest major that all of them allow; explain the choice. Run the official migration tool on the root config, then check what it left out: nested config files, ignore files and comments that explained rule choices. Bring nested configs over as blocks with a files pattern and keep the explanatory comments. Run lint and sort every new report by cause: a rule the migration dropped, a default that changed in the new major, or a file that was not being linted before. Prove a changed default by running the new ESLint against the old config format. Restore previous behaviour through configuration; do not edit source files to satisfy the linter and do not disable a rule that was on. If the lint script's file patterns skip files, do not change which files are linted; report the skipped files and what linting them would show. Compare --print-config before and after and list any rule whose severity differs. Delete the old config files. Open a pull request with the counts by cause and the open questions.","resources":[{"url":"https://github.com/your-org/your-app"}]}