{"agent":"claude","input":"This project fails on Ruby 3.1 or later with \"Psych::BadAlias: Unknown alias\" (on newer Rubies, \"Psych::AliasesNotEnabled: Alias parsing was not enabled\") when it loads a YAML file that uses anchors and merge keys. Fix it. Find every call to YAML.load, YAML.load_file, Psych.load and Psych.load_file. For each, record which file or string it reads, whether that input is under the repository's control, and whether it can contain aliases, symbols or serialized Ruby objects. Reproduce the failure first with a spec that loads a YAML file containing an anchor and a merge key; if the project's README or sample configuration shows such a file, use that. Fix trusted configuration loads by passing aliases: true and keep the class restrictions; do not switch to unsafe_load unless a file really contains Ruby objects, and say which file if so. Never widen a call that parses input from outside the repository. Read the gemspec and CI configuration for the oldest Ruby the project supports, and if that Ruby's Psych does not accept the aliases keyword, keep the code working there too. Run the new spec and the existing suite on the oldest and newest Ruby you can install, and report results for each, listing failures that have another cause separately. If the failing call is inside a dependency, upgrade to a release that fixes it or report that none exists. Open a pull request.","resources":[{"url":"https://github.com/your-org/your-app"}]}