@polymorphism-tech/morph-spec 4.3.2 → 4.3.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/src/commands/project/init.js +14 -4
- package/src/commands/project/update.js +7 -3
- package/stacks/blazor-azure/.morph/.morphversion +3 -3
- package/stacks/blazor-azure/.morph/config/config.json +1 -1
- package/stacks/nextjs-supabase/.morph/.morphversion +3 -3
- package/stacks/nextjs-supabase/.morph/config/agents.json +345 -948
- package/stacks/nextjs-supabase/.morph/config/config.json +1 -1
- package/stacks/blazor-azure/.morph/archive/.gitkeep +0 -25
- package/stacks/blazor-azure/.morph/config/config.template.json +0 -122
- package/stacks/blazor-azure/.morph/features/.gitkeep +0 -25
- package/stacks/blazor-azure/.morph/hooks/pre-commit/tests-csharp.sh +0 -61
- package/stacks/blazor-azure/.morph/project.md +0 -160
- package/stacks/blazor-azure/.morph/schemas/agent.schema.json +0 -296
- package/stacks/blazor-azure/.morph/schemas/tasks.schema.json +0 -220
- package/stacks/blazor-azure/.morph/specs/.gitkeep +0 -20
- package/stacks/blazor-azure/.morph/state.json +0 -18
- package/stacks/blazor-azure/.morph/test-infra/example.bicep +0 -59
- package/stacks/nextjs-supabase/.morph/config/config.template.json +0 -92
- package/stacks/nextjs-supabase/.morph/hooks/pre-commit/tests-typescript.sh +0 -61
- package/stacks/nextjs-supabase/.morph/project.md +0 -168
|
@@ -1,948 +1,345 @@
|
|
|
1
|
-
{
|
|
2
|
-
"$schema": "./agent-schema.json",
|
|
3
|
-
"version": "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
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
"
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
"
|
|
238
|
-
|
|
239
|
-
"
|
|
240
|
-
"
|
|
241
|
-
"
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
"
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
"
|
|
261
|
-
"
|
|
262
|
-
"
|
|
263
|
-
"
|
|
264
|
-
"
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
"
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
"
|
|
284
|
-
"
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
"
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
"
|
|
294
|
-
"
|
|
295
|
-
"
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
"
|
|
304
|
-
"
|
|
305
|
-
}
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
"
|
|
317
|
-
"
|
|
318
|
-
"domains": ["
|
|
319
|
-
"
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
"
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
"relationships": {
|
|
347
|
-
"reports_to": "dotnet-senior",
|
|
348
|
-
"coordinates": [],
|
|
349
|
-
"escalates_to": "dotnet-senior",
|
|
350
|
-
"collaborates_with": ["blazor-builder", "nextjs-expert", "azure-identity"],
|
|
351
|
-
"team_role": "specialist"
|
|
352
|
-
},
|
|
353
|
-
"standards": ["core/coding.md", "core/architecture.md"],
|
|
354
|
-
"teammate": {
|
|
355
|
-
"role": "Auth SaaS Integration Specialist",
|
|
356
|
-
"icon": "🔐",
|
|
357
|
-
"spawn_prompt": "You are the Auth SaaS Integration Specialist (Clerk SDK). Implement Clerk authentication flows (login, signup, OAuth), session management, user profile. Integrate with Blazor or Next.js frontend."
|
|
358
|
-
}
|
|
359
|
-
},
|
|
360
|
-
|
|
361
|
-
"resend-email": {
|
|
362
|
-
"tier": 3,
|
|
363
|
-
"role": "specialist",
|
|
364
|
-
"title": "Email Integration Specialist",
|
|
365
|
-
"domains": ["integration-email"],
|
|
366
|
-
"keywords": ["resend", "email", "transactional email", "email notification", "send email", "email template", "smtp"],
|
|
367
|
-
"negativeKeywords": ["push notification", "in-app notification", "notification preference", "notification settings"],
|
|
368
|
-
"always_active": false,
|
|
369
|
-
"validators": ["architecture", "contract-compliance"],
|
|
370
|
-
"relationships": {
|
|
371
|
-
"reports_to": "dotnet-senior",
|
|
372
|
-
"coordinates": [],
|
|
373
|
-
"escalates_to": "dotnet-senior",
|
|
374
|
-
"collaborates_with": ["hangfire-orchestrator"],
|
|
375
|
-
"team_role": "specialist"
|
|
376
|
-
},
|
|
377
|
-
"standards": ["core/coding.md", "core/architecture.md"],
|
|
378
|
-
"teammate": {
|
|
379
|
-
"role": "Email Integration Specialist",
|
|
380
|
-
"icon": "📧",
|
|
381
|
-
"spawn_prompt": "You are the Email Integration Specialist (Resend SDK). Implement transactional emails, email templates, notification sending. Follow contract-compliance validator for SDK usage patterns."
|
|
382
|
-
}
|
|
383
|
-
},
|
|
384
|
-
|
|
385
|
-
"_comment_tier_3_frontend": "=== TIER 3: FRONTEND SPECIALISTS (3) ===",
|
|
386
|
-
|
|
387
|
-
"blazor-builder": {
|
|
388
|
-
"tier": 3,
|
|
389
|
-
"role": "specialist",
|
|
390
|
-
"title": "Blazor Development Specialist",
|
|
391
|
-
"domains": ["frontend-blazor"],
|
|
392
|
-
"keywords": ["blazor", "razor", "server-side", "component", "fluent ui", "mudblazor", "signalr", "page", "view", "form"],
|
|
393
|
-
"always_active": false,
|
|
394
|
-
"validators": ["architecture", "blazor", "blazor-concurrency", "blazor-state", "css", "design-system"],
|
|
395
|
-
"relationships": {
|
|
396
|
-
"reports_to": "ui-designer",
|
|
397
|
-
"coordinates": [],
|
|
398
|
-
"escalates_to": "standards-architect",
|
|
399
|
-
"collaborates_with": ["ef-modeler", "api-designer", "css-specialist"],
|
|
400
|
-
"team_role": "specialist",
|
|
401
|
-
"active_phases": ["uiux", "implement"]
|
|
402
|
-
},
|
|
403
|
-
"standards": ["core/coding.md", "frontend/blazor/lifecycle.md", "frontend/blazor/state.md", "frontend/blazor/pitfalls.md", "backend/database/ef-core.md", "frontend/blazor/fluent-ui.md", "mudblazor-blazor.md"],
|
|
404
|
-
"teammate": {
|
|
405
|
-
"role": "Blazor Development Specialist",
|
|
406
|
-
"icon": "⚡",
|
|
407
|
-
"spawn_prompt": "You are the Blazor Development Specialist. Build Blazor Server components (Fluent UI or MudBlazor). Follow component-per-file pattern, use @inject for DI, implement loading states and error boundaries. Integrate SignalR for real-time features. Message ef-modeler for data, css-specialist for design system validation."
|
|
408
|
-
}
|
|
409
|
-
},
|
|
410
|
-
|
|
411
|
-
"nextjs-expert": {
|
|
412
|
-
"tier": 3,
|
|
413
|
-
"role": "specialist",
|
|
414
|
-
"title": "Next.js Development Specialist",
|
|
415
|
-
"domains": ["frontend-nextjs"],
|
|
416
|
-
"keywords": ["nextjs", "next.js", "react", "api", "frontend", "shadcn", "tanstack", "server actions"],
|
|
417
|
-
"always_active": false,
|
|
418
|
-
"validators": ["packages"],
|
|
419
|
-
"relationships": {
|
|
420
|
-
"reports_to": "ui-designer",
|
|
421
|
-
"coordinates": [],
|
|
422
|
-
"escalates_to": "standards-architect",
|
|
423
|
-
"collaborates_with": ["api-designer", "css-specialist"],
|
|
424
|
-
"team_role": "specialist",
|
|
425
|
-
"active_phases": ["uiux", "implement"]
|
|
426
|
-
},
|
|
427
|
-
"standards": ["core/coding.md", "backend/dotnet/core.md"],
|
|
428
|
-
"teammate": {
|
|
429
|
-
"role": "Next.js Development Specialist",
|
|
430
|
-
"icon": "⚛️",
|
|
431
|
-
"spawn_prompt": "You are the Next.js Development Specialist. Build Next.js 14+ applications with shadcn/ui components, TanStack Query for data fetching, Server Actions for mutations. Implement Route Handlers for API routes. Message api-designer for backend endpoints, css-specialist for design system."
|
|
432
|
-
}
|
|
433
|
-
},
|
|
434
|
-
|
|
435
|
-
"css-specialist": {
|
|
436
|
-
"tier": 3,
|
|
437
|
-
"role": "specialist",
|
|
438
|
-
"title": "CSS & Design System Specialist",
|
|
439
|
-
"domains": ["frontend-css"],
|
|
440
|
-
"keywords": ["css", "design system", "styling", "theme", "design tokens", "palette"],
|
|
441
|
-
"always_active": false,
|
|
442
|
-
"validators": ["css", "contrast", "design-system"],
|
|
443
|
-
"relationships": {
|
|
444
|
-
"reports_to": "ui-designer",
|
|
445
|
-
"coordinates": [],
|
|
446
|
-
"escalates_to": "ui-designer",
|
|
447
|
-
"collaborates_with": ["blazor-builder", "nextjs-expert"],
|
|
448
|
-
"team_role": "specialist",
|
|
449
|
-
"active_phases": ["implement"]
|
|
450
|
-
},
|
|
451
|
-
"standards": ["frontend/design-system/naming.md", "frontend/design-system/animations.md"],
|
|
452
|
-
"teammate": {
|
|
453
|
-
"role": "CSS & Design System Specialist",
|
|
454
|
-
"icon": "🎨",
|
|
455
|
-
"spawn_prompt": "You are the CSS & Design System Specialist (FASE 5 only). Validate CSS follows design system (no off-palette colors), review naming conventions (BEM), ensure no inline styles with hardcoded values. Run design-system, css, contrast validators."
|
|
456
|
-
}
|
|
457
|
-
},
|
|
458
|
-
|
|
459
|
-
"_comment_tier_3_infra": "=== TIER 3: INFRASTRUCTURE SPECIALISTS (4) ===",
|
|
460
|
-
|
|
461
|
-
"bicep-architect": {
|
|
462
|
-
"tier": 3,
|
|
463
|
-
"role": "specialist",
|
|
464
|
-
"title": "Infrastructure as Code Specialist",
|
|
465
|
-
"domains": ["infrastructure-iac"],
|
|
466
|
-
"keywords": ["bicep", "iac", "infra", "provision", "arm template", "infrastructure as code"],
|
|
467
|
-
"always_active": true,
|
|
468
|
-
"validators": ["architecture"],
|
|
469
|
-
"relationships": {
|
|
470
|
-
"reports_to": "azure-architect",
|
|
471
|
-
"coordinates": [],
|
|
472
|
-
"escalates_to": "azure-architect",
|
|
473
|
-
"collaborates_with": ["devops-engineer", "container-specialist"],
|
|
474
|
-
"team_role": "specialist"
|
|
475
|
-
},
|
|
476
|
-
"standards": ["core/coding.md", "core/architecture.md", "azure.md"],
|
|
477
|
-
"teammate": {
|
|
478
|
-
"role": "Infrastructure as Code Specialist",
|
|
479
|
-
"icon": "📜",
|
|
480
|
-
"spawn_prompt": "You are the Infrastructure as Code Specialist (Bicep). Write main.bicep, modules/*.bicep, parameters.{env}.json. Never create Azure resources manually. Collaborate with azure-architect for resource design, devops-engineer for CI/CD integration."
|
|
481
|
-
}
|
|
482
|
-
},
|
|
483
|
-
|
|
484
|
-
"devops-engineer": {
|
|
485
|
-
"tier": 3,
|
|
486
|
-
"role": "specialist",
|
|
487
|
-
"title": "CI/CD Specialist",
|
|
488
|
-
"domains": ["infrastructure-cicd"],
|
|
489
|
-
"keywords": ["pipeline", "ci/cd", "deploy", "release", "github actions", "azure pipelines", "deployment"],
|
|
490
|
-
"always_active": false,
|
|
491
|
-
"validators": ["architecture"],
|
|
492
|
-
"relationships": {
|
|
493
|
-
"reports_to": "azure-architect",
|
|
494
|
-
"coordinates": [],
|
|
495
|
-
"escalates_to": "azure-architect",
|
|
496
|
-
"collaborates_with": ["bicep-architect", "container-specialist"],
|
|
497
|
-
"team_role": "specialist"
|
|
498
|
-
},
|
|
499
|
-
"standards": ["core/coding.md", "core/architecture.md"],
|
|
500
|
-
"teammate": {
|
|
501
|
-
"role": "CI/CD Specialist",
|
|
502
|
-
"icon": "🚀",
|
|
503
|
-
"spawn_prompt": "You are the CI/CD Specialist. Build Azure Pipelines or GitHub Actions workflows. Implement Blue-Green, Canary, Rolling deployment strategies. Integrate with bicep-architect for IaC deployment, container-specialist for image builds."
|
|
504
|
-
}
|
|
505
|
-
},
|
|
506
|
-
|
|
507
|
-
"container-specialist": {
|
|
508
|
-
"tier": 3,
|
|
509
|
-
"role": "specialist",
|
|
510
|
-
"title": "Containerization Specialist",
|
|
511
|
-
"domains": ["infrastructure-containers"],
|
|
512
|
-
"keywords": ["docker", "container", "containerize", "dockerfile", "multi-stage", "container apps"],
|
|
513
|
-
"always_active": false,
|
|
514
|
-
"validators": ["architecture"],
|
|
515
|
-
"relationships": {
|
|
516
|
-
"reports_to": "azure-architect",
|
|
517
|
-
"coordinates": [],
|
|
518
|
-
"escalates_to": "azure-architect",
|
|
519
|
-
"collaborates_with": ["bicep-architect", "devops-engineer"],
|
|
520
|
-
"team_role": "specialist"
|
|
521
|
-
},
|
|
522
|
-
"standards": ["core/coding.md", "core/architecture.md"],
|
|
523
|
-
"teammate": {
|
|
524
|
-
"role": "Containerization Specialist",
|
|
525
|
-
"icon": "🐳",
|
|
526
|
-
"spawn_prompt": "You are the Containerization Specialist. Write Dockerfiles (multi-stage builds), .dockerignore. Deploy to Azure Container Apps (scale-to-zero, KEDA scaling). Optimize image size, configure health checks."
|
|
527
|
-
}
|
|
528
|
-
},
|
|
529
|
-
|
|
530
|
-
"observability-expert": {
|
|
531
|
-
"tier": 3,
|
|
532
|
-
"role": "specialist",
|
|
533
|
-
"title": "Observability Specialist",
|
|
534
|
-
"domains": ["infrastructure-observability"],
|
|
535
|
-
"keywords": ["monitoring", "logging", "tracing", "metrics", "app insights", "serilog", "opentelemetry", "dashboards", "alerts"],
|
|
536
|
-
"always_active": false,
|
|
537
|
-
"validators": ["observability"],
|
|
538
|
-
"relationships": {
|
|
539
|
-
"reports_to": "azure-architect",
|
|
540
|
-
"coordinates": [],
|
|
541
|
-
"escalates_to": "azure-architect",
|
|
542
|
-
"collaborates_with": ["dotnet-senior", "ms-agent-expert"],
|
|
543
|
-
"team_role": "specialist"
|
|
544
|
-
},
|
|
545
|
-
"standards": ["core/coding.md", "core/architecture.md"],
|
|
546
|
-
"teammate": {
|
|
547
|
-
"role": "Observability Specialist",
|
|
548
|
-
"icon": "📊",
|
|
549
|
-
"spawn_prompt": "You are the Observability Specialist. Setup Application Insights (connection strings, sampling), configure Serilog (sinks, enrichers), instrument OpenTelemetry (.NET SDK). Create custom metrics, dashboards, alert rules. Write Log Analytics queries (KQL)."
|
|
550
|
-
}
|
|
551
|
-
},
|
|
552
|
-
|
|
553
|
-
"azure-identity": {
|
|
554
|
-
"tier": 3,
|
|
555
|
-
"role": "specialist",
|
|
556
|
-
"title": "Microsoft Identity Specialist",
|
|
557
|
-
"domains": ["infrastructure-identity"],
|
|
558
|
-
"keywords": ["identity", "entra", "microsoft auth", "azure ad", "b2c", "passkeys", "webauthn", "managed identity"],
|
|
559
|
-
"always_active": false,
|
|
560
|
-
"validators": ["architecture"],
|
|
561
|
-
"relationships": {
|
|
562
|
-
"reports_to": "azure-architect",
|
|
563
|
-
"coordinates": [],
|
|
564
|
-
"escalates_to": "azure-architect",
|
|
565
|
-
"collaborates_with": ["blazor-builder", "nextjs-expert", "clerk-auth"],
|
|
566
|
-
"team_role": "specialist"
|
|
567
|
-
},
|
|
568
|
-
"standards": ["core/coding.md", "core/architecture.md"],
|
|
569
|
-
"teammate": {
|
|
570
|
-
"role": "Microsoft Identity Specialist",
|
|
571
|
-
"icon": "🔑",
|
|
572
|
-
"spawn_prompt": "You are the Microsoft Identity Specialist. Implement Azure AD B2C, Entra External ID, Managed Identity for Azure resources. Add WebAuthn/Passkeys support (FIDO2 registration/authentication flows). Collaborate with frontend specialists for UI integration."
|
|
573
|
-
}
|
|
574
|
-
},
|
|
575
|
-
|
|
576
|
-
"_comment_tier_3_quality": "=== TIER 3: QUALITY SPECIALISTS (6) ===",
|
|
577
|
-
|
|
578
|
-
"testing-specialist": {
|
|
579
|
-
"tier": 3,
|
|
580
|
-
"role": "specialist",
|
|
581
|
-
"title": "Testing Specialist",
|
|
582
|
-
"domains": ["quality-testing"],
|
|
583
|
-
"keywords": ["test", "testing", "unit", "integration", "e2e", "xunit", "moq", "testcontainers", "bunit"],
|
|
584
|
-
"always_active": false,
|
|
585
|
-
"validators": ["architecture"],
|
|
586
|
-
"relationships": {
|
|
587
|
-
"reports_to": "standards-architect",
|
|
588
|
-
"coordinates": [],
|
|
589
|
-
"escalates_to": "standards-architect",
|
|
590
|
-
"collaborates_with": ["dotnet-senior", "blazor-builder", "nextjs-expert"],
|
|
591
|
-
"team_role": "specialist"
|
|
592
|
-
},
|
|
593
|
-
"standards": ["core/coding.md", "core/architecture.md"],
|
|
594
|
-
"teammate": {
|
|
595
|
-
"role": "Testing Specialist",
|
|
596
|
-
"icon": "🧪",
|
|
597
|
-
"spawn_prompt": "You are the Testing Specialist. Write unit tests (xUnit, Moq/NSubstitute, FluentAssertions), integration tests (TestContainers, Respawn for DB reset), Blazor component tests (bUnit), HTTP mocking (WireMock). Follow Arrange-Act-Assert (AAA) pattern."
|
|
598
|
-
}
|
|
599
|
-
},
|
|
600
|
-
|
|
601
|
-
"code-analyzer": {
|
|
602
|
-
"tier": 3,
|
|
603
|
-
"role": "specialist",
|
|
604
|
-
"title": "Code Quality Analyst",
|
|
605
|
-
"domains": ["quality-review"],
|
|
606
|
-
"keywords": ["analyze", "review", "refactor", "clean code", "smell", "duplicate", "solid", "architecture review"],
|
|
607
|
-
"always_active": false,
|
|
608
|
-
"validators": ["architecture", "packages"],
|
|
609
|
-
"relationships": {
|
|
610
|
-
"reports_to": "standards-architect",
|
|
611
|
-
"coordinates": [],
|
|
612
|
-
"escalates_to": "standards-architect",
|
|
613
|
-
"collaborates_with": ["dotnet-senior", "troubleshooting-expert"],
|
|
614
|
-
"team_role": "specialist"
|
|
615
|
-
},
|
|
616
|
-
"standards": ["core/coding.md", "core/architecture.md"],
|
|
617
|
-
"teammate": {
|
|
618
|
-
"role": "Code Quality Analyst",
|
|
619
|
-
"icon": "🔍",
|
|
620
|
-
"spawn_prompt": "You are the Code Quality Analyst. Review code for architecture violations, clean code principles (naming, complexity, duplication), SOLID principles. Identify code smells, suggest refactorings. Run architecture and packages validators."
|
|
621
|
-
}
|
|
622
|
-
},
|
|
623
|
-
|
|
624
|
-
"troubleshooting-expert": {
|
|
625
|
-
"tier": 3,
|
|
626
|
-
"role": "specialist",
|
|
627
|
-
"title": "Troubleshooting & Debug Expert",
|
|
628
|
-
"domains": ["quality-debug"],
|
|
629
|
-
"keywords": ["debug", "troubleshoot", "root cause", "analyze error", "investigate", "diagnose"],
|
|
630
|
-
"always_active": false,
|
|
631
|
-
"validators": [],
|
|
632
|
-
"relationships": {
|
|
633
|
-
"reports_to": "standards-architect",
|
|
634
|
-
"coordinates": [],
|
|
635
|
-
"escalates_to": "standards-architect",
|
|
636
|
-
"collaborates_with": ["code-analyzer", "testing-specialist"],
|
|
637
|
-
"team_role": "escalation_specialist",
|
|
638
|
-
"spawn_trigger": "escalation_after_3_failures"
|
|
639
|
-
},
|
|
640
|
-
"standards": ["core/coding.md", "core/architecture.md"],
|
|
641
|
-
"teammate": {
|
|
642
|
-
"role": "Troubleshooting Expert (Escalation)",
|
|
643
|
-
"icon": "🔧",
|
|
644
|
-
"spawn_prompt": "You are the Troubleshooting Expert (spawned after 3 failed attempts). Analyze root cause of failures: validation errors, compilation errors, runtime exceptions. Review attempt logs from recovery-tracker. Propose alternative approaches. Message standards-architect with findings."
|
|
645
|
-
}
|
|
646
|
-
},
|
|
647
|
-
|
|
648
|
-
"load-testing-expert": {
|
|
649
|
-
"tier": 3,
|
|
650
|
-
"role": "specialist",
|
|
651
|
-
"title": "Load Testing & Performance Specialist",
|
|
652
|
-
"domains": ["quality-performance"],
|
|
653
|
-
"keywords": ["load test", "performance test", "k6", "jmeter", "stress test", "capacity planning", "bottleneck", "scalability", "concurrent users"],
|
|
654
|
-
"always_active": false,
|
|
655
|
-
"validators": ["performance"],
|
|
656
|
-
"relationships": {
|
|
657
|
-
"reports_to": "standards-architect",
|
|
658
|
-
"coordinates": [],
|
|
659
|
-
"escalates_to": "standards-architect",
|
|
660
|
-
"collaborates_with": ["azure-architect", "observability-expert"],
|
|
661
|
-
"team_role": "specialist"
|
|
662
|
-
},
|
|
663
|
-
"standards": ["core/coding.md", "core/architecture.md"],
|
|
664
|
-
"teammate": {
|
|
665
|
-
"role": "Load Testing Specialist",
|
|
666
|
-
"icon": "📈",
|
|
667
|
-
"spawn_prompt": "You are the Load Testing Specialist. Write k6 scripts (stress test, spike test, soak test), JMeter test plans. Analyze bottlenecks (DB, CPU, memory). Recommend capacity planning (how many users system supports). Collaborate with observability-expert for metrics."
|
|
668
|
-
}
|
|
669
|
-
},
|
|
670
|
-
|
|
671
|
-
"documentation-specialist": {
|
|
672
|
-
"tier": 3,
|
|
673
|
-
"role": "specialist",
|
|
674
|
-
"title": "Documentation Specialist",
|
|
675
|
-
"domains": ["developer-experience-docs"],
|
|
676
|
-
"keywords": ["readme", "documentation", "api docs", "contributing", "deployment guide", "onboarding"],
|
|
677
|
-
"always_active": false,
|
|
678
|
-
"validators": [],
|
|
679
|
-
"relationships": {
|
|
680
|
-
"reports_to": "standards-architect",
|
|
681
|
-
"coordinates": [],
|
|
682
|
-
"escalates_to": "standards-architect",
|
|
683
|
-
"collaborates_with": ["api-designer", "devops-engineer"],
|
|
684
|
-
"team_role": "post_implementation",
|
|
685
|
-
"spawn_trigger": "post_fase_5"
|
|
686
|
-
},
|
|
687
|
-
"standards": ["core/coding.md", "core/architecture.md"],
|
|
688
|
-
"teammate": {
|
|
689
|
-
"role": "Documentation Specialist (Post-FASE 5)",
|
|
690
|
-
"icon": "📝",
|
|
691
|
-
"spawn_prompt": "You are the Documentation Specialist (runs after FASE 5). Generate README.md (how to run project), CONTRIBUTING.md (contributor guide), API documentation (Swagger annotations, markdown docs), deployment guides (infra setup). Update existing docs with new features."
|
|
692
|
-
}
|
|
693
|
-
},
|
|
694
|
-
|
|
695
|
-
"_comment_tier_4": "=== TIER 4: VALIDATORS (5) ===",
|
|
696
|
-
|
|
697
|
-
"security-expert": {
|
|
698
|
-
"tier": 4,
|
|
699
|
-
"role": "validator",
|
|
700
|
-
"title": "Security Validator",
|
|
701
|
-
"domains": ["security"],
|
|
702
|
-
"keywords": ["sql injection", "xss", "secrets", "security scan", "vulnerability", "csrf", "insecure deserialization"],
|
|
703
|
-
"always_active": true,
|
|
704
|
-
"validators": ["security"],
|
|
705
|
-
"relationships": {
|
|
706
|
-
"reports_to": "standards-architect",
|
|
707
|
-
"coordinates": [],
|
|
708
|
-
"runs_in": "hooks",
|
|
709
|
-
"hook_triggers": ["TeammateIdle", "TaskCompleted"],
|
|
710
|
-
"team_role": "validator"
|
|
711
|
-
},
|
|
712
|
-
"standards": ["core/coding.md", "core/architecture.md"],
|
|
713
|
-
"teammate": null,
|
|
714
|
-
"hook_behavior": {
|
|
715
|
-
"validates": [
|
|
716
|
-
"SQL injection (string concatenation in queries)",
|
|
717
|
-
"Hardcoded secrets (API keys, passwords, connection strings)",
|
|
718
|
-
"XSS (@Html.Raw usage in Razor/Blazor)",
|
|
719
|
-
"Insecure deserialization (BinaryFormatter)",
|
|
720
|
-
"CSRF (missing anti-forgery tokens)"
|
|
721
|
-
],
|
|
722
|
-
"severity": "error",
|
|
723
|
-
"blocks_on_fail": true
|
|
724
|
-
}
|
|
725
|
-
},
|
|
726
|
-
|
|
727
|
-
"architecture-expert": {
|
|
728
|
-
"tier": 4,
|
|
729
|
-
"role": "validator",
|
|
730
|
-
"title": "Architecture Validator",
|
|
731
|
-
"domains": ["architecture"],
|
|
732
|
-
"keywords": ["architecture", "clean code", "solid", "dependency injection"],
|
|
733
|
-
"always_active": true,
|
|
734
|
-
"validators": ["architecture"],
|
|
735
|
-
"relationships": {
|
|
736
|
-
"reports_to": "standards-architect",
|
|
737
|
-
"coordinates": [],
|
|
738
|
-
"runs_in": "hooks",
|
|
739
|
-
"hook_triggers": ["TeammateIdle", "TaskCompleted"],
|
|
740
|
-
"team_role": "validator"
|
|
741
|
-
},
|
|
742
|
-
"standards": ["core/coding.md", "core/architecture.md"],
|
|
743
|
-
"teammate": null,
|
|
744
|
-
"hook_behavior": {
|
|
745
|
-
"validates": [
|
|
746
|
-
"DbContext injection (IDbContextFactory required)",
|
|
747
|
-
"Async/await patterns (no .Result or .Wait)",
|
|
748
|
-
"DI registration order (services before middleware)",
|
|
749
|
-
"Blazor render mode compatibility"
|
|
750
|
-
],
|
|
751
|
-
"severity": "error",
|
|
752
|
-
"blocks_on_fail": true
|
|
753
|
-
}
|
|
754
|
-
},
|
|
755
|
-
|
|
756
|
-
"packages-validator": {
|
|
757
|
-
"tier": 4,
|
|
758
|
-
"role": "validator",
|
|
759
|
-
"title": "Packages Validator",
|
|
760
|
-
"domains": ["packages"],
|
|
761
|
-
"keywords": ["nuget", "packages", "dependencies", "version conflict"],
|
|
762
|
-
"always_active": true,
|
|
763
|
-
"validators": ["packages"],
|
|
764
|
-
"relationships": {
|
|
765
|
-
"reports_to": "standards-architect",
|
|
766
|
-
"coordinates": [],
|
|
767
|
-
"runs_in": "hooks",
|
|
768
|
-
"hook_triggers": ["TaskCompleted"],
|
|
769
|
-
"team_role": "validator"
|
|
770
|
-
},
|
|
771
|
-
"standards": ["core/coding.md"],
|
|
772
|
-
"teammate": null,
|
|
773
|
-
"hook_behavior": {
|
|
774
|
-
"validates": [
|
|
775
|
-
"NuGet version conflicts (same package, different versions)",
|
|
776
|
-
"Incompatible .NET 10 packages",
|
|
777
|
-
"Security vulnerabilities (outdated packages)"
|
|
778
|
-
],
|
|
779
|
-
"severity": "error",
|
|
780
|
-
"blocks_on_fail": true
|
|
781
|
-
}
|
|
782
|
-
},
|
|
783
|
-
|
|
784
|
-
"design-system-validator": {
|
|
785
|
-
"tier": 4,
|
|
786
|
-
"role": "validator",
|
|
787
|
-
"title": "Design System Validator",
|
|
788
|
-
"domains": ["design-system"],
|
|
789
|
-
"keywords": ["design system", "css", "color palette", "spacing"],
|
|
790
|
-
"always_active": true,
|
|
791
|
-
"validators": ["design-system"],
|
|
792
|
-
"relationships": {
|
|
793
|
-
"reports_to": "ui-designer",
|
|
794
|
-
"coordinates": [],
|
|
795
|
-
"runs_in": "hooks",
|
|
796
|
-
"hook_triggers": ["TeammateIdle"],
|
|
797
|
-
"team_role": "validator"
|
|
798
|
-
},
|
|
799
|
-
"standards": ["frontend/design-system/naming.md", "frontend/design-system/animations.md"],
|
|
800
|
-
"teammate": null,
|
|
801
|
-
"hook_behavior": {
|
|
802
|
-
"validates": [
|
|
803
|
-
"CSS color palette compliance (primary, secondary, accent)",
|
|
804
|
-
"Spacing values (use var(--spacing-*))",
|
|
805
|
-
"Typography scale (use var(--font-*))",
|
|
806
|
-
"Component naming (PascalCase for Blazor, kebab-case for CSS)"
|
|
807
|
-
],
|
|
808
|
-
"severity": "warning",
|
|
809
|
-
"blocks_on_fail": false
|
|
810
|
-
}
|
|
811
|
-
},
|
|
812
|
-
|
|
813
|
-
"blazor-concurrency-validator": {
|
|
814
|
-
"tier": 4,
|
|
815
|
-
"role": "validator",
|
|
816
|
-
"title": "Blazor Concurrency Validator",
|
|
817
|
-
"domains": ["blazor-concurrency"],
|
|
818
|
-
"keywords": ["blazor", "dbcontext", "lifecycle", "async", "concurrency"],
|
|
819
|
-
"always_active": true,
|
|
820
|
-
"validators": ["blazor-concurrency"],
|
|
821
|
-
"relationships": {
|
|
822
|
-
"reports_to": "blazor-builder",
|
|
823
|
-
"coordinates": [],
|
|
824
|
-
"runs_in": "hooks",
|
|
825
|
-
"hook_triggers": ["TaskCompleted"],
|
|
826
|
-
"team_role": "validator"
|
|
827
|
-
},
|
|
828
|
-
"standards": ["frontend/blazor/lifecycle.md", "frontend/blazor/pitfalls.md", "frontend/blazor/state.md"],
|
|
829
|
-
"teammate": null,
|
|
830
|
-
"hook_behavior": {
|
|
831
|
-
"validates": [
|
|
832
|
-
"DbContext lifecycle violations (dispose, scope issues)",
|
|
833
|
-
"Async void methods (use async Task instead)",
|
|
834
|
-
"JSInterop in OnInitialized (move to OnAfterRender)",
|
|
835
|
-
"State mutation without StateHasChanged"
|
|
836
|
-
],
|
|
837
|
-
"severity": "error",
|
|
838
|
-
"blocks_on_fail": true
|
|
839
|
-
}
|
|
840
|
-
}
|
|
841
|
-
},
|
|
842
|
-
|
|
843
|
-
"vector-search-expert": {
|
|
844
|
-
"tier": 3,
|
|
845
|
-
"role": "specialist",
|
|
846
|
-
"title": "Vector Search & RAG Specialist",
|
|
847
|
-
"domains": ["data", "ai-search"],
|
|
848
|
-
"keywords": ["vector search", "rag", "azure ai search", "embeddings", "semantic search"],
|
|
849
|
-
"always_active": false,
|
|
850
|
-
"validators": ["architecture", "security"],
|
|
851
|
-
"relationships": {
|
|
852
|
-
"reports_to": "ai-system-architect",
|
|
853
|
-
"coordinates": [],
|
|
854
|
-
"escalates_to": "ai-system-architect",
|
|
855
|
-
"collaborates_with": ["ef-modeler", "dotnet-senior"],
|
|
856
|
-
"team_role": "specialist"
|
|
857
|
-
},
|
|
858
|
-
"standards": ["data/vector-search/azure-ai-search.md", "data/vector-search/rag-chunking.md"],
|
|
859
|
-
"teammate": {
|
|
860
|
-
"role": "Vector Search & RAG Specialist",
|
|
861
|
-
"icon": "🔍",
|
|
862
|
-
"spawn_prompt": "You are the Vector Search & RAG Specialist. Implement Azure AI Search integration, embedding generation, and RAG patterns."
|
|
863
|
-
}
|
|
864
|
-
},
|
|
865
|
-
|
|
866
|
-
"thread-orchestrator": {
|
|
867
|
-
"tier": 3,
|
|
868
|
-
"role": "specialist",
|
|
869
|
-
"title": "Thread Orchestrator",
|
|
870
|
-
"domains": ["orchestration", "parallel-execution"],
|
|
871
|
-
"keywords": ["parallel", "thread", "concurrent", "fusion", "p-thread", "f-thread", "spawn"],
|
|
872
|
-
"always_active": false,
|
|
873
|
-
"validators": ["architecture"],
|
|
874
|
-
"relationships": {
|
|
875
|
-
"reports_to": "ai-system-architect",
|
|
876
|
-
"coordinates": [],
|
|
877
|
-
"escalates_to": "ai-system-architect",
|
|
878
|
-
"collaborates_with": ["standards-architect"],
|
|
879
|
-
"team_role": "specialist"
|
|
880
|
-
},
|
|
881
|
-
"standards": ["workflows/thread-management.md", "workflows/parallel-execution.md"],
|
|
882
|
-
"teammate": {
|
|
883
|
-
"role": "Thread Orchestrator",
|
|
884
|
-
"icon": "🔀",
|
|
885
|
-
"spawn_prompt": "You are the Thread Orchestrator. Plan and coordinate parallel thread execution, manage P-Thread/F-Thread/L-Thread lifecycle."
|
|
886
|
-
}
|
|
887
|
-
},
|
|
888
|
-
|
|
889
|
-
"context-optimizer": {
|
|
890
|
-
"tier": 3,
|
|
891
|
-
"role": "specialist",
|
|
892
|
-
"title": "Context Optimization Specialist",
|
|
893
|
-
"domains": ["context", "token-efficiency"],
|
|
894
|
-
"keywords": ["context", "token", "priming", "bundle", "mcp", "micro-agent", "context window"],
|
|
895
|
-
"always_active": false,
|
|
896
|
-
"validators": [],
|
|
897
|
-
"relationships": {
|
|
898
|
-
"reports_to": "ai-system-architect",
|
|
899
|
-
"coordinates": [],
|
|
900
|
-
"escalates_to": "standards-architect",
|
|
901
|
-
"collaborates_with": [],
|
|
902
|
-
"team_role": "specialist"
|
|
903
|
-
},
|
|
904
|
-
"standards": ["context/priming.md", "context/bundles.md", "context/analytics.md"],
|
|
905
|
-
"teammate": {
|
|
906
|
-
"role": "Context Optimization Specialist",
|
|
907
|
-
"icon": "📦",
|
|
908
|
-
"spawn_prompt": "You are the Context Optimization Specialist. Analyze token usage, create priming files, manage context bundles."
|
|
909
|
-
}
|
|
910
|
-
},
|
|
911
|
-
|
|
912
|
-
"squads": {
|
|
913
|
-
"backend_squad": {
|
|
914
|
-
"leader": "dotnet-senior",
|
|
915
|
-
"members": ["ef-modeler", "event-architect", "api-designer", "nosql-cache-expert", "ddd-expert", "hangfire-orchestrator", "ms-agent-expert", "asaas-financial", "clerk-auth", "resend-email"],
|
|
916
|
-
"domains": ["backend", "backend-data", "backend-events", "backend-api", "backend-nosql", "backend-ddd", "backend-jobs", "ai-agents", "integration-payment", "integration-auth", "integration-email"]
|
|
917
|
-
},
|
|
918
|
-
"frontend_squad": {
|
|
919
|
-
"leader": "ui-designer",
|
|
920
|
-
"members": ["blazor-builder", "nextjs-expert", "css-specialist"],
|
|
921
|
-
"domains": ["frontend-design", "frontend-blazor", "frontend-nextjs", "frontend-css"],
|
|
922
|
-
"active_phases": {
|
|
923
|
-
"design": ["ui-designer"],
|
|
924
|
-
"implement": ["blazor-builder", "nextjs-expert", "css-specialist"]
|
|
925
|
-
}
|
|
926
|
-
},
|
|
927
|
-
"infrastructure_squad": {
|
|
928
|
-
"leader": "azure-architect",
|
|
929
|
-
"members": ["bicep-architect", "devops-engineer", "container-specialist", "observability-expert", "azure-identity"],
|
|
930
|
-
"domains": ["infrastructure", "infrastructure-iac", "infrastructure-cicd", "infrastructure-containers", "infrastructure-observability", "infrastructure-identity"]
|
|
931
|
-
},
|
|
932
|
-
"quality_squad": {
|
|
933
|
-
"leader": "standards-architect",
|
|
934
|
-
"members": ["testing-specialist", "code-analyzer", "troubleshooting-expert", "load-testing-expert", "documentation-specialist"],
|
|
935
|
-
"domains": ["quality-testing", "quality-review", "quality-debug", "quality-performance", "developer-experience-docs"],
|
|
936
|
-
"note": "No permanent leader — standards-architect coordinates directly"
|
|
937
|
-
}
|
|
938
|
-
},
|
|
939
|
-
|
|
940
|
-
"relationship_types": {
|
|
941
|
-
"reports_to": "Hierarchical manager relationship",
|
|
942
|
-
"coordinates": "Manages/leads these agents",
|
|
943
|
-
"escalates_to": "Where to escalate unresolved issues",
|
|
944
|
-
"collaborates_with": "Peer agents for cross-domain work",
|
|
945
|
-
"runs_in": "Execution context (hooks, not teammates)",
|
|
946
|
-
"team_role": "Role in Agent Teams (lead, domain_leader, specialist, validator, escalation_specialist, post_implementation, planning_only)"
|
|
947
|
-
}
|
|
948
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"$schema": "./agent-schema.json",
|
|
3
|
+
"version": "3.0.0-hierarchical",
|
|
4
|
+
"stack": "nextjs-supabase",
|
|
5
|
+
"total_agents": 12,
|
|
6
|
+
"tiers": {
|
|
7
|
+
"tier_1_orchestrators": 1,
|
|
8
|
+
"tier_2_leaders": 2,
|
|
9
|
+
"tier_3_specialists": 8,
|
|
10
|
+
"tier_4_validators": 1
|
|
11
|
+
},
|
|
12
|
+
|
|
13
|
+
"agents": {
|
|
14
|
+
|
|
15
|
+
"_comment_tier_1": "=== TIER 1: ORCHESTRATORS (1) ===",
|
|
16
|
+
|
|
17
|
+
"standards-architect": {
|
|
18
|
+
"tier": 1,
|
|
19
|
+
"role": "orchestrator",
|
|
20
|
+
"title": "Chief Architect",
|
|
21
|
+
"domains": ["architecture", "developer-experience"],
|
|
22
|
+
"keywords": [],
|
|
23
|
+
"always_active": true,
|
|
24
|
+
"validators": ["architecture", "packages"],
|
|
25
|
+
"relationships": {
|
|
26
|
+
"reports_to": "user",
|
|
27
|
+
"coordinates": ["dotnet-senior", "supabase-expert", "nextjs-expert", "testing-specialist", "ui-ux-designer"],
|
|
28
|
+
"escalates_to": "user",
|
|
29
|
+
"team_role": "lead"
|
|
30
|
+
},
|
|
31
|
+
"standards": ["coding.md", "architecture.md", "nextjs-patterns.md", "supabase-auth.md", "supabase-rls.md"],
|
|
32
|
+
"teammate": {
|
|
33
|
+
"role": "Team Lead (Delegate Mode)",
|
|
34
|
+
"icon": "T",
|
|
35
|
+
"spawn_prompt": "You are the Chief Architect and Team Lead in delegate mode. Coordinate specialists, resolve conflicts, synthesize results. DO NOT implement code yourself. Escalate conflicts to user when teammates disagree on architecture/tech choices."
|
|
36
|
+
}
|
|
37
|
+
},
|
|
38
|
+
|
|
39
|
+
"_comment_tier_2": "=== TIER 2: DOMAIN LEADERS (2) ===",
|
|
40
|
+
|
|
41
|
+
"dotnet-senior": {
|
|
42
|
+
"tier": 2,
|
|
43
|
+
"role": "domain-leader",
|
|
44
|
+
"title": "Backend Squad Leader",
|
|
45
|
+
"domains": ["backend"],
|
|
46
|
+
"keywords": ["backend", "api", "dotnet", ".net", "csharp", "c#", "minimal api", "endpoint", "dapper", "npgsql"],
|
|
47
|
+
"always_active": true,
|
|
48
|
+
"validators": ["architecture", "packages"],
|
|
49
|
+
"relationships": {
|
|
50
|
+
"reports_to": "standards-architect",
|
|
51
|
+
"coordinates": ["api-designer", "testing-specialist"],
|
|
52
|
+
"escalates_to": "standards-architect",
|
|
53
|
+
"collaborates_with": ["supabase-expert", "nextjs-expert", "container-specialist"],
|
|
54
|
+
"team_role": "domain_leader"
|
|
55
|
+
},
|
|
56
|
+
"standards": ["coding.md", "architecture.md"],
|
|
57
|
+
"teammate": {
|
|
58
|
+
"role": "Backend Squad Leader",
|
|
59
|
+
"icon": "B",
|
|
60
|
+
"spawn_prompt": "You are the Backend Squad Leader. .NET 10 Minimal API with Npgsql + Dapper (NOT EF Core). Coordinate backend specialists. Validate Supabase JWT tokens in API middleware. Assign tasks, review designs, enforce backend standards. Escalate cross-domain conflicts to standards-architect."
|
|
61
|
+
}
|
|
62
|
+
},
|
|
63
|
+
|
|
64
|
+
"ui-ux-designer": {
|
|
65
|
+
"tier": 2,
|
|
66
|
+
"role": "domain-leader",
|
|
67
|
+
"title": "UI/UX Squad Leader",
|
|
68
|
+
"domains": ["frontend-design"],
|
|
69
|
+
"keywords": ["wireframe", "mockup", "user flow", "ux", "design", "interface design", "user experience", "page", "dashboard", "form", "UI", "screen", "panel"],
|
|
70
|
+
"always_active": false,
|
|
71
|
+
"validators": ["design-system", "contrast"],
|
|
72
|
+
"relationships": {
|
|
73
|
+
"reports_to": "standards-architect",
|
|
74
|
+
"coordinates": ["nextjs-expert", "css-specialist"],
|
|
75
|
+
"escalates_to": "standards-architect",
|
|
76
|
+
"collaborates_with": ["dotnet-senior"],
|
|
77
|
+
"team_role": "domain_leader",
|
|
78
|
+
"active_phases": ["uiux"]
|
|
79
|
+
},
|
|
80
|
+
"standards": ["css-naming.md", "nextjs-patterns.md"],
|
|
81
|
+
"teammate": {
|
|
82
|
+
"role": "UI/UX Squad Leader",
|
|
83
|
+
"icon": "U",
|
|
84
|
+
"spawn_prompt": "You are the UI/UX Squad Leader. Create wireframes, mockups, user flows. Define design system (colors, typography, spacing) using Tailwind CSS tokens. Coordinate with nextjs-expert and css-specialist for implementation. Work is AGNOSTIC (no implementation code)."
|
|
85
|
+
}
|
|
86
|
+
},
|
|
87
|
+
|
|
88
|
+
"_comment_tier_3": "=== TIER 3: SPECIALISTS (8) ===",
|
|
89
|
+
|
|
90
|
+
"nextjs-expert": {
|
|
91
|
+
"tier": 3,
|
|
92
|
+
"role": "specialist",
|
|
93
|
+
"title": "Next.js Development Specialist",
|
|
94
|
+
"domains": ["frontend-nextjs"],
|
|
95
|
+
"keywords": ["nextjs", "next.js", "react", "frontend", "shadcn", "server components", "server actions", "app router", "tanstack"],
|
|
96
|
+
"always_active": false,
|
|
97
|
+
"validators": ["packages", "css", "design-system"],
|
|
98
|
+
"relationships": {
|
|
99
|
+
"reports_to": "ui-ux-designer",
|
|
100
|
+
"coordinates": [],
|
|
101
|
+
"escalates_to": "standards-architect",
|
|
102
|
+
"collaborates_with": ["api-designer", "css-specialist", "supabase-expert"],
|
|
103
|
+
"team_role": "specialist",
|
|
104
|
+
"active_phases": ["uiux", "implement"]
|
|
105
|
+
},
|
|
106
|
+
"standards": ["coding.md", "nextjs-patterns.md"],
|
|
107
|
+
"teammate": {
|
|
108
|
+
"role": "Next.js Development Specialist",
|
|
109
|
+
"icon": "N",
|
|
110
|
+
"spawn_prompt": "You are the Next.js 15 Development Specialist. Build App Router pages with shadcn/ui components. Use @supabase/ssr for auth (NOT Clerk). Implement Server Components, Server Actions, Route Handlers. Use TanStack Query for client-side data fetching. Message api-designer for backend endpoints."
|
|
111
|
+
}
|
|
112
|
+
},
|
|
113
|
+
|
|
114
|
+
"api-designer": {
|
|
115
|
+
"tier": 3,
|
|
116
|
+
"role": "specialist",
|
|
117
|
+
"title": "API Design Specialist",
|
|
118
|
+
"domains": ["backend-api"],
|
|
119
|
+
"keywords": ["rest", "api", "openapi", "swagger", "endpoint", "minimal api", "route", "versioning", "rate limiting"],
|
|
120
|
+
"always_active": false,
|
|
121
|
+
"validators": ["architecture"],
|
|
122
|
+
"relationships": {
|
|
123
|
+
"reports_to": "dotnet-senior",
|
|
124
|
+
"coordinates": [],
|
|
125
|
+
"escalates_to": "dotnet-senior",
|
|
126
|
+
"collaborates_with": ["supabase-expert", "nextjs-expert"],
|
|
127
|
+
"team_role": "specialist"
|
|
128
|
+
},
|
|
129
|
+
"standards": ["coding.md", "architecture.md"],
|
|
130
|
+
"teammate": {
|
|
131
|
+
"role": "API Design Specialist",
|
|
132
|
+
"icon": "A",
|
|
133
|
+
"spawn_prompt": "You are the API Design Specialist. Design REST APIs using .NET 10 Minimal API (MapGet, MapPost, etc.). Use endpoint groups, typed results, OpenAPI annotations. Implement API versioning, rate limiting. Validate Supabase JWT in middleware."
|
|
134
|
+
}
|
|
135
|
+
},
|
|
136
|
+
|
|
137
|
+
"supabase-expert": {
|
|
138
|
+
"tier": 3,
|
|
139
|
+
"role": "specialist",
|
|
140
|
+
"title": "Supabase Platform Specialist",
|
|
141
|
+
"domains": ["platform-supabase"],
|
|
142
|
+
"keywords": ["supabase", "postgres", "postgresql", "rls", "row level security", "auth", "storage", "realtime", "pgvector", "migration", "backend/database/postgresql/database", "policy"],
|
|
143
|
+
"always_active": true,
|
|
144
|
+
"validators": ["architecture"],
|
|
145
|
+
"relationships": {
|
|
146
|
+
"reports_to": "standards-architect",
|
|
147
|
+
"coordinates": [],
|
|
148
|
+
"escalates_to": "standards-architect",
|
|
149
|
+
"collaborates_with": ["dotnet-senior", "nextjs-expert", "security-expert"],
|
|
150
|
+
"team_role": "specialist"
|
|
151
|
+
},
|
|
152
|
+
"standards": ["supabase-auth.md", "supabase-rls.md", "supabase-storage.md", "supabase-pgvector.md"],
|
|
153
|
+
"teammate": {
|
|
154
|
+
"role": "Supabase Platform Specialist",
|
|
155
|
+
"icon": "S",
|
|
156
|
+
"spawn_prompt": "You are the Supabase Platform Specialist. Design PostgreSQL schemas (snake_case), write SQL migrations, create RLS policies for multi-tenant security. Configure Supabase Auth (Google + GitHub OAuth), Storage buckets with policies, Realtime subscriptions. Implement pgvector for vector search when needed. Collaborate with security-expert for RLS audit."
|
|
157
|
+
}
|
|
158
|
+
},
|
|
159
|
+
|
|
160
|
+
"easypanel-deployer": {
|
|
161
|
+
"tier": 3,
|
|
162
|
+
"role": "specialist",
|
|
163
|
+
"title": "EasyPanel Deployment Specialist",
|
|
164
|
+
"domains": ["infrastructure-deploy"],
|
|
165
|
+
"keywords": ["easypanel", "deploy", "deployment", "hosting", "ssl", "domain", "vps", "production"],
|
|
166
|
+
"always_active": false,
|
|
167
|
+
"validators": ["architecture"],
|
|
168
|
+
"relationships": {
|
|
169
|
+
"reports_to": "standards-architect",
|
|
170
|
+
"coordinates": [],
|
|
171
|
+
"escalates_to": "standards-architect",
|
|
172
|
+
"collaborates_with": ["container-specialist", "devops-engineer"],
|
|
173
|
+
"team_role": "specialist"
|
|
174
|
+
},
|
|
175
|
+
"standards": ["easypanel-deploy.md"],
|
|
176
|
+
"teammate": {
|
|
177
|
+
"role": "EasyPanel Deployment Specialist",
|
|
178
|
+
"icon": "E",
|
|
179
|
+
"spawn_prompt": "You are the EasyPanel Deployment Specialist. Configure EasyPanel services (API + Web), set up GitHub integration for auto-deploy, manage SSL certificates and custom domains. Define environment variables, health check endpoints, resource limits."
|
|
180
|
+
}
|
|
181
|
+
},
|
|
182
|
+
|
|
183
|
+
"container-specialist": {
|
|
184
|
+
"tier": 3,
|
|
185
|
+
"role": "specialist",
|
|
186
|
+
"title": "Containerization Specialist",
|
|
187
|
+
"domains": ["infrastructure-containers"],
|
|
188
|
+
"keywords": ["docker", "container", "dockerfile", "multi-stage", "docker compose", "health check", "image"],
|
|
189
|
+
"always_active": true,
|
|
190
|
+
"validators": ["architecture"],
|
|
191
|
+
"relationships": {
|
|
192
|
+
"reports_to": "standards-architect",
|
|
193
|
+
"coordinates": [],
|
|
194
|
+
"escalates_to": "standards-architect",
|
|
195
|
+
"collaborates_with": ["easypanel-deployer", "devops-engineer", "dotnet-senior", "nextjs-expert"],
|
|
196
|
+
"team_role": "specialist"
|
|
197
|
+
},
|
|
198
|
+
"standards": ["easypanel-deploy.md"],
|
|
199
|
+
"teammate": {
|
|
200
|
+
"role": "Containerization Specialist",
|
|
201
|
+
"icon": "D",
|
|
202
|
+
"spawn_prompt": "You are the Containerization Specialist for EasyPanel deployments. Write multi-stage Dockerfiles (.NET API + Next.js), docker-compose.yml for local dev, .dockerignore files. Optimize image sizes, configure health checks (/health endpoint). Target EasyPanel container service format."
|
|
203
|
+
}
|
|
204
|
+
},
|
|
205
|
+
|
|
206
|
+
"devops-engineer": {
|
|
207
|
+
"tier": 3,
|
|
208
|
+
"role": "specialist",
|
|
209
|
+
"title": "CI/CD Specialist",
|
|
210
|
+
"domains": ["infrastructure-cicd"],
|
|
211
|
+
"keywords": ["pipeline", "ci/cd", "github actions", "auto-deploy", "workflow", "continuous integration"],
|
|
212
|
+
"always_active": false,
|
|
213
|
+
"validators": ["architecture"],
|
|
214
|
+
"relationships": {
|
|
215
|
+
"reports_to": "standards-architect",
|
|
216
|
+
"coordinates": [],
|
|
217
|
+
"escalates_to": "standards-architect",
|
|
218
|
+
"collaborates_with": ["container-specialist", "easypanel-deployer"],
|
|
219
|
+
"team_role": "specialist"
|
|
220
|
+
},
|
|
221
|
+
"standards": ["easypanel-deploy.md"],
|
|
222
|
+
"teammate": {
|
|
223
|
+
"role": "CI/CD Specialist",
|
|
224
|
+
"icon": "C",
|
|
225
|
+
"spawn_prompt": "You are the CI/CD Specialist. Build GitHub Actions workflows for .NET build/test + Next.js build/test. Configure auto-deploy to EasyPanel via GitHub webhook or API. Implement environment-based deployments (staging, production)."
|
|
226
|
+
}
|
|
227
|
+
},
|
|
228
|
+
|
|
229
|
+
"css-specialist": {
|
|
230
|
+
"tier": 3,
|
|
231
|
+
"role": "specialist",
|
|
232
|
+
"title": "CSS & Design System Specialist",
|
|
233
|
+
"domains": ["frontend-css"],
|
|
234
|
+
"keywords": ["css", "tailwind", "design system", "styling", "theme", "design tokens", "shadcn"],
|
|
235
|
+
"always_active": false,
|
|
236
|
+
"validators": ["css", "contrast", "design-system"],
|
|
237
|
+
"relationships": {
|
|
238
|
+
"reports_to": "ui-ux-designer",
|
|
239
|
+
"coordinates": [],
|
|
240
|
+
"escalates_to": "ui-ux-designer",
|
|
241
|
+
"collaborates_with": ["nextjs-expert"],
|
|
242
|
+
"team_role": "specialist",
|
|
243
|
+
"active_phases": ["implement"]
|
|
244
|
+
},
|
|
245
|
+
"standards": ["css-naming.md", "nextjs-patterns.md"],
|
|
246
|
+
"teammate": {
|
|
247
|
+
"role": "CSS & Design System Specialist",
|
|
248
|
+
"icon": "P",
|
|
249
|
+
"spawn_prompt": "You are the CSS & Design System Specialist. Validate Tailwind CSS follows design system tokens (no off-palette colors), review component styling with shadcn/ui conventions. Ensure no inline styles with hardcoded values. Run design-system, css, contrast validators."
|
|
250
|
+
}
|
|
251
|
+
},
|
|
252
|
+
|
|
253
|
+
"testing-specialist": {
|
|
254
|
+
"tier": 3,
|
|
255
|
+
"role": "specialist",
|
|
256
|
+
"title": "Testing Specialist",
|
|
257
|
+
"domains": ["quality-testing"],
|
|
258
|
+
"keywords": ["test", "testing", "unit", "integration", "e2e", "xunit", "vitest", "testing library", "playwright"],
|
|
259
|
+
"always_active": false,
|
|
260
|
+
"validators": ["architecture"],
|
|
261
|
+
"relationships": {
|
|
262
|
+
"reports_to": "standards-architect",
|
|
263
|
+
"coordinates": [],
|
|
264
|
+
"escalates_to": "standards-architect",
|
|
265
|
+
"collaborates_with": ["dotnet-senior", "nextjs-expert"],
|
|
266
|
+
"team_role": "specialist"
|
|
267
|
+
},
|
|
268
|
+
"standards": ["coding.md"],
|
|
269
|
+
"teammate": {
|
|
270
|
+
"role": "Testing Specialist",
|
|
271
|
+
"icon": "Q",
|
|
272
|
+
"spawn_prompt": "You are the Testing Specialist. Write .NET unit tests (xUnit, Moq/NSubstitute, FluentAssertions), .NET integration tests. Write frontend tests with Vitest + Testing Library. E2E with Playwright. Follow Arrange-Act-Assert (AAA) pattern."
|
|
273
|
+
}
|
|
274
|
+
},
|
|
275
|
+
|
|
276
|
+
"_comment_tier_4": "=== TIER 4: VALIDATORS (1) ===",
|
|
277
|
+
|
|
278
|
+
"security-expert": {
|
|
279
|
+
"tier": 4,
|
|
280
|
+
"role": "validator",
|
|
281
|
+
"title": "Security Validator",
|
|
282
|
+
"domains": ["security"],
|
|
283
|
+
"keywords": ["sql injection", "xss", "rls", "secrets", "security scan", "vulnerability", "csrf", "owasp", "jwt"],
|
|
284
|
+
"always_active": true,
|
|
285
|
+
"validators": ["architecture"],
|
|
286
|
+
"relationships": {
|
|
287
|
+
"reports_to": "standards-architect",
|
|
288
|
+
"coordinates": [],
|
|
289
|
+
"runs_in": "hooks",
|
|
290
|
+
"hook_triggers": ["TeammateIdle", "TaskCompleted"],
|
|
291
|
+
"team_role": "validator"
|
|
292
|
+
},
|
|
293
|
+
"standards": ["coding.md", "supabase-auth.md", "supabase-rls.md"],
|
|
294
|
+
"teammate": null,
|
|
295
|
+
"hook_behavior": {
|
|
296
|
+
"validates": [
|
|
297
|
+
"SQL injection (string concatenation in Dapper queries)",
|
|
298
|
+
"Hardcoded secrets (API keys, Supabase keys in client code)",
|
|
299
|
+
"XSS (dangerouslySetInnerHTML in React)",
|
|
300
|
+
"RLS bypass (missing or permissive RLS policies)",
|
|
301
|
+
"JWT validation (Supabase JWT not verified in API)"
|
|
302
|
+
],
|
|
303
|
+
"severity": "error",
|
|
304
|
+
"blocks_on_fail": true
|
|
305
|
+
}
|
|
306
|
+
}
|
|
307
|
+
},
|
|
308
|
+
|
|
309
|
+
"squads": {
|
|
310
|
+
"backend_squad": {
|
|
311
|
+
"leader": "dotnet-senior",
|
|
312
|
+
"members": ["api-designer", "supabase-expert"],
|
|
313
|
+
"domains": ["backend", "backend-api", "platform-supabase"]
|
|
314
|
+
},
|
|
315
|
+
"frontend_squad": {
|
|
316
|
+
"leader": "ui-ux-designer",
|
|
317
|
+
"members": ["nextjs-expert", "css-specialist"],
|
|
318
|
+
"domains": ["frontend-design", "frontend-nextjs", "frontend-css"],
|
|
319
|
+
"active_phases": {
|
|
320
|
+
"design": ["ui-ux-designer"],
|
|
321
|
+
"implement": ["nextjs-expert", "css-specialist"]
|
|
322
|
+
}
|
|
323
|
+
},
|
|
324
|
+
"infrastructure_squad": {
|
|
325
|
+
"leader": "container-specialist",
|
|
326
|
+
"members": ["easypanel-deployer", "devops-engineer"],
|
|
327
|
+
"domains": ["infrastructure-containers", "infrastructure-deploy", "infrastructure-cicd"]
|
|
328
|
+
},
|
|
329
|
+
"quality_squad": {
|
|
330
|
+
"leader": "standards-architect",
|
|
331
|
+
"members": ["testing-specialist", "security-expert"],
|
|
332
|
+
"domains": ["quality-testing", "security"],
|
|
333
|
+
"note": "No permanent leader -- standards-architect coordinates directly"
|
|
334
|
+
}
|
|
335
|
+
},
|
|
336
|
+
|
|
337
|
+
"relationship_types": {
|
|
338
|
+
"reports_to": "Hierarchical manager relationship",
|
|
339
|
+
"coordinates": "Manages/leads these agents",
|
|
340
|
+
"escalates_to": "Where to escalate unresolved issues",
|
|
341
|
+
"collaborates_with": "Peer agents for cross-domain work",
|
|
342
|
+
"runs_in": "Execution context (hooks, not teammates)",
|
|
343
|
+
"team_role": "Role in Agent Teams (lead, domain_leader, specialist, validator)"
|
|
344
|
+
}
|
|
345
|
+
}
|