generate_migration_report
Document Airflow-to-Prefect conversion decisions in MIGRATION.md and generate a before-production checklist with Prefect doc links.
Instructions
Write MIGRATION.md — human-readable record of a DAG conversion.
Call as the final step after generate_deployment. Documents every conversion decision, produces a before-production checklist with Prefect doc links, and suggests adding the Prefect MCP server.
Args: output_directory: Directory to write MIGRATION.md into. dag_path: Path to the original Airflow DAG file. flow_path: Path to the generated Prefect flow file. decisions: List of dicts, each with: component, outcome, rationale (optional), manual_action (optional). manual_actions: Top-level action types not tied to a specific component (e.g. "setup_work_pool", "migrate_connections").
Returns: JSON with created_file, checklist_items_count.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dag_path | Yes | ||
| decisions | Yes | ||
| flow_path | Yes | ||
| manual_actions | No | ||
| output_directory | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |