Orchestrating AI Workflows with Prefect: From Scheduling to Self-Debugging