maestro-flow 0.4.6 → 0.4.7
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/.codex/skills/maestro-collab/SKILL.md +218 -117
- package/.codex/skills/maestro-execute/SKILL.md +13 -11
- package/.codex/skills/maestro-milestone-audit/SKILL.md +12 -10
- package/.codex/skills/maestro-ui-codify/SKILL.md +18 -16
- package/.codex/skills/manage-codebase-rebuild/SKILL.md +20 -13
- package/.codex/skills/manage-issue-discover/SKILL.md +19 -17
- package/.codex/skills/quality-debug/SKILL.md +35 -31
- package/.codex/skills/quality-refactor/SKILL.md +20 -12
- package/.codex/skills/quality-review/SKILL.md +21 -17
- package/.codex/skills/team-coordinate/SKILL.md +462 -235
- package/.codex/skills/team-coordinate/specs/role-catalog.md +132 -0
- package/.codex/skills/team-lifecycle-v4/SKILL.md +445 -191
- package/.codex/skills/team-quality-assurance/SKILL.md +205 -161
- package/.codex/skills/team-review/SKILL.md +198 -159
- package/.codex/skills/team-tech-debt/SKILL.md +214 -144
- package/.codex/skills/team-testing/SKILL.md +210 -158
- package/package.json +1 -1
- package/.codex/skills/team-coordinate/roles/coordinator/commands/analyze-task.md +0 -247
- package/.codex/skills/team-coordinate/roles/coordinator/commands/dispatch.md +0 -126
- package/.codex/skills/team-coordinate/roles/coordinator/commands/monitor.md +0 -265
- package/.codex/skills/team-coordinate/roles/coordinator/role.md +0 -403
- package/.codex/skills/team-coordinate/specs/knowledge-transfer.md +0 -113
- package/.codex/skills/team-coordinate/specs/pipelines.md +0 -97
- package/.codex/skills/team-coordinate/specs/quality-gates.md +0 -112
- package/.codex/skills/team-coordinate/specs/role-spec-template.md +0 -192
- package/.codex/skills/team-executor/SKILL.md +0 -116
- package/.codex/skills/team-executor/roles/executor/commands/monitor.md +0 -213
- package/.codex/skills/team-executor/roles/executor/role.md +0 -173
- package/.codex/skills/team-executor/specs/session-schema.md +0 -230
- package/.codex/skills/team-lifecycle-v4/roles/coordinator/commands/analyze.md +0 -56
- package/.codex/skills/team-lifecycle-v4/roles/coordinator/commands/dispatch.md +0 -61
- package/.codex/skills/team-lifecycle-v4/roles/coordinator/commands/monitor.md +0 -113
- package/.codex/skills/team-lifecycle-v4/roles/coordinator/role.md +0 -189
- package/.codex/skills/team-lifecycle-v4/schemas/tasks-schema.md +0 -100
- package/.codex/skills/team-lifecycle-v4/specs/knowledge-transfer.md +0 -204
- package/.codex/skills/team-quality-assurance/roles/coordinator/commands/analyze.md +0 -72
- package/.codex/skills/team-quality-assurance/roles/coordinator/commands/dispatch.md +0 -108
- package/.codex/skills/team-quality-assurance/roles/coordinator/commands/monitor.md +0 -163
- package/.codex/skills/team-quality-assurance/roles/coordinator/role.md +0 -177
- package/.codex/skills/team-review/roles/coordinator/commands/analyze.md +0 -71
- package/.codex/skills/team-review/roles/coordinator/commands/dispatch.md +0 -90
- package/.codex/skills/team-review/roles/coordinator/commands/monitor.md +0 -135
- package/.codex/skills/team-review/roles/coordinator/role.md +0 -176
- package/.codex/skills/team-tech-debt/roles/coordinator/commands/analyze.md +0 -47
- package/.codex/skills/team-tech-debt/roles/coordinator/commands/dispatch.md +0 -163
- package/.codex/skills/team-tech-debt/roles/coordinator/commands/monitor.md +0 -133
- package/.codex/skills/team-tech-debt/roles/coordinator/role.md +0 -173
- package/.codex/skills/team-testing/roles/coordinator/commands/analyze.md +0 -70
- package/.codex/skills/team-testing/roles/coordinator/commands/dispatch.md +0 -106
- package/.codex/skills/team-testing/roles/coordinator/commands/monitor.md +0 -156
- package/.codex/skills/team-testing/roles/coordinator/role.md +0 -185
|
@@ -0,0 +1,132 @@
|
|
|
1
|
+
# Role Catalog — Team Coordinate
|
|
2
|
+
|
|
3
|
+
Dynamic role reference for CSV wave execution. Coordinator uses this catalog during Phase 1 (task analysis) to detect capabilities, assign roles, compute waves, and generate evaluation criteria.
|
|
4
|
+
|
|
5
|
+
## 1. Signal Detection Table
|
|
6
|
+
|
|
7
|
+
Scan task description keywords to infer capabilities. Multi-match allowed.
|
|
8
|
+
|
|
9
|
+
| Signal | Keywords | Role | Prefix | Responsibility |
|
|
10
|
+
|--------|----------|------|--------|---------------|
|
|
11
|
+
| Research | investigate, explore, compare, survey, find, research, discover, benchmark, study | researcher | RESEARCH | exploration |
|
|
12
|
+
| Writing | write, draft, document, article, report, blog, describe, explain, summarize, content | writer | DRAFT | code-gen (docs) |
|
|
13
|
+
| Coding | implement, build, code, fix, refactor, develop, create app, program, migrate, port | developer | IMPL | code-gen (code) |
|
|
14
|
+
| Design | design, architect, plan, structure, blueprint, model, schema, wireframe, layout | designer | DESIGN | orchestration |
|
|
15
|
+
| Analysis | analyze, review, audit, assess, evaluate, inspect, examine, diagnose, profile | analyst | ANALYSIS | read-only |
|
|
16
|
+
| Testing | test, verify, validate, QA, quality, check, assert, coverage, regression | tester | TEST | validation |
|
|
17
|
+
| Planning | plan, breakdown, organize, schedule, decompose, roadmap, strategy, prioritize | planner | PLAN | orchestration |
|
|
18
|
+
|
|
19
|
+
**No match**: Default to single `general` role with `TASK` prefix.
|
|
20
|
+
|
|
21
|
+
**Max 5 roles** per session. Merge overlapping capabilities if exceeded.
|
|
22
|
+
|
|
23
|
+
## 2. Wave Tier Mapping
|
|
24
|
+
|
|
25
|
+
| Tier | Wave | Roles | Description |
|
|
26
|
+
|------|------|-------|-------------|
|
|
27
|
+
| 0 | 1 | researcher, planner | Knowledge gathering (always executes) |
|
|
28
|
+
| 1 | 2 | designer, analyst | Design + evaluation (evaluated) |
|
|
29
|
+
| 2 | 3 | developer, writer | Creation (evaluated) |
|
|
30
|
+
| 3 | 4 | tester, analyst | Validation (evaluated) |
|
|
31
|
+
|
|
32
|
+
**general** role: assigned to wave matching its task's natural tier.
|
|
33
|
+
|
|
34
|
+
## 3. Evaluation Criteria Templates
|
|
35
|
+
|
|
36
|
+
Wave 1 tasks always get `"always"`. Wave 2+ tasks get conditional criteria:
|
|
37
|
+
|
|
38
|
+
| Wave | Default Criteria | When to Skip |
|
|
39
|
+
|------|-----------------|--------------|
|
|
40
|
+
| 2 (Design) | `"if wave_1 findings indicate design or architecture needed"` | Research found no design needs |
|
|
41
|
+
| 3 (Implement) | `"if task requires code changes or document creation"` | Pure analysis task, no implementation |
|
|
42
|
+
| 4 (Validate) | `"if wave_3 produced testable artifacts (files_modified non-empty)"` | No artifacts to validate |
|
|
43
|
+
|
|
44
|
+
Coordinator MAY customize criteria per-task based on task description specifics.
|
|
45
|
+
|
|
46
|
+
## 4. Role Behavior Guide
|
|
47
|
+
|
|
48
|
+
Each role adopts a specific perspective when executing tasks. This section is referenced by the `instruction` parameter of `spawn_agents_on_csv`.
|
|
49
|
+
|
|
50
|
+
| Role | Perspective | Typical Output |
|
|
51
|
+
|------|------------|----------------|
|
|
52
|
+
| researcher | Systematic investigation, evidence-driven, hypothesis testing | Research findings, exploration notes |
|
|
53
|
+
| developer | Implementation-focused, code modification, testing | Source files, implementation summaries |
|
|
54
|
+
| analyst | Multi-dimensional evaluation, scoring, gap identification | Analysis reports, severity matrices |
|
|
55
|
+
| designer | Architecture, structure, interface, data model design | Design specs, architecture docs |
|
|
56
|
+
| tester | Validation, test creation, regression, coverage analysis | Test results, coverage reports |
|
|
57
|
+
| planner | Decomposition, sequencing, risk assessment, prioritization | Execution plans, task breakdowns |
|
|
58
|
+
| writer | Documentation, content creation, clarity, consistency | Written documents, guides |
|
|
59
|
+
| general | Adapt to task requirements | Task-specific deliverables |
|
|
60
|
+
|
|
61
|
+
## 5. Behavioral Traits (Quality Contract)
|
|
62
|
+
|
|
63
|
+
All agents — regardless of dynamically assigned role — MUST follow these traits. Embedded into the shared `instruction` parameter.
|
|
64
|
+
|
|
65
|
+
### Accuracy
|
|
66
|
+
|
|
67
|
+
- Files claimed as **created** → Read to confirm file exists and has content
|
|
68
|
+
- Files claimed as **modified** → Read to confirm content actually changed
|
|
69
|
+
- Analysis claimed as **complete** → verify deliverable exists
|
|
70
|
+
|
|
71
|
+
### Quality Gate
|
|
72
|
+
|
|
73
|
+
- Verify actual output (not planned output) before reporting
|
|
74
|
+
- Verification fails → retry execution (max 2 retries)
|
|
75
|
+
- Still fails → report `blocked` with details, NOT `completed`
|
|
76
|
+
|
|
77
|
+
### Error Protocol
|
|
78
|
+
|
|
79
|
+
- Primary approach fails → try alternative approach
|
|
80
|
+
- 2 retries exhausted → report `failed` with evidence
|
|
81
|
+
- NEVER skip verification and report completed
|
|
82
|
+
|
|
83
|
+
## 6. Quality Scoring
|
|
84
|
+
|
|
85
|
+
| Result | Score | Action |
|
|
86
|
+
|--------|-------|--------|
|
|
87
|
+
| Pass | >= 80% | result_status = completed |
|
|
88
|
+
| Review | 60-79% | result_status = completed (with findings noting warnings) |
|
|
89
|
+
| Fail | < 60% | Retry (max 2), then result_status = blocked |
|
|
90
|
+
|
|
91
|
+
**Scoring Dimensions** (25% each):
|
|
92
|
+
- **Completeness**: All required outputs present with substantive content
|
|
93
|
+
- **Consistency**: Terminology, formatting, cross-references uniform
|
|
94
|
+
- **Accuracy**: Factually correct and verifiable
|
|
95
|
+
- **Depth**: Sufficient detail for downstream consumers
|
|
96
|
+
|
|
97
|
+
## 7. Output Type Derivation
|
|
98
|
+
|
|
99
|
+
| Task Signal | Output Type | Description |
|
|
100
|
+
|-------------|-------------|-------------|
|
|
101
|
+
| "write report", "analyze", "research" | artifact | New files in session directory |
|
|
102
|
+
| "implement", "modify code", "fix bug" | codebase | Modify existing project files |
|
|
103
|
+
| "implement feature + write summary" | mixed | Code changes + session artifact |
|
|
104
|
+
|
|
105
|
+
## 8. Key File Inference
|
|
106
|
+
|
|
107
|
+
For task decomposition, infer relevant files from capability and keywords:
|
|
108
|
+
|
|
109
|
+
| Role | Strategy |
|
|
110
|
+
|------|----------|
|
|
111
|
+
| researcher | Domain keywords → likely directories (e.g., "auth" → `src/auth/**`) |
|
|
112
|
+
| developer | Feature/module keywords → source files |
|
|
113
|
+
| designer | Architecture keywords → config/schema files |
|
|
114
|
+
| analyst | Target keywords → files under analysis |
|
|
115
|
+
| tester | Test target → source + test files |
|
|
116
|
+
| writer | Documentation target → relevant source for context |
|
|
117
|
+
| planner | No specific files (abstract planning) |
|
|
118
|
+
|
|
119
|
+
## 9. Complexity Scoring
|
|
120
|
+
|
|
121
|
+
| Factor | Weight |
|
|
122
|
+
|--------|--------|
|
|
123
|
+
| Capability count | +1 each |
|
|
124
|
+
| Cross-domain (3+ tiers) | +2 |
|
|
125
|
+
| Parallel tracks | +1 each |
|
|
126
|
+
| Serial depth | +1 per level |
|
|
127
|
+
|
|
128
|
+
| Total | Level | Role Limit |
|
|
129
|
+
|-------|-------|------------|
|
|
130
|
+
| 1-3 | Low | 1-2 roles |
|
|
131
|
+
| 4-6 | Medium | 2-3 roles |
|
|
132
|
+
| 7+ | High | 3-5 roles |
|