{"agent":"claude","input":"Replace Flask-Script with Flask's built-in Click CLI in this application. Read manage.py, requirements.txt, the application factory, the README and any script that calls manage.py. List every command, its options with short and long names and defaults, and anything manage.py does before or after dispatching (environment variables, monkey patching, exit codes). Install the pinned requirements; if they do not install on a current Python, say which package fails and why, then build the oldest environment that works and say exactly how. Record the output and exit code of every command, of --help for each, and of manage.py with no arguments. Port manage.py to a click group on flask.cli.FlaskGroup without upgrading Flask or any other pin. Keep every command name, option name and exit code, including ones that look wrong; list those instead of fixing them. Check that the application object behaves the same under the new entry point: compare extension state such as the Socket.IO async mode before and after, and fix any difference the CLI introduces. Remove Flask-Script from requirements.txt. Repeat every recorded command on the new manage.py and show both outputs in the pull request. Update README commands only where they changed.","resources":[{"url":"https://github.com/your-org/your-app"}]}