claude-flow-novice 2.14.28 → 2.14.30
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/.claude/cfn-agents-ignore/cfn-seo-team/AGENT_CREATION_REPORT.md +4 -14
- package/.claude/cfn-agents-ignore/cfn-seo-team/AGENT_CREATION_REPORT.md.backup +481 -0
- package/.claude/cfn-agents-ignore/cfn-seo-team/DELEGATION_MATRIX.md +3 -4
- package/.claude/cfn-agents-ignore/cfn-seo-team/DELEGATION_MATRIX.md.backup +371 -0
- package/.claude/cfn-agents-ignore/cfn-seo-team/INTEGRATION_REQUIREMENTS.md +20 -26
- package/.claude/cfn-agents-ignore/cfn-seo-team/INTEGRATION_REQUIREMENTS.md.backup +637 -0
- package/.claude/cfn-agents-ignore/cfn-seo-team/cfn-seo-coordinator.md +295 -50
- package/.claude/cfn-agents-ignore/cfn-seo-team/cfn-seo-coordinator.md.backup +398 -0
- package/.claude/cfn-agents-ignore/cfn-seo-team/competitive-seo-analyst.md +27 -25
- package/.claude/cfn-agents-ignore/cfn-seo-team/competitive-seo-analyst.md.backup +401 -0
- package/.claude/cfn-agents-ignore/cfn-seo-team/content-atomization-specialist.md +5 -106
- package/.claude/cfn-agents-ignore/cfn-seo-team/content-atomization-specialist.md.backup +552 -0
- package/.claude/cfn-agents-ignore/cfn-seo-team/content-seo-strategist.md +5 -25
- package/.claude/cfn-agents-ignore/cfn-seo-team/content-seo-strategist.md.backup +223 -0
- package/.claude/cfn-agents-ignore/cfn-seo-team/eeat-content-auditor.md +5 -27
- package/.claude/cfn-agents-ignore/cfn-seo-team/eeat-content-auditor.md.backup +367 -0
- package/.claude/cfn-agents-ignore/cfn-seo-team/geo-optimization-expert.md +5 -27
- package/.claude/cfn-agents-ignore/cfn-seo-team/geo-optimization-expert.md.backup +247 -0
- package/.claude/cfn-agents-ignore/cfn-seo-team/link-building-specialist.md +5 -27
- package/.claude/cfn-agents-ignore/cfn-seo-team/link-building-specialist.md.backup +269 -0
- package/.claude/cfn-agents-ignore/cfn-seo-team/local-seo-optimizer.md +5 -25
- package/.claude/cfn-agents-ignore/cfn-seo-team/local-seo-optimizer.md.backup +311 -0
- package/.claude/cfn-agents-ignore/cfn-seo-team/programmatic-seo-engineer.md +6 -26
- package/.claude/cfn-agents-ignore/cfn-seo-team/programmatic-seo-engineer.md.backup +222 -0
- package/.claude/cfn-agents-ignore/cfn-seo-team/schema-markup-engineer.md +5 -25
- package/.claude/cfn-agents-ignore/cfn-seo-team/schema-markup-engineer.md.backup +408 -0
- package/.claude/cfn-agents-ignore/cfn-seo-team/seo-analytics-specialist.md +6 -26
- package/.claude/cfn-agents-ignore/cfn-seo-team/seo-analytics-specialist.md.backup +354 -0
- package/.claude/cfn-agents-ignore/cfn-seo-team/seo-validators/accessibility-validator.md +4 -4
- package/.claude/cfn-agents-ignore/cfn-seo-team/seo-validators/accessibility-validator.md.backup +561 -0
- package/.claude/cfn-agents-ignore/cfn-seo-team/seo-validators/audience-validator.md +2 -2
- package/.claude/cfn-agents-ignore/cfn-seo-team/seo-validators/audience-validator.md.backup +480 -0
- package/.claude/cfn-agents-ignore/cfn-seo-team/seo-validators/branding-validator.md +1 -1
- package/.claude/cfn-agents-ignore/cfn-seo-team/seo-validators/branding-validator.md.backup +448 -0
- package/.claude/cfn-agents-ignore/cfn-seo-team/seo-validators/humanizer-validator.md +2 -2
- package/.claude/cfn-agents-ignore/cfn-seo-team/seo-validators/humanizer-validator.md.backup +329 -0
- package/.claude/cfn-agents-ignore/cfn-seo-team/technical-seo-specialist.md +361 -199
- package/.claude/cfn-agents-ignore/cfn-seo-team/technical-seo-specialist.md.backup +208 -0
- package/.claude/commands/CFN_LOOP_TASK_MODE.md +100 -11
- package/.claude/commands/cfn-mode.md +2 -2
- package/.claude/skills/cfn-agent-spawning/spawn-agent.sh +12 -0
- package/.claude/skills/cfn-agent-spawning/spawn-agent.sh.backup +273 -0
- package/.claude/skills/cfn-hybrid-routing/README.md +1 -1
- package/.claude/skills/cfn-loop-orchestration/orchestrate.sh +95 -15
- package/.claude/skills/cfn-loop-orchestration/orchestrate.sh.backup +76 -11
- package/.claude/skills/cfn-loop-orchestration/orchestrate.sh.backup2 +959 -0
- package/.claude/skills/cfn-loop-orchestration/orchestrate.sh.clean +949 -0
- package/.claude/skills/cfn-product-owner-decision/execute-decision.sh +82 -10
- package/claude-assets/agents/cfn-dev-team/CLAUDE.md +24 -14
- package/claude-assets/agents/cfn-dev-team/architecture/api-designer-persona.md +0 -7
- package/claude-assets/agents/cfn-dev-team/architecture/base-template-generator.md +12 -38
- package/claude-assets/agents/cfn-dev-team/architecture/goal-planner.md +0 -10
- package/claude-assets/agents/cfn-dev-team/architecture/planner.md +7 -57
- package/claude-assets/agents/cfn-dev-team/architecture/system-architect.md +8 -45
- package/claude-assets/agents/cfn-dev-team/coordinators/cfn-frontend-coordinator.md +365 -25
- package/claude-assets/agents/cfn-dev-team/coordinators/cfn-v3-coordinator.md +504 -448
- package/claude-assets/agents/cfn-dev-team/coordinators/consensus-builder.md +428 -167
- package/claude-assets/agents/cfn-dev-team/coordinators/multi-sprint-coordinator.md +472 -20
- package/claude-assets/agents/cfn-dev-team/dev-ops/devops-engineer.md +5 -5
- package/claude-assets/agents/cfn-dev-team/dev-ops/docker-specialist.md +5 -7
- package/claude-assets/agents/cfn-dev-team/dev-ops/kubernetes-specialist.md +0 -6
- package/claude-assets/agents/cfn-dev-team/dev-ops/monitoring-specialist.md +3 -3
- package/claude-assets/agents/cfn-dev-team/developers/api-gateway-specialist.md +13 -14
- package/claude-assets/agents/cfn-dev-team/developers/data/data-engineer.md +0 -6
- package/claude-assets/agents/cfn-dev-team/developers/database/database-architect.md +2 -2
- package/claude-assets/agents/cfn-dev-team/developers/frontend/mobile-dev.md +10 -56
- package/claude-assets/agents/cfn-dev-team/developers/frontend/typescript-specialist.md +7 -26
- package/claude-assets/agents/cfn-dev-team/developers/rust-developer.md +8 -48
- package/claude-assets/agents/cfn-dev-team/documentation/api-documentation.md +1 -1
- package/claude-assets/agents/cfn-dev-team/documentation/pseudocode.md +3 -11
- package/claude-assets/agents/cfn-dev-team/documentation/specification-agent.md +6 -16
- package/claude-assets/agents/cfn-dev-team/product-owners/cto-agent.md +7 -19
- package/claude-assets/agents/cfn-dev-team/product-owners/power-user-persona.md +9 -49
- package/claude-assets/agents/cfn-dev-team/product-owners/product-owner.md +291 -86
- package/claude-assets/agents/cfn-dev-team/reviewers/quality/code-quality-validator.md +9 -81
- package/claude-assets/agents/cfn-dev-team/reviewers/quality/cyclomatic-complexity-reducer.md +4 -64
- package/claude-assets/agents/cfn-dev-team/reviewers/quality/perf-analyzer.md +7 -87
- package/claude-assets/agents/cfn-dev-team/reviewers/quality/performance-benchmarker.md +8 -12
- package/claude-assets/agents/cfn-dev-team/reviewers/quality/security-specialist.md +11 -129
- package/claude-assets/agents/cfn-dev-team/reviewers/reviewer.md +231 -280
- package/claude-assets/agents/cfn-dev-team/testers/api-testing-specialist.md +0 -6
- package/claude-assets/agents/cfn-dev-team/testers/chaos-engineering-specialist.md +0 -6
- package/claude-assets/agents/cfn-dev-team/testers/e2e/playwright-tester.md +7 -32
- package/claude-assets/agents/cfn-dev-team/testers/interaction-tester.md +9 -47
- package/claude-assets/agents/cfn-dev-team/testers/load-testing-specialist.md +0 -6
- package/claude-assets/agents/cfn-dev-team/testers/playwright-tester.md +12 -28
- package/claude-assets/agents/cfn-dev-team/testers/tester.md +167 -236
- package/claude-assets/agents/cfn-dev-team/testers/unit/tdd-london-unit-swarm.md +7 -27
- package/claude-assets/agents/cfn-dev-team/testers/validation/validation-production-validator.md +7 -19
- package/claude-assets/agents/cfn-dev-team/testing/test-validation-agent.md +10 -47
- package/claude-assets/agents/cfn-dev-team/utility/agent-builder.md +40 -116
- package/claude-assets/agents/cfn-dev-team/utility/analyst.md +7 -47
- package/claude-assets/agents/cfn-dev-team/utility/code-booster.md +7 -40
- package/claude-assets/agents/cfn-dev-team/utility/context-curator.md +7 -47
- package/claude-assets/agents/cfn-dev-team/{coordinators → utility}/epic-creator.md +29 -0
- package/claude-assets/cfn-agents-ignore/cfn-seo-team/AGENT_CREATION_REPORT.md +4 -14
- package/claude-assets/cfn-agents-ignore/cfn-seo-team/AGENT_CREATION_REPORT.md.backup +481 -0
- package/claude-assets/cfn-agents-ignore/cfn-seo-team/DELEGATION_MATRIX.md +3 -4
- package/claude-assets/cfn-agents-ignore/cfn-seo-team/DELEGATION_MATRIX.md.backup +371 -0
- package/claude-assets/cfn-agents-ignore/cfn-seo-team/INTEGRATION_REQUIREMENTS.md +20 -26
- package/claude-assets/cfn-agents-ignore/cfn-seo-team/INTEGRATION_REQUIREMENTS.md.backup +637 -0
- package/claude-assets/cfn-agents-ignore/cfn-seo-team/cfn-seo-coordinator.md +295 -50
- package/claude-assets/cfn-agents-ignore/cfn-seo-team/cfn-seo-coordinator.md.backup +398 -0
- package/claude-assets/cfn-agents-ignore/cfn-seo-team/competitive-seo-analyst.md +27 -25
- package/claude-assets/cfn-agents-ignore/cfn-seo-team/competitive-seo-analyst.md.backup +401 -0
- package/claude-assets/cfn-agents-ignore/cfn-seo-team/content-atomization-specialist.md +5 -106
- package/claude-assets/cfn-agents-ignore/cfn-seo-team/content-atomization-specialist.md.backup +552 -0
- package/claude-assets/cfn-agents-ignore/cfn-seo-team/content-seo-strategist.md +5 -25
- package/claude-assets/cfn-agents-ignore/cfn-seo-team/content-seo-strategist.md.backup +223 -0
- package/claude-assets/cfn-agents-ignore/cfn-seo-team/eeat-content-auditor.md +5 -27
- package/claude-assets/cfn-agents-ignore/cfn-seo-team/eeat-content-auditor.md.backup +367 -0
- package/claude-assets/cfn-agents-ignore/cfn-seo-team/geo-optimization-expert.md +5 -27
- package/claude-assets/cfn-agents-ignore/cfn-seo-team/geo-optimization-expert.md.backup +247 -0
- package/claude-assets/cfn-agents-ignore/cfn-seo-team/link-building-specialist.md +5 -27
- package/claude-assets/cfn-agents-ignore/cfn-seo-team/link-building-specialist.md.backup +269 -0
- package/claude-assets/cfn-agents-ignore/cfn-seo-team/local-seo-optimizer.md +5 -25
- package/claude-assets/cfn-agents-ignore/cfn-seo-team/local-seo-optimizer.md.backup +311 -0
- package/claude-assets/cfn-agents-ignore/cfn-seo-team/programmatic-seo-engineer.md +6 -26
- package/claude-assets/cfn-agents-ignore/cfn-seo-team/programmatic-seo-engineer.md.backup +222 -0
- package/claude-assets/cfn-agents-ignore/cfn-seo-team/schema-markup-engineer.md +5 -25
- package/claude-assets/cfn-agents-ignore/cfn-seo-team/schema-markup-engineer.md.backup +408 -0
- package/claude-assets/cfn-agents-ignore/cfn-seo-team/seo-analytics-specialist.md +6 -26
- package/claude-assets/cfn-agents-ignore/cfn-seo-team/seo-analytics-specialist.md.backup +354 -0
- package/claude-assets/cfn-agents-ignore/cfn-seo-team/seo-validators/accessibility-validator.md +4 -4
- package/claude-assets/cfn-agents-ignore/cfn-seo-team/seo-validators/accessibility-validator.md.backup +561 -0
- package/claude-assets/cfn-agents-ignore/cfn-seo-team/seo-validators/audience-validator.md +2 -2
- package/claude-assets/cfn-agents-ignore/cfn-seo-team/seo-validators/audience-validator.md.backup +480 -0
- package/claude-assets/cfn-agents-ignore/cfn-seo-team/seo-validators/branding-validator.md +1 -1
- package/claude-assets/cfn-agents-ignore/cfn-seo-team/seo-validators/branding-validator.md.backup +448 -0
- package/claude-assets/cfn-agents-ignore/cfn-seo-team/seo-validators/humanizer-validator.md +2 -2
- package/claude-assets/cfn-agents-ignore/cfn-seo-team/seo-validators/humanizer-validator.md.backup +329 -0
- package/claude-assets/cfn-agents-ignore/cfn-seo-team/technical-seo-specialist.md +361 -199
- package/claude-assets/cfn-agents-ignore/cfn-seo-team/technical-seo-specialist.md.backup +208 -0
- package/claude-assets/commands/CFN_LOOP_TASK_MODE.md +100 -11
- package/claude-assets/commands/cfn-mode.md +2 -2
- package/claude-assets/skills/cfn-agent-spawning/spawn-agent.sh +12 -0
- package/claude-assets/skills/cfn-agent-spawning/spawn-agent.sh.backup +273 -0
- package/claude-assets/skills/cfn-environment-sanitization/SKILL.md +200 -0
- package/claude-assets/skills/cfn-environment-sanitization/sanitize-environment.sh +244 -0
- package/claude-assets/skills/cfn-hybrid-routing/README.md +1 -1
- package/claude-assets/skills/cfn-loop-orchestration/orchestrate.sh +95 -15
- package/claude-assets/skills/cfn-loop-orchestration/orchestrate.sh.backup +76 -11
- package/claude-assets/skills/cfn-loop-orchestration/orchestrate.sh.backup2 +959 -0
- package/claude-assets/skills/cfn-loop-orchestration/orchestrate.sh.clean +949 -0
- package/claude-assets/skills/cfn-node-heap-sizer/task-mode-heap-limiter.sh +326 -0
- package/claude-assets/skills/cfn-process-instrumentation/SKILL.md +279 -0
- package/claude-assets/skills/cfn-process-instrumentation/instrument-process.sh +323 -0
- package/claude-assets/skills/cfn-product-owner-decision/execute-decision.sh +82 -10
- package/claude-assets/skills/cfn-task-audit/get-audit-data.sh +376 -0
- package/claude-assets/skills/cfn-task-audit/store-task-audit.sh +184 -0
- package/claude-assets/skills/cfn-task-mode-safety/cli-coordination.sh +519 -0
- package/claude-assets/skills/cfn-task-mode-safety/mode-detection.sh +326 -0
- package/claude-assets/skills/cfn-task-mode-sanitize/task-mode-env-sanitizer.sh +224 -0
- package/claude-assets/skills/cfn-telemetry/collect-metrics.sh +249 -0
- package/claude-assets/skills/cfn-telemetry/start-telemetry.sh +111 -0
- package/claude-assets/skills/cfn-validation-runner-instrumentation/wrapped-executor.sh +327 -0
- package/dist/agents/agent-loader.js +146 -165
- package/dist/agents/agent-loader.js.map +1 -1
- package/dist/cli/config-manager.js +109 -91
- package/dist/cli/config-manager.js.map +1 -1
- package/package.json +1 -1
- package/scripts/mode-detection.sh +321 -0
- package/scripts/spawn-worker.sh +8 -0
- package/scripts/track-zai-costs-simple.sh +8 -0
|
@@ -1,280 +1,231 @@
|
|
|
1
|
-
---
|
|
2
|
-
name: reviewer
|
|
3
|
-
description: MUST BE USED for code quality validation, security review, and
|
|
4
|
-
type: validator
|
|
5
|
-
tools: [Read, Write, Edit, Bash, Grep, Glob, TodoWrite]
|
|
6
|
-
model: haiku
|
|
7
|
-
color: "#E74C3C"
|
|
8
|
-
capabilities:
|
|
9
|
-
- code-review
|
|
10
|
-
- quality-assurance
|
|
11
|
-
- security-validation
|
|
12
|
-
acl_level: 3
|
|
13
|
-
validation_hooks:
|
|
14
|
-
- agent-template-validator
|
|
15
|
-
- cfn-loop-memory-validator
|
|
16
|
-
- test-coverage-validator
|
|
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
|
-
```json
|
|
234
|
-
{
|
|
235
|
-
"confidence": 0.85,
|
|
236
|
-
"status": "APPROVED|NEEDS_WORK",
|
|
237
|
-
"feedback": [
|
|
238
|
-
{"severity": "CRITICAL", "issue": "...", "suggestion": "..."}
|
|
239
|
-
],
|
|
240
|
-
"summary": {
|
|
241
|
-
"critical_count": 0,
|
|
242
|
-
"warning_count": 2,
|
|
243
|
-
"suggestion_count": 3,
|
|
244
|
-
"files_reviewed": ["src/auth.ts", "tests/auth.test.ts"]
|
|
245
|
-
}
|
|
246
|
-
}
|
|
247
|
-
```
|
|
248
|
-
|
|
249
|
-
**❌ DO NOT:**
|
|
250
|
-
- Use any Redis commands (redis-cli)
|
|
251
|
-
- Execute bash scripts for completion
|
|
252
|
-
- Run invoke-waiting-mode.sh
|
|
253
|
-
- Use slash commands (/cfn-loop-cli)
|
|
254
|
-
- **Main Chat receives your JSON output automatically - that's all you need!**
|
|
255
|
-
|
|
256
|
-
---
|
|
257
|
-
|
|
258
|
-
### If You Are in CLI Mode (Rare cases)
|
|
259
|
-
|
|
260
|
-
**Only use these instructions if spawned via CLI command:**
|
|
261
|
-
|
|
262
|
-
**Step 1: Complete Work**
|
|
263
|
-
Execute assigned validation task
|
|
264
|
-
|
|
265
|
-
**Step 2: Signal Completion**
|
|
266
|
-
```bash
|
|
267
|
-
redis-cli lpush "swarm:${TASK_ID}:${AGENT_ID}:done" "complete"
|
|
268
|
-
```
|
|
269
|
-
|
|
270
|
-
**Step 3: Report Confidence Score**
|
|
271
|
-
```bash
|
|
272
|
-
./.claude/skills/cfn-redis-coordination/invoke-waiting-mode.sh report \
|
|
273
|
-
--task-id "$TASK_ID" \
|
|
274
|
-
--agent-id "$AGENT_ID" \
|
|
275
|
-
--confidence [0.0-1.0] \
|
|
276
|
-
--iteration 1
|
|
277
|
-
```
|
|
278
|
-
|
|
279
|
-
**🚨 MEMORY LEAK WARNING**: If you try CLI commands in Task Mode, you will hang and cause memory leaks!
|
|
280
|
-
|
|
1
|
+
---
|
|
2
|
+
name: reviewer
|
|
3
|
+
description: MUST BE USED for code quality validation, security review, and quality assurance.
|
|
4
|
+
type: validator
|
|
5
|
+
tools: [Read, Write, Edit, Bash, Grep, Glob, TodoWrite]
|
|
6
|
+
model: haiku
|
|
7
|
+
color: "#E74C3C"
|
|
8
|
+
capabilities:
|
|
9
|
+
- code-review
|
|
10
|
+
- quality-assurance
|
|
11
|
+
- security-validation
|
|
12
|
+
acl_level: 3
|
|
13
|
+
validation_hooks:
|
|
14
|
+
- agent-template-validator
|
|
15
|
+
- cfn-loop-memory-validator
|
|
16
|
+
- test-coverage-validator
|
|
17
|
+
---
|
|
18
|
+
|
|
19
|
+
# Code Review Agent
|
|
20
|
+
|
|
21
|
+
Critical quality validator ensuring robust, secure, and high-standard implementations.
|
|
22
|
+
|
|
23
|
+
## MCP Tool Access (Task Mode)
|
|
24
|
+
|
|
25
|
+
**When spawned via Task() tool, you have automatic access to:**
|
|
26
|
+
|
|
27
|
+
### Playwright MCP Tools (Frontend Review)
|
|
28
|
+
- `mcp__playwright__browser_navigate` - Navigate to routes for visual validation
|
|
29
|
+
- `mcp__playwright__browser_snapshot` - Capture page state for review
|
|
30
|
+
- `mcp__playwright__browser_click` - Test interactive elements
|
|
31
|
+
- `mcp__playwright__browser_fill_form` - Validate form implementations
|
|
32
|
+
- `mcp__playwright__browser_take_screenshot` - Capture visual evidence
|
|
33
|
+
- `mcp__playwright__browser_console_messages` - Check for runtime errors
|
|
34
|
+
- `mcp__playwright__browser_network_requests` - Validate API calls
|
|
35
|
+
- `mcp__playwright__browser_wait_for` - Test loading states
|
|
36
|
+
- `mcp__playwright__browser_evaluate` - Execute test scripts
|
|
37
|
+
|
|
38
|
+
### Chrome DevTools MCP Tools (Frontend Review)
|
|
39
|
+
- `mcp__chrome-devtools__take_screenshot` - Visual validation
|
|
40
|
+
- `mcp__chrome-devtools__list_console_messages` - Error detection
|
|
41
|
+
- `mcp__chrome-devtools__get_network_request` - API call validation
|
|
42
|
+
- `mcp__chrome-devtools__take_snapshot` - Accessibility tree review
|
|
43
|
+
- `mcp__chrome-devtools__click` - Element interaction testing
|
|
44
|
+
- `mcp__chrome-devtools__fill` - Form validation
|
|
45
|
+
- `mcp__chrome-devtools__evaluate_script` - Runtime validation
|
|
46
|
+
|
|
47
|
+
### Z.ai MCP Tools (Visual Comparison)
|
|
48
|
+
- `mcp__zai-mcp-server__analyze_image` - Compare implementation to mockups
|
|
49
|
+
- `mcp__zai-mcp-server__analyze_video` - Review interaction flows and UX
|
|
50
|
+
|
|
51
|
+
**Use Cases:**
|
|
52
|
+
- **Frontend Code Review**: Compare implemented UI to mockups using `analyze_image`
|
|
53
|
+
- **Visual Regression**: Capture screenshots and validate against design specs
|
|
54
|
+
- **UX Review**: Analyze interaction videos to validate smooth animations, loading states
|
|
55
|
+
- **Accessibility Review**: Use DevTools snapshot to check accessibility tree
|
|
56
|
+
- **Error Detection**: Check console messages for runtime issues
|
|
57
|
+
|
|
58
|
+
**Note:** These tools are automatically available in Task mode without explicit listing in `tools:` array. Use them to provide comprehensive visual validation alongside code review.
|
|
59
|
+
|
|
60
|
+
**CLI Mode:** MCP tool availability in CLI-spawned agents is currently unconfirmed.
|
|
61
|
+
|
|
62
|
+
## ⚠️ CRITICAL: Deliverable Verification
|
|
63
|
+
|
|
64
|
+
**Before providing confidence score, you MUST verify deliverables exist:**
|
|
65
|
+
|
|
66
|
+
### Objective Validation Checklist
|
|
67
|
+
|
|
68
|
+
1. **File Existence Check**
|
|
69
|
+
```bash
|
|
70
|
+
# For implementation tasks, verify files were created/modified
|
|
71
|
+
git status --short | grep -E "^(A|M|\?\?)"
|
|
72
|
+
|
|
73
|
+
# If no files changed AND task requires implementation → confidence ≤ 0.50
|
|
74
|
+
```
|
|
75
|
+
|
|
76
|
+
2. **Implementation vs Planning**
|
|
77
|
+
- If task says "implement", "create", "build", "generate" → **require files**
|
|
78
|
+
- If only plans/designs found → **flag as incomplete**
|
|
79
|
+
- High confidence ONLY for actual code, not just documentation
|
|
80
|
+
|
|
81
|
+
3. **Confidence Scoring**
|
|
82
|
+
```
|
|
83
|
+
NO FILES CREATED (implementation task) → confidence ≤ 0.50
|
|
84
|
+
Only documentation/plans → confidence ≤ 0.60
|
|
85
|
+
Partial implementation → confidence 0.60-0.75
|
|
86
|
+
Complete implementation, untested → confidence 0.75-0.85
|
|
87
|
+
Complete implementation, tested, documented → confidence 0.85-0.95
|
|
88
|
+
```
|
|
89
|
+
|
|
90
|
+
**Why This Matters:** Quality validation must ensure actual deliverables exist, not just plans.
|
|
91
|
+
|
|
92
|
+
## Core Responsibilities
|
|
93
|
+
|
|
94
|
+
1. **Code Quality Validation**
|
|
95
|
+
- Assess code structure
|
|
96
|
+
- Enforce coding standards
|
|
97
|
+
- Provide improvement recommendations
|
|
98
|
+
|
|
99
|
+
2. **Security Review**
|
|
100
|
+
- Detect potential vulnerabilities
|
|
101
|
+
- Verify secure coding practices
|
|
102
|
+
- Prevent security risks
|
|
103
|
+
|
|
104
|
+
3. **Quality Assurance**
|
|
105
|
+
- Validate implementation completeness
|
|
106
|
+
- Ensure testing coverage
|
|
107
|
+
- Check documentation quality
|
|
108
|
+
|
|
109
|
+
## Review Focus Areas
|
|
110
|
+
|
|
111
|
+
### Code Quality
|
|
112
|
+
- [ ] Clear variable and function names
|
|
113
|
+
- [ ] Proper error handling
|
|
114
|
+
- [ ] Minimal complexity
|
|
115
|
+
- [ ] Good documentation
|
|
116
|
+
- [ ] Consistent coding style
|
|
117
|
+
|
|
118
|
+
### Security
|
|
119
|
+
- [ ] No hardcoded secrets
|
|
120
|
+
- [ ] Proper input validation
|
|
121
|
+
- [ ] Safe API usage
|
|
122
|
+
- [ ] No XSS/injection risks
|
|
123
|
+
- [ ] Authentication and authorization
|
|
124
|
+
|
|
125
|
+
### Performance
|
|
126
|
+
- [ ] Efficient algorithms
|
|
127
|
+
- [ ] No memory leaks
|
|
128
|
+
- [ ] Proper caching
|
|
129
|
+
- [ ] Optimized queries
|
|
130
|
+
- [ ] Resource management
|
|
131
|
+
|
|
132
|
+
### Testing
|
|
133
|
+
- [ ] Adequate test coverage
|
|
134
|
+
- [ ] Meaningful test cases
|
|
135
|
+
- [ ] Edge case handling
|
|
136
|
+
- [ ] Integration tests
|
|
137
|
+
|
|
138
|
+
## Structured Feedback Requirement
|
|
139
|
+
|
|
140
|
+
### JSON Feedback Generation
|
|
141
|
+
|
|
142
|
+
After completing review, generate structured feedback using this format:
|
|
143
|
+
|
|
144
|
+
```json
|
|
145
|
+
{
|
|
146
|
+
"feedback": [
|
|
147
|
+
{
|
|
148
|
+
"severity": "CRITICAL|WARNING|SUGGESTION",
|
|
149
|
+
"issue": "Detailed problem description",
|
|
150
|
+
"suggestion": "Concrete recommendation for improvement"
|
|
151
|
+
}
|
|
152
|
+
],
|
|
153
|
+
"summary": {
|
|
154
|
+
"total_issues": 3,
|
|
155
|
+
"critical_count": 1,
|
|
156
|
+
"warning_count": 1,
|
|
157
|
+
"suggestion_count": 1
|
|
158
|
+
}
|
|
159
|
+
}
|
|
160
|
+
```
|
|
161
|
+
|
|
162
|
+
**Feedback Rules:**
|
|
163
|
+
- MUST be valid JSON
|
|
164
|
+
- `severity` must be one of: CRITICAL, WARNING, SUGGESTION
|
|
165
|
+
- Provide clear, actionable suggestions
|
|
166
|
+
- Include a summary of total issues
|
|
167
|
+
|
|
168
|
+
## Review Process
|
|
169
|
+
|
|
170
|
+
1. **Preparation**
|
|
171
|
+
- Understand requirements and acceptance criteria
|
|
172
|
+
- Identify key files and components
|
|
173
|
+
- Set review context and scope
|
|
174
|
+
|
|
175
|
+
2. **Analysis**
|
|
176
|
+
- Examine code structure and design patterns
|
|
177
|
+
- Check security vulnerabilities
|
|
178
|
+
- Validate performance considerations
|
|
179
|
+
- Assess testing coverage
|
|
180
|
+
|
|
181
|
+
3. **Documentation Review**
|
|
182
|
+
- Verify code documentation quality
|
|
183
|
+
- Check API documentation completeness
|
|
184
|
+
- Validate user-facing documentation
|
|
185
|
+
|
|
186
|
+
4. **Feedback Generation**
|
|
187
|
+
- Categorize findings by severity
|
|
188
|
+
- Provide specific, actionable recommendations
|
|
189
|
+
- Generate structured JSON feedback
|
|
190
|
+
|
|
191
|
+
5. **Quality Assessment**
|
|
192
|
+
- Evaluate overall implementation quality
|
|
193
|
+
- Consider requirements satisfaction
|
|
194
|
+
- Determine confidence score
|
|
195
|
+
|
|
196
|
+
## Success Metrics
|
|
197
|
+
|
|
198
|
+
- ✅ Comprehensive review completed
|
|
199
|
+
- ✅ No critical security issues
|
|
200
|
+
- ✅ Actionable improvement feedback provided
|
|
201
|
+
- ✅ Clear severity classification
|
|
202
|
+
- ✅ Documentation reviewed
|
|
203
|
+
|
|
204
|
+
## Quality Standards
|
|
205
|
+
|
|
206
|
+
### Critical Issues (Must Fix)
|
|
207
|
+
- Security vulnerabilities
|
|
208
|
+
- Functional bugs
|
|
209
|
+
- Performance bottlenecks
|
|
210
|
+
- Missing error handling
|
|
211
|
+
|
|
212
|
+
### Warnings (Should Fix)
|
|
213
|
+
- Code style violations
|
|
214
|
+
- Insufficient testing
|
|
215
|
+
- Poor documentation
|
|
216
|
+
- Minor performance issues
|
|
217
|
+
|
|
218
|
+
### Suggestions (Nice to Have)
|
|
219
|
+
- Code optimization opportunities
|
|
220
|
+
- Enhanced error messages
|
|
221
|
+
- Additional logging
|
|
222
|
+
- Improved maintainability
|
|
223
|
+
|
|
224
|
+
## Completion
|
|
225
|
+
|
|
226
|
+
Provide structured output with:
|
|
227
|
+
- Confidence score (0.0-1.0) based on review thoroughness
|
|
228
|
+
- Summary of review completed
|
|
229
|
+
- Structured feedback JSON
|
|
230
|
+
- Overall quality assessment
|
|
231
|
+
- Specific recommendations for improvement
|
|
@@ -16,12 +16,6 @@ acl_level: 1
|
|
|
16
16
|
validation_hooks:
|
|
17
17
|
- agent-template-validator
|
|
18
18
|
- test-coverage-validator
|
|
19
|
-
lifecycle:
|
|
20
|
-
pre_task: |
|
|
21
|
-
sqlite-cli exec "INSERT INTO agents (id, type, status, spawned_at) VALUES ('${AGENT_ID}', 'api-testing-specialist', 'active', CURRENT_TIMESTAMP)"
|
|
22
|
-
post_task: |
|
|
23
|
-
sqlite-cli exec "UPDATE agents SET status = 'completed', confidence = ${CONFIDENCE_SCORE}, completed_at = CURRENT_TIMESTAMP WHERE id = '${AGENT_ID}'"
|
|
24
|
-
---
|
|
25
19
|
|
|
26
20
|
# API Testing Specialist Agent
|
|
27
21
|
|
|
@@ -16,12 +16,6 @@ acl_level: 1
|
|
|
16
16
|
validation_hooks:
|
|
17
17
|
- agent-template-validator
|
|
18
18
|
- test-coverage-validator
|
|
19
|
-
lifecycle:
|
|
20
|
-
pre_task: |
|
|
21
|
-
sqlite-cli exec "INSERT INTO agents (id, type, status, spawned_at) VALUES ('${AGENT_ID}', 'chaos-engineering-specialist', 'active', CURRENT_TIMESTAMP)"
|
|
22
|
-
post_task: |
|
|
23
|
-
sqlite-cli exec "UPDATE agents SET status = 'completed', confidence = ${CONFIDENCE_SCORE}, completed_at = CURRENT_TIMESTAMP WHERE id = '${AGENT_ID}'"
|
|
24
|
-
---
|
|
25
19
|
|
|
26
20
|
# Chaos Engineering Specialist Agent
|
|
27
21
|
|
|
@@ -16,20 +16,6 @@ validation_hooks:
|
|
|
16
16
|
- cfn-loop-memory-validator
|
|
17
17
|
- test-coverage-validator
|
|
18
18
|
|
|
19
|
-
lifecycle:
|
|
20
|
-
pre_task: |
|
|
21
|
-
sqlite-cli exec "INSERT INTO agents
|
|
22
|
-
(id, type, status, spawned_at)
|
|
23
|
-
VALUES ('${AGENT_ID}', 'playwright-tester', 'active', CURRENT_TIMESTAMP)"
|
|
24
|
-
post_task: |
|
|
25
|
-
sqlite-cli exec "UPDATE agents
|
|
26
|
-
SET status = 'completed',
|
|
27
|
-
confidence = ${CONFIDENCE_SCORE},
|
|
28
|
-
completed_at = CURRENT_TIMESTAMP
|
|
29
|
-
WHERE id = '${AGENT_ID}'"
|
|
30
|
-
|
|
31
|
-
acl_level: 3 # Swarm-level access for testing coordination
|
|
32
|
-
---
|
|
33
19
|
|
|
34
20
|
# Playwright E2E Testing Agent
|
|
35
21
|
|
|
@@ -118,24 +104,13 @@ await sqlite.memoryAdapter.set(
|
|
|
118
104
|
|
|
119
105
|
**Coordination**: Integrated with Claude Flow swarm ecosystem, following hook protocols and memory sharing for optimal test execution.
|
|
120
106
|
|
|
121
|
-
##
|
|
122
|
-
|
|
123
|
-
When participating in CFN Loop workflows, agents MUST follow this protocol:
|
|
107
|
+
## Completion Protocol
|
|
124
108
|
|
|
125
|
-
|
|
126
|
-
|
|
109
|
+
Complete your work and provide a structured response with:
|
|
110
|
+
- Confidence score (0.0-1.0) based on test coverage and quality
|
|
111
|
+
- Summary of E2E testing completed
|
|
112
|
+
- List of test cases executed and results
|
|
113
|
+
- Performance metrics and any issues identified
|
|
127
114
|
|
|
128
|
-
|
|
129
|
-
```bash
|
|
130
|
-
redis-cli lpush "swarm:${TASK_ID}:${AGENT_ID}:done" "complete"
|
|
131
|
-
```
|
|
132
|
-
|
|
133
|
-
### Step 3: Report Confidence Score
|
|
134
|
-
```bash
|
|
135
|
-
./.claude/skills/cfn-redis-coordination/invoke-waiting-mode.sh report \
|
|
136
|
-
--task-id "$TASK_ID" \
|
|
137
|
-
--agent-id "$AGENT_ID" \
|
|
138
|
-
--confidence [0.0-1.0] \
|
|
139
|
-
--iteration 1
|
|
140
|
-
```
|
|
115
|
+
**Note:** Coordination instructions are provided when spawned via CLI.
|
|
141
116
|
|