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.
Files changed (98) hide show
  1. package/{claude-assets/agents → .claude/cfn-agents-ignore}/cfn-seo-team/cfn-seo-coordinator.md +410 -414
  2. package/{claude-assets/agents → .claude/cfn-agents-ignore}/cfn-seo-team/competitive-seo-analyst.md +420 -423
  3. package/{claude-assets/agents → .claude/cfn-agents-ignore}/cfn-seo-team/content-atomization-specialist.md +577 -580
  4. package/{claude-assets/agents → .claude/cfn-agents-ignore}/cfn-seo-team/content-seo-strategist.md +242 -245
  5. package/{claude-assets/agents → .claude/cfn-agents-ignore}/cfn-seo-team/eeat-content-auditor.md +386 -389
  6. package/{claude-assets/agents → .claude/cfn-agents-ignore}/cfn-seo-team/geo-optimization-expert.md +266 -269
  7. package/{claude-assets/agents → .claude/cfn-agents-ignore}/cfn-seo-team/link-building-specialist.md +288 -291
  8. package/{claude-assets/agents → .claude/cfn-agents-ignore}/cfn-seo-team/local-seo-optimizer.md +330 -333
  9. package/{claude-assets/agents → .claude/cfn-agents-ignore}/cfn-seo-team/programmatic-seo-engineer.md +241 -244
  10. package/{claude-assets/agents → .claude/cfn-agents-ignore}/cfn-seo-team/schema-markup-engineer.md +427 -430
  11. package/{claude-assets/agents → .claude/cfn-agents-ignore}/cfn-seo-team/seo-analytics-specialist.md +373 -376
  12. package/{claude-assets/agents → .claude/cfn-agents-ignore}/cfn-seo-team/seo-validators/accessibility-validator.md +561 -565
  13. package/{claude-assets/agents → .claude/cfn-agents-ignore}/cfn-seo-team/seo-validators/audience-validator.md +480 -484
  14. package/{claude-assets/agents → .claude/cfn-agents-ignore}/cfn-seo-team/seo-validators/branding-validator.md +448 -452
  15. package/{claude-assets/agents → .claude/cfn-agents-ignore}/cfn-seo-team/seo-validators/humanizer-validator.md +329 -333
  16. package/{claude-assets/agents → .claude/cfn-agents-ignore}/cfn-seo-team/technical-seo-specialist.md +227 -231
  17. package/claude-assets/agents/cfn-dev-team/CLAUDE.md +9 -29
  18. package/claude-assets/agents/cfn-dev-team/analysts/root-cause-analyst.md +1 -4
  19. package/claude-assets/agents/cfn-dev-team/architecture/goal-planner.md +1 -4
  20. package/claude-assets/agents/cfn-dev-team/architecture/planner.md +1 -4
  21. package/claude-assets/agents/cfn-dev-team/architecture/system-architect.md +1 -4
  22. package/claude-assets/agents/cfn-dev-team/coordinators/cfn-frontend-coordinator.md +536 -540
  23. package/claude-assets/agents/cfn-dev-team/coordinators/cfn-v3-coordinator.md +1 -4
  24. package/claude-assets/agents/cfn-dev-team/coordinators/epic-creator.md +1 -5
  25. package/claude-assets/agents/cfn-dev-team/coordinators/multi-sprint-coordinator.md +1 -3
  26. package/claude-assets/agents/cfn-dev-team/dev-ops/devops-engineer.md +1 -5
  27. package/claude-assets/agents/cfn-dev-team/dev-ops/docker-specialist.md +688 -692
  28. package/claude-assets/agents/cfn-dev-team/dev-ops/github-commit-agent.md +113 -117
  29. package/claude-assets/agents/cfn-dev-team/dev-ops/kubernetes-specialist.md +536 -540
  30. package/claude-assets/agents/cfn-dev-team/dev-ops/monitoring-specialist.md +735 -739
  31. package/claude-assets/agents/cfn-dev-team/developers/api-gateway-specialist.md +901 -905
  32. package/claude-assets/agents/cfn-dev-team/developers/backend-developer.md +1 -4
  33. package/claude-assets/agents/cfn-dev-team/developers/data/data-engineer.md +581 -585
  34. package/claude-assets/agents/cfn-dev-team/developers/database/database-architect.md +272 -276
  35. package/claude-assets/agents/cfn-dev-team/developers/frontend/react-frontend-engineer.md +1 -4
  36. package/claude-assets/agents/cfn-dev-team/developers/frontend/typescript-specialist.md +322 -325
  37. package/claude-assets/agents/cfn-dev-team/developers/frontend/ui-designer.md +1 -5
  38. package/claude-assets/agents/cfn-dev-team/developers/graphql-specialist.md +611 -615
  39. package/claude-assets/agents/cfn-dev-team/developers/rust-developer.md +1 -4
  40. package/claude-assets/agents/cfn-dev-team/documentation/pseudocode.md +1 -4
  41. package/claude-assets/agents/cfn-dev-team/documentation/specification-agent.md +1 -4
  42. package/claude-assets/agents/cfn-dev-team/product-owners/accessibility-advocate-persona.md +105 -108
  43. package/claude-assets/agents/cfn-dev-team/product-owners/cto-agent.md +1 -5
  44. package/claude-assets/agents/cfn-dev-team/product-owners/power-user-persona.md +176 -180
  45. package/claude-assets/agents/cfn-dev-team/reviewers/quality/code-quality-validator.md +53 -30
  46. package/claude-assets/agents/cfn-dev-team/reviewers/quality/cyclomatic-complexity-reducer.md +375 -321
  47. package/claude-assets/agents/cfn-dev-team/reviewers/quality/perf-analyzer.md +52 -30
  48. package/claude-assets/agents/cfn-dev-team/reviewers/quality/security-specialist.md +51 -35
  49. package/claude-assets/agents/cfn-dev-team/testers/api-testing-specialist.md +703 -707
  50. package/claude-assets/agents/cfn-dev-team/testers/chaos-engineering-specialist.md +897 -901
  51. package/claude-assets/agents/cfn-dev-team/testers/e2e/playwright-tester.md +1 -5
  52. package/claude-assets/agents/cfn-dev-team/testers/interaction-tester.md +1 -5
  53. package/claude-assets/agents/cfn-dev-team/testers/load-testing-specialist.md +465 -469
  54. package/claude-assets/agents/cfn-dev-team/testers/playwright-tester.md +1 -4
  55. package/claude-assets/agents/cfn-dev-team/testers/tester.md +1 -4
  56. package/claude-assets/agents/cfn-dev-team/testers/unit/tdd-london-unit-swarm.md +1 -5
  57. package/claude-assets/agents/cfn-dev-team/testers/validation/validation-production-validator.md +1 -3
  58. package/claude-assets/agents/cfn-dev-team/testing/test-validation-agent.md +309 -312
  59. package/claude-assets/agents/cfn-dev-team/utility/agent-builder.md +529 -550
  60. package/claude-assets/agents/cfn-dev-team/utility/analyst.md +1 -4
  61. package/claude-assets/agents/cfn-dev-team/utility/claude-code-expert.md +1040 -1043
  62. package/claude-assets/agents/cfn-dev-team/utility/context-curator.md +86 -89
  63. package/claude-assets/agents/cfn-dev-team/utility/memory-leak-specialist.md +753 -757
  64. package/claude-assets/agents/cfn-dev-team/utility/researcher.md +1 -6
  65. package/claude-assets/agents/cfn-dev-team/utility/z-ai-specialist.md +626 -630
  66. package/claude-assets/agents/custom/cfn-system-expert.md +258 -261
  67. package/claude-assets/agents/custom/claude-code-expert.md +141 -144
  68. package/claude-assets/agents/custom/test-mcp-access.md +24 -26
  69. package/claude-assets/agents/project-only-agents/npm-package-specialist.md +343 -347
  70. package/claude-assets/cfn-agents-ignore/cfn-seo-team/AGENT_CREATION_REPORT.md +481 -0
  71. package/claude-assets/cfn-agents-ignore/cfn-seo-team/DELEGATION_MATRIX.md +371 -0
  72. package/claude-assets/cfn-agents-ignore/cfn-seo-team/HUMANIZER_PROMPTS.md +536 -0
  73. package/claude-assets/cfn-agents-ignore/cfn-seo-team/INTEGRATION_REQUIREMENTS.md +642 -0
  74. package/claude-assets/cfn-agents-ignore/cfn-seo-team/cfn-seo-coordinator.md +410 -0
  75. package/claude-assets/cfn-agents-ignore/cfn-seo-team/competitive-seo-analyst.md +420 -0
  76. package/claude-assets/cfn-agents-ignore/cfn-seo-team/content-atomization-specialist.md +577 -0
  77. package/claude-assets/cfn-agents-ignore/cfn-seo-team/content-seo-strategist.md +242 -0
  78. package/claude-assets/cfn-agents-ignore/cfn-seo-team/eeat-content-auditor.md +386 -0
  79. package/claude-assets/cfn-agents-ignore/cfn-seo-team/geo-optimization-expert.md +266 -0
  80. package/claude-assets/cfn-agents-ignore/cfn-seo-team/link-building-specialist.md +288 -0
  81. package/claude-assets/cfn-agents-ignore/cfn-seo-team/local-seo-optimizer.md +330 -0
  82. package/claude-assets/cfn-agents-ignore/cfn-seo-team/programmatic-seo-engineer.md +241 -0
  83. package/claude-assets/cfn-agents-ignore/cfn-seo-team/schema-markup-engineer.md +427 -0
  84. package/claude-assets/cfn-agents-ignore/cfn-seo-team/seo-analytics-specialist.md +373 -0
  85. package/claude-assets/cfn-agents-ignore/cfn-seo-team/seo-validators/accessibility-validator.md +561 -0
  86. package/claude-assets/cfn-agents-ignore/cfn-seo-team/seo-validators/audience-validator.md +480 -0
  87. package/claude-assets/cfn-agents-ignore/cfn-seo-team/seo-validators/branding-validator.md +448 -0
  88. package/claude-assets/cfn-agents-ignore/cfn-seo-team/seo-validators/humanizer-validator.md +329 -0
  89. package/claude-assets/cfn-agents-ignore/cfn-seo-team/technical-seo-specialist.md +227 -0
  90. package/dist/agents/agent-loader.js +467 -133
  91. package/dist/agents/agent-loader.js.map +1 -1
  92. package/dist/cli/config-manager.js +91 -109
  93. package/dist/cli/config-manager.js.map +1 -1
  94. package/package.json +2 -2
  95. /package/{claude-assets/agents → .claude/cfn-agents-ignore}/cfn-seo-team/AGENT_CREATION_REPORT.md +0 -0
  96. /package/{claude-assets/agents → .claude/cfn-agents-ignore}/cfn-seo-team/DELEGATION_MATRIX.md +0 -0
  97. /package/{claude-assets/agents → .claude/cfn-agents-ignore}/cfn-seo-team/HUMANIZER_PROMPTS.md +0 -0
  98. /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
