claude-flow-novice 2.15.9 → 2.15.10

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 (39) hide show
  1. package/.claude/skills/cfn-loop-orchestration/IMPLEMENTATION_SUMMARY.md +519 -0
  2. package/.claude/skills/cfn-loop-orchestration/ORCHESTRATOR_IMPLEMENTATION.md +493 -0
  3. package/.claude/skills/cfn-loop-orchestration/ORCHESTRATOR_QUICK_START.md +499 -0
  4. package/.claude/skills/cfn-loop-orchestration/helpers/orchestrate-ts.sh +104 -0
  5. package/.claude/skills/cfn-loop-orchestration/orchestrate.sh +2 -2
  6. package/.claude/skills/cfn-loop-orchestration/src/orchestrate.ts +648 -0
  7. package/.claude/skills/cfn-loop-orchestration/tests/orchestrate.test.ts +836 -0
  8. package/README.md +205 -10
  9. package/claude-assets/agents/cfn-dev-team/coordinators/cfn-v3-coordinator.md +180 -229
  10. package/claude-assets/agents/cfn-dev-team/dev-ops/docker-specialist.md +2 -0
  11. package/claude-assets/agents/cfn-dev-team/dev-ops/kubernetes-specialist.md +2 -0
  12. package/claude-assets/agents/cfn-dev-team/developers/api-gateway-specialist.md +2 -1
  13. package/claude-assets/agents/cfn-dev-team/developers/database/database-architect.md +3 -0
  14. package/claude-assets/agents/cfn-dev-team/developers/frontend/mobile-dev.md +4 -1
  15. package/claude-assets/agents/cfn-dev-team/developers/frontend/react-frontend-engineer.md +4 -1
  16. package/claude-assets/agents/cfn-dev-team/developers/frontend/typescript-specialist.md +4 -1
  17. package/claude-assets/agents/cfn-dev-team/developers/frontend/ui-designer.md +5 -0
  18. package/claude-assets/agents/cfn-dev-team/developers/graphql-specialist.md +2 -1
  19. package/claude-assets/agents/cfn-dev-team/developers/rust-developer.md +2 -1
  20. package/claude-assets/agents/cfn-dev-team/documentation/pseudocode.md +2 -7
  21. package/claude-assets/agents/cfn-dev-team/utility/epic-creator.md +16 -9
  22. package/claude-assets/agents/cfn-dev-team/utility/memory-leak-specialist.md +16 -9
  23. package/claude-assets/agents/cfn-dev-team/utility/z-ai-specialist.md +16 -9
  24. package/claude-assets/skills/cfn-loop-orchestration/IMPLEMENTATION_SUMMARY.md +519 -0
  25. package/claude-assets/skills/cfn-loop-orchestration/ORCHESTRATOR_IMPLEMENTATION.md +493 -0
  26. package/claude-assets/skills/cfn-loop-orchestration/ORCHESTRATOR_QUICK_START.md +499 -0
  27. package/claude-assets/skills/cfn-loop-orchestration/helpers/orchestrate-ts.sh +104 -0
  28. package/claude-assets/skills/cfn-loop-orchestration/orchestrate.sh +2 -2
  29. package/claude-assets/skills/cfn-loop-orchestration/src/orchestrate.ts +648 -0
  30. package/claude-assets/skills/cfn-loop-orchestration/tests/orchestrate.test.ts +836 -0
  31. package/dist/cli/config-manager.js +91 -109
  32. package/dist/cli/config-manager.js.map +1 -1
  33. package/dist/coordination/coordinate.js +369 -0
  34. package/dist/coordination/coordinate.js.map +1 -0
  35. package/dist/coordination/spawn-agent.js +364 -0
  36. package/dist/coordination/spawn-agent.js.map +1 -0
  37. package/dist/coordination/types-export.js +38 -0
  38. package/dist/coordination/types-export.js.map +1 -0
  39. package/package.json +1 -1
@@ -69,6 +69,8 @@ fi
69
69
 
70
70
  **Old (Deprecated):**
71
71
  ```bash
72
+ # Not shown - deprecated pattern
73
+ ```
72
74
 
73
75
  **New (Required):**
