{"agent":"claude","input":"This project pins Jinja2 to an exact old version, and with a newer Jinja2 it fails with \"ImportError: cannot import name 'contextfilter' from 'jinja2'\". Find the pin in the dependency file and the lock file, and find every use of the names Jinja2 3.1 removed: contextfilter, contextfunction, environmentfilter, environmentfunction, evalcontextfilter, evalcontextfunction, and Markup or escape imported from jinja2. Search templates as well as Python files, and read how custom filters and globals are registered. Create a small sample input that makes every custom filter run, build it with the pinned Jinja2 with warnings shown, and keep the output directory as a baseline. Work in two commits. First, with the pin unchanged, replace the removed names with pass_context, pass_environment, pass_eval_context or the markupsafe imports, rebuild, and show a recursive diff against the baseline. Second, relax the pin to a compatible range, update the lock file with the project's own tool, rebuild on the newest Jinja2, and diff again. Reproduce the original ImportError on the newest Jinja2 before the first commit and include it. Do not change template output, autoescape settings or the filters' behaviour; if a diff is not empty, stop and report it. Read the CI and release workflows and say in the pull request what merging will trigger. Open a pull request with both diffs and the warning text from the old version.","resources":[{"url":"https://github.com/your-org/your-app"}]}