claude-flow-novice 2.14.1 → 2.14.2

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 (95) hide show
  1. package/{claude-assets/commands/cfn → .claude/commands}/CFN_LOOP_TASK_MODE.md +50 -3
  2. package/{.claude/commands/cfn → claude-assets/commands}/CFN_LOOP_TASK_MODE.md +50 -3
  3. package/package.json +3 -3
  4. /package/.claude/commands/{cfn/CFN_COORDINATOR_PARAMETERS.md → CFN_COORDINATOR_PARAMETERS.md} +0 -0
  5. /package/.claude/commands/{cfn/CFN_LOOP_FRONTEND.md → CFN_LOOP_FRONTEND.md} +0 -0
  6. /package/.claude/commands/{cfn/README.md → README.md} +0 -0
  7. /package/.claude/commands/{cfn/auto-compact.md → auto-compact.md} +0 -0
  8. /package/.claude/commands/{cfn/cfn-claude-sync.md → cfn-claude-sync.md} +0 -0
  9. /package/.claude/commands/{cfn/cfn-loop-cli.md → cfn-loop-cli.md} +0 -0
  10. /package/.claude/commands/{cfn/cfn-loop-document.md → cfn-loop-document.md} +0 -0
  11. /package/.claude/commands/{cfn/cfn-loop-epic.md → cfn-loop-epic.md} +0 -0
  12. /package/.claude/commands/{cfn/cfn-loop-frontend.md → cfn-loop-frontend.md} +0 -0
  13. /package/.claude/commands/{cfn/cfn-loop-single.md → cfn-loop-single.md} +0 -0
  14. /package/.claude/commands/{cfn/cfn-loop-sprints.md → cfn-loop-sprints.md} +0 -0
  15. /package/.claude/commands/{cfn/cfn-loop-task.md → cfn-loop-task.md} +0 -0
  16. /package/.claude/commands/{cfn/cfn-loop.md → cfn-loop.md} +0 -0
  17. /package/.claude/commands/{cfn/cfn-mode.md → cfn-mode.md} +0 -0
  18. /package/.claude/commands/{cfn/cfn-optimize-agents.md → cfn-optimize-agents.md} +0 -0
  19. /package/.claude/commands/{cfn/claude-md.md → claude-md.md} +0 -0
  20. /package/.claude/commands/{cfn/claude-soul.md → claude-soul.md} +0 -0
  21. /package/.claude/commands/{cfn/context-curate.md → context-curate.md} +0 -0
  22. /package/.claude/commands/{cfn/context-inject.md → context-inject.md} +0 -0
  23. /package/.claude/commands/{cfn/context-query.md → context-query.md} +0 -0
  24. /package/.claude/commands/{cfn/context-reflect.md → context-reflect.md} +0 -0
  25. /package/.claude/commands/{cfn/context-stats.md → context-stats.md} +0 -0
  26. /package/.claude/commands/{cfn/cost-savings-off.md → cost-savings-off.md} +0 -0
  27. /package/.claude/commands/{cfn/cost-savings-on.md → cost-savings-on.md} +0 -0
  28. /package/.claude/commands/{cfn/cost-savings-status.md → cost-savings-status.md} +0 -0
  29. /package/.claude/commands/{cfn/custom-routing-activate.md → custom-routing-activate.md} +0 -0
  30. /package/.claude/commands/{cfn/custom-routing-deactivate.md → custom-routing-deactivate.md} +0 -0
  31. /package/.claude/commands/{cfn/dependency-recommendations.md → dependency-recommendations.md} +0 -0
  32. /package/.claude/commands/{cfn/fullstack.md → fullstack.md} +0 -0
  33. /package/.claude/commands/{cfn/github-commit.md → github-commit.md} +0 -0
  34. /package/.claude/commands/{cfn/github.md → github.md} +0 -0
  35. /package/.claude/commands/{cfn/hello-world-tests.md → hello-world-tests.md} +0 -0
  36. /package/.claude/commands/{cfn/hooks.md → hooks.md} +0 -0
  37. /package/.claude/commands/{cfn/launch-web-dashboard.md → launch-web-dashboard.md} +0 -0
  38. /package/.claude/commands/{cfn/list-agents-rebuild.md → list-agents-rebuild.md} +0 -0
  39. /package/.claude/commands/{cfn/metrics-summary.md → metrics-summary.md} +0 -0
  40. /package/.claude/commands/{cfn/neural.md → neural.md} +0 -0
  41. /package/.claude/commands/{cfn/parse-epic.md → parse-epic.md} +0 -0
  42. /package/.claude/commands/{cfn/performance.md → performance.md} +0 -0
  43. /package/.claude/commands/{cfn/sparc.md → sparc.md} +0 -0
  44. /package/.claude/commands/{cfn/suggest-improvements.md → suggest-improvements.md} +0 -0
  45. /package/.claude/commands/{cfn/suggest-templates.md → suggest-templates.md} +0 -0
  46. /package/.claude/commands/{cfn/swarm.md → swarm.md} +0 -0
  47. /package/.claude/commands/{cfn/switch-api.md → switch-api.md} +0 -0
  48. /package/.claude/commands/{cfn/workflow.md → workflow.md} +0 -0
  49. /package/.claude/commands/{cfn/write-plan.md → write-plan.md} +0 -0
  50. /package/claude-assets/commands/{cfn/CFN_COORDINATOR_PARAMETERS.md → CFN_COORDINATOR_PARAMETERS.md} +0 -0
  51. /package/claude-assets/commands/{cfn/CFN_LOOP_FRONTEND.md → CFN_LOOP_FRONTEND.md} +0 -0
  52. /package/claude-assets/commands/{cfn/README.md → README.md} +0 -0
  53. /package/claude-assets/commands/{cfn/auto-compact.md → auto-compact.md} +0 -0
  54. /package/claude-assets/commands/{cfn/cfn-claude-sync.md → cfn-claude-sync.md} +0 -0
  55. /package/claude-assets/commands/{cfn/cfn-loop-cli.md → cfn-loop-cli.md} +0 -0
  56. /package/claude-assets/commands/{cfn/cfn-loop-document.md → cfn-loop-document.md} +0 -0
  57. /package/claude-assets/commands/{cfn/cfn-loop-epic.md → cfn-loop-epic.md} +0 -0
  58. /package/claude-assets/commands/{cfn/cfn-loop-frontend.md → cfn-loop-frontend.md} +0 -0
  59. /package/claude-assets/commands/{cfn/cfn-loop-single.md → cfn-loop-single.md} +0 -0
  60. /package/claude-assets/commands/{cfn/cfn-loop-sprints.md → cfn-loop-sprints.md} +0 -0
  61. /package/claude-assets/commands/{cfn/cfn-loop-task.md → cfn-loop-task.md} +0 -0
  62. /package/claude-assets/commands/{cfn/cfn-loop.md → cfn-loop.md} +0 -0
  63. /package/claude-assets/commands/{cfn/cfn-mode.md → cfn-mode.md} +0 -0
  64. /package/claude-assets/commands/{cfn/cfn-optimize-agents.md → cfn-optimize-agents.md} +0 -0
  65. /package/claude-assets/commands/{cfn/claude-md.md → claude-md.md} +0 -0
  66. /package/claude-assets/commands/{cfn/claude-soul.md → claude-soul.md} +0 -0
  67. /package/claude-assets/commands/{cfn/context-curate.md → context-curate.md} +0 -0
  68. /package/claude-assets/commands/{cfn/context-inject.md → context-inject.md} +0 -0
  69. /package/claude-assets/commands/{cfn/context-query.md → context-query.md} +0 -0
  70. /package/claude-assets/commands/{cfn/context-reflect.md → context-reflect.md} +0 -0
  71. /package/claude-assets/commands/{cfn/context-stats.md → context-stats.md} +0 -0
  72. /package/claude-assets/commands/{cfn/cost-savings-off.md → cost-savings-off.md} +0 -0
  73. /package/claude-assets/commands/{cfn/cost-savings-on.md → cost-savings-on.md} +0 -0
  74. /package/claude-assets/commands/{cfn/cost-savings-status.md → cost-savings-status.md} +0 -0
  75. /package/claude-assets/commands/{cfn/custom-routing-activate.md → custom-routing-activate.md} +0 -0
  76. /package/claude-assets/commands/{cfn/custom-routing-deactivate.md → custom-routing-deactivate.md} +0 -0
  77. /package/claude-assets/commands/{cfn/dependency-recommendations.md → dependency-recommendations.md} +0 -0
  78. /package/claude-assets/commands/{cfn/fullstack.md → fullstack.md} +0 -0
  79. /package/claude-assets/commands/{cfn/github-commit.md → github-commit.md} +0 -0
  80. /package/claude-assets/commands/{cfn/github.md → github.md} +0 -0
  81. /package/claude-assets/commands/{cfn/hello-world-tests.md → hello-world-tests.md} +0 -0
  82. /package/claude-assets/commands/{cfn/hooks.md → hooks.md} +0 -0
  83. /package/claude-assets/commands/{cfn/launch-web-dashboard.md → launch-web-dashboard.md} +0 -0
  84. /package/claude-assets/commands/{cfn/list-agents-rebuild.md → list-agents-rebuild.md} +0 -0
  85. /package/claude-assets/commands/{cfn/metrics-summary.md → metrics-summary.md} +0 -0
  86. /package/claude-assets/commands/{cfn/neural.md → neural.md} +0 -0
  87. /package/claude-assets/commands/{cfn/parse-epic.md → parse-epic.md} +0 -0
  88. /package/claude-assets/commands/{cfn/performance.md → performance.md} +0 -0
  89. /package/claude-assets/commands/{cfn/sparc.md → sparc.md} +0 -0
  90. /package/claude-assets/commands/{cfn/suggest-improvements.md → suggest-improvements.md} +0 -0
  91. /package/claude-assets/commands/{cfn/suggest-templates.md → suggest-templates.md} +0 -0
  92. /package/claude-assets/commands/{cfn/swarm.md → swarm.md} +0 -0
  93. /package/claude-assets/commands/{cfn/switch-api.md → switch-api.md} +0 -0
  94. /package/claude-assets/commands/{cfn/workflow.md → workflow.md} +0 -0
  95. /package/claude-assets/commands/{cfn/write-plan.md → write-plan.md} +0 -0
