{"agent":"claude","input":"Upgrade this Scrapy project to the latest Scrapy release. Read scrapy.cfg, the settings module, items.py, pipelines.py, any middlewares and every spider first, and find every file that pins or names a Scrapy version; if none does, say so. If a version is pinned, create one virtual environment with it and crawl every spider from scrapy list with -s CLOSESPIDER_PAGECOUNT=3 and -o to a file, as the baseline. Create a second environment with the latest release and run the same crawls. For each spider report the Scrapy and Twisted versions from the log, the item count, the response status counts and every log line containing ScrapyDeprecationWarning, and compare the items with the baseline when there is one. Enable each pipeline, middleware and extension that the settings mention but leave commented out, one at a time with -s, and record the warnings that appear. Fix every deprecation in code the project owns, with the smallest change the warning asks for. Generate a fresh project with scrapy startproject in a temporary directory and diff its settings.py against ours: apply FEED_EXPORT_ENCODING if it is missing and show the feed before and after, and list every other difference without applying it. Pin the Scrapy version you tested in a requirements file. Do not change selectors, delays, concurrency or the robots.txt setting. Open a pull request with the table of results per spider and the log excerpts.","resources":[{"url":"https://github.com/your-org/your-app"}]}