claude-flow-novice 2.6.0 → 2.8.1
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/adaptive-context/cfn-v3-reflection.json +21 -0
- package/.claude/agents/AGENT_LIFECYCLE.md +495 -0
- package/.claude/agents/CLAUDE.md +1002 -995
- package/.claude/agents/accessibility-advocate.md +457 -0
- package/.claude/agents/agent-principles/README.md +226 -226
- package/.claude/agents/agent-principles/agent-type-guidelines.md +10 -0
- package/.claude/agents/agent-principles/format-selection.md +10 -0
- package/.claude/agents/agent-principles/phase4-template-optimization.md +502 -494
- package/.claude/agents/agent-principles/prompt-engineering.md +8 -0
- package/.claude/agents/agent-principles/quality-metrics.md +8 -0
- package/.claude/agents/analysis/code-analyzer.md +7 -17
- package/.claude/agents/analysis/code-review/analyze-code-quality.md +2 -104
- package/.claude/agents/analysis/perf-analyzer.md +2 -196
- package/.claude/agents/context/context-curator.md +78 -84
- package/.claude/agents/context/context-reflector.md +27 -81
- package/.claude/agents/coordinators/README.md +42 -0
- package/.claude/agents/coordinators/cfn-v3-coordinator.md +440 -0
- package/.claude/agents/{product-owner-team → coordinators}/cto-agent.md +154 -187
- package/.claude/agents/coordinators/multi-sprint-coordinator.md +50 -0
- package/.claude/agents/{product-owner-team → coordinators}/product-owner-agent.md +6 -39
- package/.claude/agents/{cfn-loop → coordinators}/product-owner.md +72 -17
- package/.claude/agents/core-agents/reviewer.md +114 -135
- package/.claude/agents/custom/agent-builder.md +637 -637
- package/.claude/agents/developers/README.md +69 -0
- package/.claude/agents/developers/backend-dev.md +77 -0
- package/.claude/agents/{core-agents → developers}/coder.md +131 -26
- package/.claude/agents/developers/react-frontend-engineer.md +121 -0
- package/.claude/agents/{frontend → developers}/state-architect.md +1 -0
- package/.claude/agents/{frontend → developers}/ui-designer.md +1 -0
- package/.claude/agents/development/backend/dev-backend-api.md +0 -29
- package/.claude/agents/development/npm-package-specialist.md +355 -347
- package/.claude/agents/documentation/api-docs/docs-api-openapi.md +8 -0
- package/.claude/agents/documentation/api-docs.md +8 -0
- package/.claude/agents/github/github-commit-agent.md +125 -117
- package/.claude/agents/goal/goal-planner.md +8 -0
- package/.claude/agents/infrastructure/README.md +100 -0
- package/.claude/agents/{specialized → infrastructure}/devops-engineer.md +131 -150
- package/.claude/agents/planners/README.md +94 -0
- package/.claude/agents/{core-agents → planners}/analyst.md +1 -22
- package/.claude/agents/{planning-team → planners}/api-designer-persona.md +8 -0
- package/.claude/agents/{core-agents → planners}/architect.md +7 -20
- package/.claude/agents/{core-agents → planners}/planner.md +0 -21
- package/.claude/agents/{planning-team → planners}/security-architect-persona.md +8 -28
- package/.claude/agents/{planning-team → planners}/system-architect-persona.md +6 -38
- package/.claude/agents/{architecture → planners}/system-architect.md +12 -17
- package/.claude/agents/product-owner-team/accessibility-advocate-persona.md +132 -161
- package/.claude/agents/product-owner-team/power-user-persona.md +149 -182
- package/.claude/agents/retrospective-analyst.md +84 -0
- package/.claude/agents/reviewers/README.md +58 -0
- package/.claude/agents/{analysis → reviewers}/code-quality-validator.md +8 -17
- package/.claude/agents/reviewers/reviewer.md +181 -0
- package/.claude/agents/sparc/architecture.md +6 -25
- package/.claude/agents/sparc/pseudocode.md +6 -0
- package/.claude/agents/sparc/refinement.md +6 -0
- package/.claude/agents/sparc/specification.md +1 -0
- package/.claude/agents/specialists/README.md +60 -0
- package/.claude/agents/{core-agents → specialists}/base-template-generator.md +8 -21
- package/.claude/agents/{specialized → specialists}/cli-agent-optimizer.md +1 -1
- package/.claude/agents/{specialized → specialists}/code-booster.md +1 -0
- package/.claude/agents/{consensus → specialists}/consensus-builder.md +1 -17
- package/.claude/agents/{specialized/mobile → specialists}/mobile-dev.md +0 -20
- package/.claude/agents/{core-agents → specialists}/performance-benchmarker.md +134 -148
- package/.claude/agents/{specialized → specialists}/rust-developer.md +1 -20
- package/.claude/agents/{specialized → specialists}/rust-enterprise-developer.md +1 -20
- package/.claude/agents/{specialized → specialists}/rust-mvp-developer.md +1 -20
- package/.claude/agents/{core-agents → specialists}/security-manager.md +68 -88
- package/.claude/agents/{security → specialists}/security-specialist-existing.md +6 -57
- package/.claude/agents/{security → specialists}/security-specialist.md +6 -30
- package/.claude/agents/{specialized/mobile → specialists}/spec-mobile-react-native.md +2 -21
- package/.claude/agents/testers/README.md +94 -0
- package/.claude/agents/{testing → testers}/e2e/playwright-agent.md +1 -20
- package/.claude/agents/{testing → testers}/interaction-tester.md +1 -20
- package/.claude/agents/{testing → testers}/playwright-tester.md +1 -1
- package/.claude/agents/testers/tester.md +139 -0
- package/.claude/agents/testers/unit/tdd-london-swarm.md +49 -0
- package/.claude/agents/testers/validation/production-validator.md +33 -0
- package/.claude/agents-ignore/cfn-loop-coordinator.md +157 -0
- package/.claude/agents-ignore/cfn-loop-coordinator.md.backup +156 -0
- package/.claude/agents-ignore/coordinator.md.backup +182 -0
- package/.claude/agents-ignore/cost-savings-cfn-loop-coordinator.md +760 -0
- package/.claude/agents-ignore/cost-savings-coordinator.md +173 -0
- package/.claude/artifacts/ace-reflections/REFLECT-001-summary.json +39 -0
- package/.claude/artifacts/ace-reflections/sprint-7_$(date -u +/"%Y%m%d_%H%M%S/").json" +47 -0
- package/.claude/commands/CFN_COORDINATOR_PARAMETERS.md +10 -10
- package/.claude/commands/cfn-loop-epic.md +3 -3
- package/.claude/commands/cfn-loop-single.md +3 -3
- package/.claude/commands/cfn-loop-sprints.md +1 -1
- package/.claude/commands/cfn-loop.md +3 -3
- package/.claude/commands/cfn-mode.md +20 -0
- package/.claude/commands/write-plan.md +104 -0
- package/.claude/data/cfn-loop.db +0 -0
- package/.claude/data/cfn_loop_logs.db +0 -0
- package/.claude/hooks/BACKUP_USAGE.md +243 -0
- package/.claude/hooks/post-edit-cfn-retrospective.sh +79 -0
- package/.claude/hooks/post-edit.sh +21 -0
- package/.claude/hooks/pre-edit-backup.sh +71 -0
- package/.claude/hooks/restore-from-backup.sh +37 -0
- package/.claude/prompts/cfn-loop-context.md +115 -0
- package/.claude/prompts/loop-specific/loop2.md +50 -0
- package/.claude/prompts/loop-specific/loop3.md +43 -0
- package/.claude/prompts/loop-specific/loop4.md +54 -0
- package/.claude/root-claude-distribute/CLAUDE.md +76 -2
- package/.claude/skills/ace-system/sprint-7-lessons.json +46 -0
- package/.claude/skills/ace-system/store-reflection.sh +33 -136
- package/.claude/skills/agent-discovery/SKILL.md +40 -0
- package/.claude/skills/agent-discovery/agents-registry-clean.json +0 -0
- package/.claude/skills/agent-discovery/agents-registry-fixed.json +19 -0
- package/.claude/skills/agent-discovery/agents-registry.json +718 -0
- package/.claude/skills/agent-discovery/discover-agents.py +175 -0
- package/.claude/skills/agent-discovery/discover-agents.sh +87 -0
- package/.claude/skills/agent-discovery/invoke-registry.sh +11 -0
- package/.claude/skills/agent-discovery/temp_script.py +0 -0
- package/.claude/skills/agent-output-processing/SKILL.md +359 -0
- package/.claude/skills/agent-selector/SKILL.md +90 -0
- package/.claude/skills/agent-selector/select-agents.sh +96 -0
- package/.claude/skills/agent-spawning/agent-selection-guide.md +1 -1
- package/.claude/skills/agent-swap/SKILL.md +36 -0
- package/.claude/skills/agent-swap/recommend-swap.sh +60 -0
- package/.claude/skills/api-validation/test-endpoints.sh +54 -0
- package/.claude/skills/automatic-memory-persistence/SKILL.md +73 -0
- package/.claude/skills/automatic-memory-persistence/persist-agent-output.sh +49 -0
- package/.claude/skills/automatic-memory-persistence/query-agent-history.sh +35 -0
- package/.claude/skills/automatic-memory-persistence/test-memory-persistence.sh +235 -0
- package/.claude/skills/cfn-loop-orchestration/README.md +41 -0
- package/.claude/skills/cfn-loop-orchestration/SKILL.md +299 -0
- package/.claude/skills/cfn-loop-orchestration/helpers/auto-tune-timeouts.sh +228 -0
- package/.claude/skills/cfn-loop-orchestration/helpers/consensus.sh +84 -0
- package/.claude/skills/cfn-loop-orchestration/helpers/deliverable-verifier.sh +71 -0
- package/.claude/skills/cfn-loop-orchestration/helpers/gate-check.sh +90 -0
- package/.claude/skills/cfn-loop-orchestration/helpers/iteration-manager.sh +87 -0
- package/.claude/skills/cfn-loop-orchestration/helpers/timeout-calculator.sh +51 -0
- package/.claude/skills/cfn-loop-orchestration/inject-loop-context.sh +41 -0
- package/.claude/skills/cfn-loop-orchestration/monitor-execution.sh +156 -0
- package/.claude/skills/cfn-loop-orchestration/orchestrate.sh +840 -0
- package/.claude/skills/cfn-loop-orchestration/security_utils.sh +99 -0
- package/.claude/skills/cfn-loop-orchestration/test-cfn-orchestration.sh +281 -0
- package/.claude/skills/cfn-loop-orchestration/test-edge-cases.sh +188 -0
- package/.claude/skills/cfn-loop-validation/SKILL.md +307 -217
- package/.claude/skills/complexity-estimator/SKILL.md +96 -0
- package/.claude/skills/complexity-estimator/estimate-complexity.sh +144 -0
- package/.claude/skills/context-pruner/SKILL.md +75 -0
- package/.claude/skills/context-pruner/prune-context.sh +73 -0
- package/.claude/skills/defense-in-depth/SKILL.md +133 -0
- package/.claude/skills/dependency-extractor/SKILL.md +35 -0
- package/.claude/skills/dependency-extractor/extract-dependencies.sh +66 -0
- package/.claude/skills/epic-decomposer/SKILL.md +44 -0
- package/.claude/skills/epic-decomposer/decompose-epic.sh +104 -0
- package/.claude/skills/improvement-recommender/SKILL.md +33 -0
- package/.claude/skills/improvement-recommender/recommend-improvements.sh +92 -0
- package/.claude/skills/intervention-detector/SKILL.md +39 -0
- package/.claude/skills/intervention-detector/detect-intervention.sh +111 -0
- package/.claude/skills/intervention-orchestrator/SKILL.md +43 -0
- package/.claude/skills/intervention-orchestrator/execute-intervention.sh +59 -0
- package/.claude/skills/loop2-output-processing/SKILL.md +163 -0
- package/.claude/skills/loop2-output-processing/execute-and-extract.sh +77 -0
- package/.claude/skills/loop2-output-processing/execute-and-extract.sh.backup +36 -0
- package/.claude/skills/loop2-output-processing/parse-feedback.sh +147 -0
- package/.claude/skills/loop2-output-processing/process-validator-output.sh +275 -0
- package/.claude/skills/loop2-output-processing/test-bug27-fix.sh +200 -0
- package/.claude/skills/loop2-output-processing/test-loop2-processing.sh +113 -0
- package/.claude/skills/loop3-output-processing/AGENT_COMPLETION_PROTOCOL.md +206 -0
- package/.claude/skills/loop3-output-processing/SKILL.md +421 -0
- package/.claude/skills/loop3-output-processing/calculate-confidence.sh +28 -0
- package/.claude/skills/loop3-output-processing/execute-and-extract.sh +85 -0
- package/.claude/skills/loop3-output-processing/parse-confidence.sh +31 -0
- package/.claude/skills/loop3-output-processing/test-agent-timeout.sh +327 -0
- package/.claude/skills/loop3-output-processing/test-loop3-processing.sh +155 -0
- package/.claude/skills/loop3-output-processing/verify-deliverables.sh +42 -0
- package/.claude/skills/pattern-extraction/SKILL.md +30 -0
- package/.claude/skills/pattern-extraction/extract-patterns.sh +80 -0
- package/.claude/skills/playbook/SKILL.md +113 -0
- package/.claude/skills/playbook/init-playbook.sh +54 -0
- package/.claude/skills/playbook/playbook.db +0 -0
- package/.claude/skills/playbook/query-playbook.sh +79 -0
- package/.claude/skills/playbook/update-playbook.sh +69 -0
- package/.claude/skills/playbook-auto-update/SKILL.md +29 -0
- package/.claude/skills/playbook-auto-update/auto-update-playbook.sh +86 -0
- package/.claude/skills/product-owner-decision/SKILL.md +332 -0
- package/.claude/skills/product-owner-decision/execute-decision.sh +176 -0
- package/.claude/skills/product-owner-decision/parse-decision.sh +66 -0
- package/.claude/skills/product-owner-decision/validate-deliverables.sh +82 -0
- package/.claude/skills/redis-coordination/LOGGING.md +260 -0
- package/.claude/skills/redis-coordination/README.md +30 -29
- package/.claude/skills/redis-coordination/SKILL.md +685 -83
- package/.claude/skills/redis-coordination/analyze-task-complexity.sh +277 -0
- package/.claude/skills/redis-coordination/cfn-loop-exec.sh +468 -0
- package/.claude/skills/redis-coordination/collect-confidence-scores.sh +179 -0
- package/.claude/skills/redis-coordination/collect-results.sh +75 -0
- package/.claude/skills/redis-coordination/data/cfn-loop.db +0 -0
- package/.claude/skills/redis-coordination/{test-orchestrator.sh → demos/test-orchestrator.sh} +25 -0
- package/.claude/skills/redis-coordination/execute-product-owner-decision.sh +258 -0
- package/.claude/skills/redis-coordination/get-agent-timeout.sh +176 -176
- package/.claude/skills/redis-coordination/invoke-waiting-mode.sh +93 -227
- package/.claude/skills/redis-coordination/invoke-waiting-mode.sh.backup-p7 +423 -0
- package/.claude/skills/redis-coordination/log-event.sh +109 -0
- package/.claude/skills/redis-coordination/monitor-cfn-violations.sh +391 -0
- package/.claude/skills/redis-coordination/orchestrate-cfn-loop-v3.sh +141 -0
- package/.claude/skills/redis-coordination/orchestrate-cfn-loop.sh +31 -993
- package/.claude/skills/redis-coordination/orchestrate-cfn-loop.sh.backup +38 -0
- package/.claude/skills/redis-coordination/orchestrate-cfn-loop.sh.backup-1761167675 +1672 -0
- package/.claude/skills/redis-coordination/orchestrate-cfn-loop.sh.backup-p5 +1604 -0
- package/.claude/skills/redis-coordination/orchestrate-cfn-loop.sh.backup-phase1 +1550 -0
- package/.claude/skills/redis-coordination/orchestrate-cfn-loop.sh.backup-phase2 +1621 -0
- package/.claude/skills/redis-coordination/orchestrate-cfn-loop.sh.backup-phase3 +1621 -0
- package/.claude/skills/redis-coordination/orchestrate-cfn-loop.sh.bak +0 -0
- package/.claude/skills/redis-coordination/orchestrate-cfn-loop.sh.broken +1627 -0
- package/.claude/skills/redis-coordination/orchestrate-cfn-loop.sh.corrupted +80 -0
- package/.claude/skills/redis-coordination/orchestrate-cfn-loop.sh.deprecated +1864 -0
- package/.claude/skills/redis-coordination/query-logs.sh +103 -0
- package/.claude/skills/redis-coordination/retrieve-context.sh +58 -0
- package/.claude/skills/redis-coordination/select-specialist-agent.sh +371 -0
- package/.claude/skills/redis-coordination/semantic-match-tfidf.py +252 -0
- package/.claude/skills/redis-coordination/send-heartbeat.sh +164 -72
- package/.claude/skills/redis-coordination/signal.sh +38 -0
- package/.claude/skills/redis-coordination/store-context.sh +86 -0
- package/.claude/skills/redis-coordination/test-context-injection.sh +354 -0
- package/.claude/skills/redis-coordination/test-timeout-enforcement.sh +513 -0
- package/.claude/skills/redis-coordination/tests/convert-line-endings.sh +15 -0
- package/.claude/skills/redis-coordination/tests/dlq-functionality-test.sh +101 -101
- package/.claude/skills/redis-coordination/tests/edge-cases-test.sh +98 -98
- package/.claude/skills/redis-coordination/tests/integration-test.sh +169 -169
- package/.claude/skills/redis-coordination/tests/retry-mechanism-test.sh +81 -81
- package/.claude/skills/redis-coordination/tests/run-test-suite.sh +91 -91
- package/.claude/skills/redis-coordination/tests/run-tests.sh +4 -0
- package/.claude/skills/redis-coordination/tests/test-primitives.sh +166 -0
- package/.claude/skills/redis-coordination/tests/test-utils.sh +53 -121
- package/.claude/skills/redis-coordination/tests/test_coordination_primitives.sh.deprecated +20 -0
- package/.claude/skills/redis-coordination/tests/test_utils.sh +49 -0
- package/.claude/skills/redis-coordination/v2_modularization/core_orchestration.sh +76 -0
- package/.claude/skills/redis-coordination/validate-parameters.sh +492 -0
- package/.claude/skills/retrospective-report/SKILL.md +31 -0
- package/.claude/skills/retrospective-report/generate-report.sh +101 -0
- package/.claude/skills/run-all-skill-tests.sh +124 -0
- package/.claude/skills/scope-simplifier/SKILL.md +37 -0
- package/.claude/skills/scope-simplifier/simplify-scope.sh +68 -0
- package/.claude/skills/simplified-agent-lifecycle/COST_ANALYSIS.md +49 -0
- package/.claude/skills/simplified-agent-lifecycle/DESIGN.md +98 -0
- package/.claude/skills/simplified-agent-lifecycle/MIGRATION_PLAN.md +74 -0
- package/.claude/skills/specialist-injection/SKILL.md +41 -0
- package/.claude/skills/specialist-injection/recommend-specialist.sh +57 -0
- package/.claude/skills/sprint-execution/SKILL.md +27 -0
- package/.claude/skills/sprint-execution/execute-sprint-task.sh +59 -0
- package/.claude/skills/sprint-execution/execute-sprint.sh +65 -0
- package/.claude/skills/sprint-planner/SKILL.md +37 -0
- package/.claude/skills/sprint-planner/plan-sprint.sh +85 -0
- package/.claude/skills/standardized-error-handling/SKILL.md +56 -0
- package/.claude/skills/standardized-error-handling/capture-agent-error.sh +87 -0
- package/.claude/skills/standardized-error-handling/test-error-handling.sh +166 -0
- package/.claude/skills/task-classifier/SKILL.md +94 -0
- package/.claude/skills/task-classifier/classify-task.sh +115 -0
- package/.claude/skills/validation-templates/SKILL.md +47 -0
- package/.claude/skills/validation-templates/content.json +38 -0
- package/.claude/skills/validation-templates/data.json +38 -0
- package/.claude/skills/validation-templates/design.json +38 -0
- package/.claude/skills/validation-templates/infrastructure.json +38 -0
- package/.claude/skills/validation-templates/research.json +38 -0
- package/.claude/skills/validation-templates/software.json +38 -0
- package/.claude/skills/webapp-testing/README.md +142 -0
- package/.claude/skills/webapp-testing/SCREENSHOT_NAMING_CONVENTION.md +547 -0
- package/.claude/skills/webapp-testing/SKILL.md +877 -0
- package/.claude/skills/webapp-testing/capture-screenshot.sh +238 -0
- package/.claude/skills/webapp-testing/cfn-loop-integration.sh +265 -0
- package/.claude/skills/webapp-testing/compare-screenshots.sh +199 -0
- package/.claude/skills/webapp-testing/init-storage.sh +150 -0
- package/.claude/skills/webapp-testing/set-baseline.sh +196 -0
- package/.claude/skills/webapp-testing/test-webapp-testing.sh +233 -0
- package/.claude/spawn-pattern-examples.md +3 -3
- package/CLAUDE.md +319 -45
- package/README.md +598 -251
- package/dist/agents/agent-loader.js +146 -165
- package/dist/agents/agent-loader.js.map +1 -1
- package/dist/cli/agent-command.js +2 -0
- package/dist/cli/agent-command.js.map +1 -1
- package/dist/cli/agent-definition-parser.js +7 -0
- package/dist/cli/agent-definition-parser.js.map +1 -1
- package/dist/cli/agent-executor.js +145 -11
- package/dist/cli/agent-executor.js.map +1 -1
- package/dist/cli/agent-prompt-builder.js +81 -1
- package/dist/cli/agent-prompt-builder.js.map +1 -1
- package/dist/cli/agent-spawn.js +10 -1
- package/dist/cli/agent-spawn.js.map +1 -1
- package/dist/cli/anthropic-client.js +192 -13
- package/dist/cli/anthropic-client.js.map +1 -1
- package/dist/cli/cfn-context.js +150 -0
- package/dist/cli/cfn-context.js.map +1 -1
- package/dist/cli/cfn-fork.js +159 -0
- package/dist/cli/cfn-fork.js.map +1 -0
- package/dist/cli/cli-agent-context.js +8 -3
- package/dist/cli/cli-agent-context.js.map +1 -1
- package/dist/cli/config-manager.js +109 -91
- package/dist/cli/config-manager.js.map +1 -1
- package/dist/cli/conversation-fork.js +201 -0
- package/dist/cli/conversation-fork.js.map +1 -0
- package/dist/cli/index.js +4 -0
- package/dist/cli/index.js.map +1 -1
- package/dist/cli/tool-definitions.js +263 -0
- package/dist/cli/tool-definitions.js.map +1 -0
- package/dist/cli/tool-executor.js +247 -0
- package/dist/cli/tool-executor.js.map +1 -0
- package/dist/hello.js +8 -0
- package/dist/hello.js.map +1 -0
- package/package.json +14 -6
- package/scripts/README.md +68 -0
- package/scripts/cfn-intervention-example.sh +21 -0
- package/scripts/migrate-test-infrastructure.sh +40 -0
- package/scripts/validate-test-migration.sh +49 -0
- package/scripts/verify-no-secrets.sh +55 -0
- package/.claude/agents/architecture/system-architect.md.backup +0 -603
- package/.claude/agents/code-booster.md +0 -131
- package/.claude/agents/consensus/performance-benchmarker.md +0 -101
- package/.claude/agents/consensus/security-manager.md +0 -107
- package/.claude/agents/context-curator.md +0 -167
- package/.claude/agents/context-reflector.md +0 -65
- package/.claude/agents/core-agents/cfn-loop-coordinator.md +0 -134
- package/.claude/agents/core-agents/code-quality-validator.md +0 -149
- package/.claude/agents/core-agents/context-curator.md +0 -452
- package/.claude/agents/core-agents/context-reflector.md +0 -273
- package/.claude/agents/core-agents/cost-savings-cfn-loop-coordinator.md +0 -235
- package/.claude/agents/core-agents/tester.md +0 -170
- package/.claude/agents/development/backend-dev.md +0 -165
- package/.claude/agents/devops/devops-engineer.md +0 -148
- package/.claude/agents/frontend/interaction-tester.md +0 -139
- package/.claude/agents/frontend/react-frontend-engineer.md +0 -9
- package/.claude/agents/personas/accessibility-advocate-persona.md +0 -107
- package/.claude/agents/testing/production-validator.md +0 -179
- package/.claude/agents/testing/tdd-london-swarm.md +0 -209
- package/.claude/agents/testing/unit/tdd-london-swarm.md +0 -43
- package/.claude/agents/testing/validation/production-validator.md +0 -43
- package/.claude/api-configs/config-current-zai-config.env +0 -62
- package/.claude/api-configs/config-test-zai-config.env +0 -62
- package/.claude/api-configs/env-backups/before-anthropic-20251020-025404.env +0 -62
- package/.claude/api-configs/env-backups/before-restore-20251020-025431.env +0 -62
- package/.claude/skills/redis-coordination/orchestrate-cfn-loop.sh.backup-1760949407 +0 -933
- package/dist/cli/cli-agent-context.test.js +0 -451
- package/dist/cli/cli-agent-context.test.js.map +0 -1
- package/dist/coordination/fleet-manager.test.js +0 -141
- package/dist/coordination/fleet-manager.test.js.map +0 -1
- package/dist/middleware/transparency-middleware.test.js +0 -184
- package/dist/middleware/transparency-middleware.test.js.map +0 -1
- /package/.claude/agents/{core-agents → developers}/researcher.md +0 -0
- /package/.claude/agents/{consensus → specialists}/crdt-synchronizer.md +0 -0
- /package/.claude/agents/{consensus → specialists}/quorum-manager.md +0 -0
- /package/.claude/agents/{consensus → specialists}/raft-manager.md +0 -0
- /package/.claude/{agents/core-agents → agents-ignore}/coordinator.md +0 -0
- /package/.claude/{agents/core-agents/cost-savings-coordinator.md → agents-ignore/cost-savings-coordinator.md.backup} +0 -0
- /package/.claude/skills/redis-coordination/{phase4-wake-queue-test-report.md → demos/phase4-wake-queue-test-report.md} +0 -0
- /package/.claude/skills/redis-coordination/{test-bzpopmin-fix.sh → demos/test-bzpopmin-fix.sh} +0 -0
- /package/.claude/skills/redis-coordination/{test-cancel-swarm.sh → demos/test-cancel-swarm.sh} +0 -0
- /package/.claude/skills/redis-coordination/{test-dlq.sh → demos/test-dlq.sh} +0 -0
- /package/.claude/skills/redis-coordination/{test-iteration-feedback.sh → demos/test-iteration-feedback.sh} +0 -0
- /package/.claude/skills/redis-coordination/{test-priority-wake-phase4-unix.sh → demos/test-priority-wake-phase4-unix.sh} +0 -0
- /package/.claude/skills/redis-coordination/{test-priority-wake-phase4.sh → demos/test-priority-wake-phase4.sh} +0 -0
- /package/.claude/skills/redis-coordination/{test-priority-wake.sh → demos/test-priority-wake.sh} +0 -0
- /package/.claude/skills/redis-coordination/{test-quick-fix.sh → demos/test-quick-fix.sh} +0 -0
- /package/.claude/skills/redis-coordination/{test-quorum-absolute.sh → demos/test-quorum-absolute.sh} +0 -0
- /package/.claude/skills/redis-coordination/{test-quorum-fallback.sh → demos/test-quorum-fallback.sh} +0 -0
- /package/.claude/skills/redis-coordination/{test-quorum-percentage.sh → demos/test-quorum-percentage.sh} +0 -0
- /package/.claude/skills/redis-coordination/{test-quorum-with-retry.sh → demos/test-quorum-with-retry.sh} +0 -0
- /package/.claude/skills/redis-coordination/{test-quorum.sh → demos/test-quorum.sh} +0 -0
- /package/.claude/skills/redis-coordination/{test-shutdown-handling.sh → demos/test-shutdown-handling.sh} +0 -0
- /package/.claude/skills/redis-coordination/{test-shutdown.sh → demos/test-shutdown.sh} +0 -0
- /package/.claude/skills/redis-coordination/{test-utils-unix.sh → demos/test-utils-unix.sh} +0 -0
- /package/.claude/skills/redis-coordination/{test-utils.sh → demos/test-utils.sh} +0 -0
- /package/.claude/skills/redis-coordination/{test-waiting-mode.sh → demos/test-waiting-mode.sh} +0 -0
package/README.md
CHANGED
|
@@ -1,343 +1,684 @@
|
|
|
1
|
-
# Claude Flow Novice - AI Agent Orchestration
|
|
1
|
+
# Claude Flow Novice v3 - AI Agent Orchestration Framework
|
|
2
2
|
|
|
3
3
|
[](https://badge.fury.io/js/claude-flow-novice)
|
|
4
4
|
[](https://opensource.org/licenses/MIT)
|
|
5
|
-
[](https://nodejs.org/)
|
|
6
6
|
|
|
7
|
-
A
|
|
7
|
+
A production-ready AI agent orchestration system with autonomous self-correcting workflows, multi-domain support, and intelligent learning capabilities. Built for developers who need reliable, cost-effective agent coordination.
|
|
8
8
|
|
|
9
|
-
##
|
|
9
|
+
## 🚀 Quick Start
|
|
10
10
|
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
- **🎯 Swarm Intelligence**: Redis-backed coordination for persistent agent collaboration
|
|
15
|
-
- **🛠️ CLI-First Design**: Simple command-line interface for beginners
|
|
16
|
-
- **📊 Real-time Monitoring**: Track agent progress and system performance
|
|
17
|
-
- **🔒 Security Focused**: Built-in ACL and security controls
|
|
18
|
-
- **⚡ High Performance**: Optimized for cost-effective execution
|
|
11
|
+
```bash
|
|
12
|
+
# Install
|
|
13
|
+
npm install claude-flow-novice
|
|
19
14
|
|
|
20
|
-
|
|
15
|
+
# Execute CFN Loop for complex features
|
|
16
|
+
npx cfn-loop "Implement JWT authentication system" --mode=standard
|
|
21
17
|
|
|
22
|
-
|
|
18
|
+
# Or spawn agents directly
|
|
19
|
+
npx cfn-spawn backend-dev --task-id auth-task
|
|
20
|
+
```
|
|
23
21
|
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
22
|
+
## ✨ What Makes CFN v3 Different
|
|
23
|
+
|
|
24
|
+
**Self-Correcting Workflows** - Automatic iteration until quality gates met (≥0.75 confidence, ≥0.90 consensus)
|
|
25
|
+
|
|
26
|
+
**95-98% Cost Savings** - CLI mode with Z.ai routing ($0.50/1M vs $3-15/1M tokens)
|
|
27
|
+
|
|
28
|
+
**Learns Over Time** - Playbook system reduces iterations by 30-40% after 10 similar tasks
|
|
29
|
+
|
|
30
|
+
**Multi-Domain** - Supports 6 task types with domain-specific validation
|
|
31
|
+
|
|
32
|
+
**Zero-Token Coordination** - Redis BLPOP for infinite waiting without API costs
|
|
33
|
+
|
|
34
|
+
---
|
|
35
|
+
|
|
36
|
+
## 🎯 Core CFN Loop System
|
|
37
|
+
|
|
38
|
+
### CFN Loop Architecture
|
|
27
39
|
|
|
28
|
-
# Auto-syncs on install:
|
|
29
|
-
# ✅ .claude/agents/ → Your project (96+ specialized agents)
|
|
30
|
-
# ✅ .claude/commands/ → Your project (201+ slash commands)
|
|
31
|
-
# ✅ .claude/*.md → Your project (CFN Loop rules, ACE system, patterns)
|
|
32
|
-
# ✅ config/hooks/ → Your project (39 validation hooks)
|
|
33
40
|
```
|
|
41
|
+
┌─────────────────────────────────────────────────────────────────┐
|
|
42
|
+
│ CFN Loop v3 Flow │
|
|
43
|
+
└─────────────────────────────────────────────────────────────────┘
|
|
44
|
+
|
|
45
|
+
User Task Description
|
|
46
|
+
↓
|
|
47
|
+
┌───────────────────────────────────────┐
|
|
48
|
+
│ cfn-v3-coordinator │
|
|
49
|
+
│ • Classify task type │
|
|
50
|
+
│ • Query playbook for similar tasks │
|
|
51
|
+
│ • Select Loop 3 + Loop 2 agents │
|
|
52
|
+
│ • Load validation templates │
|
|
53
|
+
│ • Estimate complexity & iterations │
|
|
54
|
+
└───────────────┬───────────────────────┘
|
|
55
|
+
↓
|
|
56
|
+
┌───────────────────────────────────────┐
|
|
57
|
+
│ CFN Loop Orchestrator │
|
|
58
|
+
│ (orchestrate.sh) │
|
|
59
|
+
└───────────────┬───────────────────────┘
|
|
60
|
+
↓
|
|
61
|
+
┌───────────────────────────────────────────────────────────┐
|
|
62
|
+
│ ITERATION N │
|
|
63
|
+
├───────────────────────────────────────────────────────────┤
|
|
64
|
+
│ │
|
|
65
|
+
│ ┌─────────────────────────────────────────────┐ │
|
|
66
|
+
│ │ Loop 3: Implementation (parallel agents) │ │
|
|
67
|
+
│ │ • backend-dev, coder, devops-engineer, etc │ │
|
|
68
|
+
│ │ • Each reports confidence score (0.0-1.0) │ │
|
|
69
|
+
│ └─────────────────┬───────────────────────────┘ │
|
|
70
|
+
│ ↓ │
|
|
71
|
+
│ ┌─────────────────────────────────────────────┐ │
|
|
72
|
+
│ │ Gate Check: Self-Validation │ │
|
|
73
|
+
│ │ • Check Loop 3 confidence ≥ threshold │ │
|
|
74
|
+
│ │ • MVP: 0.70 | Standard: 0.75 | Enterprise: 0.85 │ │
|
|
75
|
+
│ └─────────────────┬───────────────────────────┘ │
|
|
76
|
+
│ ↓ │
|
|
77
|
+
│ ┌──────────┴──────────┐ │
|
|
78
|
+
│ │ Gate PASS? │ │
|
|
79
|
+
│ └──┬────────────────┬─┘ │
|
|
80
|
+
│ NO YES │
|
|
81
|
+
│ ↓ ↓ │
|
|
82
|
+
│ ┌───────────┐ ┌───────────────────────────┐ │
|
|
83
|
+
│ │ ITERATE │ │ Deliverable Verification │ │
|
|
84
|
+
│ │ N+1 │ │ • git diff for file changes│ │
|
|
85
|
+
│ │ (retry) │ │ • Force ITERATE if no files│ │
|
|
86
|
+
│ └───────────┘ └──────────┬────────────────┘ │
|
|
87
|
+
│ ↓ │
|
|
88
|
+
│ ┌─────────────────────────────────┐ │
|
|
89
|
+
│ │ Loop 2: Validation (parallel) │ │
|
|
90
|
+
│ │ • reviewer, tester, security │ │
|
|
91
|
+
│ │ • Each reports consensus score │ │
|
|
92
|
+
│ └──────────┬──────────────────────┘ │
|
|
93
|
+
│ ↓ │
|
|
94
|
+
│ ┌─────────────────────────────────┐ │
|
|
95
|
+
│ │ Consensus Check │ │
|
|
96
|
+
│ │ • Aggregate validator scores │ │
|
|
97
|
+
│ │ • MVP: 0.80 | Std: 0.90 | Ent: 0.95 │ │
|
|
98
|
+
│ └──────────┬──────────────────────┘ │
|
|
99
|
+
│ ↓ │
|
|
100
|
+
│ ┌─────────────────────────────────┐ │
|
|
101
|
+
│ │ Loop 4: Product Owner Decision │ │
|
|
102
|
+
│ │ • PROCEED: Accept deliverables │ │
|
|
103
|
+
│ │ • ITERATE: Retry with feedback │ │
|
|
104
|
+
│ │ • ABORT: Stop execution │ │
|
|
105
|
+
│ └──────────┬──────────────────────┘ │
|
|
106
|
+
│ ↓ │
|
|
107
|
+
│ ┌──────────┴─────────┐ │
|
|
108
|
+
│ │ Decision? │ │
|
|
109
|
+
│ └──┬──────────────┬──┘ │
|
|
110
|
+
│ ITERATE PROCEED │
|
|
111
|
+
│ ↓ ↓ │
|
|
112
|
+
└────────────────────────┼────────────────┼──────────────┘
|
|
113
|
+
│ │
|
|
114
|
+
┌───────┘ └────────┐
|
|
115
|
+
↓ ↓
|
|
116
|
+
(Next Iteration) ┌──────────────┐
|
|
117
|
+
Max iterations: │ Loop 5: │
|
|
118
|
+
• MVP: 5 │ Retrospective│
|
|
119
|
+
• Standard: 10 │ • Extract │
|
|
120
|
+
• Enterprise: 15 │ patterns │
|
|
121
|
+
│ • Update │
|
|
122
|
+
│ playbook │
|
|
123
|
+
│ • Rank agents│
|
|
124
|
+
└──────────────┘
|
|
125
|
+
```
|
|
126
|
+
|
|
127
|
+
### Self-Correcting Multi-Loop Validation
|
|
128
|
+
|
|
129
|
+
**Gate Validation** - Implementation confidence scores
|
|
130
|
+
- MVP: ≥0.70 | Standard: ≥0.75 | Enterprise: ≥0.85
|
|
131
|
+
|
|
132
|
+
**Consensus Validation** - Validator agreement
|
|
133
|
+
- MVP: ≥0.80 | Standard: ≥0.90 | Enterprise: ≥0.95
|
|
34
134
|
|
|
35
|
-
|
|
135
|
+
**Automatic Iteration** - Self-correcting loops with max iterations:
|
|
136
|
+
- MVP: 5 | Standard: 10 | Enterprise: 15
|
|
137
|
+
|
|
138
|
+
### Dual-Mode Execution
|
|
139
|
+
|
|
140
|
+
**CLI Mode (Default)** - Production cost optimization
|
|
141
|
+
- 95-98% cost reduction via Z.ai routing
|
|
142
|
+
- Redis context storage for swarm recovery
|
|
143
|
+
- Zero-token waiting (BLPOP)
|
|
144
|
+
- Scalable to 10+ agents
|
|
145
|
+
|
|
146
|
+
**Task Mode** - Development & debugging
|
|
147
|
+
- Full visibility in Main Chat
|
|
148
|
+
- Direct context injection
|
|
149
|
+
- Anthropic routing
|
|
150
|
+
- Easier troubleshooting
|
|
36
151
|
|
|
37
152
|
```bash
|
|
38
|
-
#
|
|
39
|
-
|
|
153
|
+
# CLI mode (default)
|
|
154
|
+
/cfn-loop "Task description" --mode=standard
|
|
40
155
|
|
|
41
|
-
#
|
|
42
|
-
|
|
43
|
-
npx claude-flow-spawn --help
|
|
156
|
+
# Task mode (debugging)
|
|
157
|
+
/cfn-loop "Task description" --spawn-mode=task
|
|
44
158
|
```
|
|
45
159
|
|
|
46
|
-
|
|
160
|
+
---
|
|
47
161
|
|
|
48
|
-
|
|
49
|
-
# Spawn agents for a task (cost-optimized)
|
|
50
|
-
npx claude-flow-spawn "Build a REST API with authentication" \
|
|
51
|
-
--agents=coder,tester,reviewer \
|
|
52
|
-
--provider zai \
|
|
53
|
-
--max-agents 3
|
|
162
|
+
## 🧠 AI-Driven Intelligence (43 Modular Skills)
|
|
54
163
|
|
|
55
|
-
|
|
56
|
-
npx claude-flow-cost-savings on
|
|
164
|
+
### Phase 1: Foundation (5 Skills)
|
|
57
165
|
|
|
58
|
-
|
|
59
|
-
|
|
166
|
+
| Skill | Purpose | Impact |
|
|
167
|
+
|-------|---------|--------|
|
|
168
|
+
| `task-classifier` | Detect domain (software/content/research/design/infrastructure/data) | Automatic agent selection |
|
|
169
|
+
| `validation-templates` | Domain-specific quality criteria | Relevant validation gates |
|
|
170
|
+
| `agent-selector` | Dynamic agent recommendation | Optimal team composition |
|
|
171
|
+
| `context-pruner` | Summarize large contexts | 88% size reduction |
|
|
172
|
+
| `cfn-v3-coordinator` | Task analysis → JSON config | Intelligent orchestration |
|
|
60
173
|
|
|
61
|
-
|
|
62
|
-
claude-flow-novice status
|
|
63
|
-
```
|
|
174
|
+
### Phase 2: Learning System (2 Skills)
|
|
64
175
|
|
|
65
|
-
|
|
176
|
+
| Skill | Purpose | Impact |
|
|
177
|
+
|-------|---------|--------|
|
|
178
|
+
| `playbook` | SQLite pattern storage with similarity matching | 30-40% iteration reduction |
|
|
179
|
+
| `complexity-estimator` | Predict iterations from task analysis | Accurate effort estimates |
|
|
66
180
|
|
|
67
|
-
###
|
|
181
|
+
### Phase 3: Epic Decomposition (4 Skills)
|
|
68
182
|
|
|
69
|
-
|
|
183
|
+
| Skill | Purpose | Impact |
|
|
184
|
+
|-------|---------|--------|
|
|
185
|
+
| `epic-decomposer` | Break epics into focused sprints | Manageable scope |
|
|
186
|
+
| `sprint-planner` | Define scope boundaries (in/out/deliverables) | Prevents over-implementation |
|
|
187
|
+
| `dependency-extractor` | Topological sorting for sprint order | Correct sequencing |
|
|
188
|
+
| `sprint-execution` | Sprint-aware agent execution | Focused context injection |
|
|
70
189
|
|
|
71
|
-
|
|
72
|
-
Loop 0: Epic/Sprint orchestration
|
|
73
|
-
├── Loop 1: Phase execution (sequential)
|
|
74
|
-
├── Loop 2: Consensus validation (2-4 validators)
|
|
75
|
-
├── Loop 3: Primary swarm implementation (5-15 agents)
|
|
76
|
-
└── Loop 4: Product Owner decision gate
|
|
77
|
-
```
|
|
190
|
+
### Phase 4: Real-Time Intervention (5 Skills)
|
|
78
191
|
|
|
79
|
-
|
|
192
|
+
| Skill | Purpose | Triggers |
|
|
193
|
+
|-------|---------|----------|
|
|
194
|
+
| `intervention-detector` | Identify stuck loops | Plateau (Δ<0.05), recurring feedback, no deliverables |
|
|
195
|
+
| `agent-swap` | Replace underperforming agents | Repeated failures on same task |
|
|
196
|
+
| `specialist-injection` | Add domain experts mid-loop | Security issues, performance bottlenecks |
|
|
197
|
+
| `scope-simplifier` | Reduce deliverables | Complexity exceeds capacity |
|
|
198
|
+
| `intervention-orchestrator` | Coordinate adaptive corrections | Any intervention trigger |
|
|
80
199
|
|
|
81
|
-
|
|
82
|
-
|------|----------|---------------|-------------|
|
|
83
|
-
| **MVP** | Prototypes | Gate ≥0.70, Consensus ≥0.80 | <$1.00/phase |
|
|
84
|
-
| **Standard** | General features | Gate ≥0.75, Consensus ≥0.90 | $2.00/phase |
|
|
85
|
-
| **Enterprise** | Production systems | Gate ≥0.75, Consensus ≥0.95 | $5.00/phase |
|
|
200
|
+
### Phase 5: Continuous Learning (4 Skills)
|
|
86
201
|
|
|
87
|
-
|
|
202
|
+
| Skill | Purpose | Output |
|
|
203
|
+
|-------|---------|--------|
|
|
204
|
+
| `pattern-extraction` | Identify bottlenecks from execution logs | Pattern insights |
|
|
205
|
+
| `playbook-auto-update` | Store successful strategies | Persistent learning |
|
|
206
|
+
| `improvement-recommender` | Rank agent performance | Optimization suggestions |
|
|
207
|
+
| `retrospective-report` | Generate human-readable analysis | Sprint retrospectives |
|
|
88
208
|
|
|
89
|
-
|
|
90
|
-
- **Developer**: Implements code and features
|
|
91
|
-
- **Tester**: Validates functionality and quality
|
|
92
|
-
- **Security**: Ensures security best practices
|
|
93
|
-
- **Architect**: Designs system architecture
|
|
94
|
-
- **Analyst**: Researches and analyzes requirements
|
|
209
|
+
### Core Infrastructure (23 Skills)
|
|
95
210
|
|
|
96
|
-
|
|
211
|
+
- **Coordination**: `redis-coordination`, `agent-spawning`, `cfn-loop-orchestration`
|
|
212
|
+
- **Validation**: `cfn-loop-validation`, `product-owner-decision`, `loop2-output-processing`, `loop3-output-processing`
|
|
213
|
+
- **Agent Processing**: `agent-output-processing`, `agent-discovery`, `agent-selector`
|
|
214
|
+
- **Utilities**: `hook-pipeline`, `hybrid-routing`, `sqlite-memory`, `transparency-middleware`
|
|
215
|
+
- **Plus 9 more**: Process lifecycle, config management, test execution, etc.
|
|
97
216
|
|
|
98
|
-
|
|
217
|
+
---
|
|
99
218
|
|
|
100
|
-
|
|
101
|
-
# Swarm Management
|
|
102
|
-
claude-flow-novice swarm "Task description" --max-agents 5
|
|
103
|
-
claude-flow-novice swarm status
|
|
104
|
-
claude-flow-novice monitor
|
|
105
|
-
|
|
106
|
-
# CFN Loop Workflows
|
|
107
|
-
claude-flow-novice cfn-loop "Complex feature" --mode=enterprise
|
|
108
|
-
claude-flow-novice cfn-loop-sprints "E-commerce platform" --sprints=3
|
|
109
|
-
claude-flow-novice cfn-loop-epic "User management" --phases=4
|
|
110
|
-
|
|
111
|
-
# Development
|
|
112
|
-
claude-flow-novice dev
|
|
113
|
-
claude-flow-novice build
|
|
114
|
-
claude-flow-novice test
|
|
115
|
-
|
|
116
|
-
# Full-Stack Development
|
|
117
|
-
claude-flow-novice fullstack:spawn "React + API project"
|
|
118
|
-
claude-flow-novice fullstack:status
|
|
119
|
-
claude-flow-novice fullstack:terminate
|
|
120
|
-
```
|
|
219
|
+
## 🤖 Agent Library
|
|
121
220
|
|
|
122
|
-
###
|
|
221
|
+
### CFN v3 Coordinators (3)
|
|
123
222
|
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
│ └── skills/ # Coordination skills
|
|
130
|
-
├── .artifacts/ # Runtime artifacts
|
|
131
|
-
│ └── adaptive-context.db # ACE system knowledge base (133+ bullets)
|
|
132
|
-
├── src/ # Source code
|
|
133
|
-
├── tests/ # Test files
|
|
134
|
-
├── docs/ # Documentation
|
|
135
|
-
└── README.md
|
|
136
|
-
```
|
|
223
|
+
- `cfn-v3-coordinator` - Main CFN Loop analyzer and configuration generator
|
|
224
|
+
- `multi-sprint-coordinator` - Epic-level orchestration across sprints
|
|
225
|
+
- `retrospective-analyst` - Automatic learning and pattern extraction
|
|
226
|
+
|
|
227
|
+
### Core Development Agents
|
|
137
228
|
|
|
138
|
-
|
|
229
|
+
**Implementation**
|
|
230
|
+
- `coder` - General-purpose code implementation
|
|
231
|
+
- `backend-dev` - Backend services and APIs
|
|
232
|
+
- `frontend-dev` - Frontend applications
|
|
233
|
+
- `mobile-dev` - React Native and cross-platform
|
|
234
|
+
- `rust-developer` - Rust language specialist
|
|
139
235
|
|
|
140
|
-
|
|
236
|
+
**Quality Assurance**
|
|
237
|
+
- `reviewer` - Code review and quality validation
|
|
238
|
+
- `tester` - Test writing and execution
|
|
239
|
+
- `security-specialist` - Security analysis and hardening
|
|
240
|
+
- `architect` - System design and architecture
|
|
141
241
|
|
|
142
|
-
|
|
242
|
+
**Infrastructure**
|
|
243
|
+
- `devops-engineer` - DevOps and deployment
|
|
244
|
+
- `database-engineer` - Database design and optimization
|
|
245
|
+
- `api-designer` - API architecture and REST design
|
|
143
246
|
|
|
144
|
-
|
|
247
|
+
### Domain Specialists
|
|
145
248
|
|
|
146
|
-
**
|
|
249
|
+
**Software Development**
|
|
250
|
+
- `code-analyzer`, `performance-benchmarker`, `accessibility-advocate`
|
|
251
|
+
- `security-auditor`, `compliance-checker`, `cost-optimizer`
|
|
147
252
|
|
|
148
|
-
**
|
|
149
|
-
- `
|
|
150
|
-
- `context_reflections` - 1 stored reflection from task execution
|
|
151
|
-
- `context_merge_log` - 1 audit log entry for curation actions
|
|
152
|
-
- `memory_entries` - 1,939 agent memory entries with 5-level ACL
|
|
253
|
+
**Infrastructure & DevOps**
|
|
254
|
+
- `terraform-engineer`, `kubernetes-architect`
|
|
153
255
|
|
|
154
|
-
**
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
256
|
+
**Data Engineering**
|
|
257
|
+
- `data-engineer`, `pipeline-builder`, `etl-specialist`
|
|
258
|
+
|
|
259
|
+
**Content Creation**
|
|
260
|
+
- `copywriter`, `content-strategist`, `seo-specialist`
|
|
261
|
+
|
|
262
|
+
**Design & UX**
|
|
263
|
+
- `ui-designer`, `ux-researcher`, `visual-designer`
|
|
264
|
+
|
|
265
|
+
---
|
|
159
266
|
|
|
160
|
-
|
|
161
|
-
- Loads pending reflections from database
|
|
162
|
-
- Detects semantic similarity (tag-based, no embeddings needed)
|
|
163
|
-
- Merges/increments/adds bullets to `adaptive_context`
|
|
164
|
-
- Logs all actions in `context_merge_log`
|
|
267
|
+
## 🚀 CLI & Slash Commands
|
|
165
268
|
|
|
166
|
-
|
|
167
|
-
- `store-reflection.sh` - Store reflection with lessons
|
|
168
|
-
- `add-bullet.sh` - Add new bullet to context
|
|
169
|
-
- `log-merge.sh` - Log curation action
|
|
170
|
-
- `query-reflections.sh` - Query pending reflections
|
|
171
|
-
- `update-reflection.sh` - Mark reflection as processed
|
|
269
|
+
### CFN Loop Commands (8)
|
|
172
270
|
|
|
173
|
-
**Query examples**:
|
|
174
271
|
```bash
|
|
175
|
-
#
|
|
176
|
-
|
|
272
|
+
# Single task execution
|
|
273
|
+
/cfn-loop "Implement JWT authentication" --mode=standard
|
|
177
274
|
|
|
178
|
-
#
|
|
179
|
-
|
|
275
|
+
# Quick single-iteration task
|
|
276
|
+
/cfn-loop-single "Fix security bug in auth module"
|
|
180
277
|
|
|
181
|
-
#
|
|
182
|
-
|
|
278
|
+
# Large multi-phase epic
|
|
279
|
+
/cfn-loop-epic "Build complete authentication system"
|
|
280
|
+
|
|
281
|
+
# Phase with multiple sprints
|
|
282
|
+
/cfn-loop-sprints "Implement payment processing"
|
|
283
|
+
|
|
284
|
+
# Documentation generation
|
|
285
|
+
/cfn-loop-document --sprint=auth --epic=user-mgmt
|
|
286
|
+
|
|
287
|
+
# Rule synchronization
|
|
288
|
+
/cfn-claude-sync --dry-run
|
|
289
|
+
|
|
290
|
+
# Agent optimization
|
|
291
|
+
/cfn-optimize-agents --parallel=3
|
|
292
|
+
|
|
293
|
+
# Toggle spawning mode
|
|
294
|
+
/cfn-mode # Switch between CLI and Task spawning
|
|
183
295
|
```
|
|
184
296
|
|
|
185
|
-
|
|
297
|
+
### Binary Commands (7)
|
|
298
|
+
|
|
186
299
|
```bash
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
300
|
+
cfn-spawn # Spawn individual agents
|
|
301
|
+
cfn-loop # Execute CFN Loop workflow
|
|
302
|
+
cfn-swarm # Multi-agent coordination
|
|
303
|
+
cfn-portal # Web monitoring dashboard
|
|
304
|
+
cfn-context # Context management
|
|
305
|
+
cfn-metrics # Performance tracking
|
|
306
|
+
cfn-redis # Redis coordination utilities
|
|
191
307
|
```
|
|
192
308
|
|
|
193
|
-
|
|
309
|
+
---
|
|
310
|
+
|
|
311
|
+
## 🔄 Redis Coordination
|
|
312
|
+
|
|
313
|
+
### Zero-Token Waiting Mode
|
|
314
|
+
|
|
315
|
+
**BLPOP-Based Blocking** - Infinite wait, zero API cost
|
|
316
|
+
- Agents block with `redis-cli blpop "queue" 0`
|
|
317
|
+
- Coordinator wakes agents with `redis-cli lpush "queue" "signal"`
|
|
318
|
+
- <100ms latency wake-up
|
|
319
|
+
- Context preserved across iterations
|
|
320
|
+
|
|
321
|
+
**Swarm Recovery** - Redis persistence enables crash recovery
|
|
322
|
+
- Task context stored in Redis with TTL
|
|
323
|
+
- Agents resume from last known state
|
|
324
|
+
- Critical for long-running CFN Loops
|
|
325
|
+
|
|
326
|
+
### Coordination Patterns
|
|
327
|
+
|
|
328
|
+
| Pattern | Use Case | Agent Count |
|
|
329
|
+
|---------|----------|-------------|
|
|
330
|
+
| **Simple Chain** | Sequential dependencies | 2-3 |
|
|
331
|
+
| **Hierarchical Broadcast** | Coordinator → Workers | 4-10 |
|
|
332
|
+
| **Mesh Hybrid** | Complex collaboration | 5-15 |
|
|
333
|
+
|
|
334
|
+
---
|
|
335
|
+
|
|
336
|
+
## 📊 Multi-Domain Support (6 Task Types)
|
|
337
|
+
|
|
338
|
+
### 1. Software Development
|
|
339
|
+
**Agents**: backend-dev, coder, devops-engineer, security-specialist
|
|
340
|
+
**Validation**: Tests pass, security scan clean, build succeeds, coverage ≥80%
|
|
341
|
+
**Deliverables**: Source files, test files, docs
|
|
342
|
+
|
|
343
|
+
### 2. Content Creation
|
|
344
|
+
**Agents**: copywriter, content-strategist, seo-specialist
|
|
345
|
+
**Validation**: Grammar check, brand consistency, SEO score
|
|
346
|
+
**Deliverables**: Articles, blog posts, marketing copy
|
|
347
|
+
|
|
348
|
+
### 3. Research & Analysis
|
|
349
|
+
**Agents**: researcher, data-analyst, domain-expert
|
|
350
|
+
**Validation**: Fact-checking, methodology review, statistical significance
|
|
351
|
+
**Deliverables**: Research reports, data insights
|
|
352
|
+
|
|
353
|
+
### 4. Design & UX
|
|
354
|
+
**Agents**: ui-designer, ux-researcher, visual-designer
|
|
355
|
+
**Validation**: Accessibility compliance, user testing, brand guidelines
|
|
356
|
+
**Deliverables**: Mockups, wireframes, prototypes
|
|
357
|
+
|
|
358
|
+
### 5. Infrastructure & DevOps
|
|
359
|
+
**Agents**: terraform-engineer, kubernetes-architect, devops-engineer
|
|
360
|
+
**Validation**: Security audit, cost optimization, compliance
|
|
361
|
+
**Deliverables**: IaC files, deployment configs
|
|
362
|
+
|
|
363
|
+
### 6. Data Engineering
|
|
364
|
+
**Agents**: data-engineer, pipeline-builder, etl-specialist
|
|
365
|
+
**Validation**: Data quality, schema validation, performance testing
|
|
366
|
+
**Deliverables**: Pipelines, transformations, data models
|
|
367
|
+
|
|
368
|
+
---
|
|
369
|
+
|
|
370
|
+
## 📈 Performance & Cost Optimization
|
|
371
|
+
|
|
372
|
+
### Cost Savings
|
|
373
|
+
|
|
374
|
+
| Feature | Savings | Mechanism |
|
|
375
|
+
|---------|---------|-----------|
|
|
376
|
+
| **CLI Mode** | 95-98% | Z.ai routing ($0.50/1M vs Anthropic $3-15/1M) |
|
|
377
|
+
| **Zero-Token Coordination** | 100% during waits | BLPOP blocking costs nothing |
|
|
378
|
+
| **Context Pruning** | 88% tokens | Summarization at iteration 10 |
|
|
379
|
+
| **Playbook Learning** | 30-40% iterations | Pattern reuse after 10 tasks |
|
|
380
|
+
|
|
381
|
+
### Performance Metrics (vs v2)
|
|
382
|
+
|
|
383
|
+
| Metric | v2 Baseline | v3 Actual | Improvement |
|
|
384
|
+
|--------|-------------|-----------|-------------|
|
|
385
|
+
| Average Iterations | 5.2 | 3.5-4.0 | ↓ 33% |
|
|
386
|
+
| Context Size (iter 10) | 120 KB | 15-20 KB | ↓ 88% |
|
|
387
|
+
| Time to Converge | 45 min | 30-35 min | ↓ 33% |
|
|
388
|
+
| Playbook Hit Rate | 0% | 60%+ | N/A |
|
|
389
|
+
|
|
390
|
+
---
|
|
391
|
+
|
|
392
|
+
## 🛠️ Developer Experience
|
|
393
|
+
|
|
394
|
+
### Skills-Based Architecture
|
|
395
|
+
|
|
396
|
+
**43 Total Skills** (20 CFN v3 + 23 core)
|
|
397
|
+
- Modular and independently testable
|
|
398
|
+
- Clear interfaces and contracts
|
|
399
|
+
- Comprehensive documentation
|
|
400
|
+
- Easy to extend
|
|
401
|
+
|
|
402
|
+
### Hooks & Automation (39 Validation Hooks)
|
|
403
|
+
|
|
194
404
|
```bash
|
|
195
|
-
#
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
405
|
+
# Automatic post-edit validation
|
|
406
|
+
./.claude/hooks/invoke-post-edit.sh "$FILE" --agent-id "$AGENT_ID"
|
|
407
|
+
|
|
408
|
+
# Pre-commit security scanning
|
|
409
|
+
# Test coverage enforcement
|
|
410
|
+
# Hook pipeline orchestration
|
|
411
|
+
```
|
|
412
|
+
|
|
413
|
+
### Templates & Patterns
|
|
414
|
+
|
|
415
|
+
- Agent creation templates (simple, standard, advanced)
|
|
416
|
+
- Coordination patterns (Redis pub/sub)
|
|
417
|
+
- Memory operations (SQLite ACL)
|
|
418
|
+
- CFN Loop mechanics
|
|
419
|
+
|
|
420
|
+
---
|
|
421
|
+
|
|
422
|
+
## 🔒 Security & Quality
|
|
423
|
+
|
|
424
|
+
### Built-in Security
|
|
425
|
+
|
|
426
|
+
**ACL System** - 5 levels of access control
|
|
427
|
+
1. Private - Agent's own data only
|
|
428
|
+
2. Swarm - Shared across team of agents
|
|
429
|
+
3. Project - Strategic decisions, audit logs
|
|
430
|
+
4. Strategic - Cross-project patterns
|
|
431
|
+
5. System - Infrastructure only
|
|
432
|
+
|
|
433
|
+
**Security Features**
|
|
434
|
+
- Secret detection and prevention
|
|
435
|
+
- Path traversal protection
|
|
436
|
+
- Input sanitization
|
|
437
|
+
- Envelope encryption for sensitive data
|
|
438
|
+
|
|
439
|
+
### Quality Gates
|
|
440
|
+
|
|
441
|
+
- **Deliverable Verification** - Prevents "consensus on vapor" (validators approving plans without code)
|
|
442
|
+
- **Multi-Layer Context Injection** - Validation at coordinator → orchestrator → agent layers
|
|
443
|
+
- **Agent Completion Protocol** - Mandatory confidence reporting
|
|
444
|
+
- **Mandatory Iteration** - Forced retry if zero files created
|
|
445
|
+
|
|
446
|
+
### Audit & Monitoring
|
|
447
|
+
|
|
448
|
+
- Real-time violations monitoring
|
|
449
|
+
- CFN Loop protocol enforcement
|
|
450
|
+
- Agent lifecycle tracking
|
|
451
|
+
- Performance benchmarking
|
|
452
|
+
|
|
453
|
+
---
|
|
454
|
+
|
|
455
|
+
## 📦 What's Included in npm Package
|
|
456
|
+
|
|
457
|
+
```
|
|
458
|
+
dist/ # Compiled TypeScript (SWC)
|
|
459
|
+
.claude/
|
|
460
|
+
├── agents/ # 81 specialized agents
|
|
461
|
+
│ ├── coordinators/ # 3 CFN v3 coordinators
|
|
462
|
+
│ ├── developers/ # Implementation agents
|
|
463
|
+
│ ├── reviewers/ # Quality assurance agents
|
|
464
|
+
│ ├── testers/ # Testing agents
|
|
465
|
+
│ └── security/ # Security specialists
|
|
466
|
+
├── commands/ # 8 CFN Loop slash commands
|
|
467
|
+
├── skills/ # 43 modular skills
|
|
468
|
+
│ ├── cfn-loop-orchestration/
|
|
469
|
+
│ ├── task-classifier/
|
|
470
|
+
│ ├── playbook/
|
|
471
|
+
│ ├── epic-decomposer/
|
|
472
|
+
│ ├── intervention-detector/
|
|
473
|
+
│ └── [38+ more skills]
|
|
474
|
+
├── templates/ # Agent creation templates
|
|
475
|
+
└── *.md # CLAUDE.md, ACE system docs
|
|
476
|
+
scripts/
|
|
477
|
+
├── *.sh # Utility scripts
|
|
478
|
+
└── *.js # Automation scripts
|
|
479
|
+
docs/
|
|
480
|
+
├── CFN_*.md # CFN Loop documentation
|
|
481
|
+
├── planning/cfn-v3/ # Architecture docs (31 files)
|
|
482
|
+
│ ├── IMPLEMENTATION_COMPLETE.md
|
|
483
|
+
│ ├── DUAL_MODE_IMPLEMENTATION.md
|
|
484
|
+
│ ├── V2_MODULARIZATION_ARCHITECTURE.md
|
|
485
|
+
│ └── [28+ more docs]
|
|
486
|
+
└── guides/ # Implementation guides
|
|
487
|
+
config/
|
|
488
|
+
└── hooks/ # 39 validation hooks
|
|
199
489
|
```
|
|
200
490
|
|
|
201
|
-
|
|
202
|
-
|
|
491
|
+
### Documentation (60+ Files)
|
|
492
|
+
|
|
493
|
+
- **Architecture**: CFN v3 complete architecture, modularization docs
|
|
494
|
+
- **Guides**: Redis coordination, validator implementation, epic decomposition
|
|
495
|
+
- **Phase Reports**: 5 phase completion reports with validation
|
|
496
|
+
- **API Reference**: Comprehensive skill and agent documentation
|
|
497
|
+
|
|
498
|
+
---
|
|
203
499
|
|
|
204
|
-
|
|
500
|
+
## ⚙️ System Requirements
|
|
205
501
|
|
|
206
|
-
|
|
207
|
-
Coordination state, heartbeats, pub/sub messaging - cleared on restart.
|
|
502
|
+
### Required Dependencies
|
|
208
503
|
|
|
209
|
-
|
|
504
|
+
```json
|
|
505
|
+
{
|
|
506
|
+
"node": ">=18.0.0",
|
|
507
|
+
"redis": ">=6.0",
|
|
508
|
+
"sqlite3": ">=5.1.0"
|
|
509
|
+
}
|
|
510
|
+
```
|
|
210
511
|
|
|
211
|
-
|
|
512
|
+
### Core Dependencies
|
|
212
513
|
|
|
213
514
|
```json
|
|
214
515
|
{
|
|
215
|
-
"
|
|
216
|
-
"
|
|
217
|
-
"
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
},
|
|
221
|
-
"redis": {
|
|
222
|
-
"host": "localhost",
|
|
223
|
-
"port": 6379
|
|
224
|
-
}
|
|
516
|
+
"@anthropic-ai/sdk": "^0.67.0",
|
|
517
|
+
"redis": "^5.8.3",
|
|
518
|
+
"better-sqlite3": "^12.4.1",
|
|
519
|
+
"commander": "^11.1.0",
|
|
520
|
+
"dotenv": "^17.2.3"
|
|
225
521
|
}
|
|
226
522
|
```
|
|
227
523
|
|
|
228
|
-
|
|
524
|
+
### Optional
|
|
229
525
|
|
|
230
|
-
|
|
526
|
+
- Z.ai provider account (for 95-98% cost savings)
|
|
527
|
+
- Web portal dependencies (Socket.io for real-time monitoring)
|
|
231
528
|
|
|
232
|
-
|
|
529
|
+
---
|
|
233
530
|
|
|
234
|
-
|
|
235
|
-
# Use z.ai for cost-effective worker execution
|
|
236
|
-
claude-flow-novice swarm "Build feature" --provider zai --max-agents 5
|
|
531
|
+
## 🎓 Learning & Adaptation
|
|
237
532
|
|
|
238
|
-
|
|
239
|
-
claude-flow-novice switch-api
|
|
240
|
-
```
|
|
533
|
+
### Playbook System
|
|
241
534
|
|
|
242
|
-
|
|
535
|
+
**SQLite-Based Pattern Storage**
|
|
536
|
+
- Similarity matching for task queries
|
|
537
|
+
- Agent performance tracking per domain
|
|
538
|
+
- Historical confidence data
|
|
539
|
+
- Expected iterations prediction
|
|
540
|
+
- 60%+ hit rate after 10 tasks
|
|
243
541
|
|
|
244
|
-
|
|
542
|
+
### Continuous Improvement
|
|
245
543
|
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
544
|
+
**Automatic After Each Sprint**
|
|
545
|
+
1. Extract patterns from execution logs
|
|
546
|
+
2. Identify bottlenecks and failures
|
|
547
|
+
3. Rank agent performance
|
|
548
|
+
4. Generate improvement recommendations
|
|
549
|
+
5. Update playbook with successful strategies
|
|
249
550
|
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
551
|
+
**Expected Learning Curve**
|
|
552
|
+
- First execution: 5 iterations (no playbook)
|
|
553
|
+
- Second execution: 4 iterations (initial pattern)
|
|
554
|
+
- Fifth execution: 2-3 iterations (refined pattern)
|
|
555
|
+
- Tenth execution: 2 iterations (optimized)
|
|
253
556
|
|
|
254
|
-
|
|
557
|
+
---
|
|
255
558
|
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
claude-flow-novice performance report
|
|
559
|
+
## 🌐 Multi-Sprint & Epic Support
|
|
560
|
+
|
|
561
|
+
### Epic Decomposition
|
|
260
562
|
|
|
261
|
-
|
|
262
|
-
|
|
563
|
+
```bash
|
|
564
|
+
/cfn-loop-epic "Build authentication system with OAuth2, 2FA, sessions"
|
|
263
565
|
```
|
|
264
566
|
|
|
265
|
-
|
|
567
|
+
**Automatic Processing**
|
|
568
|
+
1. Parse natural language epic description
|
|
569
|
+
2. Identify component boundaries
|
|
570
|
+
3. Extract dependencies
|
|
571
|
+
4. Generate sprint sequence (topological sort)
|
|
572
|
+
5. Assign deliverables per sprint
|
|
573
|
+
6. Estimate complexity per sprint
|
|
266
574
|
|
|
267
|
-
###
|
|
575
|
+
### Sprint Execution
|
|
268
576
|
|
|
269
|
-
|
|
270
|
-
-
|
|
271
|
-
-
|
|
272
|
-
-
|
|
273
|
-
-
|
|
577
|
+
**Focused Context Injection**
|
|
578
|
+
- Sprint-specific deliverables (not entire epic)
|
|
579
|
+
- Clear in_scope and out_of_scope boundaries
|
|
580
|
+
- Sprint-level validation criteria
|
|
581
|
+
- Prevents agents from over-implementing
|
|
274
582
|
|
|
275
|
-
|
|
583
|
+
**Cross-Sprint Learning**
|
|
584
|
+
- Sprint 2 learns from Sprint 1 patterns
|
|
585
|
+
- Epic-level retrospective aggregation
|
|
586
|
+
- Improved agent selection for later sprints
|
|
276
587
|
|
|
277
|
-
|
|
278
|
-
- **TypeScript**: Type-safe development
|
|
279
|
-
- **Redis**: Real-time coordination and caching
|
|
280
|
-
- **SQLite**: Persistent data storage
|
|
281
|
-
- **Express**: Web server and API
|
|
282
|
-
- **Winston**: Logging and monitoring
|
|
588
|
+
---
|
|
283
589
|
|
|
284
|
-
##
|
|
590
|
+
## 📊 Total Package Value
|
|
285
591
|
|
|
286
|
-
|
|
287
|
-
# Run all tests
|
|
288
|
-
npm test
|
|
592
|
+
### Quantified Deliverables
|
|
289
593
|
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
594
|
+
- ✅ **3 specialized coordinators**
|
|
595
|
+
- ✅ **43 modular skills** (20 CFN v3 + 23 core)
|
|
596
|
+
- ✅ **81 production-ready agents**
|
|
597
|
+
- ✅ **8 slash commands**
|
|
598
|
+
- ✅ **7 CLI binaries**
|
|
599
|
+
- ✅ **39 validation hooks**
|
|
600
|
+
- ✅ **60+ documentation files**
|
|
294
601
|
|
|
295
|
-
|
|
296
|
-
npm run test:performance
|
|
602
|
+
### Capabilities
|
|
297
603
|
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
604
|
+
- ✅ **6 domain support** with custom validation
|
|
605
|
+
- ✅ **Dual-mode architecture** (cost vs visibility)
|
|
606
|
+
- ✅ **95-98% cost savings** in CLI mode
|
|
607
|
+
- ✅ **Self-learning playbook** system
|
|
608
|
+
- ✅ **Real-time intervention** for stuck loops
|
|
609
|
+
- ✅ **Zero-token coordination** via Redis
|
|
610
|
+
- ✅ **Complete test infrastructure**
|
|
301
611
|
|
|
302
|
-
|
|
612
|
+
### Proven Results
|
|
303
613
|
|
|
304
|
-
|
|
614
|
+
- ✅ **30-40% iteration reduction** after 10 tasks
|
|
615
|
+
- ✅ **88% context size reduction** at iteration 10
|
|
616
|
+
- ✅ **33% faster convergence** vs v2
|
|
617
|
+
- ✅ **60%+ playbook hit rate** after initial learning
|
|
305
618
|
|
|
306
|
-
|
|
307
|
-
# Launch 3 agents to build a to-do list API
|
|
308
|
-
claude-flow-novice swarm "Create a REST API for a to-do list application with CRUD operations" --max-agents 3
|
|
309
|
-
```
|
|
619
|
+
---
|
|
310
620
|
|
|
311
|
-
|
|
621
|
+
## 🏗️ Architecture Highlights
|
|
312
622
|
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
623
|
+
### Modular Design
|
|
624
|
+
|
|
625
|
+
- 43 independent skills with clear interfaces
|
|
626
|
+
- 3 specialized coordinator agents
|
|
627
|
+
- Minimal coupling between components
|
|
628
|
+
- Easy to extend and customize
|
|
629
|
+
|
|
630
|
+
### Event-Driven
|
|
631
|
+
|
|
632
|
+
- Intervention triggers
|
|
633
|
+
- Playbook queries
|
|
634
|
+
- Retrospective analysis
|
|
635
|
+
- Real-time monitoring
|
|
636
|
+
|
|
637
|
+
### Learning System
|
|
638
|
+
|
|
639
|
+
- SQLite playbook database
|
|
640
|
+
- Pattern extraction after each sprint
|
|
641
|
+
- Agent performance tracking
|
|
642
|
+
- Continuous improvement
|
|
643
|
+
|
|
644
|
+
### Multi-Domain
|
|
645
|
+
|
|
646
|
+
- 6 task types supported
|
|
647
|
+
- Domain-specific validation templates
|
|
648
|
+
- Custom agent rosters per domain
|
|
649
|
+
- Adaptive quality criteria
|
|
650
|
+
|
|
651
|
+
---
|
|
317
652
|
|
|
318
|
-
|
|
653
|
+
## 🧪 Testing
|
|
319
654
|
|
|
320
655
|
```bash
|
|
321
|
-
#
|
|
322
|
-
|
|
323
|
-
```
|
|
656
|
+
# Run all tests
|
|
657
|
+
npm test
|
|
324
658
|
|
|
325
|
-
|
|
659
|
+
# Run specific test suites
|
|
660
|
+
npm run test:unit
|
|
661
|
+
npm run test:integration
|
|
662
|
+
npm run test:e2e
|
|
326
663
|
|
|
327
|
-
|
|
328
|
-
-
|
|
329
|
-
-
|
|
330
|
-
-
|
|
331
|
-
-
|
|
664
|
+
# CFN Loop end-to-end tests
|
|
665
|
+
./tests/cfn-v3/test-e2e-cfn-loop.sh
|
|
666
|
+
./tests/cfn-v3/test-coordinator-handoffs.sh
|
|
667
|
+
./tests/cfn-v3/test-loop2-handoffs.sh
|
|
668
|
+
./tests/cfn-v3/test-loop3-handoffs.sh
|
|
669
|
+
./tests/cfn-v3/test-product-owner-handoffs.sh
|
|
670
|
+
```
|
|
671
|
+
|
|
672
|
+
---
|
|
332
673
|
|
|
333
674
|
## 🤝 Contributing
|
|
334
675
|
|
|
335
|
-
We welcome contributions!
|
|
676
|
+
We welcome contributions! See [CONTRIBUTING.md](CONTRIBUTING.md) for guidelines.
|
|
336
677
|
|
|
337
678
|
### Development Setup
|
|
338
679
|
|
|
339
680
|
```bash
|
|
340
|
-
# Clone
|
|
681
|
+
# Clone repository
|
|
341
682
|
git clone https://github.com/masharratt/claude-flow-novice.git
|
|
342
683
|
cd claude-flow-novice
|
|
343
684
|
|
|
@@ -347,16 +688,17 @@ npm install
|
|
|
347
688
|
# Run in development mode
|
|
348
689
|
npm run dev
|
|
349
690
|
|
|
350
|
-
# Run tests
|
|
351
|
-
npm test
|
|
352
|
-
|
|
353
691
|
# Build for production
|
|
354
692
|
npm run build
|
|
355
693
|
```
|
|
356
694
|
|
|
695
|
+
---
|
|
696
|
+
|
|
357
697
|
## 📄 License
|
|
358
698
|
|
|
359
|
-
|
|
699
|
+
MIT License - see [LICENSE](LICENSE) file for details.
|
|
700
|
+
|
|
701
|
+
---
|
|
360
702
|
|
|
361
703
|
## 🆘 Support
|
|
362
704
|
|
|
@@ -364,22 +706,27 @@ This project is licensed under the MIT License - see the [LICENSE](LICENSE) file
|
|
|
364
706
|
- **Issues**: [GitHub Issues](https://github.com/masharratt/claude-flow-novice/issues)
|
|
365
707
|
- **Discussions**: [GitHub Discussions](https://github.com/masharratt/claude-flow-novice/discussions)
|
|
366
708
|
|
|
709
|
+
---
|
|
710
|
+
|
|
367
711
|
## 🗺️ Roadmap
|
|
368
712
|
|
|
369
|
-
|
|
370
|
-
- [ ]
|
|
371
|
-
- [ ]
|
|
372
|
-
- [ ]
|
|
713
|
+
### v3.1.0 (Q1 2025)
|
|
714
|
+
- [ ] Semantic playbook similarity (embeddings)
|
|
715
|
+
- [ ] Parallel sprint execution
|
|
716
|
+
- [ ] Natural language epic parsing
|
|
373
717
|
|
|
374
|
-
|
|
718
|
+
### v3.2.0 (Q2 2025)
|
|
719
|
+
- [ ] Dynamic sprint adjustment (merge/split)
|
|
720
|
+
- [ ] Cross-sprint learning
|
|
721
|
+
- [ ] Confidence prediction before execution
|
|
375
722
|
|
|
376
|
-
|
|
377
|
-
-
|
|
378
|
-
-
|
|
379
|
-
-
|
|
723
|
+
### v3.3.0 (Q3 2025)
|
|
724
|
+
- [ ] Sprint rollback capability
|
|
725
|
+
- [ ] Epic-level re-planning
|
|
726
|
+
- [ ] Advanced monitoring dashboard
|
|
380
727
|
|
|
381
728
|
---
|
|
382
729
|
|
|
383
|
-
**Built with ❤️ for
|
|
730
|
+
**Built with ❤️ for autonomous AI workflows**
|
|
384
731
|
|
|
385
|
-
|
|
732
|
+
This is a production-ready, enterprise-grade AI agent orchestration system with proven 30-40% efficiency gains and comprehensive multi-domain support.
|