claude-flow-novice 2.14.22 → 2.14.25
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-assets/agents → .claude/cfn-agents-ignore}/cfn-seo-team/cfn-seo-coordinator.md +410 -414
- package/{claude-assets/agents → .claude/cfn-agents-ignore}/cfn-seo-team/competitive-seo-analyst.md +420 -423
- package/{claude-assets/agents → .claude/cfn-agents-ignore}/cfn-seo-team/content-atomization-specialist.md +577 -580
- package/{claude-assets/agents → .claude/cfn-agents-ignore}/cfn-seo-team/content-seo-strategist.md +242 -245
- package/{claude-assets/agents → .claude/cfn-agents-ignore}/cfn-seo-team/eeat-content-auditor.md +386 -389
- package/{claude-assets/agents → .claude/cfn-agents-ignore}/cfn-seo-team/geo-optimization-expert.md +266 -269
- package/{claude-assets/agents → .claude/cfn-agents-ignore}/cfn-seo-team/link-building-specialist.md +288 -291
- package/{claude-assets/agents → .claude/cfn-agents-ignore}/cfn-seo-team/local-seo-optimizer.md +330 -333
- package/{claude-assets/agents → .claude/cfn-agents-ignore}/cfn-seo-team/programmatic-seo-engineer.md +241 -244
- package/{claude-assets/agents → .claude/cfn-agents-ignore}/cfn-seo-team/schema-markup-engineer.md +427 -430
- package/{claude-assets/agents → .claude/cfn-agents-ignore}/cfn-seo-team/seo-analytics-specialist.md +373 -376
- package/{claude-assets/agents → .claude/cfn-agents-ignore}/cfn-seo-team/seo-validators/accessibility-validator.md +561 -565
- package/{claude-assets/agents → .claude/cfn-agents-ignore}/cfn-seo-team/seo-validators/audience-validator.md +480 -484
- package/{claude-assets/agents → .claude/cfn-agents-ignore}/cfn-seo-team/seo-validators/branding-validator.md +448 -452
- package/{claude-assets/agents → .claude/cfn-agents-ignore}/cfn-seo-team/seo-validators/humanizer-validator.md +329 -333
- package/{claude-assets/agents → .claude/cfn-agents-ignore}/cfn-seo-team/technical-seo-specialist.md +227 -231
- package/claude-assets/agents/cfn-dev-team/CLAUDE.md +9 -29
- package/claude-assets/agents/cfn-dev-team/analysts/root-cause-analyst.md +1 -4
- package/claude-assets/agents/cfn-dev-team/architecture/goal-planner.md +1 -4
- package/claude-assets/agents/cfn-dev-team/architecture/planner.md +1 -4
- package/claude-assets/agents/cfn-dev-team/architecture/system-architect.md +1 -4
- package/claude-assets/agents/cfn-dev-team/coordinators/cfn-frontend-coordinator.md +536 -540
- package/claude-assets/agents/cfn-dev-team/coordinators/cfn-v3-coordinator.md +1 -4
- package/claude-assets/agents/cfn-dev-team/coordinators/epic-creator.md +1 -5
- package/claude-assets/agents/cfn-dev-team/coordinators/multi-sprint-coordinator.md +1 -3
- package/claude-assets/agents/cfn-dev-team/dev-ops/devops-engineer.md +1 -5
- package/claude-assets/agents/cfn-dev-team/dev-ops/docker-specialist.md +688 -692
- package/claude-assets/agents/cfn-dev-team/dev-ops/github-commit-agent.md +113 -117
- package/claude-assets/agents/cfn-dev-team/dev-ops/kubernetes-specialist.md +536 -540
- package/claude-assets/agents/cfn-dev-team/dev-ops/monitoring-specialist.md +735 -739
- package/claude-assets/agents/cfn-dev-team/developers/api-gateway-specialist.md +901 -905
- package/claude-assets/agents/cfn-dev-team/developers/backend-developer.md +1 -4
- package/claude-assets/agents/cfn-dev-team/developers/data/data-engineer.md +581 -585
- package/claude-assets/agents/cfn-dev-team/developers/database/database-architect.md +272 -276
- package/claude-assets/agents/cfn-dev-team/developers/frontend/react-frontend-engineer.md +1 -4
- package/claude-assets/agents/cfn-dev-team/developers/frontend/typescript-specialist.md +322 -325
- package/claude-assets/agents/cfn-dev-team/developers/frontend/ui-designer.md +1 -5
- package/claude-assets/agents/cfn-dev-team/developers/graphql-specialist.md +611 -615
- package/claude-assets/agents/cfn-dev-team/developers/rust-developer.md +1 -4
- package/claude-assets/agents/cfn-dev-team/documentation/pseudocode.md +1 -4
- package/claude-assets/agents/cfn-dev-team/documentation/specification-agent.md +1 -4
- package/claude-assets/agents/cfn-dev-team/product-owners/accessibility-advocate-persona.md +105 -108
- package/claude-assets/agents/cfn-dev-team/product-owners/cto-agent.md +1 -5
- package/claude-assets/agents/cfn-dev-team/product-owners/power-user-persona.md +176 -180
- package/claude-assets/agents/cfn-dev-team/reviewers/quality/code-quality-validator.md +53 -30
- package/claude-assets/agents/cfn-dev-team/reviewers/quality/cyclomatic-complexity-reducer.md +375 -321
- package/claude-assets/agents/cfn-dev-team/reviewers/quality/perf-analyzer.md +52 -30
- package/claude-assets/agents/cfn-dev-team/reviewers/quality/security-specialist.md +51 -35
- package/claude-assets/agents/cfn-dev-team/testers/api-testing-specialist.md +703 -707
- package/claude-assets/agents/cfn-dev-team/testers/chaos-engineering-specialist.md +897 -901
- package/claude-assets/agents/cfn-dev-team/testers/e2e/playwright-tester.md +1 -5
- package/claude-assets/agents/cfn-dev-team/testers/interaction-tester.md +1 -5
- package/claude-assets/agents/cfn-dev-team/testers/load-testing-specialist.md +465 -469
- package/claude-assets/agents/cfn-dev-team/testers/playwright-tester.md +1 -4
- package/claude-assets/agents/cfn-dev-team/testers/tester.md +1 -4
- package/claude-assets/agents/cfn-dev-team/testers/unit/tdd-london-unit-swarm.md +1 -5
- package/claude-assets/agents/cfn-dev-team/testers/validation/validation-production-validator.md +1 -3
- package/claude-assets/agents/cfn-dev-team/testing/test-validation-agent.md +309 -312
- package/claude-assets/agents/cfn-dev-team/utility/agent-builder.md +529 -550
- package/claude-assets/agents/cfn-dev-team/utility/analyst.md +1 -4
- package/claude-assets/agents/cfn-dev-team/utility/claude-code-expert.md +1040 -1043
- package/claude-assets/agents/cfn-dev-team/utility/context-curator.md +86 -89
- package/claude-assets/agents/cfn-dev-team/utility/memory-leak-specialist.md +753 -757
- package/claude-assets/agents/cfn-dev-team/utility/researcher.md +1 -6
- package/claude-assets/agents/cfn-dev-team/utility/z-ai-specialist.md +626 -630
- package/claude-assets/agents/custom/cfn-system-expert.md +258 -261
- package/claude-assets/agents/custom/claude-code-expert.md +141 -144
- package/claude-assets/agents/custom/test-mcp-access.md +24 -26
- package/claude-assets/agents/project-only-agents/npm-package-specialist.md +343 -347
- package/claude-assets/cfn-agents-ignore/cfn-seo-team/AGENT_CREATION_REPORT.md +481 -0
- package/claude-assets/cfn-agents-ignore/cfn-seo-team/DELEGATION_MATRIX.md +371 -0
- package/claude-assets/cfn-agents-ignore/cfn-seo-team/HUMANIZER_PROMPTS.md +536 -0
- package/claude-assets/cfn-agents-ignore/cfn-seo-team/INTEGRATION_REQUIREMENTS.md +642 -0
- package/claude-assets/cfn-agents-ignore/cfn-seo-team/cfn-seo-coordinator.md +410 -0
- package/claude-assets/cfn-agents-ignore/cfn-seo-team/competitive-seo-analyst.md +420 -0
- package/claude-assets/cfn-agents-ignore/cfn-seo-team/content-atomization-specialist.md +577 -0
- package/claude-assets/cfn-agents-ignore/cfn-seo-team/content-seo-strategist.md +242 -0
- package/claude-assets/cfn-agents-ignore/cfn-seo-team/eeat-content-auditor.md +386 -0
- package/claude-assets/cfn-agents-ignore/cfn-seo-team/geo-optimization-expert.md +266 -0
- package/claude-assets/cfn-agents-ignore/cfn-seo-team/link-building-specialist.md +288 -0
- package/claude-assets/cfn-agents-ignore/cfn-seo-team/local-seo-optimizer.md +330 -0
- package/claude-assets/cfn-agents-ignore/cfn-seo-team/programmatic-seo-engineer.md +241 -0
- package/claude-assets/cfn-agents-ignore/cfn-seo-team/schema-markup-engineer.md +427 -0
- package/claude-assets/cfn-agents-ignore/cfn-seo-team/seo-analytics-specialist.md +373 -0
- package/claude-assets/cfn-agents-ignore/cfn-seo-team/seo-validators/accessibility-validator.md +561 -0
- package/claude-assets/cfn-agents-ignore/cfn-seo-team/seo-validators/audience-validator.md +480 -0
- package/claude-assets/cfn-agents-ignore/cfn-seo-team/seo-validators/branding-validator.md +448 -0
- package/claude-assets/cfn-agents-ignore/cfn-seo-team/seo-validators/humanizer-validator.md +329 -0
- package/claude-assets/cfn-agents-ignore/cfn-seo-team/technical-seo-specialist.md +227 -0
- package/dist/agents/agent-loader.js +467 -133
- package/dist/agents/agent-loader.js.map +1 -1
- package/dist/cli/config-manager.js +91 -109
- package/dist/cli/config-manager.js.map +1 -1
- package/package.json +2 -2
- /package/{claude-assets/agents → .claude/cfn-agents-ignore}/cfn-seo-team/AGENT_CREATION_REPORT.md +0 -0
- /package/{claude-assets/agents → .claude/cfn-agents-ignore}/cfn-seo-team/DELEGATION_MATRIX.md +0 -0
- /package/{claude-assets/agents → .claude/cfn-agents-ignore}/cfn-seo-team/HUMANIZER_PROMPTS.md +0 -0
- /package/{claude-assets/agents → .claude/cfn-agents-ignore}/cfn-seo-team/INTEGRATION_REQUIREMENTS.md +0 -0
|
@@ -1,9 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: perf-analyzer
|
|
3
|
-
description:
|
|
4
|
-
MUST BE USED when analyzing application performance, identifying bottlenecks, profiling code.
|
|
5
|
-
Use PROACTIVELY for performance optimization, load testing, memory analysis.
|
|
6
|
-
Keywords - performance analysis, bottleneck detection, profiling, optimization
|
|
3
|
+
description: MUST BE USED when analyzing application performance, identifying bottlenecks, profiling code. Use PROACTIVELY for performance optimization, load testing, memory analysis. Keywords - performance analysis, bottleneck detection, profiling, optimization
|
|
7
4
|
tools: [Read, Write, Edit, Bash, Glob, Grep, TodoWrite]
|
|
8
5
|
model: haiku
|
|
9
6
|
color: cyan
|
|
@@ -194,45 +191,70 @@ const analyzeLoadTest = (result: LoadTestResult): PerformanceIssue[] => {
|
|
|
194
191
|
- [ ] Results persisted to SQLite
|
|
195
192
|
|
|
196
193
|
Remember: Optimize for highest impact with reasonable effort. Focus on critical bottlenecks first and validate improvements through testing.
|
|
197
|
-
##
|
|
194
|
+
## ⚠️ CRITICAL: Mode-Specific Completion Protocol (ANTI-023 MEMORY LEAK FIX)
|
|
198
195
|
|
|
199
|
-
|
|
196
|
+
**First, determine how you were spawned:**
|
|
200
197
|
|
|
201
|
-
|
|
202
|
-
|
|
198
|
+
**Task Mode (95%):** You were called via `Task("perf-analyzer", "...")` in Main Chat
|
|
199
|
+
- Simply complete your performance analysis and return structured JSON output
|
|
200
|
+
- **❌ DO NOT:** Use Redis commands, execute bash scripts, signal completion via CLI tools
|
|
201
|
+
- Main Chat receives your output automatically
|
|
203
202
|
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
203
|
+
**CLI Mode (5%):** You were spawned via `npx claude-flow-novice agent-spawn ...` command
|
|
204
|
+
- Use Redis signals and completion scripts as outlined below
|
|
205
|
+
|
|
206
|
+
### Task Mode (Spawned via Task() tool in Main Chat)
|
|
207
|
+
|
|
208
|
+
**Simply complete your work and return structured output.**
|
|
209
|
+
|
|
210
|
+
```json
|
|
211
|
+
{
|
|
212
|
+
"confidence": 0.85,
|
|
213
|
+
"status": "COMPLETE|NEEDS_WORK",
|
|
214
|
+
"summary": "Performance analysis completed with X bottlenecks identified",
|
|
215
|
+
"deliverables": ["performance-report.md", "optimization-recommendations.json"],
|
|
216
|
+
"findings": {
|
|
217
|
+
"bottlenecks": 3,
|
|
218
|
+
"optimizations": 5,
|
|
219
|
+
"expected_improvement": "45%"
|
|
220
|
+
}
|
|
221
|
+
}
|
|
207
222
|
```
|
|
208
223
|
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
224
|
+
**❌ FORBIDDEN in Task Mode:**
|
|
225
|
+
- **DO NOT** run `redis-cli` commands
|
|
226
|
+
- **DO NOT** execute `invoke-waiting-mode.sh` scripts
|
|
227
|
+
- **DO NOT** use bash completion scripts
|
|
228
|
+
- **DO NOT** signal completion via CLI tools
|
|
229
|
+
- **Main Chat receives your output automatically - no coordination needed**
|
|
212
230
|
|
|
213
|
-
|
|
231
|
+
### CLI Mode (Spawned via `npx claude-flow-novice agent-spawn`)
|
|
214
232
|
|
|
215
|
-
**
|
|
216
|
-
|
|
217
|
-
- Enables adaptive agent specialization for next iteration
|
|
218
|
-
- Prevents orchestrator blocking on wait $PID
|
|
219
|
-
- Coordinator spawns appropriate specialist based on feedback type
|
|
233
|
+
**Step 1: Complete Work**
|
|
234
|
+
Execute assigned performance analysis (bottleneck detection, optimization recommendations)
|
|
220
235
|
|
|
236
|
+
**Step 2: Signal Completion**
|
|
237
|
+
```bash
|
|
238
|
+
redis-cli lpush "swarm:${TASK_ID}:${AGENT_ID}:done" "complete"
|
|
221
239
|
```
|
|
222
240
|
|
|
223
|
-
|
|
241
|
+
**Step 3: Report Confidence Score and Exit**
|
|
224
242
|
```bash
|
|
243
|
+
./.claude/skills/redis-coordination/invoke-waiting-mode.sh report \
|
|
244
|
+
--task-id "$TASK_ID" \
|
|
245
|
+
--agent-id "$AGENT_ID" \
|
|
246
|
+
--confidence [0.0-1.0] \
|
|
247
|
+
--iteration 1
|
|
225
248
|
```
|
|
226
249
|
|
|
227
250
|
**Why This Matters:**
|
|
228
|
-
-
|
|
229
|
-
-
|
|
230
|
-
-
|
|
231
|
-
-
|
|
251
|
+
- **ANTI-023 MEMORY LEAK:** Task Mode agents attempting CLI commands hang indefinitely
|
|
252
|
+
- Task Mode uses direct JSON output, CLI Mode uses Redis coordination
|
|
253
|
+
- Mixing protocols causes memory leaks and process hanging
|
|
254
|
+
- **Check your spawn method FIRST before using any completion protocol**
|
|
232
255
|
|
|
233
|
-
|
|
234
|
-
- `TASK_ID`: Provided by orchestrator/coordinator
|
|
235
|
-
- `AGENT_ID`: Your unique agent identifier (e.g., "perf-analyzer-1")
|
|
236
|
-
- Confidence: Self-assessment score based on analysis depth and actionability (0.0-1.0)
|
|
256
|
+
### How to Tell Which Mode You're In
|
|
237
257
|
|
|
238
|
-
|
|
258
|
+
- **Task Mode**: You see a direct task assignment in Main Chat context
|
|
259
|
+
- **CLI Mode**: You have TASK_ID and AGENT_ID environment variables
|
|
260
|
+
- **When in doubt, assume Task Mode and return structured JSON output**
|
|
@@ -2,10 +2,7 @@
|
|
|
2
2
|
name: security-specialist
|
|
3
3
|
type: validator
|
|
4
4
|
color: "#D32F2F"
|
|
5
|
-
description:
|
|
6
|
-
MUST BE USED when conducting security audits, vulnerability assessments, penetration testing, or implementing security controls.
|
|
7
|
-
PROACTIVELY validates threat models, security architecture, cryptographic implementations, Zero Trust deployment.
|
|
8
|
-
Keywords - security audit, vulnerability, threat model, penetration test, encryption, authentication, CVE, OWASP
|
|
5
|
+
description: MUST BE USED when conducting security audits, vulnerability assessments, penetration testing, or implementing security controls. PROACTIVELY validates threat models, security architecture, cryptographic implementations, Zero Trust deployment. Keywords - security audit, vulnerability, threat model, penetration test, encryption, authentication, CVE, OWASP
|
|
9
6
|
tools: [Read, Write, Edit, Bash, Grep, Glob, TodoWrite]
|
|
10
7
|
model: haiku
|
|
11
8
|
priority: critical
|
|
@@ -132,55 +129,74 @@ await redis.publish('swarm:security:critical', {
|
|
|
132
129
|
- Security code review
|
|
133
130
|
- Penetration testing scenarios
|
|
134
131
|
|
|
135
|
-
##
|
|
132
|
+
## ⚠️ CRITICAL: Mode-Specific Completion Protocol (ANTI-023 MEMORY LEAK FIX)
|
|
136
133
|
|
|
137
|
-
|
|
134
|
+
**First, determine how you were spawned:**
|
|
138
135
|
|
|
139
|
-
|
|
140
|
-
|
|
136
|
+
**Task Mode (95%):** You were called via `Task("security-specialist", "...")` in Main Chat
|
|
137
|
+
- Simply complete your security audit and return structured JSON output
|
|
138
|
+
- **❌ DO NOT:** Use Redis commands, execute bash scripts, signal completion via CLI tools
|
|
139
|
+
- Main Chat receives your output automatically
|
|
141
140
|
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
141
|
+
**CLI Mode (5%):** You were spawned via `npx claude-flow-novice agent-spawn ...` command
|
|
142
|
+
- Use Redis signals and completion scripts as outlined below
|
|
143
|
+
|
|
144
|
+
### Task Mode (Spawned via Task() tool in Main Chat)
|
|
145
|
+
|
|
146
|
+
**Simply complete your work and return structured output.**
|
|
147
|
+
|
|
148
|
+
```json
|
|
149
|
+
{
|
|
150
|
+
"confidence": 0.85,
|
|
151
|
+
"status": "COMPLETE|NEEDS_WORK",
|
|
152
|
+
"summary": "Security audit completed with X findings",
|
|
153
|
+
"deliverables": ["security-report.md", "vulnerability-scan.json"],
|
|
154
|
+
"findings": {
|
|
155
|
+
"critical": 0,
|
|
156
|
+
"high": 2,
|
|
157
|
+
"medium": 5,
|
|
158
|
+
"low": 3
|
|
159
|
+
}
|
|
160
|
+
}
|
|
145
161
|
```
|
|
146
162
|
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
163
|
+
**❌ FORBIDDEN in Task Mode:**
|
|
164
|
+
- **DO NOT** run `redis-cli` commands
|
|
165
|
+
- **DO NOT** execute `invoke-waiting-mode.sh` scripts
|
|
166
|
+
- **DO NOT** use bash completion scripts
|
|
167
|
+
- **DO NOT** signal completion via CLI tools
|
|
168
|
+
- **Main Chat receives your output automatically - no coordination needed**
|
|
150
169
|
|
|
151
|
-
|
|
170
|
+
### CLI Mode (Spawned via `npx claude-flow-novice agent-spawn`)
|
|
152
171
|
|
|
153
|
-
**
|
|
154
|
-
|
|
155
|
-
- Enables adaptive agent specialization for next iteration
|
|
156
|
-
- Prevents orchestrator blocking on wait $PID
|
|
157
|
-
- Coordinator spawns appropriate specialist based on feedback type
|
|
172
|
+
**Step 1: Complete Work**
|
|
173
|
+
Execute assigned security audit (vulnerability assessment, threat modeling, etc.)
|
|
158
174
|
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
--iteration 1
|
|
175
|
+
**Step 2: Signal Completion**
|
|
176
|
+
```bash
|
|
177
|
+
redis-cli lpush "swarm:${TASK_ID}:${AGENT_ID}:done" "complete"
|
|
163
178
|
```
|
|
164
179
|
|
|
165
|
-
|
|
180
|
+
**Step 3: Report Confidence Score and Exit**
|
|
166
181
|
```bash
|
|
182
|
+
./.claude/skills/cfn-redis-coordination/invoke-waiting-mode.sh report \
|
|
167
183
|
--task-id "$TASK_ID" \
|
|
168
184
|
--agent-id "$AGENT_ID" \
|
|
169
|
-
--
|
|
185
|
+
--confidence [0.0-1.0] \
|
|
186
|
+
--iteration 1
|
|
170
187
|
```
|
|
171
188
|
|
|
172
189
|
**Why This Matters:**
|
|
173
|
-
-
|
|
174
|
-
-
|
|
175
|
-
-
|
|
176
|
-
-
|
|
190
|
+
- **ANTI-023 MEMORY LEAK:** Task Mode agents attempting CLI commands hang indefinitely
|
|
191
|
+
- Task Mode uses direct JSON output, CLI Mode uses Redis coordination
|
|
192
|
+
- Mixing protocols causes memory leaks and process hanging
|
|
193
|
+
- **Check your spawn method FIRST before using any completion protocol**
|
|
177
194
|
|
|
178
|
-
|
|
179
|
-
- `TASK_ID`: Provided by orchestrator/coordinator
|
|
180
|
-
- `AGENT_ID`: Your unique agent identifier (e.g., "coder-1", "reviewer-2")
|
|
181
|
-
- Confidence: Your self-assessment score (0.0-1.0)
|
|
195
|
+
### How to Tell Which Mode You're In
|
|
182
196
|
|
|
183
|
-
|
|
197
|
+
- **Task Mode**: You see a direct task assignment in Main Chat context
|
|
198
|
+
- **CLI Mode**: You have TASK_ID and AGENT_ID environment variables
|
|
199
|
+
- **When in doubt, assume Task Mode and return structured JSON output**
|
|
184
200
|
|
|
185
201
|
## Success Metrics
|
|
186
202
|
|