-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathmaestro.yaml
More file actions
223 lines (200 loc) · 5.73 KB
/
Copy pathmaestro.yaml
File metadata and controls
223 lines (200 loc) · 5.73 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
# Maestro AI Diamond Chain workflow definition
name: my-project
description: Squad-based development using AI Diamond Chain methodology
# Supported tools - agent runtimes to scaffold and use
# Supported values: opencode, amp
tools:
- opencode
# Squad definition - maps roles to agent configurations
agents:
architect:
role: architect
phase: discovery
researcher:
role: researcher
phase: discovery
ux-designer:
role: ux-designer
phase: discovery
frontend-engineer:
role: frontend-engineer
phase: build
backend-engineer:
role: backend-engineer
phase: build
devops-sre:
role: devops-sre
phase: build
qa-engineer:
role: qa-engineer
phase: quality
code-reviewer:
role: code-reviewer
phase: quality
# AI Diamond Chain Configuration
# Alternating Discovery and Implementation diamonds with Learn & Feed loop
diamond_chain:
mode: infinite # or "fixed:N" for limited iterations
learning_accumulation: true # Compound learnings across diamonds
# Diamond Definitions
diamonds:
# Discovery Diamond: "What should we build?"
discovery:
description: Understand the problem and decide what to build
# Phase 1: Diverge (Explore)
diverge:
parallel: true
agents: [researcher, ux-designer, architect]
activities:
researcher:
- market_analysis
- competitive_review
- trend_identification
ux-designer:
- user_research
- needs_exploration
- persona_development
architect:
- tech_hypotheses
- feasibility_exploration
- constraint_analysis
duration_target: "2-3 days" # AI-accelerated
# Phase 2: Converge (Define)
converge:
agent: maestro
outputs:
- discovery-decision-gate.md
criteria:
- problem_validated
- scope_defined
- success_criteria_set
- market_opportunity_sized
decision_gate:
options: [GO, NO-GO, REFINE]
auto_trigger_next: false # Human approval required
confidence_threshold: 70 # Minimum for GO decision
refinement_triggers:
- known_unknowns_count_exceeds: 2
- conflicting_findings
- low_confidence_critical_items
- missing_dependencies
# Implementation Diamond: "How do we build it?"
implementation:
description: Build and ship the solution
# Phase 1: Diverge (Explore)
diverge:
parallel: true
agents: [architect, backend-engineer, frontend-engineer, devops-sre]
activities:
architect:
- architecture_options
- tradeoff_analysis
- pattern_exploration
backend-engineer:
- api_prototyping
- db_design_options
frontend-engineer:
- ui_pattern_exploration
- component_prototyping
devops-sre:
- infrastructure_options
- deployment_strategies
duration_target: "1-2 days" # AI-accelerated
# Phase 2: Converge (Deliver)
converge:
parallel: true
build_agents: [backend-engineer, frontend-engineer, devops-sre]
quality_agents: [qa-engineer, code-reviewer]
outputs:
- implementation-decision-gate.md
- build-report.md
- quality-gate-report.md
criteria:
- solution_works
- quality_met
- performance_acceptable
- security_scan_passed
decision_gate:
options: [SHIP, NO-SHIP, FIX]
auto_trigger_next: true # Auto-trigger Learn & Feed
quality_threshold: 80 # Minimum quality score for SHIP
fix_max_retries: 3
# Learn & Feed: The Chain Link
learn_and_feed:
description: Capture learnings to feed next Discovery Diamond
enabled: true
auto_trigger_after: implementation # Auto-run after ship
agents: [researcher, ux-designer, architect]
activities:
researcher:
- usage_analytics
- market_response_analysis
ux-designer:
- user_feedback_synthesis
- satisfaction_analysis
architect:
- technical_learnings
- performance_assessment
outputs:
- learned-report.md
queue_for_next_discovery: true
# Legacy workflow configuration (maintained for backward compatibility)
workflow:
discovery:
parallel: true
confidence_threshold: 70
max_refinement_rounds: 3
synthesis:
approval: true
refinement_on:
- low_confidence_critical_items
- conflicting_findings
- known_unknowns_count_exceeds: 2
- missing_dependencies
build:
parallel: true
continuous_feedback:
enabled: true
trigger_on:
- module_complete
- checkpoint_reached
- pr_merged
modules:
- name: backend-core
agent: backend-engineer
checkpoint: "API contracts defined"
qa_entry_point: true
- name: infrastructure
agent: devops-sre
checkpoint: "Infrastructure as code complete"
qa_entry_point: true
- name: frontend-shell
agent: frontend-engineer
depends_on: [backend-core]
checkpoint: "UI components render with mock data"
qa_entry_point: true
feedback_queue:
enabled: true
file: "feedback-queue.md"
auto_pause_on_critical: true
quality:
parallel: true
on_failure: fix_and_retry
max_retries: 3
validations:
usecase_coverage:
required: true
min_coverage_percent: 80
workflow_testing:
required: true
test_happy_path: true
test_error_paths: true
test_edge_cases: true
edge_case_coverage:
required: true
categories:
- boundary_conditions
- empty_null_states
- concurrent_access
- failure_modes
- security_edge_cases