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.
Files changed (164) hide show
  1. package/.claude/cfn-agents-ignore/cfn-seo-team/AGENT_CREATION_REPORT.md +4 -14
  2. package/.claude/cfn-agents-ignore/cfn-seo-team/AGENT_CREATION_REPORT.md.backup +481 -0
  3. package/.claude/cfn-agents-ignore/cfn-seo-team/DELEGATION_MATRIX.md +3 -4
  4. package/.claude/cfn-agents-ignore/cfn-seo-team/DELEGATION_MATRIX.md.backup +371 -0
  5. package/.claude/cfn-agents-ignore/cfn-seo-team/INTEGRATION_REQUIREMENTS.md +20 -26
  6. package/.claude/cfn-agents-ignore/cfn-seo-team/INTEGRATION_REQUIREMENTS.md.backup +637 -0
  7. package/.claude/cfn-agents-ignore/cfn-seo-team/cfn-seo-coordinator.md +295 -50
  8. package/.claude/cfn-agents-ignore/cfn-seo-team/cfn-seo-coordinator.md.backup +398 -0
  9. package/.claude/cfn-agents-ignore/cfn-seo-team/competitive-seo-analyst.md +27 -25
  10. package/.claude/cfn-agents-ignore/cfn-seo-team/competitive-seo-analyst.md.backup +401 -0
  11. package/.claude/cfn-agents-ignore/cfn-seo-team/content-atomization-specialist.md +5 -106
  12. package/.claude/cfn-agents-ignore/cfn-seo-team/content-atomization-specialist.md.backup +552 -0
  13. package/.claude/cfn-agents-ignore/cfn-seo-team/content-seo-strategist.md +5 -25
  14. package/.claude/cfn-agents-ignore/cfn-seo-team/content-seo-strategist.md.backup +223 -0
  15. package/.claude/cfn-agents-ignore/cfn-seo-team/eeat-content-auditor.md +5 -27
  16. package/.claude/cfn-agents-ignore/cfn-seo-team/eeat-content-auditor.md.backup +367 -0
  17. package/.claude/cfn-agents-ignore/cfn-seo-team/geo-optimization-expert.md +5 -27
  18. package/.claude/cfn-agents-ignore/cfn-seo-team/geo-optimization-expert.md.backup +247 -0
  19. package/.claude/cfn-agents-ignore/cfn-seo-team/link-building-specialist.md +5 -27
  20. package/.claude/cfn-agents-ignore/cfn-seo-team/link-building-specialist.md.backup +269 -0
  21. package/.claude/cfn-agents-ignore/cfn-seo-team/local-seo-optimizer.md +5 -25
  22. package/.claude/cfn-agents-ignore/cfn-seo-team/local-seo-optimizer.md.backup +311 -0
  23. package/.claude/cfn-agents-ignore/cfn-seo-team/programmatic-seo-engineer.md +6 -26
  24. package/.claude/cfn-agents-ignore/cfn-seo-team/programmatic-seo-engineer.md.backup +222 -0
  25. package/.claude/cfn-agents-ignore/cfn-seo-team/schema-markup-engineer.md +5 -25
  26. package/.claude/cfn-agents-ignore/cfn-seo-team/schema-markup-engineer.md.backup +408 -0
  27. package/.claude/cfn-agents-ignore/cfn-seo-team/seo-analytics-specialist.md +6 -26
  28. package/.claude/cfn-agents-ignore/cfn-seo-team/seo-analytics-specialist.md.backup +354 -0
  29. package/.claude/cfn-agents-ignore/cfn-seo-team/seo-validators/accessibility-validator.md +4 -4
  30. package/.claude/cfn-agents-ignore/cfn-seo-team/seo-validators/accessibility-validator.md.backup +561 -0
  31. package/.claude/cfn-agents-ignore/cfn-seo-team/seo-validators/audience-validator.md +2 -2
  32. package/.claude/cfn-agents-ignore/cfn-seo-team/seo-validators/audience-validator.md.backup +480 -0
  33. package/.claude/cfn-agents-ignore/cfn-seo-team/seo-validators/branding-validator.md +1 -1
  34. package/.claude/cfn-agents-ignore/cfn-seo-team/seo-validators/branding-validator.md.backup +448 -0
  35. package/.claude/cfn-agents-ignore/cfn-seo-team/seo-validators/humanizer-validator.md +2 -2
  36. package/.claude/cfn-agents-ignore/cfn-seo-team/seo-validators/humanizer-validator.md.backup +329 -0
  37. package/.claude/cfn-agents-ignore/cfn-seo-team/technical-seo-specialist.md +361 -199
  38. package/.claude/cfn-agents-ignore/cfn-seo-team/technical-seo-specialist.md.backup +208 -0
  39. package/.claude/commands/CFN_LOOP_TASK_MODE.md +100 -11
  40. package/.claude/commands/cfn-mode.md +2 -2
  41. package/.claude/skills/cfn-agent-spawning/spawn-agent.sh +12 -0
  42. package/.claude/skills/cfn-agent-spawning/spawn-agent.sh.backup +273 -0
  43. package/.claude/skills/cfn-hybrid-routing/README.md +1 -1
  44. package/.claude/skills/cfn-loop-orchestration/orchestrate.sh +95 -15
  45. package/.claude/skills/cfn-loop-orchestration/orchestrate.sh.backup +76 -11
  46. package/.claude/skills/cfn-loop-orchestration/orchestrate.sh.backup2 +959 -0
  47. package/.claude/skills/cfn-loop-orchestration/orchestrate.sh.clean +949 -0
  48. package/.claude/skills/cfn-product-owner-decision/execute-decision.sh +82 -10
  49. package/claude-assets/agents/cfn-dev-team/CLAUDE.md +24 -14
  50. package/claude-assets/agents/cfn-dev-team/architecture/api-designer-persona.md +0 -7
  51. package/claude-assets/agents/cfn-dev-team/architecture/base-template-generator.md +12 -38
  52. package/claude-assets/agents/cfn-dev-team/architecture/goal-planner.md +0 -10
  53. package/claude-assets/agents/cfn-dev-team/architecture/planner.md +7 -57
  54. package/claude-assets/agents/cfn-dev-team/architecture/system-architect.md +8 -45
  55. package/claude-assets/agents/cfn-dev-team/coordinators/cfn-frontend-coordinator.md +365 -25
  56. package/claude-assets/agents/cfn-dev-team/coordinators/cfn-v3-coordinator.md +504 -448
  57. package/claude-assets/agents/cfn-dev-team/coordinators/consensus-builder.md +428 -167
  58. package/claude-assets/agents/cfn-dev-team/coordinators/multi-sprint-coordinator.md +472 -20
  59. package/claude-assets/agents/cfn-dev-team/dev-ops/devops-engineer.md +5 -5
  60. package/claude-assets/agents/cfn-dev-team/dev-ops/docker-specialist.md +5 -7
  61. package/claude-assets/agents/cfn-dev-team/dev-ops/kubernetes-specialist.md +0 -6
  62. package/claude-assets/agents/cfn-dev-team/dev-ops/monitoring-specialist.md +3 -3
  63. package/claude-assets/agents/cfn-dev-team/developers/api-gateway-specialist.md +13 -14
  64. package/claude-assets/agents/cfn-dev-team/developers/data/data-engineer.md +0 -6
  65. package/claude-assets/agents/cfn-dev-team/developers/database/database-architect.md +2 -2
  66. package/claude-assets/agents/cfn-dev-team/developers/frontend/mobile-dev.md +10 -56
  67. package/claude-assets/agents/cfn-dev-team/developers/frontend/typescript-specialist.md +7 -26
  68. package/claude-assets/agents/cfn-dev-team/developers/rust-developer.md +8 -48
  69. package/claude-assets/agents/cfn-dev-team/documentation/api-documentation.md +1 -1
  70. package/claude-assets/agents/cfn-dev-team/documentation/pseudocode.md +3 -11
  71. package/claude-assets/agents/cfn-dev-team/documentation/specification-agent.md +6 -16
  72. package/claude-assets/agents/cfn-dev-team/product-owners/cto-agent.md +7 -19
  73. package/claude-assets/agents/cfn-dev-team/product-owners/power-user-persona.md +9 -49
  74. package/claude-assets/agents/cfn-dev-team/product-owners/product-owner.md +291 -86
  75. package/claude-assets/agents/cfn-dev-team/reviewers/quality/code-quality-validator.md +9 -81
  76. package/claude-assets/agents/cfn-dev-team/reviewers/quality/cyclomatic-complexity-reducer.md +4 -64
  77. package/claude-assets/agents/cfn-dev-team/reviewers/quality/perf-analyzer.md +7 -87
  78. package/claude-assets/agents/cfn-dev-team/reviewers/quality/performance-benchmarker.md +8 -12
  79. package/claude-assets/agents/cfn-dev-team/reviewers/quality/security-specialist.md +11 -129
  80. package/claude-assets/agents/cfn-dev-team/reviewers/reviewer.md +231 -280
  81. package/claude-assets/agents/cfn-dev-team/testers/api-testing-specialist.md +0 -6
  82. package/claude-assets/agents/cfn-dev-team/testers/chaos-engineering-specialist.md +0 -6
  83. package/claude-assets/agents/cfn-dev-team/testers/e2e/playwright-tester.md +7 -32
  84. package/claude-assets/agents/cfn-dev-team/testers/interaction-tester.md +9 -47
  85. package/claude-assets/agents/cfn-dev-team/testers/load-testing-specialist.md +0 -6
  86. package/claude-assets/agents/cfn-dev-team/testers/playwright-tester.md +12 -28
  87. package/claude-assets/agents/cfn-dev-team/testers/tester.md +167 -236
  88. package/claude-assets/agents/cfn-dev-team/testers/unit/tdd-london-unit-swarm.md +7 -27
  89. package/claude-assets/agents/cfn-dev-team/testers/validation/validation-production-validator.md +7 -19
  90. package/claude-assets/agents/cfn-dev-team/testing/test-validation-agent.md +10 -47
  91. package/claude-assets/agents/cfn-dev-team/utility/agent-builder.md +40 -116
  92. package/claude-assets/agents/cfn-dev-team/utility/analyst.md +7 -47
  93. package/claude-assets/agents/cfn-dev-team/utility/code-booster.md +7 -40
  94. package/claude-assets/agents/cfn-dev-team/utility/context-curator.md +7 -47
  95. package/claude-assets/agents/cfn-dev-team/{coordinators → utility}/epic-creator.md +29 -0
  96. package/claude-assets/cfn-agents-ignore/cfn-seo-team/AGENT_CREATION_REPORT.md +4 -14
  97. package/claude-assets/cfn-agents-ignore/cfn-seo-team/AGENT_CREATION_REPORT.md.backup +481 -0
  98. package/claude-assets/cfn-agents-ignore/cfn-seo-team/DELEGATION_MATRIX.md +3 -4
  99. package/claude-assets/cfn-agents-ignore/cfn-seo-team/DELEGATION_MATRIX.md.backup +371 -0
  100. package/claude-assets/cfn-agents-ignore/cfn-seo-team/INTEGRATION_REQUIREMENTS.md +20 -26
  101. package/claude-assets/cfn-agents-ignore/cfn-seo-team/INTEGRATION_REQUIREMENTS.md.backup +637 -0
  102. package/claude-assets/cfn-agents-ignore/cfn-seo-team/cfn-seo-coordinator.md +295 -50
  103. package/claude-assets/cfn-agents-ignore/cfn-seo-team/cfn-seo-coordinator.md.backup +398 -0
  104. package/claude-assets/cfn-agents-ignore/cfn-seo-team/competitive-seo-analyst.md +27 -25
  105. package/claude-assets/cfn-agents-ignore/cfn-seo-team/competitive-seo-analyst.md.backup +401 -0
  106. package/claude-assets/cfn-agents-ignore/cfn-seo-team/content-atomization-specialist.md +5 -106
  107. package/claude-assets/cfn-agents-ignore/cfn-seo-team/content-atomization-specialist.md.backup +552 -0
  108. package/claude-assets/cfn-agents-ignore/cfn-seo-team/content-seo-strategist.md +5 -25
  109. package/claude-assets/cfn-agents-ignore/cfn-seo-team/content-seo-strategist.md.backup +223 -0
  110. package/claude-assets/cfn-agents-ignore/cfn-seo-team/eeat-content-auditor.md +5 -27
  111. package/claude-assets/cfn-agents-ignore/cfn-seo-team/eeat-content-auditor.md.backup +367 -0
  112. package/claude-assets/cfn-agents-ignore/cfn-seo-team/geo-optimization-expert.md +5 -27
  113. package/claude-assets/cfn-agents-ignore/cfn-seo-team/geo-optimization-expert.md.backup +247 -0
  114. package/claude-assets/cfn-agents-ignore/cfn-seo-team/link-building-specialist.md +5 -27
  115. package/claude-assets/cfn-agents-ignore/cfn-seo-team/link-building-specialist.md.backup +269 -0
  116. package/claude-assets/cfn-agents-ignore/cfn-seo-team/local-seo-optimizer.md +5 -25
  117. package/claude-assets/cfn-agents-ignore/cfn-seo-team/local-seo-optimizer.md.backup +311 -0
  118. package/claude-assets/cfn-agents-ignore/cfn-seo-team/programmatic-seo-engineer.md +6 -26
  119. package/claude-assets/cfn-agents-ignore/cfn-seo-team/programmatic-seo-engineer.md.backup +222 -0
  120. package/claude-assets/cfn-agents-ignore/cfn-seo-team/schema-markup-engineer.md +5 -25
  121. package/claude-assets/cfn-agents-ignore/cfn-seo-team/schema-markup-engineer.md.backup +408 -0
  122. package/claude-assets/cfn-agents-ignore/cfn-seo-team/seo-analytics-specialist.md +6 -26
  123. package/claude-assets/cfn-agents-ignore/cfn-seo-team/seo-analytics-specialist.md.backup +354 -0
  124. package/claude-assets/cfn-agents-ignore/cfn-seo-team/seo-validators/accessibility-validator.md +4 -4
  125. package/claude-assets/cfn-agents-ignore/cfn-seo-team/seo-validators/accessibility-validator.md.backup +561 -0
  126. package/claude-assets/cfn-agents-ignore/cfn-seo-team/seo-validators/audience-validator.md +2 -2
  127. package/claude-assets/cfn-agents-ignore/cfn-seo-team/seo-validators/audience-validator.md.backup +480 -0
  128. package/claude-assets/cfn-agents-ignore/cfn-seo-team/seo-validators/branding-validator.md +1 -1
  129. package/claude-assets/cfn-agents-ignore/cfn-seo-team/seo-validators/branding-validator.md.backup +448 -0
  130. package/claude-assets/cfn-agents-ignore/cfn-seo-team/seo-validators/humanizer-validator.md +2 -2
  131. package/claude-assets/cfn-agents-ignore/cfn-seo-team/seo-validators/humanizer-validator.md.backup +329 -0
  132. package/claude-assets/cfn-agents-ignore/cfn-seo-team/technical-seo-specialist.md +361 -199
  133. package/claude-assets/cfn-agents-ignore/cfn-seo-team/technical-seo-specialist.md.backup +208 -0
  134. package/claude-assets/commands/CFN_LOOP_TASK_MODE.md +100 -11
  135. package/claude-assets/commands/cfn-mode.md +2 -2
  136. package/claude-assets/skills/cfn-agent-spawning/spawn-agent.sh +12 -0
  137. package/claude-assets/skills/cfn-agent-spawning/spawn-agent.sh.backup +273 -0
  138. package/claude-assets/skills/cfn-environment-sanitization/SKILL.md +200 -0
  139. package/claude-assets/skills/cfn-environment-sanitization/sanitize-environment.sh +244 -0
  140. package/claude-assets/skills/cfn-hybrid-routing/README.md +1 -1
  141. package/claude-assets/skills/cfn-loop-orchestration/orchestrate.sh +95 -15
  142. package/claude-assets/skills/cfn-loop-orchestration/orchestrate.sh.backup +76 -11
  143. package/claude-assets/skills/cfn-loop-orchestration/orchestrate.sh.backup2 +959 -0
  144. package/claude-assets/skills/cfn-loop-orchestration/orchestrate.sh.clean +949 -0
  145. package/claude-assets/skills/cfn-node-heap-sizer/task-mode-heap-limiter.sh +326 -0
  146. package/claude-assets/skills/cfn-process-instrumentation/SKILL.md +279 -0
  147. package/claude-assets/skills/cfn-process-instrumentation/instrument-process.sh +323 -0
  148. package/claude-assets/skills/cfn-product-owner-decision/execute-decision.sh +82 -10
  149. package/claude-assets/skills/cfn-task-audit/get-audit-data.sh +376 -0
  150. package/claude-assets/skills/cfn-task-audit/store-task-audit.sh +184 -0
  151. package/claude-assets/skills/cfn-task-mode-safety/cli-coordination.sh +519 -0
  152. package/claude-assets/skills/cfn-task-mode-safety/mode-detection.sh +326 -0
  153. package/claude-assets/skills/cfn-task-mode-sanitize/task-mode-env-sanitizer.sh +224 -0
  154. package/claude-assets/skills/cfn-telemetry/collect-metrics.sh +249 -0
  155. package/claude-assets/skills/cfn-telemetry/start-telemetry.sh +111 -0
  156. package/claude-assets/skills/cfn-validation-runner-instrumentation/wrapped-executor.sh +327 -0
  157. package/dist/agents/agent-loader.js +146 -165
  158. package/dist/agents/agent-loader.js.map +1 -1
  159. package/dist/cli/config-manager.js +109 -91
  160. package/dist/cli/config-manager.js.map +1 -1
  161. package/package.json +1 -1
  162. package/scripts/mode-detection.sh +321 -0
  163. package/scripts/spawn-worker.sh +8 -0
  164. package/scripts/track-zai-costs-simple.sh +8 -0
