Initialize the workflow orchestrator. Args: root_path: Root path of the project
(self, root_path: Path)
| 57 | """Orchestrates the execution of modular workflows.""" |
| 58 | |
| 59 | def __init__(self, root_path: Path): |
| 60 | """Initialize the workflow orchestrator. |
| 61 | |
| 62 | Args: |
| 63 | root_path: Root path of the project |
| 64 | """ |
| 65 | self.root_path = root_path |
| 66 | self.status_file = root_path / ".github" / "workflow-status.json" |
| 67 | self.artifacts_dir = root_path / ".github" / "artifacts" |
| 68 | self.results: Dict[WorkflowPhase, WorkflowResult] = {} |
| 69 | |
| 70 | # Ensure directories exist |
| 71 | self.status_file.parent.mkdir(parents=True, exist_ok=True) |
| 72 | self.artifacts_dir.mkdir(parents=True, exist_ok=True) |
| 73 | |
| 74 | # Load existing status if available |
| 75 | self._load_status() |
| 76 | |
| 77 | def _load_status(self): |
| 78 | """Load workflow status from file.""" |
nothing calls this directly
no test coverage detected