@@ -161,7 +161,54 @@ Iterations: Loop 3: ${L3}, Loop 2: ${L2} | Decision: PROCEED
161
161
  EOF
162
162
  ```
163
163
 
164
- ### 5. ACE Reflection (Optional - If `--ace-reflect` flag enabled)
164
+ ### 5. Execute Product Owner Suggested Next Steps
165
+
166
+ **After PROCEED Decision:**
167
+ Product Owner may suggest follow-up tasks (documentation, testing, refactoring). Coordinator (main chat) spawns specialized agents to execute these tasks:
168
+
169
+ ```javascript
170
+ // Parse PO feedback for suggested next steps
171
+ const nextSteps = parseFeedback(poOutput, ["documentation", "integration test", "performance optimization"]);
172
+
173
+ // Spawn agents for each next step
174
+ for (const step of nextSteps) {
175
+ if (step.complexity === "simple" && !step.requiresValidation) {
176
+ // Use backlog background worker for simple tasks
177
+ Bash(`
178
+ ./.claude/skills/epic-management/add-backlog-item.sh \
179
+ --epic-id "${EPIC_ID}" \
180
+ --title "${step.title}" \
181
+ --priority "P3" \
182
+ --reason "Post-sprint cleanup - low validation needs"
183
+ `, "Defer to background worker");
184
+ } else {
185
+ // Spawn specialist agents for complex tasks
186
+ Task(step.agent, `
187
+ Execute post-sprint task: ${step.description}
188
+
189
+ Context: Sprint ${SPRINT_NUM} completed. ${step.context}
190
+
191
+ Deliverables: ${step.deliverables.join(", ")}
192
+
193
+ Acceptance: ${step.acceptance}
194
+ `);
195
+ }
196
+ }
197
+ ```
198
+
199
+ **Strategic Backlog Worker Usage:**
200
+ - **Use background worker when:**
201
+ - No overlap with main sprint work (independent tasks)
202
+ - Simple tasks requiring little validation (linting, formatting, simple docs)
203
+ - Tasks validatable via compilation/linting (type fixes, import cleanup)
204
+ - Avoids holding up main CFN Loop (P3 priority items)
205
+
206
+ - **Use Task() agents when:**
207
+ - Complex tasks requiring validation (API changes, security updates)
208
+ - Tasks with dependencies on sprint deliverables
209
+ - Tasks needing consensus (architectural decisions, breaking changes)
210
+
211
+ ### 6. ACE Reflection (Optional - If `--ace-reflect` flag enabled)
165
212
  ```bash