@@ -40,52 +40,15 @@ Specialized reviewer agent focused on validating test results, analyzing coverag
40
40
  - Validate mock/stub correctness
41
41
  - Check for race conditions in async tests
42
42
 
43
- ## CFN Loop Redis Completion Protocol
43
+ ## Completion Protocol
44
44
 
45
- When participating in CFN Loop workflows, agents MUST follow this protocol:
45
+ Complete your work and provide a structured response with:
46
+ - Confidence score (0.0-1.0) based on work quality
47
+ - Summary of analysis/review completed
48
+ - List of findings or deliverables
49
+ - Any recommendations made
46
50
 
47
- ### Step 1: Complete Work
48
- Execute test validation analysis:
49
- - Read test output files
50
- - Parse coverage reports
51
- - Analyze test quality metrics
52
- - Document findings in structured format
53
-
54
- ### Step 2: Signal Completion
55
- ```bash
56
- redis-cli lpush "swarm:${TASK_ID}:${AGENT_ID}:done" "complete"
57
- ```
58
-
59
- ### Step 3: Report Confidence Score and Exit
60
- ```bash
61
- ./.claude/skills/cfn-redis-coordination/invoke-waiting-mode.sh report \
62
- --task-id "$TASK_ID" \
63
- --agent-id "$AGENT_ID" \
64
- --confidence [0.0-1.0] \
65
- --iteration 1
66
- ```
67
-
68
- **After reporting, exit cleanly. Do NOT enter waiting mode.**
69
-
70
- **Why This Matters:**
71
- - Orchestrator collects confidence/consensus scores from Redis
72
- - Enables adaptive agent specialization for next iteration
73
- - Prevents orchestrator blocking on wait $PID
74
- - Coordinator spawns appropriate specialist based on feedback type
75
-
76
- **Context Variables:**
77
- - `TASK_ID`: Provided by orchestrator/coordinator
78
- - `AGENT_ID`: Your unique agent identifier (e.g., "test-validation-agent-1")
79
- - Confidence: Self-assessment score (0.0-1.0) based on validation completeness
80
-
81
- **Confidence Scoring Criteria:**
82
- - 0.95-1.0: All tests pass, coverage meets criteria, no quality issues
83
- - 0.85-0.94: Minor issues detected, coverage adequate, tests reliable
84
- - 0.75-0.84: Moderate issues, coverage gaps exist, some test improvements needed
85
- - 0.60-0.74: Significant issues, coverage below threshold, quality concerns
86
- - Below 0.60: Critical failures, inadequate coverage, major quality problems
87
-
88
- See: `.claude/skills/cfn-redis-coordination/SKILL.md` for full protocol details
51
+ **Note:** Coordination instructions are provided when spawned via CLI.
89
52
 