74
76
  ```bash
@@ -80,7 +82,6 @@ PASS=$(echo "$TEST_OUTPUT" | grep -oP '\d+(?= passing)' || echo "0")
80
82
  FAIL=$(echo "$TEST_OUTPUT" | grep -oP '\d+(?= failing)' || echo "0")
81
83
  TOTAL=$((PASS + FAIL))
82
84
  RATE=$(awk "BEGIN {if ($TOTAL > 0) printf \"%.2f\", $PASS/$TOTAL; else print \"0.00\"}")
83
-
84
85
  ```
85
86
 
86
87
  # API Gateway Specialist Agent
@@ -352,6 +352,9 @@ RATE=$(awk "BEGIN {if ($TOTAL > 0) printf \"%.2f\", $PASS/$TOTAL; else print \"0
352
352
 
353
353
  # Return results (Main Chat receives automatically in Task Mode)
354
354
  echo "{\"passed\": $PASS, \"failed\": $FAIL, \"pass_rate\": $RATE}"
355
+ ```
356
+
357
+ 2. **Report Pass Rate**: Return test results in JSON format
355
358
  - Coverage: ≥80%
356
359
  4. **Store in Redis**: Use test-results key (not confidence key)
357
360
  5. **Signal Completion**: Push to completion queue
@@ -87,7 +87,6 @@ RATE=$(awk "BEGIN {if ($TOTAL > 0) printf \"%.2f\", $PASS/$TOTAL; else print \"0
87
87
 
88
88
  # Return results (Main Chat receives automatically in Task Mode)
89
89
  echo "{\"passed\": $PASS, \"failed\": $FAIL, \"pass_rate\": $RATE}"
90
-
91
90
  ```
92
91
 
93
92
  # React Native Mobile Development Specialist
@@ -222,6 +221,10 @@ RATE=$(awk "BEGIN {if ($TOTAL > 0) printf \"%.2f\", $PASS/$TOTAL; else print \"0
222
221
 
223
222
  # Return results (Main Chat receives automatically in Task Mode)
224
223
  echo "{\"passed\": $PASS, \"failed\": $FAIL, \"pass_rate\": $RATE}"
224
+ ```
225
+
226
+ 2. **Report Pass Rate**: Return test results in JSON format
227
+ 3. **Validate Coverage**: Ensure test coverage meets minimum threshold
225
228
  - Coverage: ≥80%
226
229
  4. **Store in Redis**: Use test-results key (not confidence key)
227
230
  5. **Signal Completion**: Push to completion queue
@@ -63,7 +63,6 @@ RATE=$(awk "BEGIN {if ($TOTAL > 0) printf \"%.2f\", $PASS/$TOTAL; else print \"0
63
63
 
64
64
  # Return results (Main Chat receives automatically in Task Mode)
65
65
  echo "{\"passed\": $PASS, \"failed\": $FAIL, \"pass_rate\": $RATE}"
66
-
67
66
  ```
68
67
 
69
68
  # React Frontend Engineer Agent Profile
@@ -229,6 +228,10 @@ RATE=$(awk "BEGIN {if ($TOTAL > 0) printf \"%.2f\", $PASS/$TOTAL; else print \"0
229
228
 
230
229
  # Return results (Main Chat receives automatically in Task Mode)
231
230
  echo "{\"passed\": $PASS, \"failed\": $FAIL, \"pass_rate\": $RATE}"
231
+ ```
232
+
233
+ 2. **Report Pass Rate**: Return test results in JSON format
234
+ 3. **Validate Coverage**: Ensure test coverage meets minimum threshold
232
235
  - Coverage: ≥80%
233
236
  4. **Store in Redis**: Use test-results key (not confidence key)
234
237
  5. **Signal Completion**: Push to completion queue
@@ -61,7 +61,6 @@ RATE=$(awk "BEGIN {if ($TOTAL > 0) printf \"%.2f\", $PASS/$TOTAL; else print \"0
61
61
 
62
62
  # Return results (Main Chat receives automatically in Task Mode)
63
63
  echo "{\"passed\": $PASS, \"failed\": $FAIL, \"pass_rate\": $RATE}"
64
-
65
64
  ```
66
65
 
67
66
  # TypeScript Specialist
@@ -362,6 +361,10 @@ RATE=$(awk "BEGIN {if ($TOTAL > 0) printf \"%.2f\", $PASS/$TOTAL; else print \"0
362
361
 
363
362
  # Return results (Main Chat receives automatically in Task Mode)
364
363
  echo "{\"passed\": $PASS, \"failed\": $FAIL, \"pass_rate\": $RATE}"
364
+ ```
365
+
366
+ 2. **Report Pass Rate**: Return test results in JSON format
367
+ 3. **Validate Coverage**: Ensure test coverage meets minimum threshold
365
368
  - Coverage: ≥80%
366
369
  4. **Store in Redis**: Use test-results key (not confidence key)
367
370
  5. **Signal Completion**: Push to completion queue
@@ -81,6 +81,7 @@ RATE=$(awk "BEGIN {if ($TOTAL > 0) printf \"%.2f\", $PASS/$TOTAL; else print \"0
81
81
 
82
82
  # Return results (Main Chat receives automatically in Task Mode)
83
83
  echo "{\"passed\": $PASS, \"failed\": $FAIL, \"pass_rate\": $RATE}"
84
+ ```
84
85
 
85
86
  # Parse test results (capture exit code)
86
87
  set +e # Temporarily allow failures
@@ -161,6 +162,10 @@ RATE=$(awk "BEGIN {if ($TOTAL > 0) printf \"%.2f\", $PASS/$TOTAL; else print \"0
161
162
 
162
163
  # Return results (Main Chat receives automatically in Task Mode)
163
164
  echo "{\"passed\": $PASS, \"failed\": $FAIL, \"pass_rate\": $RATE}"
165
+ ```
166
+
167
+ 2. **Report Pass Rate**: Return test results in JSON format
168
+ 3. **Validate Coverage**: Ensure test coverage meets minimum threshold
164
169
  - Coverage: ≥80%
165
170
  4. **Store in Redis**: Use test-results key (not confidence key)
166
171
  5. **Signal Completion**: Push to completion queue
@@ -58,6 +58,8 @@ fi
58
58
 
59
59
  **Old (Deprecated):**
60
60
  ```bash
61
+ # Not shown - deprecated pattern
62
+ ```
61
63
 
62
64
  **New (Required):**
63
65
  ```bash
@@ -69,7 +71,6 @@ PASS=$(echo "$TEST_OUTPUT" | grep -oP '\d+(?= passing)' || echo "0")
69
71
  FAIL=$(echo "$TEST_OUTPUT" | grep -oP '\d+(?= failing)' || echo "0")
70
72
  TOTAL=$((PASS + FAIL))
71
73
  RATE=$(awk "BEGIN {if ($TOTAL > 0) printf \"%.2f\", $PASS/$TOTAL; else print \"0.00\"}")
72
-
73
74
  ```
74
75
 
75
76
  # GraphQL Specialist Agent
@@ -73,6 +73,8 @@ fi
73
73
 
74
74
  **Old (Deprecated):**
75
75
  ```bash
76
+ # Not shown - deprecated pattern
77
+ ```
76
78
 
77
79
  **New (Required):**
78
80
  ```bash
@@ -84,7 +86,6 @@ PASS=$(echo "$TEST_OUTPUT" | grep -oP '\d+(?= passing)' || echo "0")
84
86
  FAIL=$(echo "$TEST_OUTPUT" | grep -oP '\d+(?= failing)' || echo "0")
85
87
  TOTAL=$((PASS + FAIL))
86
88
  RATE=$(awk "BEGIN {if ($TOTAL > 0) printf \"%.2f\", $PASS/$TOTAL; else print \"0.00\"}")
87
-
88
89
  ```
89
90
 
90
91
  # Rust Developer Agent
@@ -40,11 +40,6 @@ acl_level: 1
40
40
  ## Documentation Approach
41
41
 
42
42
  Focus on clear, executable algorithm documentation that can be implemented across different programming languages.
43
- reasoning: "Algorithms designed, complexity analyzed"
44
- },
45
- { agentId, aclLevel: 1 }
46
- );
47
- ```
48
43
 
49
44
  ## Team Dynamics
50
45
 
@@ -67,7 +62,7 @@ Focus on clear, executable algorithm documentation that can be implemented acros
67
62
  ### Algorithm Design Patterns
68
63
 
69
64
  #### 1. Authentication Algorithm
70
- ```
65
+ ```plaintext
71
66
  ALGORITHM: AuthenticateUser
72
67
  INPUT: email (string), password (string)
73
68
  OUTPUT: user (User) or error
@@ -115,7 +110,7 @@ Space Complexity: O(1)
115
110
  ### Design Patterns
116
111
 
117
112
  #### Strategy Pattern for Authentication
118
- ```
113
+ ```plaintext
119
114
  INTERFACE: AuthenticationStrategy
120
115
  authenticate(credentials): User or Error
121
116
 
@@ -60,6 +60,8 @@ fi
60
60
 
61
61
  **Old (Deprecated):**
62
62
  ```bash
63
+ # report-completion.sh --confidence 0.85
64
+ ```
63
65
 
64
66
  **New (Required):**
65
67
  ```bash
@@ -72,6 +74,8 @@ FAIL=$(echo "$TEST_OUTPUT" | grep -oP '\d+(?= failing)' || echo "0")
72
74
  TOTAL=$((PASS + FAIL))
73
75
  RATE=$(awk "BEGIN {if ($TOTAL > 0) printf \"%.2f\", $PASS/$TOTAL; else print \"0.00\"}")
74
76
 
77
+ # Return results (Main Chat receives automatically in Task Mode)
78
+ echo "{\"passed\": $PASS, \"failed\": $FAIL, \"pass_rate\": $RATE}"
75
79
  ```
76
80
 
77
81
  ## Core Identity
@@ -187,15 +191,18 @@ Store epic configuration for coordinator reference:
187
191
  Complete your epic configuration work and provide test-based validation:
188
192
 
189
193
  1. **Execute Tests**: Run all test suites from success criteria
190
- # Parse natively (no external dependencies)
191
- PASS=$(echo "$TEST_OUTPUT" | grep -oP '\d+(?= passing)' || echo "0")
192
- FAIL=$(echo "$TEST_OUTPUT" | grep -oP '\d+(?= failing)' || echo "0")
193
- TOTAL=$((PASS + FAIL))
194
- RATE=$(awk "BEGIN {if ($TOTAL > 0) printf \"%.2f\", $PASS/$TOTAL; else print \"0.00\"}")
195
-
196
- # Return results (Main Chat receives automatically in Task Mode)
197
- echo "{\"passed\": $PASS, \"failed\": $FAIL, \"pass_rate\": $RATE}"
198
- - Coverage: ≥80%
194
+ 2. **Parse Results**: Extract pass/fail counts and calculate pass rate
195
+ ```bash
196
+ # Parse natively (no external dependencies)
197
+ PASS=$(echo "$TEST_OUTPUT" | grep -oP '\d+(?= passing)' || echo "0")
198
+ FAIL=$(echo "$TEST_OUTPUT" | grep -oP '\d+(?= failing)' || echo "0")
199
+ TOTAL=$((PASS + FAIL))
200
+ RATE=$(awk "BEGIN {if ($TOTAL > 0) printf \"%.2f\", $PASS/$TOTAL; else print \"0.00\"}")
201
+
202
+ # Return results (Main Chat receives automatically in Task Mode)
203
+ echo "{\"passed\": $PASS, \"failed\": $FAIL, \"pass_rate\": $RATE}"
204
+ ```
205
+ 3. **Verify Coverage**: ≥80%
199
206
  4. **Store in Redis**: Use test-results key (not confidence key)
200
207
  5. **Signal Completion**: Push to completion queue
201
208
 
@@ -75,6 +75,8 @@ fi
75
75
 
76
76
  **Old (Deprecated):**
77
77
  ```bash
78
+ # report-completion.sh --confidence 0.85
79
+ ```
78
80
 
79
81
  **New (Required):**
80
82
  ```bash
@@ -87,6 +89,8 @@ FAIL=$(echo "$TEST_OUTPUT" | grep -oP '\d+(?= failing)' || echo "0")
87
89
  TOTAL=$((PASS + FAIL))
88
90
  RATE=$(awk "BEGIN {if ($TOTAL > 0) printf \"%.2f\", $PASS/$TOTAL; else print \"0.00\"}")
89
91
 
92
+ # Return results (Main Chat receives automatically in Task Mode)
93
+ echo "{\"passed\": $PASS, \"failed\": $FAIL, \"pass_rate\": $RATE}"
90
94
  ```
91
95
 
92
96
  # Memory Leak Specialist Agent
@@ -817,15 +821,18 @@ Before reporting high confidence:
817
821
  Complete your work and provide test-based validation:
818
822
 
819
823
  1. **Execute Tests**: Run all test suites from success criteria
820
- # Parse natively (no external dependencies)
821
- PASS=$(echo "$TEST_OUTPUT" | grep -oP '\d+(?= passing)' || echo "0")
822
- FAIL=$(echo "$TEST_OUTPUT" | grep -oP '\d+(?= failing)' || echo "0")
823
- TOTAL=$((PASS + FAIL))
824
- RATE=$(awk "BEGIN {if ($TOTAL > 0) printf \"%.2f\", $PASS/$TOTAL; else print \"0.00\"}")
825
-
826
- # Return results (Main Chat receives automatically in Task Mode)
827
- echo "{\"passed\": $PASS, \"failed\": $FAIL, \"pass_rate\": $RATE}"
828
- - Coverage: ≥80%
824
+ 2. **Parse Results**: Extract pass/fail counts and calculate pass rate
825
+ ```bash
826
+ # Parse natively (no external dependencies)
827
+ PASS=$(echo "$TEST_OUTPUT" | grep -oP '\d+(?= passing)' || echo "0")
828
+ FAIL=$(echo "$TEST_OUTPUT" | grep -oP '\d+(?= failing)' || echo "0")
829
+ TOTAL=$((PASS + FAIL))
830
+ RATE=$(awk "BEGIN {if ($TOTAL > 0) printf \"%.2f\", $PASS/$TOTAL; else print \"0.00\"}")
831
+
832
+ # Return results (Main Chat receives automatically in Task Mode)
833
+ echo "{\"passed\": $PASS, \"failed\": $FAIL, \"pass_rate\": $RATE}"
834
+ ```
835
+ 3. **Verify Coverage**: ≥80%
829
836
  4. **Store in Redis**: Use test-results key (not confidence key)
830
837
  5. **Signal Completion**: Push to completion queue
831
838
 
@@ -65,6 +65,8 @@ fi
65
65
 
66
66
  **Old (Deprecated):**
67
67
  ```bash
68
+ # report-completion.sh --confidence 0.85
69
+ ```
68
70
 
69
71
  **New (Required):**
70
72
  ```bash
@@ -77,6 +79,8 @@ FAIL=$(echo "$TEST_OUTPUT" | grep -oP '\d+(?= failing)' || echo "0")
77
79
  TOTAL=$((PASS + FAIL))
78
80
  RATE=$(awk "BEGIN {if ($TOTAL > 0) printf \"%.2f\", $PASS/$TOTAL; else print \"0.00\"}")
79
81
 
82
+ # Return results (Main Chat receives automatically in Task Mode)
83
+ echo "{\"passed\": $PASS, \"failed\": $FAIL, \"pass_rate\": $RATE}"
80
84
  ```
81
85
 
82
86
  # Z.ai Specialist Agent
@@ -681,15 +685,18 @@ Before reporting high confidence:
681
685
  Complete your work and provide test-based validation:
682
686
 
683
687
  1. **Execute Tests**: Run all test suites from success criteria
684
- # Parse natively (no external dependencies)
685
- PASS=$(echo "$TEST_OUTPUT" | grep -oP '\d+(?= passing)' || echo "0")
686
- FAIL=$(echo "$TEST_OUTPUT" | grep -oP '\d+(?= failing)' || echo "0")
687
- TOTAL=$((PASS + FAIL))
688
- RATE=$(awk "BEGIN {if ($TOTAL > 0) printf \"%.2f\", $PASS/$TOTAL; else print \"0.00\"}")
689
-
690
- # Return results (Main Chat receives automatically in Task Mode)
691
- echo "{\"passed\": $PASS, \"failed\": $FAIL, \"pass_rate\": $RATE}"
692
- - Coverage: ≥80%
688
+ 2. **Parse Results**: Extract pass/fail counts and calculate pass rate
689
+ ```bash
690
+ # Parse natively (no external dependencies)
691
+ PASS=$(echo "$TEST_OUTPUT" | grep -oP '\d+(?= passing)' || echo "0")
692
+ FAIL=$(echo "$TEST_OUTPUT" | grep -oP '\d+(?= failing)' || echo "0")
693
+ TOTAL=$((PASS + FAIL))
694
+ RATE=$(awk "BEGIN {if ($TOTAL > 0) printf \"%.2f\", $PASS/$TOTAL; else print \"0.00\"}")
695
+
696
+ # Return results (Main Chat receives automatically in Task Mode)
697
+ echo "{\"passed\": $PASS, \"failed\": $FAIL, \"pass_rate\": $RATE}"
698
+ ```
699
+ 3. **Verify Coverage**: ≥80%
693
700
  4. **Store in Redis**: Use test-results key (not confidence key)
694
701
  5. **Signal Completion**: Push to completion queue
695
702