166
213
  # Only run if --ace-reflect flag was passed to /cfn-loop command
167
214
  if [[ "$ACE_REFLECT_ENABLED" == "true" ]]; then
@@ -183,8 +230,8 @@ fi
183
230
 
184
231
  **Checklist:**
185
232
  - [ ] Consensus ≥ threshold | [ ] Product Owner approved | [ ] Deliverables verified
186
- - [ ] Tests passing | [ ] Git committed | [ ] Git pushed | [ ] Summary generated
187
- - [ ] ACE reflection captured (if `--ace-reflect` enabled)
233
+ - [ ] Tests passing | [ ] Next steps executed or deferred | [ ] Git committed | [ ] Git pushed
234
+ - [ ] Summary generated | [ ] ACE reflection captured (if `--ace-reflect` enabled)
188
235
 
189
236
  ---
190
237
 
@@ -161,7 +161,54 @@ Iterations: Loop 3: ${L3}, Loop 2: ${L2} | Decision: PROCEED
161
161
  EOF
162
162
  ```
163
163
 
164
- ### 5. ACE Reflection (Optional - If `--ace-reflect` flag enabled)
164
+ ### 5. Execute Product Owner Suggested Next Steps
165
+
166
+ **After PROCEED Decision:**
167
+ Product Owner may suggest follow-up tasks (documentation, testing, refactoring). Coordinator (main chat) spawns specialized agents to execute these tasks:
168
+
169
+ ```javascript
170
+ // Parse PO feedback for suggested next steps
171
+ const nextSteps = parseFeedback(poOutput, ["documentation", "integration test", "performance optimization"]);
172
+
173
+ // Spawn agents for each next step
174
+ for (const step of nextSteps) {
175
+ if (step.complexity === "simple" && !step.requiresValidation) {
176
+ // Use backlog background worker for simple tasks
177
+ Bash(`
178
+ ./.claude/skills/epic-management/add-backlog-item.sh \
179
+ --epic-id "${EPIC_ID}" \
180
+ --title "${step.title}" \
181
+ --priority "P3" \
182
+ --reason "Post-sprint cleanup - low validation needs"
183
+ `, "Defer to background worker");
184
+ } else {
185
+ // Spawn specialist agents for complex tasks
186
+ Task(step.agent, `
187
+ Execute post-sprint task: ${step.description}
188
+
189
+ Context: Sprint ${SPRINT_NUM} completed. ${step.context}
190
+
191
+ Deliverables: ${step.deliverables.join(", ")}
192
+
193
+ Acceptance: ${step.acceptance}
194
+ `);
195
+ }
196
+ }
197
+ ```
198
+
199
+ **Strategic Backlog Worker Usage:**
200
+ - **Use background worker when:**
201
+ - No overlap with main sprint work (independent tasks)
202
+ - Simple tasks requiring little validation (linting, formatting, simple docs)
203
+ - Tasks validatable via compilation/linting (type fixes, import cleanup)
204
+ - Avoids holding up main CFN Loop (P3 priority items)
205
+
206
+ - **Use Task() agents when:**
207
+ - Complex tasks requiring validation (API changes, security updates)
208
+ - Tasks with dependencies on sprint deliverables
209
+ - Tasks needing consensus (architectural decisions, breaking changes)
210
+
211
+ ### 6. ACE Reflection (Optional - If `--ace-reflect` flag enabled)
165
212
  ```bash