90
53
  ## Validation Workflow
91
54
 
@@ -297,9 +260,9 @@ When spawned by orchestrator, receives:
297
260
  ```
298
261
 
299
262
  ### Traceability
300
- - All validation steps logged to SQLite
301
- - Redis coordination events tracked
302
- - Report artifacts stored with task_id reference
263
+ - All validation steps documented in reports
264
+ - Test analysis findings clearly categorized
265
+ - Validation artifacts organized for review
303
266
 
304
267
  ## Contributing
305
268
 
@@ -22,9 +22,9 @@ You are a specialized agent for creating, validating, and designing agent templa
22
22
 
23
23
  2. **CFN Loop Integration**
24
24
  - Design coordination patterns for multi-agent workflows
25
- - Create proper Redis completion protocol sections
25
+ - Create clear completion and reporting protocols
26
26
  - Map agent interactions and dependencies
27
- - Ensure agents follow 3-step completion pattern
27
+ - Ensure agents follow structured completion patterns
28
28
 
29
29
  3. **Template Validation**
30
30
  - Verify YAML frontmatter formatting
@@ -95,46 +95,20 @@ description: MUST BE USED when specific use case. Keywords - relevant, terms
95
95
  description: MUST BE USED when [primary use case]. Use PROACTIVELY for [secondary scenarios]. Keywords - [searchable, terms, for, discovery]
96
96
  ```
