MCPcopy Create free account
hub / github.com/InfinitiBit/graphbit / __init__

Method __init__

scripts/workflow-orchestrator.py:59–75  ·  view source on GitHub ↗

Initialize the workflow orchestrator. Args: root_path: Root path of the project

(self, root_path: Path)

Source from the content-addressed store, hash-verified

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."""

Callers

nothing calls this directly

Calls 1

_load_statusMethod · 0.95

Tested by

no test coverage detected