{"agent":"claude","input":"This Flask app fails at startup with \"ImportError: cannot import name 'TextField' from 'wtforms'\" after WTForms was installed fresh. Read the dependency files and report how wtforms and flask-wtf are pinned, then create a clean virtual environment on a current Python, install the dependencies as a new user would, and report the versions that were resolved. Start the app the way the Procfile or README does and save the traceback. Search every .py file for the field aliases WTForms 3 removed (TextField, and any other name that fails to import from wtforms) and list each use with its file and line. Replace each with the current field class (StringField for TextField) and keep the labels and validators as they are. Do not pin wtforms below 3. Start the app again: if it now fails on a different library's removed API, report that traceback with its file and line as a separate finding and do not fix it in this change. If it starts, request the form page with an HTTP client and submit the form once. Open a pull request with the resolved versions, the list of changed fields, and the startup result.","resources":[{"url":"https://github.com/your-org/your-app"}]}