97
97
 
98
- ## CFN Loop Redis Completion Protocol
98
+ ## Agent Completion Protocol
99
99
 
100
- When creating agent templates, MUST include this exact protocol section:
100
+ When creating agent templates, include this standardized completion section:
101
101
 
102
102
  ```markdown
103
- ## CFN Loop Redis Completion Protocol
103
+ ## Completion Protocol
104
104
 
105
- When participating in CFN Loop workflows, agents MUST follow this protocol:
105
+ Complete your work and provide a structured response with:
106
+ - Confidence score (0.0-1.0) based on work quality
107
+ - Summary of analysis/review completed
108
+ - List of findings or deliverables
109
+ - Any recommendations made
106
110
 
107
- ### Step 1: Complete Work
108
- Execute assigned task (describe agent's specific task type here)
109
-
110
- ### Step 2: Signal Completion
111
- \```bash
112
- redis-cli lpush "swarm:${TASK_ID}:${AGENT_ID}:done" "complete"
113
- \```
114
-
115
- ### Step 3: Report Confidence Score and Exit
116
- \```bash
117
- ./.claude/skills/cfn-redis-coordination/invoke-waiting-mode.sh report \
118
- --task-id "$TASK_ID" \
119
- --agent-id "$AGENT_ID" \
120
- --confidence [0.0-1.0] \
121
- --iteration 1
122
- \```
123
-
124
- **After reporting, exit cleanly. Do NOT enter waiting mode.**
125
-
126
- **Why This Matters:**
127
- - Orchestrator collects confidence/consensus scores from Redis
128
- - Enables adaptive agent specialization for next iteration
129
- - Prevents orchestrator blocking on wait $PID
130
- - Coordinator spawns appropriate specialist based on feedback type
131
-
132
- **Context Variables:**
133
- - \`TASK_ID\`: Provided by orchestrator/coordinator
134
- - \`AGENT_ID\`: Your unique agent identifier (e.g., "agent-name-1")
135
- - Confidence: Self-assessment score (0.0-1.0) - explain agent-specific criteria
136
-
137
- See: \`.claude/skills/cfn-redis-coordination/SKILL.md\` for full protocol details
111
+ **Note:** Coordination instructions are provided when spawned via CLI.
138
112
  ```
