claude-flow-novice 2.18.2 → 2.18.3
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/README.md +106 -712
- package/claude-assets/agents/AGENT_LIFECYCLE.md +2 -0
- package/claude-assets/agents/SHARED_PROTOCOL.md +64 -0
- package/claude-assets/agents/cfn-dev-team/analysts/analyst.md +2 -0
- package/claude-assets/agents/cfn-dev-team/analysts/root-cause-analyst.md +2 -0
- package/claude-assets/agents/cfn-dev-team/architecture/api-designer-persona.md +2 -0
- package/claude-assets/agents/cfn-dev-team/architecture/base-template-generator.md +2 -0
- package/claude-assets/agents/cfn-dev-team/architecture/goal-planner.md +2 -0
- package/claude-assets/agents/cfn-dev-team/architecture/planner.md +2 -0
- package/claude-assets/agents/cfn-dev-team/architecture/system-architect.md +2 -0
- package/claude-assets/agents/cfn-dev-team/coordinators/cfn-frontend-coordinator.md +2 -0
- package/claude-assets/agents/cfn-dev-team/coordinators/consensus-builder.md +2 -0
- package/claude-assets/agents/cfn-dev-team/coordinators/handoff-coordinator.md +2 -0
- package/claude-assets/agents/cfn-dev-team/coordinators/multi-sprint-coordinator.md +2 -0
- package/claude-assets/agents/cfn-dev-team/dev-ops/devops-engineer.md +2 -0
- package/claude-assets/agents/cfn-dev-team/dev-ops/docker-specialist.md +2 -0
- package/claude-assets/agents/cfn-dev-team/dev-ops/github-commit-agent.md +2 -0
- package/claude-assets/agents/cfn-dev-team/dev-ops/kubernetes-specialist.md +2 -0
- package/claude-assets/agents/cfn-dev-team/developers/api-gateway-specialist.md +2 -0
- package/claude-assets/agents/cfn-dev-team/developers/backend-developer.md +2 -0
- package/claude-assets/agents/cfn-dev-team/developers/data/data-engineer.md +2 -0
- package/claude-assets/agents/cfn-dev-team/developers/database/database-architect.md +2 -0
- package/claude-assets/agents/cfn-dev-team/developers/database/supabase-specialist.md +2 -0
- package/claude-assets/agents/cfn-dev-team/developers/frontend/mobile-dev.md +2 -0
- package/claude-assets/agents/cfn-dev-team/developers/frontend/react-frontend-engineer.md +2 -0
- package/claude-assets/agents/cfn-dev-team/developers/frontend/typescript-specialist.md +2 -0
- package/claude-assets/agents/cfn-dev-team/developers/frontend/ui-designer.md +2 -0
- package/claude-assets/agents/cfn-dev-team/developers/graphql-specialist.md +2 -0
- package/claude-assets/agents/cfn-dev-team/developers/rust-developer.md +2 -0
- package/claude-assets/agents/cfn-dev-team/documentation/agent-type-guidelines.md +2 -0
- package/claude-assets/agents/cfn-dev-team/documentation/api-documentation.md +2 -0
- package/claude-assets/agents/cfn-dev-team/documentation/pseudocode.md +2 -0
- package/claude-assets/agents/cfn-dev-team/documentation/specification-agent.md +2 -0
- package/claude-assets/agents/cfn-dev-team/product-owners/accessibility-advocate-persona.md +2 -0
- package/claude-assets/agents/cfn-dev-team/product-owners/cto-agent.md +2 -0
- package/claude-assets/agents/cfn-dev-team/product-owners/power-user-persona.md +2 -0
- package/claude-assets/agents/cfn-dev-team/product-owners/product-owner.md +2 -0
- package/claude-assets/agents/cfn-dev-team/reviewers/code-reviewer.md +2 -0
- package/claude-assets/agents/cfn-dev-team/reviewers/quality/code-quality-validator.md +2 -0
- package/claude-assets/agents/cfn-dev-team/reviewers/quality/cyclomatic-complexity-reducer.md +2 -0
- package/claude-assets/agents/cfn-dev-team/reviewers/quality/perf-analyzer.md +2 -0
- package/claude-assets/agents/cfn-dev-team/reviewers/quality/performance-benchmarker.md +2 -0
- package/claude-assets/agents/cfn-dev-team/reviewers/quality/quality-metrics.md +2 -0
- package/claude-assets/agents/cfn-dev-team/reviewers/quality/security-specialist.md +2 -0
- package/claude-assets/agents/cfn-dev-team/testers/api-testing-specialist.md +2 -0
- package/claude-assets/agents/cfn-dev-team/testers/chaos-engineering-specialist.md +2 -0
- package/claude-assets/agents/cfn-dev-team/testers/contract-tester.md +2 -0
- package/claude-assets/agents/cfn-dev-team/testers/e2e/playwright-tester.md +2 -0
- package/claude-assets/agents/cfn-dev-team/testers/integration-tester.md +2 -0
- package/claude-assets/agents/cfn-dev-team/testers/interaction-tester.md +2 -0
- package/claude-assets/agents/cfn-dev-team/testers/load-testing-specialist.md +2 -0
- package/claude-assets/agents/cfn-dev-team/testers/mutation-testing-specialist.md +2 -0
- package/claude-assets/agents/cfn-dev-team/testers/playwright-tester.md +2 -0
- package/claude-assets/agents/cfn-dev-team/testers/tester.md +2 -0
- package/claude-assets/agents/cfn-dev-team/testers/unit/tdd-london-unit-swarm.md +2 -0
- package/claude-assets/agents/cfn-dev-team/testers/validation/validation-production-validator.md +2 -0
- package/claude-assets/agents/cfn-dev-team/testing/test-validation-agent.md +2 -0
- package/claude-assets/agents/cfn-dev-team/utility/agent-builder.md +39 -16
- package/claude-assets/agents/cfn-dev-team/utility/context-curator.md +2 -0
- package/claude-assets/agents/cfn-dev-team/utility/epic-creator.md +2 -0
- package/claude-assets/agents/cfn-dev-team/utility/memory-leak-specialist.md +2 -0
- package/claude-assets/agents/cfn-dev-team/utility/researcher.md +2 -0
- package/claude-assets/agents/cfn-dev-team/utility/z-ai-specialist.md +2 -0
- package/claude-assets/agents/custom/cfn-docker-expert.md +2 -0
- package/claude-assets/agents/custom/cfn-loops-cli-expert.md +2 -0
- package/claude-assets/agents/custom/cfn-redis-operations.md +2 -0
- package/claude-assets/agents/custom/cfn-system-expert.md +2 -0
- package/claude-assets/agents/custom/claude-code-expert.md +2 -0
- package/claude-assets/agents/custom/mdap-trigger-specialist.md +2 -0
- package/claude-assets/agents/custom/trigger-dev-expert.md +2 -0
- package/claude-assets/agents/docker-coordinators/cfn-docker-v3-coordinator.md +2 -0
- package/claude-assets/agents/docker-ts-fixer.md +2 -0
- package/claude-assets/agents/project-only-agents/npm-package-specialist.md +2 -0
- package/claude-assets/skills/cfn-cerebras-mcp/SKILL.md +58 -0
- package/claude-assets/skills/cfn-ruvector-codebase-index/.cfn-manifest.json +37 -0
- package/claude-assets/skills/cfn-ruvector-codebase-index/check-db.js +8 -0
- package/claude-assets/skills/cfn-ruvector-codebase-index/config.json +1 -1
- package/claude-assets/skills/cfn-ruvector-codebase-index/data/codebase_index.db +0 -0
- package/claude-assets/skills/cfn-ruvector-codebase-index/debug-search.js +19 -0
- package/claude-assets/skills/cfn-ruvector-codebase-index/get-embedding-text.js +26 -0
- package/claude-assets/skills/cfn-ruvector-codebase-index/index.sh +22 -11
- package/claude-assets/skills/cfn-ruvector-codebase-index/search.js +55 -0
- package/claude-assets/skills/cfn-ruvector-codebase-index/search.sh +32 -36
- package/claude-assets/skills/cfn-ruvector-codebase-index/standalone-indexer.js +129 -0
- package/dist/agents/agent-loader.js +165 -146
- package/dist/agents/agent-loader.js.map +1 -1
- package/dist/index.js +1 -0
- package/dist/index.js.map +1 -1
- package/dist/ruvector/cli.js +62 -0
- package/dist/ruvector/cli.js.map +1 -0
- package/dist/ruvector/core/file-processor.js +72 -0
- package/dist/ruvector/core/file-processor.js.map +1 -0
- package/dist/ruvector/core/index.js +133 -0
- package/dist/ruvector/core/index.js.map +1 -0
- package/dist/ruvector/embeddings/index.js +24 -0
- package/dist/ruvector/embeddings/index.js.map +1 -0
- package/dist/ruvector/embeddings/openai.js +67 -0
- package/dist/ruvector/embeddings/openai.js.map +1 -0
- package/dist/ruvector/embeddings/provider.js +12 -0
- package/dist/ruvector/embeddings/provider.js.map +1 -0
- package/dist/ruvector/index.js +9 -0
- package/dist/ruvector/index.js.map +1 -0
- package/package.json +13 -5
- package/readme/README.md +25 -15
- package/scripts/update-agent-protocols.sh +116 -0
- package/LICENSE +0 -21
package/README.md
CHANGED
|
@@ -1,712 +1,106 @@
|
|
|
1
|
-
# Claude Flow Novice
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
##
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
│ │ (retry) │ │ • Force ITERATE if no files│ │
|
|
108
|
-
│ └───────────┘ └──────────┬────────────────┘ │
|
|
109
|
-
│ ↓ │
|
|
110
|
-
│ ┌─────────────────────────────────┐ │
|
|
111
|
-
│ │ Loop 2: Validation (parallel) │ │
|
|
112
|
-
│ │ • reviewer, tester, security │ │
|
|
113
|
-
│ │ • Each reports consensus score │ │
|
|
114
|
-
│ └──────────┬──────────────────────┘ │
|
|
115
|
-
│ ↓ │
|
|
116
|
-
│ ┌─────────────────────────────────┐ │
|
|
117
|
-
│ │ Consensus Check │ │
|
|
118
|
-
│ │ • Aggregate validator scores │ │
|
|
119
|
-
│ │ • MVP: 0.80 | Std: 0.90 | Ent: 0.95 │ │
|
|
120
|
-
│ └──────────┬──────────────────────┘ │
|
|
121
|
-
│ ↓ │
|
|
122
|
-
│ ┌─────────────────────────────────┐ │
|
|
123
|
-
│ │ Loop 4: Product Owner Decision │ │
|
|
124
|
-
│ │ • PROCEED: Accept deliverables │ │
|
|
125
|
-
│ │ • ITERATE: Retry with feedback │ │
|
|
126
|
-
│ │ • ABORT: Stop execution │ │
|
|
127
|
-
│ └──────────┬──────────────────────┘ │
|
|
128
|
-
│ ↓ │
|
|
129
|
-
│ ┌──────────┴─────────┐ │
|
|
130
|
-
│ │ Decision? │ │
|
|
131
|
-
│ └──┬──────────────┬──┘ │
|
|
132
|
-
│ ITERATE PROCEED │
|
|
133
|
-
│ ↓ ↓ │
|
|
134
|
-
└────────────────────────┼────────────────┼──────────────┘
|
|
135
|
-
│ │
|
|
136
|
-
┌───────┘ └────────┐
|
|
137
|
-
↓ ↓
|
|
138
|
-
(Next Iteration) ┌──────────────┐
|
|
139
|
-
Max iterations: │ Loop 5: │
|
|
140
|
-
• MVP: 5 │ Retrospective│
|
|
141
|
-
• Standard: 10 │ • Extract │
|
|
142
|
-
• Enterprise: 15 │ patterns │
|
|
143
|
-
│ • Update │
|
|
144
|
-
│ playbook │
|
|
145
|
-
│ • Rank agents│
|
|
146
|
-
└──────────────┘
|
|
147
|
-
```
|
|
148
|
-
|
|
149
|
-
### Dual-Mode Execution
|
|
150
|
-
|
|
151
|
-
**CLI Mode (Default)** - Production cost optimization
|
|
152
|
-
- 95-98% cost reduction via Z.ai routing
|
|
153
|
-
- Redis context storage for swarm recovery
|
|
154
|
-
- Zero-token waiting (BLPOP)
|
|
155
|
-
- Scalable to 10+ agents
|
|
156
|
-
|
|
157
|
-
**Task Mode** - Development & debugging
|
|
158
|
-
- Full visibility in Main Chat
|
|
159
|
-
- Direct context injection
|
|
160
|
-
- Anthropic routing
|
|
161
|
-
- Easier troubleshooting
|
|
162
|
-
|
|
163
|
-
```bash
|
|
164
|
-
# CLI mode (default)
|
|
165
|
-
/cfn-loop "Task description" --mode=standard
|
|
166
|
-
|
|
167
|
-
# Task mode (debugging)
|
|
168
|
-
/cfn-loop "Task description" --spawn-mode=task
|
|
169
|
-
```
|
|
170
|
-
|
|
171
|
-
### Custom Routing (Z.ai Provider Integration)
|
|
172
|
-
|
|
173
|
-
**Provider Routing Model:**
|
|
174
|
-
- Task() agents → Use Main Chat provider (Anthropic)
|
|
175
|
-
- CLI-spawned agents → Use custom routing (Z.ai when enabled)
|
|
176
|
-
|
|
177
|
-
**Enable Custom Routing:**
|
|
178
|
-
```bash
|
|
179
|
-
/custom-routing-activate
|
|
180
|
-
/switch-api zai # or max for Claude subscription
|
|
181
|
-
```
|
|
182
|
-
|
|
183
|
-
**Cost Impact:**
|
|
184
|
-
- Without custom routing: CLI agents use Anthropic ($3-15/1M tokens)
|
|
185
|
-
- With custom routing: CLI agents use Z.ai ($0.50/1M tokens)
|
|
186
|
-
- Combined with CLI spawning: 95-98% total savings vs Task tool
|
|
187
|
-
|
|
188
|
-
---
|
|
189
|
-
|
|
190
|
-
## Core Skills & Capabilities
|
|
191
|
-
|
|
192
|
-
### 12 Key Skills (31 More Available)
|
|
193
|
-
|
|
194
|
-
| Skill | Purpose | Impact |
|
|
195
|
-
|-------|---------|--------|
|
|
196
|
-
| `cfn-task-classifier` | Detect domain (software/content/research/design/infra/data) | Automatic agent selection |
|
|
197
|
-
| `cfn-validation-templates` | Domain-specific quality criteria | Relevant validation gates |
|
|
198
|
-
| `cfn-playbook` | SQLite pattern storage with similarity matching | Reduces iterations over time |
|
|
199
|
-
| `cfn-complexity-estimator` | Predict iterations from task analysis | Accurate effort estimates |
|
|
200
|
-
| `cfn-epic-decomposer` | Break epics into focused sprints | Manageable scope |
|
|
201
|
-
| `cfn-intervention-detector` | Identify stuck loops | Automatic recovery |
|
|
202
|
-
| `cfn-specialist-injection` | Add domain experts mid-loop | Adaptive team optimization |
|
|
203
|
-
| `cfn-playbook-auto-update` | Store successful strategies and patterns | Continuous learning |
|
|
204
|
-
| `cfn-redis-coordination` | Zero-token agent communication | Infinite BLPOP waiting |
|
|
205
|
-
| `cfn-agent-spawning` | Dynamic agent deployment | Skill-based selection |
|
|
206
|
-
| `cfn-loop-orchestration` | Multi-loop workflow execution | Self-correcting validation |
|
|
207
|
-
| `cfn-hybrid-routing` | Custom provider routing | 95-98% cost savings |
|
|
208
|
-
|
|
209
|
-
**Additional Skills**: Redis coordination, agent spawning, CFN loop orchestration, validation processing, hook pipeline, hybrid routing, SQLite memory, transparency middleware, and 23 more. See `.claude/skills/` for complete list.
|
|
210
|
-
|
|
211
|
-
---
|
|
212
|
-
|
|
213
|
-
## Agent Library
|
|
214
|
-
|
|
215
|
-
### Top Agents by Category
|
|
216
|
-
|
|
217
|
-
**Coordinators (3)**
|
|
218
|
-
- `cfn-v3-coordinator` - Main CFN Loop analyzer and configuration generator
|
|
219
|
-
- `multi-sprint-coordinator` - Epic-level orchestration across sprints
|
|
220
|
-
- `retrospective-analyst` - Automatic learning and pattern extraction
|
|
221
|
-
|
|
222
|
-
**Implementation (12)**
|
|
223
|
-
- `coder` - General-purpose code implementation
|
|
224
|
-
- `backend-developer` - Backend services and APIs
|
|
225
|
-
- `frontend-dev` - Frontend applications
|
|
226
|
-
- `mobile-dev` - React Native and cross-platform
|
|
227
|
-
- `rust-developer` - Rust language specialist
|
|
228
|
-
- `devops-engineer` - DevOps and deployment
|
|
229
|
-
- `database-engineer` - Database design and optimization
|
|
230
|
-
- `api-designer` - API architecture and REST design
|
|
231
|
-
- `terraform-engineer` - Infrastructure as code
|
|
232
|
-
- `kubernetes-architect` - Container orchestration
|
|
233
|
-
- `data-engineer` - Data pipelines and ETL
|
|
234
|
-
- `pipeline-builder` - CI/CD and automation
|
|
235
|
-
|
|
236
|
-
**Quality Assurance (8)**
|
|
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
|
|
241
|
-
- `performance-benchmarker` - Performance testing
|
|
242
|
-
- `accessibility-advocate` - Accessibility compliance
|
|
243
|
-
- `security-auditor` - Security auditing
|
|
244
|
-
- `compliance-checker` - Standards compliance
|
|
245
|
-
|
|
246
|
-
**Full agent library (81 agents)**: See `.claude/agents/cfn-dev-team/` for complete list including content creation, design, research, and domain specialists.
|
|
247
|
-
|
|
248
|
-
---
|
|
249
|
-
|
|
250
|
-
## CLI & Slash Commands
|
|
251
|
-
|
|
252
|
-
### CFN Loop Commands
|
|
253
|
-
|
|
254
|
-
```bash
|
|
255
|
-
# Single task execution
|
|
256
|
-
/cfn-loop "Implement JWT authentication" --mode=standard
|
|
257
|
-
|
|
258
|
-
# Quick single-iteration task
|
|
259
|
-
/cfn-loop-single "Fix security bug in auth module"
|
|
260
|
-
|
|
261
|
-
# Large multi-phase epic
|
|
262
|
-
/cfn-loop-epic "Build complete authentication system"
|
|
263
|
-
|
|
264
|
-
# Phase with multiple sprints
|
|
265
|
-
/cfn-loop-sprints "Implement payment processing"
|
|
266
|
-
|
|
267
|
-
# Documentation generation
|
|
268
|
-
/cfn-loop-document --sprint=auth --epic=user-mgmt
|
|
269
|
-
|
|
270
|
-
# Toggle spawning mode
|
|
271
|
-
/cfn-mode # Switch between CLI and Task spawning
|
|
272
|
-
```
|
|
273
|
-
|
|
274
|
-
### Binary Commands
|
|
275
|
-
|
|
276
|
-
```bash
|
|
277
|
-
cfn-spawn # Spawn individual agents
|
|
278
|
-
cfn-loop # Execute CFN Loop workflow
|
|
279
|
-
cfn-swarm # Multi-agent coordination
|
|
280
|
-
cfn-portal # Web monitoring dashboard
|
|
281
|
-
cfn-context # Context management
|
|
282
|
-
cfn-metrics # Performance tracking
|
|
283
|
-
cfn-redis # Redis coordination utilities
|
|
284
|
-
```
|
|
285
|
-
|
|
286
|
-
---
|
|
287
|
-
|
|
288
|
-
## Redis Coordination
|
|
289
|
-
|
|
290
|
-
### Zero-Token Waiting Mode
|
|
291
|
-
|
|
292
|
-
**BLPOP-Based Blocking** - Infinite wait, zero API cost
|
|
293
|
-
- Agents block with `redis-cli blpop "queue" 0`
|
|
294
|
-
- Coordinator wakes agents with `redis-cli lpush "queue" "signal"`
|
|
295
|
-
- <100ms latency wake-up
|
|
296
|
-
- Context preserved across iterations
|
|
297
|
-
|
|
298
|
-
**Swarm Recovery** - Redis persistence enables crash recovery
|
|
299
|
-
- Task context stored in Redis with TTL
|
|
300
|
-
- Agents resume from last known state
|
|
301
|
-
- Critical for long-running CFN Loops
|
|
302
|
-
|
|
303
|
-
### Coordination Patterns
|
|
304
|
-
|
|
305
|
-
| Pattern | Use Case | Agent Count |
|
|
306
|
-
|---------|----------|-------------|
|
|
307
|
-
| **Simple Chain** | Sequential dependencies | 2-3 |
|
|
308
|
-
| **Hierarchical Broadcast** | Coordinator → Workers | 4-10 |
|
|
309
|
-
| **Mesh Hybrid** | Complex collaboration | 5-15 |
|
|
310
|
-
|
|
311
|
-
---
|
|
312
|
-
|
|
313
|
-
## Performance & Cost Metrics
|
|
314
|
-
|
|
315
|
-
| Metric | Value | Details |
|
|
316
|
-
|--------|-------|---------|
|
|
317
|
-
| **CLI Mode Cost Savings** | 95-98% | Z.ai routing ($0.50/1M vs Anthropic $3-15/1M) |
|
|
318
|
-
| **Zero-Token Coordination** | 100% savings during waits | BLPOP blocking costs nothing |
|
|
319
|
-
| **Context Pruning** | 88% token reduction | Summarization at iteration 10 |
|
|
320
|
-
| **Average Iterations** | 3.5-4.0 vs 5.2 baseline | 33% improvement with playbook |
|
|
321
|
-
| **Context Size (iter 10)** | 15-20 KB vs 120 KB baseline | 88% reduction |
|
|
322
|
-
| **Time to Converge** | 30-35 min vs 45 min baseline | 33% faster |
|
|
323
|
-
| **Playbook Hit Rate** | 60%+ after learning | Improves with repeated task types |
|
|
324
|
-
|
|
325
|
-
---
|
|
326
|
-
|
|
327
|
-
## Developer Experience
|
|
328
|
-
|
|
329
|
-
### Skills-Based Architecture
|
|
330
|
-
|
|
331
|
-
43 total skills (20 CFN-specific + 23 core infrastructure) with modular design, clear interfaces, comprehensive documentation, and easy extensibility.
|
|
332
|
-
|
|
333
|
-
### Hooks & Automation
|
|
334
|
-
|
|
335
|
-
```bash
|
|
336
|
-
# Automatic post-edit validation (39 hooks)
|
|
337
|
-
./.claude/hooks/invoke-post-edit.sh "$FILE" --agent-id "$AGENT_ID"
|
|
338
|
-
```
|
|
339
|
-
|
|
340
|
-
### Complexity Analysis Tools
|
|
341
|
-
|
|
342
|
-
**Built-in Code Quality Monitoring**
|
|
343
|
-
- Simple complexity analyzer (~23ms bash script)
|
|
344
|
-
- Per-function analyzer with detailed breakdown
|
|
345
|
-
- Lizard (professional multi-language support)
|
|
346
|
-
- Automated monitoring (triggers on files >200 lines)
|
|
347
|
-
- Critical threshold ≥40 auto-spawns refactor agent
|
|
348
|
-
|
|
349
|
-
```bash
|
|
350
|
-
./tools/simple-complexity.sh script.sh
|
|
351
|
-
./tools/calculate-complexity.sh script.sh
|
|
352
|
-
lizard src/module.ts --CCN 30
|
|
353
|
-
```
|
|
354
|
-
|
|
355
|
-
See `readme/logs-tools.md` for complete documentation.
|
|
356
|
-
|
|
357
|
-
---
|
|
358
|
-
|
|
359
|
-
## Security & Quality
|
|
360
|
-
|
|
361
|
-
### Built-in Security
|
|
362
|
-
|
|
363
|
-
**ACL System** - 5 levels of access control
|
|
364
|
-
1. Private - Agent's own data only
|
|
365
|
-
2. Swarm - Shared across team of agents
|
|
366
|
-
3. Project - Strategic decisions, audit logs
|
|
367
|
-
4. Strategic - Cross-project patterns
|
|
368
|
-
5. System - Infrastructure only
|
|
369
|
-
|
|
370
|
-
**Security Features**
|
|
371
|
-
- Secret detection and prevention
|
|
372
|
-
- Path traversal protection
|
|
373
|
-
- Input sanitization
|
|
374
|
-
- Envelope encryption for sensitive data
|
|
375
|
-
|
|
376
|
-
### Quality Gates
|
|
377
|
-
|
|
378
|
-
- **Deliverable Verification** - Prevents "consensus on vapor"
|
|
379
|
-
- **Multi-Layer Context Injection** - Validation at coordinator → orchestrator → agent layers
|
|
380
|
-
- **Agent Completion Protocol** - Mandatory confidence reporting
|
|
381
|
-
- **Mandatory Iteration** - Forced retry if zero files created
|
|
382
|
-
|
|
383
|
-
---
|
|
384
|
-
|
|
385
|
-
## System Requirements
|
|
386
|
-
|
|
387
|
-
### Required Dependencies
|
|
388
|
-
|
|
389
|
-
```json
|
|
390
|
-
{
|
|
391
|
-
"node": ">=18.0.0",
|
|
392
|
-
"redis": ">=6.0",
|
|
393
|
-
"sqlite3": ">=5.1.0"
|
|
394
|
-
}
|
|
395
|
-
```
|
|
396
|
-
|
|
397
|
-
### Core Dependencies
|
|
398
|
-
|
|
399
|
-
```json
|
|
400
|
-
{
|
|
401
|
-
"@anthropic-ai/sdk": "^0.67.0",
|
|
402
|
-
"redis": "^5.8.3",
|
|
403
|
-
"better-sqlite3": "^12.4.1",
|
|
404
|
-
"commander": "^11.1.0",
|
|
405
|
-
"dotenv": "^17.2.3"
|
|
406
|
-
}
|
|
407
|
-
```
|
|
408
|
-
|
|
409
|
-
### Optional
|
|
410
|
-
|
|
411
|
-
- Z.ai provider account (for cost savings)
|
|
412
|
-
- Web portal dependencies (Socket.io for real-time monitoring)
|
|
413
|
-
|
|
414
|
-
---
|
|
415
|
-
|
|
416
|
-
## Learning & Adaptation
|
|
417
|
-
|
|
418
|
-
### Playbook System
|
|
419
|
-
|
|
420
|
-
**SQLite-Based Pattern Storage**
|
|
421
|
-
- Similarity matching for task queries
|
|
422
|
-
- Agent performance tracking per domain
|
|
423
|
-
- Historical confidence data
|
|
424
|
-
- Expected iterations prediction
|
|
425
|
-
- 60%+ hit rate after repeated similar tasks
|
|
426
|
-
|
|
427
|
-
### Continuous Improvement
|
|
428
|
-
|
|
429
|
-
**Automatic After Each Sprint**
|
|
430
|
-
1. Extract patterns from execution logs
|
|
431
|
-
2. Identify bottlenecks and failures
|
|
432
|
-
3. Rank agent performance
|
|
433
|
-
4. Generate improvement recommendations
|
|
434
|
-
5. Update playbook with successful strategies
|
|
435
|
-
|
|
436
|
-
---
|
|
437
|
-
|
|
438
|
-
## Testing
|
|
439
|
-
|
|
440
|
-
Claude Flow Novice includes comprehensive test suites across multiple execution modes and test types. Choose the appropriate test runner based on your development context.
|
|
441
|
-
|
|
442
|
-
### Quick Start
|
|
443
|
-
|
|
444
|
-
```bash
|
|
445
|
-
# Run all npm-based tests (unit, integration, e2e)
|
|
446
|
-
npm test
|
|
447
|
-
|
|
448
|
-
# Run CLI mode test suite (test-driven validation)
|
|
449
|
-
./tests/cli-mode/run-all-tests.sh
|
|
450
|
-
|
|
451
|
-
# Run Docker mode test suite (45 production tests)
|
|
452
|
-
./tests/docker-mode/run-all-implementations.sh
|
|
453
|
-
```
|
|
454
|
-
|
|
455
|
-
### Test Execution Modes
|
|
456
|
-
|
|
457
|
-
#### CLI Mode Tests (Production)
|
|
458
|
-
Run the CLI mode test suite to validate end-to-end coordination, quality gates, and agent spawning:
|
|
459
|
-
|
|
460
|
-
```bash
|
|
461
|
-
# Full test suite with all assertions
|
|
462
|
-
./tests/cli-mode/run-all-tests.sh
|
|
463
|
-
|
|
464
|
-
# Expected runtime: ~5-10 minutes
|
|
465
|
-
# Tests: 8 suites, 159 total assertions
|
|
466
|
-
# Coverage: Redis coordination, threshold enforcement, agent spawning, path resolution
|
|
467
|
-
```
|
|
468
|
-
|
|
469
|
-
**Validates:**
|
|
470
|
-
- `/cfn-loop-cli` slash command workflow
|
|
471
|
-
- Coordinator spawning and orchestration
|
|
472
|
-
- Loop 3 → Loop 2 → Product Owner progression
|
|
473
|
-
- Quality gate enforcement (MVP/Standard/Enterprise modes)
|
|
474
|
-
- Redis coordination layer
|
|
475
|
-
- Agent tool access and permissions
|
|
476
|
-
|
|
477
|
-
**Prerequisites:**
|
|
478
|
-
- Redis running (`redis-server`)
|
|
479
|
-
- Project built (`npm run build`)
|
|
480
|
-
- Z.ai API key configured (`.env`) for integration tests
|
|
481
|
-
|
|
482
|
-
**Documentation:** See `tests/cli-mode/README.md` for detailed test descriptions and results.
|
|
483
|
-
|
|
484
|
-
#### Docker Mode Tests (Integration)
|
|
485
|
-
Run the Docker mode test suite to validate real container-based orchestration:
|
|
486
|
-
|
|
487
|
-
```bash
|
|
488
|
-
# Run all 45 Docker test implementations
|
|
489
|
-
./tests/docker-mode/run-all-implementations.sh
|
|
490
|
-
|
|
491
|
-
# Expected runtime: ~3-5 minutes
|
|
492
|
-
# Tests: 45 production tests across 3 suites
|
|
493
|
-
# Coverage: Coordinator spawning, orchestrator workflow, TDD compliance
|
|
494
|
-
```
|
|
495
|
-
|
|
496
|
-
**Test Suites:**
|
|
497
|
-
- Coordinator Spawning (13 tests): Container cleanup, exit codes, service discovery
|
|
498
|
-
- Orchestrator Workflow (13 tests): Iteration management, monitoring, recovery
|
|
499
|
-
- TDD Compliance (19 tests): Test-driven validation, metrics collection, parallel execution
|
|
500
|
-
|
|
501
|
-
**Prerequisites:**
|
|
502
|
-
- Docker daemon running (`docker ps`)
|
|
503
|
-
- No port conflicts (Docker networks auto-created)
|
|
504
|
-
- ~2GB available memory for container execution
|
|
505
|
-
|
|
506
|
-
**Documentation:** See `tests/docker-mode/README.md` for test categories and patterns.
|
|
507
|
-
|
|
508
|
-
#### NPM-Based Tests (Development)
|
|
509
|
-
Run standard npm test commands for fast feedback during development:
|
|
510
|
-
|
|
511
|
-
```bash
|
|
512
|
-
# Run all tests
|
|
513
|
-
npm test
|
|
514
|
-
|
|
515
|
-
# Run specific test suites
|
|
516
|
-
npm run test:unit # Unit tests only
|
|
517
|
-
npm run test:integration # Integration tests only
|
|
518
|
-
npm run test:e2e # End-to-end tests only
|
|
519
|
-
|
|
520
|
-
# Run with coverage
|
|
521
|
-
npm test -- --coverage
|
|
522
|
-
|
|
523
|
-
# Watch mode (re-run on file changes)
|
|
524
|
-
npm test -- --watch
|
|
525
|
-
```
|
|
526
|
-
|
|
527
|
-
**Expected runtime:**
|
|
528
|
-
- Unit tests: ~1-2 minutes
|
|
529
|
-
- Integration tests: ~2-3 minutes
|
|
530
|
-
- E2E tests: ~3-5 minutes
|
|
531
|
-
|
|
532
|
-
#### CFN Loop End-to-End Tests
|
|
533
|
-
Run specialized CFN Loop tests for validation and debugging:
|
|
534
|
-
|
|
535
|
-
```bash
|
|
536
|
-
# Validate CFN Loop coordinator handoffs
|
|
537
|
-
./tests/cfn-v3/test-coordinator-handoffs.sh
|
|
538
|
-
|
|
539
|
-
# Full CFN Loop e2e test
|
|
540
|
-
./tests/cfn-v3/test-e2e-cfn-loop.sh
|
|
541
|
-
|
|
542
|
-
# Enterprise change management tests
|
|
543
|
-
./tests/enterprise/run-all-enterprise-tests.sh
|
|
544
|
-
```
|
|
545
|
-
|
|
546
|
-
### Test Organization
|
|
547
|
-
|
|
548
|
-
```
|
|
549
|
-
tests/
|
|
550
|
-
├── cli-mode/ # CLI mode validation (8 tests, 159 assertions)
|
|
551
|
-
│ ├── README.md # CLI test documentation
|
|
552
|
-
│ ├── run-all-tests.sh # Test runner
|
|
553
|
-
│ └── test-*.sh # Individual test suites
|
|
554
|
-
├── docker-mode/ # Docker integration tests (45 tests)
|
|
555
|
-
│ ├── README.md # Docker test documentation
|
|
556
|
-
│ ├── run-all-implementations.sh # Test runner
|
|
557
|
-
│ └── implementations/
|
|
558
|
-
│ ├── coordinator-spawning-real-tests.sh
|
|
559
|
-
│ ├── orchestrator-workflow-real-tests.sh
|
|
560
|
-
│ └── tdd-compliance-real-tests.sh
|
|
561
|
-
├── docker/ # Docker-based core tests
|
|
562
|
-
│ ├── coordination/ # Redis coordination tests
|
|
563
|
-
│ ├── lifecycle/ # Container lifecycle tests
|
|
564
|
-
│ └── perf/ # Performance benchmarks
|
|
565
|
-
├── cfn-v3/ # CFN Loop validation tests
|
|
566
|
-
├── enterprise/ # Enterprise mode tests
|
|
567
|
-
├── CLAUDE.md # Test authoring standards
|
|
568
|
-
├── test-utils.sh # Shared test utilities
|
|
569
|
-
└── README.md # Test suite documentation
|
|
570
|
-
```
|
|
571
|
-
|
|
572
|
-
### Test Coverage Matrix
|
|
573
|
-
|
|
574
|
-
| Mode | Type | Tests | Duration | Prerequisites |
|
|
575
|
-
|------|------|-------|----------|---|
|
|
576
|
-
| CLI | Unit + Integration + E2E | 159 assertions | 5-10 min | Redis, npm build |
|
|
577
|
-
| Docker | Production integration | 45 tests | 3-5 min | Docker daemon |
|
|
578
|
-
| NPM | Development | Variable | 1-5 min | Node.js, npm |
|
|
579
|
-
| CFN Loop | Workflow validation | Variable | 5-15 min | Full environment |
|
|
580
|
-
|
|
581
|
-
### Test Authoring Guidelines
|
|
582
|
-
|
|
583
|
-
For developers writing new tests, see `tests/CLAUDE.md` which documents:
|
|
584
|
-
- Boilerplate template structure
|
|
585
|
-
- GIVEN/WHEN/THEN assertion patterns
|
|
586
|
-
- Production testing requirements (BUG #21)
|
|
587
|
-
- Infrastructure vs integration test patterns
|
|
588
|
-
- Cleanup and resource management
|
|
589
|
-
- Review checklist for test quality
|
|
590
|
-
|
|
591
|
-
Key principles:
|
|
592
|
-
- Infrastructure tests (mocks OK): Docker networking, volumes, Redis connectivity
|
|
593
|
-
- Integration tests (real images/scripts): Agent spawning, CLI execution, production workflows
|
|
594
|
-
- Always use `set -euo pipefail` and `trap cleanup EXIT`
|
|
595
|
-
- Route output through `log_step`, `log_info`, `annotate`, `assert_success` helpers
|
|
596
|
-
- Cite relevant bugs in test comments for future context
|
|
597
|
-
|
|
598
|
-
### CI/CD Integration
|
|
599
|
-
|
|
600
|
-
Tests run automatically in GitHub Actions on every push and pull request. See [CI/CD Pipeline Documentation](.github/workflows) for:
|
|
601
|
-
- Coverage gates (80%+ lines/statements/functions)
|
|
602
|
-
- Test failure notifications
|
|
603
|
-
- Performance benchmarking
|
|
604
|
-
- Security scanning
|
|
605
|
-
- Deployment workflows
|
|
606
|
-
|
|
607
|
-
### Troubleshooting
|
|
608
|
-
|
|
609
|
-
**Redis not available:**
|
|
610
|
-
```bash
|
|
611
|
-
# Start Redis in background
|
|
612
|
-
redis-server --daemonize yes
|
|
613
|
-
|
|
614
|
-
# Or run in Docker
|
|
615
|
-
docker run -d -p 6379:6379 redis:7-alpine
|
|
616
|
-
```
|
|
617
|
-
|
|
618
|
-
**Docker permission denied:**
|
|
619
|
-
```bash
|
|
620
|
-
# Add user to docker group
|
|
621
|
-
sudo usermod -aG docker $USER
|
|
622
|
-
newgrp docker
|
|
623
|
-
```
|
|
624
|
-
|
|
625
|
-
**Port conflicts:**
|
|
626
|
-
```bash
|
|
627
|
-
# Stop and remove existing containers
|
|
628
|
-
docker stop $(docker ps -aq)
|
|
629
|
-
docker rm $(docker ps -aq)
|
|
630
|
-
|
|
631
|
-
# Clean up Docker networks
|
|
632
|
-
docker network prune -f
|
|
633
|
-
```
|
|
634
|
-
|
|
635
|
-
**Test failures with unclear messages:**
|
|
636
|
-
```bash
|
|
637
|
-
# Run with verbose output
|
|
638
|
-
DEBUG=true ./tests/cli-mode/run-all-tests.sh
|
|
639
|
-
DEBUG=true ./tests/docker-mode/run-all-implementations.sh
|
|
640
|
-
|
|
641
|
-
# Check test logs in .artifacts/
|
|
642
|
-
tail -100 .artifacts/logs/test-execution.log
|
|
643
|
-
```
|
|
644
|
-
|
|
645
|
-
### Related Documentation
|
|
646
|
-
|
|
647
|
-
- **Test Suite Overview:** `tests/README.md`
|
|
648
|
-
- **Test Authoring Standards:** `tests/CLAUDE.md`
|
|
649
|
-
- **CLI Mode Details:** `tests/cli-mode/README.md`
|
|
650
|
-
- **Docker Mode Details:** `tests/docker-mode/README.md`
|
|
651
|
-
- **Test Coverage Analysis:** `tests/TEST_COVERAGE_MATRIX.md`
|
|
652
|
-
- **CFN Loop Architecture:** `docs/CFN_LOOP_ARCHITECTURE.md`
|
|
653
|
-
- **CI/CD Pipeline:** `.github/workflows`
|
|
654
|
-
|
|
655
|
-
### Development Setup
|
|
656
|
-
|
|
657
|
-
```bash
|
|
658
|
-
# Clone repository
|
|
659
|
-
git clone https://github.com/masharratt/claude-flow-novice.git
|
|
660
|
-
cd claude-flow-novice
|
|
661
|
-
|
|
662
|
-
# Install dependencies
|
|
663
|
-
npm install
|
|
664
|
-
|
|
665
|
-
# Run in development mode
|
|
666
|
-
npm run dev
|
|
667
|
-
|
|
668
|
-
# Build for production
|
|
669
|
-
npm run build
|
|
670
|
-
```
|
|
671
|
-
|
|
672
|
-
### CI/CD Pipeline
|
|
673
|
-
|
|
674
|
-
Comprehensive GitHub Actions automation with unit testing, integration testing, coverage gates (80%+ lines/statements/functions), security scanning, and deployment workflows. See [CI/CD Pipeline Documentation](.github/workflows) for details.
|
|
675
|
-
|
|
676
|
-
---
|
|
677
|
-
|
|
678
|
-
## License
|
|
679
|
-
|
|
680
|
-
MIT License - see [LICENSE](LICENSE) file for details.
|
|
681
|
-
|
|
682
|
-
---
|
|
683
|
-
|
|
684
|
-
## Support
|
|
685
|
-
|
|
686
|
-
- **Documentation**: [Wiki](https://github.com/masharratt/claude-flow-novice/wiki)
|
|
687
|
-
- **Issues**: [GitHub Issues](https://github.com/masharratt/claude-flow-novice/issues)
|
|
688
|
-
- **Discussions**: [GitHub Discussions](https://github.com/masharratt/claude-flow-novice/discussions)
|
|
689
|
-
|
|
690
|
-
---
|
|
691
|
-
|
|
692
|
-
## Roadmap
|
|
693
|
-
|
|
694
|
-
### v2.17.0 (Q1 2026)
|
|
695
|
-
- [ ] Semantic playbook similarity (embeddings)
|
|
696
|
-
- [ ] Parallel sprint execution
|
|
697
|
-
- [ ] Natural language epic parsing
|
|
698
|
-
|
|
699
|
-
### v2.18.0 (Q2 2026)
|
|
700
|
-
- [ ] Dynamic sprint adjustment (merge/split)
|
|
701
|
-
- [ ] Cross-sprint learning
|
|
702
|
-
- [ ] Confidence prediction before execution
|
|
703
|
-
|
|
704
|
-
### v2.19.0 (Q3 2026)
|
|
705
|
-
- [ ] Sprint rollback capability
|
|
706
|
-
- [ ] Epic-level re-planning
|
|
707
|
-
- [ ] Advanced monitoring dashboard
|
|
708
|
-
|
|
709
|
-
### v3.0.0 (Q4 2026)
|
|
710
|
-
- [ ] Breaking changes: New coordination protocol
|
|
711
|
-
- [ ] Multi-cloud provider support
|
|
712
|
-
- [ ] Enhanced playbook with vector embeddings
|
|
1
|
+
# Claude Flow Novice
|
|
2
|
+
|
|
3
|
+
AI agent orchestration with namespace-isolated skills, multi-agent coordination, and semantic codebase search.
|
|
4
|
+
|
|
5
|
+
## Install
|
|
6
|
+
|
|
7
|
+
```bash
|
|
8
|
+
npm install claude-flow-novice
|
|
9
|
+
```
|
|
10
|
+
|
|
11
|
+
## Core Features
|
|
12
|
+
|
|
13
|
+
- **CFN Loop**: 3-loop self-correcting workflow (implement → validate → decide)
|
|
14
|
+
- **RuVector**: Semantic codebase search via embeddings
|
|
15
|
+
- **Skills**: Modular capabilities in `.claude/skills/`
|
|
16
|
+
- **Agents**: Specialist agents in `.claude/agents/`
|
|
17
|
+
- **Provider Routing**: Z.ai, Kimi, OpenRouter, Anthropic
|
|
18
|
+
|
|
19
|
+
## Quick Start
|
|
20
|
+
|
|
21
|
+
```bash
|
|
22
|
+
# Initialize project
|
|
23
|
+
npx cfn-init
|
|
24
|
+
|
|
25
|
+
# Index codebase for semantic search
|
|
26
|
+
./.claude/skills/cfn-ruvector-codebase-index/index.sh --full
|
|
27
|
+
|
|
28
|
+
# Search codebase
|
|
29
|
+
./.claude/skills/cfn-ruvector-codebase-index/search.sh "authentication logic" --top 5
|
|
30
|
+
|
|
31
|
+
# Run CFN Loop (CLI mode - cost optimized)
|
|
32
|
+
/cfn-loop-cli "Implement feature X" --mode=standard
|
|
33
|
+
|
|
34
|
+
# Run CFN Loop (Task mode - full visibility)
|
|
35
|
+
/cfn-loop-task "Debug issue Y" --mode=standard
|
|
36
|
+
```
|
|
37
|
+
|
|
38
|
+
## Architecture
|
|
39
|
+
|
|
40
|
+
```
|
|
41
|
+
claude-flow-novice/
|
|
42
|
+
├── src/ # TypeScript source
|
|
43
|
+
│ ├── ruvector/ # Semantic search module
|
|
44
|
+
│ ├── agents/ # Agent spawning
|
|
45
|
+
│ ├── coordination/ # Redis coordination
|
|
46
|
+
│ └── cfn-loop/ # Loop orchestration
|
|
47
|
+
├── .claude/
|
|
48
|
+
│ ├── agents/ # Agent definitions
|
|
49
|
+
│ ├── skills/ # Skill modules
|
|
50
|
+
│ ├── commands/ # Slash commands
|
|
51
|
+
│ └── hooks/ # Edit hooks
|
|
52
|
+
└── dist/ # Compiled output
|
|
53
|
+
```
|
|
54
|
+
|
|
55
|
+
## RuVector Codebase Search
|
|
56
|
+
|
|
57
|
+
Semantic search using OpenAI embeddings (text-embedding-3-small).
|
|
58
|
+
|
|
59
|
+
```bash
|
|
60
|
+
# Full reindex
|
|
61
|
+
./.claude/skills/cfn-ruvector-codebase-index/index.sh --full
|
|
62
|
+
|
|
63
|
+
# Incremental (git changes only)
|
|
64
|
+
/cfn-ruvector:codebase-reindex
|
|
65
|
+
|
|
66
|
+
# Search
|
|
67
|
+
./.claude/skills/cfn-ruvector-codebase-index/search.sh "React components" --top 10
|
|
68
|
+
```
|
|
69
|
+
|
|
70
|
+
**Manifest System**: `.cfn-manifest.json` tracks CFN vs custom files. Custom files preserved during updates.
|
|
71
|
+
|
|
72
|
+
## CFN Loop Modes
|
|
73
|
+
|
|
74
|
+
| Mode | Command | Use Case |
|
|
75
|
+
|------|---------|----------|
|
|
76
|
+
| CLI | `/cfn-loop-cli` | Production, cost-optimized |
|
|
77
|
+
| Task | `/cfn-loop-task` | Debugging, full visibility |
|
|
78
|
+
|
|
79
|
+
## Provider Routing
|
|
80
|
+
|
|
81
|
+
Set `CFN_CUSTOM_ROUTING=true` in `.env`, then:
|
|
82
|
+
|
|
83
|
+
```bash
|
|
84
|
+
/switch-api kimi # Switch provider
|
|
85
|
+
/cfn-loop-cli "Task" --provider kimi
|
|
86
|
+
```
|
|
87
|
+
|
|
88
|
+
Options: `zai`, `kimi`, `openrouter`, `anthropic`, `gemini`, `xai`
|
|
89
|
+
|
|
90
|
+
## Key Paths
|
|
91
|
+
|
|
92
|
+
- Config: `CLAUDE.md`
|
|
93
|
+
- Agents: `.claude/agents/cfn-dev-team/`
|
|
94
|
+
- Skills: `.claude/skills/cfn-*/`
|
|
95
|
+
- Hooks: `.claude/hooks/cfn-*`
|
|
96
|
+
- RuVector data: `.claude/skills/cfn-ruvector-codebase-index/data/`
|
|
97
|
+
|
|
98
|
+
## Requirements
|
|
99
|
+
|
|
100
|
+
- Node.js >= 18
|
|
101
|
+
- Redis (for CLI mode coordination)
|
|
102
|
+
- `OPENAI_API_KEY` or `ZAI_API_KEY` (for embeddings)
|
|
103
|
+
|
|
104
|
+
## License
|
|
105
|
+
|
|
106
|
+
MIT
|