maestro-flow 0.4.5 → 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-ralph/SKILL.md +16 -4
- 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
|
@@ -1,159 +1,198 @@
|
|
|
1
|
-
---
|
|
2
|
-
name: team-review
|
|
3
|
-
description: Team code review -- scan, review, fix pipeline
|
|
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
|
-
|
|
1
|
+
---
|
|
2
|
+
name: team-review
|
|
3
|
+
description: Team code review -- scan, review, fix pipeline
|
|
4
|
+
argument-hint: "[scope] [-y|--yes] [-c|--concurrency N] [--continue] [--mode default|full|fix-only|quick]"
|
|
5
|
+
allowed-tools: spawn_agents_on_csv, Read, Write, Edit, Bash, Glob, Grep, request_user_input
|
|
6
|
+
---
|
|
7
|
+
|
|
8
|
+
<purpose>
|
|
9
|
+
Wave-based code review pipeline via `spawn_agents_on_csv`. Scanner → Reviewer → Fixer with 4-dimension analysis and user-gated fixes.
|
|
10
|
+
|
|
11
|
+
```
|
|
12
|
+
+-------------------------------------------------------------------+
|
|
13
|
+
| REVIEW CSV WAVE WORKFLOW |
|
|
14
|
+
+-------------------------------------------------------------------+
|
|
15
|
+
| Phase 1: Mode Selection + CSV Generation |
|
|
16
|
+
| +-- Detect mode (default/full/fix-only/quick) |
|
|
17
|
+
| +-- Build tasks.csv from pipeline definition |
|
|
18
|
+
| |
|
|
19
|
+
| Phase 2: Wave Execution Engine |
|
|
20
|
+
| +-- Sequential waves |
|
|
21
|
+
| +-- User checkpoint before FIX wave (skip if -y) |
|
|
22
|
+
| +-- Fix scope: all / critical+high / skip |
|
|
23
|
+
| |
|
|
24
|
+
| Phase 3: Results Aggregation |
|
|
25
|
+
+-------------------------------------------------------------------+
|
|
26
|
+
```
|
|
27
|
+
</purpose>
|
|
28
|
+
|
|
29
|
+
<context>
|
|
30
|
+
```bash
|
|
31
|
+
$team-review "src/auth"
|
|
32
|
+
$team-review -y --mode full "src/"
|
|
33
|
+
$team-review --mode fix-only "fix-manifest.json"
|
|
34
|
+
$team-review --continue "20260518-rv-auth"
|
|
35
|
+
```
|
|
36
|
+
|
|
37
|
+
**Flags**: `-y` (auto), `-c N` (concurrency, default 3), `--continue` (resume), `--mode default|full|fix-only|quick`
|
|
38
|
+
|
|
39
|
+
### Role Registry (Fixed)
|
|
40
|
+
|
|
41
|
+
| Role | Path | Prefix |
|
|
42
|
+
|------|------|--------|
|
|
43
|
+
| scanner | [roles/scanner/role.md](roles/scanner/role.md) | SCAN-* |
|
|
44
|
+
| reviewer | [roles/reviewer/role.md](roles/reviewer/role.md) | REV-* |
|
|
45
|
+
| fixer | [roles/fixer/role.md](roles/fixer/role.md) | FIX-* |
|
|
46
|
+
|
|
47
|
+
**Session**: `.workflow/.csv-wave/{YYYYMMDD}-rv-{slug}/`
|
|
48
|
+
|
|
49
|
+
### Review Dimensions
|
|
50
|
+
Security (SEC), Correctness (COR), Performance (PRF), Maintainability (MNT)
|
|
51
|
+
</context>
|
|
52
|
+
|
|
53
|
+
<csv_schema>
|
|
54
|
+
|
|
55
|
+
### tasks.csv (Input columns)
|
|
56
|
+
|
|
57
|
+
```csv
|
|
58
|
+
id,title,description,role,review_dimension,deps,context_from,wave
|
|
59
|
+
```
|
|
60
|
+
|
|
61
|
+
| Column | Description |
|
|
62
|
+
|--------|-------------|
|
|
63
|
+
| `id` | Task ID: `{PREFIX}-{NNN}` |
|
|
64
|
+
| `title` | Short task title |
|
|
65
|
+
| `description` | PURPOSE/TASK/EXPECTED/CONSTRAINTS |
|
|
66
|
+
| `role` | Fixed role name |
|
|
67
|
+
| `review_dimension` | SEC/COR/PRF/MNT or empty |
|
|
68
|
+
| `deps` | Semicolon-separated dependency IDs |
|
|
69
|
+
| `context_from` | Context source IDs |
|
|
70
|
+
| `wave` | Wave number |
|
|
71
|
+
|
|
72
|
+
**Output columns** (via `output_schema` only):
|
|
73
|
+
|
|
74
|
+
| Column | Description |
|
|
75
|
+
|--------|-------------|
|
|
76
|
+
| `result_status` | completed / failed / blocked |
|
|
77
|
+
| `findings` | Key findings (max 500 chars) |
|
|
78
|
+
| `files_modified` | Semicolon-separated paths |
|
|
79
|
+
| `finding_count` | Number of issues found |
|
|
80
|
+
| `verdict` | APPROVE / CONDITIONAL / BLOCK (for REV tasks) |
|
|
81
|
+
| `error` | Error message |
|
|
82
|
+
|
|
83
|
+
**Column separation rule**: Input and Output MUST NOT share names.
|
|
84
|
+
|
|
85
|
+
### Pipeline Wave Assignments
|
|
86
|
+
|
|
87
|
+
#### default (2 waves)
|
|
88
|
+
|
|
89
|
+
| Wave | Task | Role |
|
|
90
|
+
|------|------|------|
|
|
91
|
+
| 1 | SCAN-001 | scanner |
|
|
92
|
+
| 2 | REV-001 | reviewer |
|
|
93
|
+
|
|
94
|
+
#### full (3 waves + user checkpoint)
|
|
95
|
+
|
|
96
|
+
| Wave | Task | Role |
|
|
97
|
+
|------|------|------|
|
|
98
|
+
| 1 | SCAN-001 | scanner |
|
|
99
|
+
| 2 | REV-001 | reviewer |
|
|
100
|
+
| — | User checkpoint: fix scope selection | — |
|
|
101
|
+
| 3 | FIX-001 | fixer |
|
|
102
|
+
|
|
103
|
+
#### fix-only (1 wave)
|
|
104
|
+
|
|
105
|
+
| Wave | Task | Role |
|
|
106
|
+
|------|------|------|
|
|
107
|
+
| 1 | FIX-001 | fixer |
|
|
108
|
+
|
|
109
|
+
#### quick (1 wave)
|
|
110
|
+
|
|
111
|
+
| Wave | Task | Role |
|
|
112
|
+
|------|------|------|
|
|
113
|
+
| 1 | SCAN-001 | scanner (quick=true) |
|
|
114
|
+
</csv_schema>
|
|
115
|
+
|
|
116
|
+
<invariants>
|
|
117
|
+
1. **Wave Order Sacred**
|
|
118
|
+
2. **CSV Source of Truth**
|
|
119
|
+
3. **Column Separation Rule**
|
|
120
|
+
4. **User Checkpoint Before Fix**: In full mode, pause after REV for user approval (skip if -y)
|
|
121
|
+
5. **0 Findings Shortcut**: If scanner finds 0 issues → skip REV and FIX
|
|
122
|
+
6. **Discovery Board Append-Only**
|
|
123
|
+
7. **Cleanup Temp Files**
|
|
124
|
+
8. **DO NOT STOP**: Continuous between checkpoints
|
|
125
|
+
9. **Role Files Authoritative**
|
|
126
|
+
</invariants>
|
|
127
|
+
|
|
128
|
+
<state_machine>
|
|
129
|
+
|
|
130
|
+
<states>
|
|
131
|
+
S_PARSE — Parse arguments, detect mode
|
|
132
|
+
S_CSV_GEN — Generate tasks.csv
|
|
133
|
+
S_WAVE_{N} — Execute wave N
|
|
134
|
+
S_FIX_GATE — User approval before fix (full mode)
|
|
135
|
+
S_AGGREGATE — Generate report
|
|
136
|
+
</states>
|
|
137
|
+
|
|
138
|
+
<transitions>
|
|
139
|
+
S_PARSE → S_CSV_GEN
|
|
140
|
+
S_CSV_GEN → S_WAVE_1
|
|
141
|
+
S_WAVE_{N} → S_FIX_GATE WHEN: mode=full, REV wave complete, FIX pending
|
|
142
|
+
S_WAVE_{N} → S_WAVE_{N+1} WHEN: more waves
|
|
143
|
+
S_WAVE_{N} → S_AGGREGATE WHEN: last wave or 0 findings shortcut
|
|
144
|
+
S_FIX_GATE → S_WAVE_{N+1} WHEN: user selects fix scope (all/critical+high)
|
|
145
|
+
S_FIX_GATE → S_AGGREGATE WHEN: user selects skip
|
|
146
|
+
</transitions>
|
|
147
|
+
|
|
148
|
+
<actions>
|
|
149
|
+
|
|
150
|
+
### Fix Gate Logic
|
|
151
|
+
|
|
152
|
+
After REV wave in full mode:
|
|
153
|
+
1. Read reviewer's `findings` and `verdict`
|
|
154
|
+
2. If `finding_count` = 0 or verdict = APPROVE → skip fix, aggregate
|
|
155
|
+
3. Display findings summary to user
|
|
156
|
+
4. `request_user_input`: Fix all / Fix critical+high only / Skip fixes
|
|
157
|
+
5. Update FIX-001 description with approved scope
|
|
158
|
+
6. Continue to FIX wave
|
|
159
|
+
|
|
160
|
+
### Instruction Builder
|
|
161
|
+
|
|
162
|
+
```
|
|
163
|
+
You are a team-review agent.
|
|
164
|
+
Role: read 'role' column. Task: read 'description' column.
|
|
165
|
+
|
|
166
|
+
## Role Definition
|
|
167
|
+
Read: {skillRoot}/roles/{role}/role.md
|
|
168
|
+
|
|
169
|
+
## Context
|
|
170
|
+
Session: {sessionFolder}
|
|
171
|
+
Discovery board: {sessionFolder}/discoveries.ndjson
|
|
172
|
+
Previous context: 'prev_context' column
|
|
173
|
+
Dimensions: {skillRoot}/specs/dimensions.md
|
|
174
|
+
|
|
175
|
+
## Output
|
|
176
|
+
result_status, findings, files_modified, finding_count, verdict (REV only), error
|
|
177
|
+
```
|
|
178
|
+
|
|
179
|
+
</actions>
|
|
180
|
+
</state_machine>
|
|
181
|
+
|
|
182
|
+
<error_codes>
|
|
183
|
+
|
|
184
|
+
| Condition | Recovery |
|
|
185
|
+
|-----------|----------|
|
|
186
|
+
| Scanner found 0 issues | Skip to aggregate, report clean |
|
|
187
|
+
| Reviewer verdict: BLOCK | Pause for user decision |
|
|
188
|
+
| Fix introduces regressions | Mark blocked, report regression details |
|
|
189
|
+
</error_codes>
|
|
190
|
+
|
|
191
|
+
<success_criteria>
|
|
192
|
+
- [ ] Mode selected and CSV generated
|
|
193
|
+
- [ ] Scan → Review → Fix pipeline executed
|
|
194
|
+
- [ ] User checkpoint before fixes (unless -y)
|
|
195
|
+
- [ ] 0-findings shortcut works
|
|
196
|
+
- [ ] Column separation maintained
|
|
197
|
+
- [ ] results.csv and context.md generated
|
|
198
|
+
</success_criteria>
|