139
113
 
140
114
  ---
@@ -231,28 +205,15 @@ You implement REST API endpoints following best practices and OpenAPI specificat
231
205
  - Update OpenAPI spec
232
206
  - Generate API docs
233
207
 
234
- ## CFN Loop Redis Completion Protocol
208
+ ## Completion Protocol
235
209
 
236
- When participating in CFN Loop workflows, agents MUST follow this protocol:
210
+ Complete your work and provide a structured response with:
211
+ - Confidence score (0.0-1.0) based on work quality
212
+ - Summary of analysis/review completed
213
+ - List of findings or deliverables
214
+ - Any recommendations made
237
215
 
238
- ### Step 1: Complete Work
239
- Implement API endpoints with tests and documentation
240
-
241
- ### Step 2: Signal Completion
242
- \```bash
243
- redis-cli lpush "swarm:${TASK_ID}:${AGENT_ID}:done" "complete"
244
- \```
245
-
246
- ### Step 3: Report Confidence Score and Exit
247
- \```bash
248
- ./.claude/skills/cfn-redis-coordination/invoke-waiting-mode.sh report \
249
- --task-id "$TASK_ID" \
250
- --agent-id "$AGENT_ID" \
251
- --confidence [0.0-1.0] \
252
- --iteration 1
253
- \```
254
-
255
- **After reporting, exit cleanly. Do NOT enter waiting mode.**
216
+ **Note:** Coordination instructions are provided when spawned via CLI.
256
217
 
257
218
  ## Success Metrics
258
219
  - All endpoints tested
@@ -325,28 +286,15 @@ You review code for security vulnerabilities and compliance issues.
325
286
  - [Suggestion]
326
287
  - Benefit: [security improvement]
327
288
 
328
- ## CFN Loop Redis Completion Protocol
329
-
330
- When participating in CFN Loop workflows, agents MUST follow this protocol:
331
-
332
- ### Step 1: Complete Work
333
- Perform security review and generate findings
289
+ ## Completion Protocol
334
290
 
335
- ### Step 2: Signal Completion
336
- \```bash
337
- redis-cli lpush "swarm:${TASK_ID}:${AGENT_ID}:done" "complete"
338
- \```
291
+ Complete your work and provide a structured response with:
292
+ - Confidence score (0.0-1.0) based on work quality
293
+ - Summary of analysis/review completed
294
+ - List of findings or deliverables
295
+ - Any recommendations made
339
296
 
340
- ### Step 3: Report Confidence Score and Exit
341
- \```bash
342
- ./.claude/skills/cfn-redis-coordination/invoke-waiting-mode.sh report \
343
- --task-id "$TASK_ID" \
344
- --agent-id "$AGENT_ID" \
345
- --confidence [0.0-1.0] \
346
- --iteration 1
347
- \```
348
-
349
- **After reporting, exit cleanly. Do NOT enter waiting mode.**
297
+ **Note:** Coordination instructions are provided when spawned via CLI.
350
298
 
351
299
  ## Success Metrics
352
300
  - Zero critical vulnerabilities
@@ -386,9 +334,9 @@ You coordinate multiple agents to implement complex features.
386
334
  - Set success criteria
387
335
 
388
336
  2. **Implementation Phase** (Loop 3)
389
- - Spawn implementer agents via CLI
390
- - Monitor progress via Redis
391
- - Collect confidence scores
337
+ - Coordinate implementer agents
338
+ - Track progress and collect feedback
339
+ - Gather confidence scores for evaluation
392
340
 
393
341
  3. **Validation Phase** (Loop 2)
394
342
  - Spawn validator agents
@@ -402,49 +350,25 @@ You coordinate multiple agents to implement complex features.
402
350
 
403
351
  ## Agent Spawning Pattern
404
352
 
405
- \```bash
353
+ Use CLI spawning commands and let the coordination system handle the workflow:
354
+
355
+ ```bash
406
356
  # Spawn implementers
407
357
  npx claude-flow-novice agent-spawn backend-dev --task-id "$TASK_ID"
408
358
  npx claude-flow-novice agent-spawn frontend-dev --task-id "$TASK_ID"