166
213
  # Only run if --ace-reflect flag was passed to /cfn-loop command
167
214
  if [[ "$ACE_REFLECT_ENABLED" == "true" ]]; then
@@ -183,8 +230,8 @@ fi
183
230
 
184
231
  **Checklist:**
185
232
  - [ ] Consensus ≥ threshold | [ ] Product Owner approved | [ ] Deliverables verified
186
- - [ ] Tests passing | [ ] Git committed | [ ] Git pushed | [ ] Summary generated
187
- - [ ] ACE reflection captured (if `--ace-reflect` enabled)
233
+ - [ ] Tests passing | [ ] Next steps executed or deferred | [ ] Git committed | [ ] Git pushed
234
+ - [ ] Summary generated | [ ] ACE reflection captured (if `--ace-reflect` enabled)
188
235
 
189
236
  ---
190
237
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "claude-flow-novice",
3
- "version": "2.14.1",
3
+ "version": "2.14.2",
4
4
  "description": "AI agent orchestration framework with namespace-isolated skills, agents, and CFN Loop validation. Safe installation with ~0.01% collision risk.",
5
5
  "main": "dist/index.js",
6
6
  "type": "module",
@@ -43,7 +43,7 @@
43
43
  ".claude/skills/cfn-transparency-middleware/",
44
44
  ".claude/skills/cfn-webapp-testing/",
45
45
  ".claude/hooks/cfn-*",
46
- ".claude/commands/cfn/",
46
+ ".claude/commands/",
47
47
  ".claude/cfn-data/",
48
48
  ".claude/cfn-agents-ignore/",
49
49
  "scripts/init-project.js",
@@ -96,7 +96,7 @@
96
96
  "typecheck": "tsc --noEmit",
97
97
  "prepublishOnly": "npm run build && ./scripts/verify-no-secrets.sh",
98
98
  "prepack": "npm run build && npm run copy-claude-assets",
99
- "copy-claude-assets": "rm -rf claude-assets && mkdir -p claude-assets && cp -r .claude/agents claude-assets/ && cp -r .claude/skills claude-assets/ && cp -r .claude/hooks claude-assets/ && mkdir -p claude-assets/commands && cp -r .claude/commands/cfn claude-assets/commands/ && cp -r .claude/root-claude-distribute claude-assets/",
99
+ "copy-claude-assets": "rm -rf claude-assets && mkdir -p claude-assets && cp -r .claude/agents claude-assets/ && cp -r .claude/skills claude-assets/ && cp -r .claude/hooks claude-assets/ && cp -r .claude/commands claude-assets/ && cp -r .claude/root-claude-distribute claude-assets/",
100
100
  "postinstall": "node scripts/init-project.js",
101
101
  "verify-package": "npm pack --dry-run",
102
102
  "portal:start": "./scripts/start-portal.sh",
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes