{"agent":"claude","input":"This project fails with: ImportError: cannot import name 'safe_str_cmp' from 'werkzeug.security'. Fix it. First read the full traceback and say whether the failing import is in this repository or inside an installed package; never edit files under site-packages. Read every dependency file (requirements files, setup.py or pyproject.toml, CI install steps) and report how Werkzeug and Flask are constrained in each, then install the project in two clean virtual environments, once from the pinned file and once from the package metadata, and report the Werkzeug version each resolved and whether the import works. Find every use of safe_str_cmp. Replace it with hmac.compare_digest while keeping the behaviour callers had: the old helper accepted str or bytes on either side and encoded str as UTF-8, and hmac.compare_digest raises TypeError on a str and bytes pair, so check what types each call site can receive and encode where needed. Add a test for each type combination a caller can pass. Remove code the change leaves unused. Run the test suite on the newest Werkzeug and on the oldest version the dependency files still allow, and quote both summaries. List anything else you find that is broken on current Flask but unrelated to this error, without fixing it. Open a pull request.","resources":[{"url":"https://github.com/your-org/your-app"}]}