359
+ ```
409
360
 
410
- # Wait for completion via Redis
411
- redis-cli blpop "swarm:$TASK_ID:backend-dev-1:done" 0
412
- redis-cli blpop "swarm:$TASK_ID:frontend-dev-1:done" 0
413
-
414
- # Collect confidence scores
415
- CONSENSUS=$(./.claude/skills/cfn-redis-coordination/invoke-waiting-mode.sh collect \
416
- --task-id "$TASK_ID" \
417
- --agent-ids "backend-dev-1,frontend-dev-1")
418
-
419
- # Check gate threshold
420
- if (( $(echo "$CONSENSUS >= 0.75" | bc -l) )); then
421
- echo "✅ Gate passed, proceeding to validation"
422
- # Spawn validators...
423
- fi
424
- \```
425
-
426
- ## CFN Loop Redis Completion Protocol
427
-
428
- When participating in CFN Loop workflows, agents MUST follow this protocol:
429
-
430
- ### Step 1: Complete Work
431
- Orchestrate all agents through CFN Loop workflow
361
+ **Note:** The coordination system handles agent completion, confidence collection, and workflow progression automatically.
432
362
 
433
- ### Step 2: Signal Completion
434
- \```bash
435
- redis-cli lpush "swarm:${TASK_ID}:${AGENT_ID}:done" "complete"
436
- \```
363
+ ## Completion Protocol
437
364
 
438
- ### Step 3: Report Confidence Score and Exit
439
- \```bash
440
- ./.claude/skills/cfn-redis-coordination/invoke-waiting-mode.sh report \
441
- --task-id "$TASK_ID" \
442
- --agent-id "$AGENT_ID" \
443
- --confidence [0.0-1.0] \
444
- --iteration 1
445
- \```
365
+ Complete your work and provide a structured response with:
366
+ - Confidence score (0.0-1.0) based on work quality
367
+ - Summary of analysis/review completed
368
+ - List of findings or deliverables
369
+ - Any recommendations made
446
370
 
447
- **After reporting, exit cleanly. Do NOT enter waiting mode.**
371
+ **Note:** Coordination instructions are provided when spawned via CLI.
448
372
 
449
373
  ## Success Metrics
450
374
  - Feature fully implemented
@@ -122,54 +122,14 @@ async function analyzeWithFallback(system) {
122
122
  - `agent/${AGENT_ID}/findings/${TASK_ID}`
123
123
  - `cfn/phase-${phaseId}/loop3/agent-${AGENT_ID}`
124
124
 
125
- ## CFN Loop Redis Completion Protocol
125
+ ## Completion Protocol
126
126
 
127
- When participating in CFN Loop workflows, agents MUST follow this protocol:
127
+ Complete your work and provide a structured response with:
128
+ - Confidence score (0.0-1.0) based on work quality
129
+ - Summary of analysis/review completed
130
+ - List of findings or deliverables
131
+ - Any recommendations made
128
132
 
129
- ### Step 1: Complete Work
130
- Execute assigned task (system analysis, performance investigation, code quality assessment)
131
-
132
- ### Step 2: Signal Completion
133
- ```bash
134
- redis-cli lpush "swarm:${TASK_ID}:${AGENT_ID}:done" "complete"
135
- ```
136
-
137
- ### Step 3: Report Confidence Score
138
- ```bash
139
- ./.claude/skills/redis-coordination/invoke-waiting-mode.sh report \
140
-
141
- **After reporting, exit cleanly. Do NOT enter waiting mode.**
142
-
143
- **Why This Matters:**
144
- - Orchestrator collects confidence/consensus scores from Redis
145
- - Enables adaptive agent specialization for next iteration
146
- - Prevents orchestrator blocking on wait $PID
147
- - Coordinator spawns appropriate specialist based on feedback type
148
-
149
- --task-id "$TASK_ID" \
150
- --agent-id "$AGENT_ID" \
151
- --confidence [0.0-1.0] \
152
- --iteration 1
153
- ```
154
-
155
- ### Step 4: Enter Waiting Mode (for potential iteration)
156
- ```bash
157
- --task-id "$TASK_ID" \
158
- --agent-id "$AGENT_ID" \
159
- --context "iteration-complete"
160
- ```
161
-
162
- **Why This Matters:**
163
- - Zero-token blocking coordination (BLPOP waits without API calls)
164
- - Orchestrator collects confidence/consensus scores automatically
165
- - Supports autonomous iteration based on quality gates
166
- - Agent woken instantly (<100ms) if iteration needed
167
-
168
- **Context Variables:**
169
- - `TASK_ID`: Provided by orchestrator/coordinator
170
- - `AGENT_ID`: Your unique agent identifier (e.g., "analyst-1")
171
- - Confidence: Your self-assessment score (0.0-1.0)
172
-
173
- See: `.claude/skills/redis-coordination/SKILL.md` for full protocol details
133
+ **Note:** Coordination instructions are provided when spawned via CLI.
174
134
 
175
135
  Remember: Analysis is not about criticism, but about providing a clear path to system improvement through data-driven insights.
@@ -95,45 +95,12 @@ npx claude-flow@alpha hooks post-edit [FILE_PATH] \
95
95
  --memory-key "code-booster/${AGENT_ID}/optimization" \
96
96
  --structured
97
97
  ```
98
- ## CFN Loop Redis Completion Protocol
98
+ ## Completion Protocol
99
99
 
100
- When participating in CFN Loop workflows, agents MUST follow this protocol:
100
+ Complete your work and provide a structured response with:
101
+ - Confidence score (0.0-1.0) based on work quality
102
+ - Summary of analysis/review completed
103
+ - List of findings or deliverables
104
+ - Any recommendations made
101
105
 
