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.
- package/{claude-assets/commands/cfn → .claude/commands}/CFN_LOOP_TASK_MODE.md +50 -3
- package/{.claude/commands/cfn → claude-assets/commands}/CFN_LOOP_TASK_MODE.md +50 -3
- package/package.json +3 -3
- /package/.claude/commands/{cfn/CFN_COORDINATOR_PARAMETERS.md → CFN_COORDINATOR_PARAMETERS.md} +0 -0
- /package/.claude/commands/{cfn/CFN_LOOP_FRONTEND.md → CFN_LOOP_FRONTEND.md} +0 -0
- /package/.claude/commands/{cfn/README.md → README.md} +0 -0
- /package/.claude/commands/{cfn/auto-compact.md → auto-compact.md} +0 -0
- /package/.claude/commands/{cfn/cfn-claude-sync.md → cfn-claude-sync.md} +0 -0
- /package/.claude/commands/{cfn/cfn-loop-cli.md → cfn-loop-cli.md} +0 -0
- /package/.claude/commands/{cfn/cfn-loop-document.md → cfn-loop-document.md} +0 -0
- /package/.claude/commands/{cfn/cfn-loop-epic.md → cfn-loop-epic.md} +0 -0
- /package/.claude/commands/{cfn/cfn-loop-frontend.md → cfn-loop-frontend.md} +0 -0
- /package/.claude/commands/{cfn/cfn-loop-single.md → cfn-loop-single.md} +0 -0
- /package/.claude/commands/{cfn/cfn-loop-sprints.md → cfn-loop-sprints.md} +0 -0
- /package/.claude/commands/{cfn/cfn-loop-task.md → cfn-loop-task.md} +0 -0
- /package/.claude/commands/{cfn/cfn-loop.md → cfn-loop.md} +0 -0
- /package/.claude/commands/{cfn/cfn-mode.md → cfn-mode.md} +0 -0
- /package/.claude/commands/{cfn/cfn-optimize-agents.md → cfn-optimize-agents.md} +0 -0
- /package/.claude/commands/{cfn/claude-md.md → claude-md.md} +0 -0
- /package/.claude/commands/{cfn/claude-soul.md → claude-soul.md} +0 -0
- /package/.claude/commands/{cfn/context-curate.md → context-curate.md} +0 -0
- /package/.claude/commands/{cfn/context-inject.md → context-inject.md} +0 -0
- /package/.claude/commands/{cfn/context-query.md → context-query.md} +0 -0
- /package/.claude/commands/{cfn/context-reflect.md → context-reflect.md} +0 -0
- /package/.claude/commands/{cfn/context-stats.md → context-stats.md} +0 -0
- /package/.claude/commands/{cfn/cost-savings-off.md → cost-savings-off.md} +0 -0
- /package/.claude/commands/{cfn/cost-savings-on.md → cost-savings-on.md} +0 -0
- /package/.claude/commands/{cfn/cost-savings-status.md → cost-savings-status.md} +0 -0
- /package/.claude/commands/{cfn/custom-routing-activate.md → custom-routing-activate.md} +0 -0
- /package/.claude/commands/{cfn/custom-routing-deactivate.md → custom-routing-deactivate.md} +0 -0
- /package/.claude/commands/{cfn/dependency-recommendations.md → dependency-recommendations.md} +0 -0
- /package/.claude/commands/{cfn/fullstack.md → fullstack.md} +0 -0
- /package/.claude/commands/{cfn/github-commit.md → github-commit.md} +0 -0
- /package/.claude/commands/{cfn/github.md → github.md} +0 -0
- /package/.claude/commands/{cfn/hello-world-tests.md → hello-world-tests.md} +0 -0
- /package/.claude/commands/{cfn/hooks.md → hooks.md} +0 -0
- /package/.claude/commands/{cfn/launch-web-dashboard.md → launch-web-dashboard.md} +0 -0
- /package/.claude/commands/{cfn/list-agents-rebuild.md → list-agents-rebuild.md} +0 -0
- /package/.claude/commands/{cfn/metrics-summary.md → metrics-summary.md} +0 -0
- /package/.claude/commands/{cfn/neural.md → neural.md} +0 -0
- /package/.claude/commands/{cfn/parse-epic.md → parse-epic.md} +0 -0
- /package/.claude/commands/{cfn/performance.md → performance.md} +0 -0
- /package/.claude/commands/{cfn/sparc.md → sparc.md} +0 -0
- /package/.claude/commands/{cfn/suggest-improvements.md → suggest-improvements.md} +0 -0
- /package/.claude/commands/{cfn/suggest-templates.md → suggest-templates.md} +0 -0
- /package/.claude/commands/{cfn/swarm.md → swarm.md} +0 -0
- /package/.claude/commands/{cfn/switch-api.md → switch-api.md} +0 -0
- /package/.claude/commands/{cfn/workflow.md → workflow.md} +0 -0
- /package/.claude/commands/{cfn/write-plan.md → write-plan.md} +0 -0
- /package/claude-assets/commands/{cfn/CFN_COORDINATOR_PARAMETERS.md → CFN_COORDINATOR_PARAMETERS.md} +0 -0
- /package/claude-assets/commands/{cfn/CFN_LOOP_FRONTEND.md → CFN_LOOP_FRONTEND.md} +0 -0
- /package/claude-assets/commands/{cfn/README.md → README.md} +0 -0
- /package/claude-assets/commands/{cfn/auto-compact.md → auto-compact.md} +0 -0
- /package/claude-assets/commands/{cfn/cfn-claude-sync.md → cfn-claude-sync.md} +0 -0
- /package/claude-assets/commands/{cfn/cfn-loop-cli.md → cfn-loop-cli.md} +0 -0
- /package/claude-assets/commands/{cfn/cfn-loop-document.md → cfn-loop-document.md} +0 -0
- /package/claude-assets/commands/{cfn/cfn-loop-epic.md → cfn-loop-epic.md} +0 -0
- /package/claude-assets/commands/{cfn/cfn-loop-frontend.md → cfn-loop-frontend.md} +0 -0
- /package/claude-assets/commands/{cfn/cfn-loop-single.md → cfn-loop-single.md} +0 -0
- /package/claude-assets/commands/{cfn/cfn-loop-sprints.md → cfn-loop-sprints.md} +0 -0
- /package/claude-assets/commands/{cfn/cfn-loop-task.md → cfn-loop-task.md} +0 -0
- /package/claude-assets/commands/{cfn/cfn-loop.md → cfn-loop.md} +0 -0
- /package/claude-assets/commands/{cfn/cfn-mode.md → cfn-mode.md} +0 -0
- /package/claude-assets/commands/{cfn/cfn-optimize-agents.md → cfn-optimize-agents.md} +0 -0
- /package/claude-assets/commands/{cfn/claude-md.md → claude-md.md} +0 -0
- /package/claude-assets/commands/{cfn/claude-soul.md → claude-soul.md} +0 -0
- /package/claude-assets/commands/{cfn/context-curate.md → context-curate.md} +0 -0
- /package/claude-assets/commands/{cfn/context-inject.md → context-inject.md} +0 -0
- /package/claude-assets/commands/{cfn/context-query.md → context-query.md} +0 -0
- /package/claude-assets/commands/{cfn/context-reflect.md → context-reflect.md} +0 -0
- /package/claude-assets/commands/{cfn/context-stats.md → context-stats.md} +0 -0
- /package/claude-assets/commands/{cfn/cost-savings-off.md → cost-savings-off.md} +0 -0
- /package/claude-assets/commands/{cfn/cost-savings-on.md → cost-savings-on.md} +0 -0
- /package/claude-assets/commands/{cfn/cost-savings-status.md → cost-savings-status.md} +0 -0
- /package/claude-assets/commands/{cfn/custom-routing-activate.md → custom-routing-activate.md} +0 -0
- /package/claude-assets/commands/{cfn/custom-routing-deactivate.md → custom-routing-deactivate.md} +0 -0
- /package/claude-assets/commands/{cfn/dependency-recommendations.md → dependency-recommendations.md} +0 -0
- /package/claude-assets/commands/{cfn/fullstack.md → fullstack.md} +0 -0
- /package/claude-assets/commands/{cfn/github-commit.md → github-commit.md} +0 -0
- /package/claude-assets/commands/{cfn/github.md → github.md} +0 -0
- /package/claude-assets/commands/{cfn/hello-world-tests.md → hello-world-tests.md} +0 -0
- /package/claude-assets/commands/{cfn/hooks.md → hooks.md} +0 -0
- /package/claude-assets/commands/{cfn/launch-web-dashboard.md → launch-web-dashboard.md} +0 -0
- /package/claude-assets/commands/{cfn/list-agents-rebuild.md → list-agents-rebuild.md} +0 -0
- /package/claude-assets/commands/{cfn/metrics-summary.md → metrics-summary.md} +0 -0
- /package/claude-assets/commands/{cfn/neural.md → neural.md} +0 -0
- /package/claude-assets/commands/{cfn/parse-epic.md → parse-epic.md} +0 -0
- /package/claude-assets/commands/{cfn/performance.md → performance.md} +0 -0
- /package/claude-assets/commands/{cfn/sparc.md → sparc.md} +0 -0
- /package/claude-assets/commands/{cfn/suggest-improvements.md → suggest-improvements.md} +0 -0
- /package/claude-assets/commands/{cfn/suggest-templates.md → suggest-templates.md} +0 -0
- /package/claude-assets/commands/{cfn/swarm.md → swarm.md} +0 -0
- /package/claude-assets/commands/{cfn/switch-api.md → switch-api.md} +0 -0
- /package/claude-assets/commands/{cfn/workflow.md → workflow.md} +0 -0
- /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.
|
|
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 | [ ]
|
|
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.
|
|
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 | [ ]
|
|
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.
|
|
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/
|
|
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/ &&
|
|
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",
|
/package/.claude/commands/{cfn/CFN_COORDINATOR_PARAMETERS.md → CFN_COORDINATOR_PARAMETERS.md}
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
/package/.claude/commands/{cfn/dependency-recommendations.md → dependency-recommendations.md}
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
/package/claude-assets/commands/{cfn/CFN_COORDINATOR_PARAMETERS.md → CFN_COORDINATOR_PARAMETERS.md}
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
/package/claude-assets/commands/{cfn/custom-routing-activate.md → custom-routing-activate.md}
RENAMED
|
File without changes
|
/package/claude-assets/commands/{cfn/custom-routing-deactivate.md → custom-routing-deactivate.md}
RENAMED
|
File without changes
|
/package/claude-assets/commands/{cfn/dependency-recommendations.md → dependency-recommendations.md}
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|