- ## CFN Loop Redis Completion Protocol
194
+ ## ⚠️ CRITICAL: Mode-Specific Completion Protocol (ANTI-023 MEMORY LEAK FIX)
198
195
 
199
- When participating in CFN Loop workflows, agents MUST follow this protocol:
196
+ **First, determine how you were spawned:**
200
197
 
201
- ### Step 1: Complete Work
202
- Execute assigned task (performance analysis, bottleneck detection, optimization recommendations)
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
- ### Step 2: Signal Completion
205
- ```bash
206
- redis-cli lpush "swarm:${TASK_ID}:${AGENT_ID}:done" "complete"
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
- ### Step 3: Report Confidence Score
210
- ```bash
211
- ./.claude/skills/redis-coordination/invoke-waiting-mode.sh report --task-id "$TASK_ID" --agent-id "$AGENT_ID" --confidence [0.0-1.0] --iteration 1
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
- **After reporting, exit cleanly. Do NOT enter waiting mode.**
231
+ ### CLI Mode (Spawned via `npx claude-flow-novice agent-spawn`)
214
232
 
215
- **Why This Matters:**
216
- - Orchestrator collects confidence/consensus scores from Redis
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
- ### Step 4: Enter Waiting Mode (for potential iteration)
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
- - Zero-token blocking coordination (BLPOP waits without API calls)
229
- - Orchestrator collects confidence/consensus scores automatically
230
- - Supports autonomous iteration based on quality gates
231
- - Agent woken instantly (<100ms) if iteration needed
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
- **Context Variables:**
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
- See: `.claude/skills/redis-coordination/SKILL.md` for full protocol details
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
- ## CFN Loop Redis Completion Protocol
132
+ ## ⚠️ CRITICAL: Mode-Specific Completion Protocol (ANTI-023 MEMORY LEAK FIX)
136
133
 