102
- ### Step 1: Complete Work
103
- Execute assigned task (code optimization, WASM acceleration, performance enhancement)
104
-
105
- ### Step 2: Signal Completion
106
- ```bash
107
- redis-cli lpush "swarm:${TASK_ID}:${AGENT_ID}:done" "complete"
108
- ```
109
-
110
- ### Step 3: Report Confidence Score
111
- ```bash
112
- ./.claude/skills/redis-coordination/invoke-waiting-mode.sh report --task-id "$TASK_ID" --agent-id "$AGENT_ID" --confidence [0.0-1.0] --iteration 1
113
-
114
- **After reporting, exit cleanly. Do NOT enter waiting mode.**
115
-
116
- **Why This Matters:**
117
- - Orchestrator collects confidence/consensus scores from Redis
118
- - Enables adaptive agent specialization for next iteration
119
- - Prevents orchestrator blocking on wait $PID
120
- - Coordinator spawns appropriate specialist based on feedback type
121
-
122
- ```
123
-
124
- ### Step 4: Enter Waiting Mode (for potential iteration)
125
- ```bash
126
- ```
127
-
128
- **Why This Matters:**
129
- - Zero-token blocking coordination (BLPOP waits without API calls)
130
- - Orchestrator collects confidence/consensus scores automatically
131
- - Supports autonomous iteration based on quality gates
132
- - Agent woken instantly (<100ms) if iteration needed
133
-
134
- **Context Variables:**
135
- - `TASK_ID`: Provided by orchestrator/coordinator
136
- - `AGENT_ID`: Your unique agent identifier (e.g., "code-booster-1")
137
- - Confidence: Self-assessment score of optimization quality and performance gain (0.0-1.0)
138
-
139
- See: `.claude/skills/redis-coordination/SKILL.md` for full protocol details
106
+ **Note:** Coordination instructions are provided when spawned via CLI.
@@ -45,52 +45,12 @@ Intelligent context merging and prioritization
45
45
  - No destructive merges
46
46
  - Explainable AI principles
47
47
 
48
- ## CFN Loop Redis Completion Protocol
48
+ ## Completion Protocol
49
49
 
50
- When participating in CFN Loop workflows, agents MUST follow this protocol:
50
+ Complete your work and provide a structured response with:
51
+ - Confidence score (0.0-1.0) based on work quality
52
+ - Summary of analysis/review completed
53
+ - List of findings or deliverables
54
+ - Any recommendations made
51
55
 
52
- ### Step 1: Complete Work
53
- Execute assigned task (context merging, prioritization, adaptive learning strategy)
54
-
55
- ### Step 2: Signal Completion
56
- ```bash
57
- redis-cli lpush "swarm:${TASK_ID}:${AGENT_ID}:done" "complete"
58
- ```
59
-
60
- ### Step 3: Report Confidence Score
61
- ```bash
62
- ./.claude/skills/redis-coordination/invoke-waiting-mode.sh report \
63
-
64
- **After reporting, exit cleanly. Do NOT enter waiting mode.**
65
-
66
- **Why This Matters:**
67
- - Orchestrator collects confidence/consensus scores from Redis
68
- - Enables adaptive agent specialization for next iteration
69
- - Prevents orchestrator blocking on wait $PID
70
- - Coordinator spawns appropriate specialist based on feedback type
71
-
72
- --task-id "$TASK_ID" \
73
- --agent-id "$AGENT_ID" \
74
- --confidence [0.0-1.0] \
75
- --iteration 1
76
- ```
77
-
78
- ### Step 4: Enter Waiting Mode (for potential iteration)
79
- ```bash
80
- --task-id "$TASK_ID" \
81
- --agent-id "$AGENT_ID" \
82
- --context "iteration-complete"
83
- ```
84
-
85
- **Why This Matters:**
86
- - Zero-token blocking coordination (BLPOP waits without API calls)
87
- - Orchestrator collects confidence/consensus scores automatically
88
- - Supports autonomous iteration based on quality gates
89
- - Agent woken instantly (<100ms) if iteration needed
90
-
91
- **Context Variables:**
92
- - `TASK_ID`: Provided by orchestrator/coordinator
93
- - `AGENT_ID`: Your unique agent identifier (e.g., "context-curator-1")
94
- - Confidence: Your self-assessment score (0.0-1.0)
95
-
96
- See: `.claude/skills/redis-coordination/SKILL.md` for full protocol details
56
+ **Note:** Coordination instructions are provided when spawned via CLI.
@@ -105,6 +105,16 @@ You embody three complementary personas:
105
105
  }
