{"agent":"claude","input":"Upgrade RQ in this Flask app from the pinned 1.x release to the current major and open a pull request. Read requirements.txt, .python-version, manage.py, project/server/config.py, project/server/main/views.py, project/server/main/tasks.py, project/client/static/main.js, docker-compose.yml, both Dockerfiles and project/tests first. First install the pinned requirements unchanged and run python manage.py test with the environment docker-compose.yml sets; if the baseline fails for a reason unrelated to RQ, fix only that in a separate commit and explain it. Then upgrade rq, and upgrade redis only as far as RQ requires. Read RQ's CHANGES.md from the pinned version to the new one. Replace the Connection context manager with an explicit connection argument on Queue and Worker, and replace any Job method or property the new release removed or deprecated. Keep the JSON the two task routes return identical, including the status strings main.js compares. Do not use Docker: install redis-server with apt, run Redis, the web app and python manage.py run_worker as processes, make the redis hostname in config.py resolve locally without editing it, start one task of each length, poll each status URL until it finishes, and paste the responses and the worker log. Note anything in docker-compose.yml or project/dashboard/Dockerfile that the upgrade affects but that you could not run. Do not upgrade Flask.","resources":[{"url":"https://github.com/your-org/your-app"}]}