// "Central coordinator for multi-platform workflow management across GitHub, Plane.so, and ClickUp. Orchestrates monitoring, reporting, and issue management across platforms."
| name | project-master-orchestrator |
| description | Central coordinator for multi-platform workflow management across GitHub, Plane.so, and ClickUp. Orchestrates monitoring, reporting, and issue management across platforms. |
| version | 1.0.0 |
| author | Thuong-Tuan Tran |
| tags | ["workflow","orchestration","project-management","clickup","github","plane"] |
The Project Master Orchestrator is the central coordinator for a multi-agent workflow management system that integrates with GitHub, Plane.so, and ClickUp. It orchestrates specialized agents to monitor projects, generate reports, and manage issues across platforms.
The orchestrator follows a 6-phase hybrid execution model combining sequential and parallel execution:
Phase 0: Initialization (Sequential) - 30s
Phase 1: Discovery & Data Collection (Parallel) - 1-2 min
Phase 2: Analysis & Processing (Sequential) - 2-3 min
Phase 3: Action Execution (Parallel with coordination) - 3-5 min
Phase 4: Synchronization & Validation (Sequential) - 1 min
Phase 5: Reporting & Completion (Sequential) - 1 min
Phase 1 Agents (ClickUp-focused):
clickup-integration-agent - ClickUp API clientmonitoring-collector-agent - Event aggregationproject-report-generator - Report generationissue-manager-agent - Task managementPhase 2 Agents (Multi-platform):
github-integration-agent - GitHub API clientplane-integration-agent - Plane.so API clientPhase 3 Agents (Advanced):
communication-facilitator-agent - Communication analysisproject-manager-agent - Project planningdata-synchronizer-agent - Cross-platform syncalert-system-agent - Alert managementpython orchestrate_workflow.py \
--action <monitor|report|manage|sync> \
--platforms <clickup|github|plane> \
--project <project-id> \
[--report-type <daily|weekly|monthly|sprint>] \
[--format <markdown|json|html|pdf>] \
[--list-id <clickup-list-id>] \
[--assignee <user-id>] \
[--priority <low|medium|high|critical>]
{
"action": "monitor|report|manage",
"platforms": ["clickup"], // Phase 1: ClickUp only
"project": "project-identifier",
"parameters": {
"reportType": "daily|weekly|monthly",
"format": "markdown|json|html|pdf",
"listId": "clickup-list-id",
"assignee": "user-id",
"priority": "high",
"sprint": "sprint-24"
}
}
Location: project-workspace/active-projects/{workflow-id}/global-state.json
{
"workflowId": "workflow-2025-12-02-143022",
"action": "monitor|report|manage",
"platforms": ["clickup"],
"status": "phase_name",
"createdAt": "2025-12-02T14:30:22.000Z",
"author": "Thuong-Tuan Tran",
"phases": {
"initialization": {
"status": "complete",
"output": "global-state.json",
"timestamp": "2025-12-02T14:30:22.000Z"
},
"discovery": {
"status": "complete",
"output": "data/clickup-collected.json",
"agents": {
"clickup": "complete",
"monitoring": "complete"
}
},
"analysis": {
"status": "complete",
"output": "analysis/clickup-analytics.json"
},
"actions": {
"status": "complete",
"subphases": {
"monitoring": "complete",
"report_generation": "complete",
"issue_management": "complete"
}
},
"synchronization": {
"status": "complete",
"output": "sync/status.json"
},
"reporting": {
"status": "complete",
"output": "reports/final-report.md"
}
},
"metadata": {
"executionTime": 485,
"platformsData": {
"clickup": {
"spaces": [],
"folders": [],
"lists": [],
"tasks": [],
"timeTracked": 0
}
},
"metrics": {
"tasksCreated": 0,
"tasksUpdated": 5,
"tasksCompleted": 3,
"reportsGenerated": 2,
"monitoringEventsProcessed": 47
},
"errors": []
}
}
Monitoring:
monitoring/clickup-events.json - Real-time event streammonitoring/dashboard.html - Interactive monitoring dashboardReports:
reports/daily-{date}.md - Daily standup reportreports/weekly-{week}.md - Weekly progress reportreports/monthly-{month}.md - Monthly project reportreports/velocity-report-{week}.md - Sprint velocity reportAnalysis:
analysis/clickup-analytics.json - ClickUp analyticsanalysis/patterns.json - Pattern detection resultsanalysis/insights.json - Generated insightsIssues:
issues/{task-id}.json - Individual task dataissues/bulk-operations.json - Bulk operation resultsDuration: ~30 seconds
Activities:
workflow-YYYY-MM-DD-HHMMSS)Validation Gates:
Output:
global-state.json - Initialized stateDuration: 1-2 minutes (parallel execution)
Activities:
Parallel Execution (ClickUp-focused):
Monitoring Collection:
Validation Gates:
Output:
data/clickup-collected.json - ClickUp raw datamonitoring/clickup-events.json - Event streamDuration: 2-3 minutes
Activities:
Validation Gates:
Output:
analysis/clickup-analytics.json - Analytics resultsanalysis/patterns.json - Pattern detectionanalysis/insights.json - Generated insightsDuration: 3-5 minutes (parallel with coordination)
Activities:
Monitoring (if action=monitor):
Report Generation (if action=report):
Issue Management (if action=manage):
Coordination:
Output:
Duration: ~1 minute
Activities:
Validation Gates:
Output:
sync/status.json - Synchronization statusDuration: ~1 minute
Activities:
Output:
reports/final-report.md - Workflow summaryThe orchestrator uses an enhanced MultiPlatformStateManager class (in scripts/multi_platform_state_manager.py) that extends the existing StateManager:
Key Features:
Usage:
state_manager = MultiPlatformStateManager(state_file)
state_manager.update_phase("discovery", "complete")
state_manager.add_platform_data("clickup", clickup_data)
state_manager.add_metric("tasks_created", 5)
state_manager.log_error("phase_name", error_details)
Pattern: 3-attempt retry with exponential backoff
retry_config = {
"max_attempts": 3,
"base_delay": 5, # seconds
"max_delay": 60,
"backoff_factor": 2
}
Error Handling Strategy:
Recoverable Errors:
Non-Recoverable Errors:
Configuration:
config/clickup-config.jsonAPI Endpoints:
/api/v2/list/{list_id}/task - Task operations/api/v2/space/{space_id} - Space operations/api/v2/folder/{folder_id} - Folder operations/api/v2/team - Team operationsWebhook Events:
Configuration:
API Endpoints:
/repos/{owner}/{repo}/issues - Issues/repos/{owner}/{repo}/pulls - Pull Requests/projects - Projects v2/repos/{owner}/{repo}/discussions - DiscussionsConfiguration:
API Endpoints:
/work-items/ - Work items/projects/ - Projects/cycles/ - Cycles/modules/ - ModulesRequirements for moving to next phase:
Checks:
Execution Time:
Reliability:
System Metrics:
Business Metrics:
Critical Alerts:
Warning Alerts:
Conventions:
data/{platform}-collected.jsonanalysis/{type}-analysis.jsonreports/{report-type}-{identifier}.mdmonitoring/{platform}-events.jsonissues/{task-id}.jsonPattern:
Include:
python orchestrate_workflow.py \
--action monitor \
--platforms clickup \
--project "ecommerce-platform" \
--report-type daily
Expected Output:
python orchestrate_workflow.py \
--action report \
--platforms clickup \
--report-type weekly \
--format markdown html pdf \
--sprint "sprint-24"
Expected Output:
python orchestrate_workflow.py \
--action manage \
--platforms clickup \
--list-id "list-123" \
--title "Implement new feature" \
--description "Feature description" \
--assignee "user-456" \
--priority high
Expected Output:
issues/ directoryorchestrate_workflow.py - Main orchestrator scriptmulti_platform_state_manager.py - Enhanced state managementplatform_clients/clickup_client.py - ClickUp API clientplatform_clients/github_client.py - GitHub API client (Phase 2)platform_clients/plane_client.py - Plane.so API client (Phase 2)config/clickup-config.json - ClickUp credentialsconfig/github-config.json - GitHub credentials (Phase 2)config/plane-config.json - Plane.so credentials (Phase 2)config/monitoring-rules.json - Monitoring thresholdsconfig/alert-rules.json - Alert definitionsproject-workspace/active-projects/ - Active workflowsproject-workspace/archive/ - Completed workflowsconfig/ - Configuration fileslogs/ - Execution logsIssue: "ClickUp API authentication failed"
config/clickup-config.jsonIssue: "Rate limit exceeded"
Issue: "Phase validation failed"
Issue: "Webhook delivery failed"
Enable verbose logging:
export LOG_LEVEL=DEBUG
python orchestrate_workflow.py --action monitor --platforms clickup
Phase 2-3 Roadmap:
Version History:
Author: Thuong-Tuan Tran Version: 1.0.0 Last Updated: 2025-12-02