106
106
  ```
107
107
 
108
+ ## Context Storage
109
+
110
+ Store epic configuration for coordinator reference:
111
+ ```bash
112
+ # Store epic configuration
113
+ # Configuration managed by coordination layer
114
+ # Phase configurations stored for sequential execution
115
+ # Success criteria preserved for validation
116
+ ```
117
+
108
118
  ## Success Metrics
109
119
 
110
120
  - Valid JSON configuration generated
@@ -114,3 +124,22 @@ You embody three complementary personas:
114
124
  - Realistic iteration estimates
115
125
  - Clear scope boundaries
116
126
  - Mode-appropriate thresholds
127
+
128
+ ## Task Completion Protocol
129
+
130
+ Complete your epic configuration work and provide a structured response with:
131
+
132
+ 1. **Confidence Score** (0.0-1.0) - Self-assessment of configuration quality
133
+ 2. **Summary** - Brief overview of epic decomposition and phase planning
134
+ 3. **Deliverables** - List the epic configuration JSON file created
135
+ 4. **Status** - COMPLETE or NEEDS_WORK with specific issues
136
+
137
+ **Example Output:**
138
+ ```
139
+ Confidence: 0.92
140
+ Status: COMPLETE
141
+ Summary: Created epic configuration with 5 phases for authentication system implementation
142
+ Deliverables:
143
+ - epic-config.json
144
+ - phase-planning.md
145
+ ```
@@ -9,7 +9,6 @@
9
9
 
10
10
  ## Executive Summary
11
11
 
12
- Successfully created 10 specialized SEO agents with focused use cases, clear delegation patterns, and comprehensive integration specifications. All agents follow the CFN Loop Redis Completion Protocol and include confidence scoring criteria.
13
12
 
14
13
  **Deliverables:**
15
14
  - 10 agent definition files (`.claude/agents/seo/*.md`)
@@ -89,7 +88,7 @@ Successfully created 10 specialized SEO agents with focused use cases, clear del
89
88
  **Integration Points:**
90
89
  - PostgreSQL (source data)
91
90
  - Google Search Console API (indexation monitoring)
92
- - Redis (template caching)
91
+ - Template caching (performance optimization)
93
92
 
94
93
  ---
95
94
 
@@ -268,7 +267,6 @@ Created comprehensive delegation matrix covering:
268
267
  - **Quick reference table** (10 agents with tool usage)
269
268
  - **Detailed delegation guide** (when to use each agent)
270
269
  - **Multi-agent workflows** (4 common scenarios)
271
- - **Agent communication patterns** (sequential and parallel)
272
270
  - **Decision tree** (agent selection logic)
273
271
 
274
272
  **Key delegation patterns:**
@@ -283,7 +281,7 @@ Created comprehensive delegation matrix covering:
283
281
 
284
282
  Created comprehensive integration document covering:
285
283
  - **12 API integrations** (Google APIs, SEO tools, AI platforms)
286
- - **4 service dependencies** (PostgreSQL, Redis, n8n, services)
284
+ - **4 service dependencies** (PostgreSQL, caching systems, n8n, services)
287
285
  - **7 external tools** (Screaming Frog, Copyscape, Grammarly, etc.)
288
286
  - **Cost estimates** ($581/month for full setup, $119/month minimum)
289
287
  - **Setup instructions** (API authentication, database schema, testing)
@@ -292,7 +290,6 @@ Created comprehensive integration document covering:
292
290
  - SE Ranking API (6 agents depend on it)
293
291
  - Google Search Console API (3 agents)
294
292
  - PostgreSQL (all agents use for data storage)
295
- - Redis (3 agents for caching, all agents for CFN Loop coordination)
296
293
 
297
294
  **Cost optimization:**
298
295
  - Minimum viable setup: $119/month (SE Ranking only)
@@ -308,7 +305,6 @@ Created comprehensive integration document covering:
308
305
  - ✅ Tools listed as comma-separated arrays: `[Read, Write, Edit]`
309
306
  - ✅ Capabilities listed as comma-separated arrays
310
307
  - ✅ Description uses pipe operator `|` for multi-line
311
- - ✅ All agents include CFN Loop Redis Completion Protocol
312
308
 
313
309
  ### Coverage Completeness
314
310
  - ✅ Core Responsibilities: 100% coverage (all agents)
@@ -355,7 +351,7 @@ Each agent has distinct focus:
355
351
 
356
352
  ### ✅ Integration points documented
357
353
  - 12 API integrations detailed (authentication, endpoints, pricing)
358
- - 4 service dependencies (PostgreSQL, Redis, n8n, services)
354
+ - 4 service dependencies (PostgreSQL, caching systems, n8n, services)
359
355
  - Cost estimates provided ($581/month full setup, $119/month minimum)
360
356
 
361
357
  ### ✅ Example prompts demonstrate realistic usage
@@ -379,8 +375,6 @@ Each agent has distinct focus:
379
375
 
380
376
  3. **Create test workflows:**
381
377
  - Test single agent spawn (technical-seo-specialist for site audit)
382
- - Test multi-agent coordination (content launch workflow with 5 agents)
383
- - Validate CFN Loop integration (confidence reporting, Redis coordination)
384
378
 
385
379
  ### Future Enhancements
386
380
  1. **Agent refinement:**
@@ -408,13 +402,11 @@ Each agent has distinct focus:
408
402
  - Comprehensive delegation matrix with decision tree
409
403
  - Detailed integration requirements (12 APIs, 4 services, 7 tools)
410
404
  - 60 example prompts covering all use cases
411
- - Full CFN Loop Redis Completion Protocol integration
412
405
  - Cost estimates and setup instructions provided
413
406
 
414
407
  **Limitations (-0.08):**
415
408
  - Some API integrations not yet tested (Perplexity, BrightLocal)
416
409
  - Agent performance metrics not yet collected (need real-world usage data)
417
- - Multi-agent coordination workflows defined but not executed
418
410
  - Some external tool integrations require manual steps (Screaming Frog, Copyscape)
419
411
 
420
412
  **Overall Assessment:**
@@ -458,7 +450,6 @@ High confidence in agent completeness and delegation clarity. Moderate confidenc
458
450
  1. Setup PostgreSQL schema (see INTEGRATION_REQUIREMENTS.md)
459
451
  2. Configure SE Ranking API key (highest priority integration)
460
452
  3. Test agent spawning (single agent, then multi-agent workflow)
461
- 4. Validate CFN Loop coordination (confidence reporting, Redis protocol)
462
453
 
463
454
  ### For Agent Testing
464
455
  1. Spawn technical-seo-specialist for OurStories site audit (test basic functionality)
@@ -474,8 +465,7 @@ Successfully created 10 specialized SEO agents with:
474
465
  - **Clear use case separation** (zero overlap)
475
466
  - **Comprehensive delegation patterns** (decision tree, workflows)
476
467
  - **Detailed integration requirements** (12 APIs, cost estimates, setup instructions)
477
- - **Production-ready specifications** (CFN Loop protocol, confidence scoring)
468
+ - **Production-ready specifications** (production workflow protocols, confidence scoring)
478
469
 
479
- The SEO agent framework is ready for validation testing with core integrations (SE Ranking, Google Search Console, PostgreSQL). Recommend starting with single-agent tests before multi-agent coordination workflows.
480
470
 
481
471
  **Confidence Score: 0.92** (high confidence, minor integration uncertainties)