role = "tier3-worker" prompt = """Implement strict type hints for ALL functions and methods in @gui_2.py and @gui_legacy.py. 1. Use specific types (e.g., dict[str, Any], list[str], Union[str, Path], etc.) for arguments and returns. 2. Maintain the 'AI-Optimized' style: 1-space indentation, NO blank lines within function bodies, and maximum 1 blank line between definitions. 3. Since these files are very large, you MUST use surgical tools (discovered_tool_py_update_definition, discovered_tool_py_set_signature, discovered_tool_py_set_var_declaration) to apply changes. Do NOT try to overwrite the entire file at once. 4. Do NOT change any logic. 5. Use discovered_tool_py_check_syntax after each major change to verify syntax. 6. Ensure 'from typing import Any, dict, list, Union, Optional, Callable' etc. are present. 7. Focus on completing the task efficiently without hitting timeouts.""" docs = ["gui_2.py", "gui_legacy.py", "conductor/workflow.md"]