137
- When participating in CFN Loop workflows, agents MUST follow this protocol:
134
+ **First, determine how you were spawned:**
138
135
 
139
- ### Step 1: Complete Work
140
- Execute assigned task (implementation, review, testing, etc.)
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
- ### Step 2: Signal Completion
143
- ```bash
144
- redis-cli lpush "swarm:${TASK_ID}:${AGENT_ID}:done" "complete"
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
- ### Step 3: Report Confidence Score
148
- ```bash
149
- ./.claude/skills/redis-coordination/invoke-waiting-mode.sh report \
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
- **After reporting, exit cleanly. Do NOT enter waiting mode.**
170
+ ### CLI Mode (Spawned via `npx claude-flow-novice agent-spawn`)
152
171
 
153
- **Why This Matters:**
154
- - Orchestrator collects confidence/consensus scores from Redis
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
- --task-id "$TASK_ID" \
160
- --agent-id "$AGENT_ID" \
161
- --confidence [0.0-1.0] \
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
- ### Step 4: Enter Waiting Mode (for potential iteration)
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
- --context "iteration-complete"
185
+ --confidence [0.0-1.0] \
186
+ --iteration 1
170
187
  ```
171
188
 
172
189
  **Why This Matters:**
173
- - Zero-token blocking coordination (BLPOP waits without API calls)
174
- - Orchestrator collects confidence/consensus scores automatically
175
- - Supports autonomous iteration based on quality gates
176
- - Agent woken instantly (<100ms) if iteration needed
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
- **Context Variables:**
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
- See: `.claude/skills/redis-coordination/SKILL.md` for full protocol details
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