claude-flow-novice 2.18.23 → 2.18.25

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (39) hide show
  1. package/.claude/CLAUDE.md +17 -0
  2. package/.claude/commands/cfn-loop/cfn-loop-cli.md +9 -0
  3. package/.claude/commands/cfn-loop-task.md +11 -0
  4. package/.claude/commands/cfn-ruvector/cfn-codebase-reindex.md +23 -4
  5. package/.claude/commands/cfn-ruvector/cfn-codebase-search.md +10 -2
  6. package/.claude/commands/cfn-ruvector/cfn-detect-stale-docs.md +22 -4
  7. package/.claude/hooks/deprecated/cfn-SessionStart-cfn-load-openai-key.sh +48 -0
  8. package/.claude/settings.json +6 -8
  9. package/.claude/skills/CLAUDE.md +70 -0
  10. package/.claude/skills/cfn-local-ruvector-accelerator/SKILL.md +37 -21
  11. package/CLAUDE.md +63 -401
  12. package/config/agent-whitelist.json +281 -0
  13. package/config/default.yml +180 -0
  14. package/config/feature-flags.json +315 -0
  15. package/config/fix-reports/config-manager-custom-keys.json +15 -0
  16. package/config/hooks/post-edit-pipeline.js +858 -0
  17. package/config/hooks/post-edit-pipeline.js.original +612 -0
  18. package/config/kong/grafana/datasources/prometheus.yml +24 -0
  19. package/config/kong/kong.yml +496 -0
  20. package/config/kong/prometheus.yml +49 -0
  21. package/config/logrotate.d/cfn-logs +221 -0
  22. package/config/loki/loki-config.yml +172 -0
  23. package/config/loki/retention.yml +107 -0
  24. package/config/mcp-servers.json +152 -0
  25. package/config/production.yml.example +72 -0
  26. package/config/prometheus.yml +85 -0
  27. package/config/promtail/promtail-config.yml +162 -0
  28. package/config/redis.conf +33 -0
  29. package/config/redis.config.js +115 -0
  30. package/config/skill-requirements.json +341 -0
  31. package/config/sla-definitions.test.yml +66 -0
  32. package/config/sla-definitions.yml +150 -0
  33. package/docs/CFN_LOOP_CLI_MODE.md +134 -0
  34. package/package.json +1 -1
  35. package/scripts/cfn-init.js +8 -2
  36. package/.claude/hooks/SessionStart-cfn-load-openai-key.sh +0 -35
  37. package/.claude/hooks/SessionStart:cfn-build-ruvector.sh +0 -28
  38. /package/.claude/hooks/{SessionStart-cfn-build-ruvector.sh → cfn-SessionStart-cfn-build-ruvector.sh} +0 -0
  39. /package/.claude/hooks/{cfn-load-cerebras-env.sh → deprecated/cfn-load-cerebras-env.sh} +0 -0
@@ -0,0 +1,315 @@
1
+ {
2
+ "feature_flags": {
3
+ "integration.database_service": {
4
+ "enabled": true,
5
+ "description": "Enable standardized database service with connection pooling",
6
+ "rollout_percentage": 0,
7
+ "environments": {
8
+ "development": {
9
+ "enabled": true,
10
+ "rollout_percentage": 100
11
+ },
12
+ "staging": {
13
+ "enabled": true,
14
+ "rollout_percentage": 100
15
+ },
16
+ "canary": {
17
+ "enabled": true,
18
+ "rollout_percentage": 10
19
+ },
20
+ "production": {
21
+ "enabled": true,
22
+ "rollout_percentage": 0
23
+ }
24
+ },
25
+ "rollback_enabled": true,
26
+ "success_criteria": {
27
+ "error_rate_threshold": 0.001,
28
+ "latency_increase_threshold": 0.05,
29
+ "healthy_instances_threshold": 0.95
30
+ }
31
+ },
32
+ "integration.coordination_protocol": {
33
+ "enabled": true,
34
+ "description": "Enable standardized coordination protocol for inter-system communication",
35
+ "rollout_percentage": 0,
36
+ "environments": {
37
+ "development": {
38
+ "enabled": true,
39
+ "rollout_percentage": 100
40
+ },
41
+ "staging": {
42
+ "enabled": true,
43
+ "rollout_percentage": 100
44
+ },
45
+ "canary": {
46
+ "enabled": true,
47
+ "rollout_percentage": 10
48
+ },
49
+ "production": {
50
+ "enabled": true,
51
+ "rollout_percentage": 0
52
+ }
53
+ },
54
+ "rollback_enabled": true,
55
+ "fallback_to_legacy": true,
56
+ "success_criteria": {
57
+ "error_rate_threshold": 0.001,
58
+ "message_delivery_success": 0.999,
59
+ "healthy_instances_threshold": 0.95
60
+ }
61
+ },
62
+ "integration.artifact_storage": {
63
+ "enabled": true,
64
+ "description": "Enable standardized artifact storage with S3-compatible backend",
65
+ "rollout_percentage": 0,
66
+ "environments": {
67
+ "development": {
68
+ "enabled": true,
69
+ "rollout_percentage": 100
70
+ },
71
+ "staging": {
72
+ "enabled": true,
73
+ "rollout_percentage": 100
74
+ },
75
+ "canary": {
76
+ "enabled": true,
77
+ "rollout_percentage": 10
78
+ },
79
+ "production": {
80
+ "enabled": true,
81
+ "rollout_percentage": 0
82
+ }
83
+ },
84
+ "rollback_enabled": true,
85
+ "success_criteria": {
86
+ "error_rate_threshold": 0.001,
87
+ "latency_increase_threshold": 0.08,
88
+ "storage_availability": 0.999
89
+ }
90
+ },
91
+ "integration.metrics_collection": {
92
+ "enabled": true,
93
+ "description": "Enable standardized metrics collection and reporting",
94
+ "rollout_percentage": 0,
95
+ "environments": {
96
+ "development": {
97
+ "enabled": true,
98
+ "rollout_percentage": 100
99
+ },
100
+ "staging": {
101
+ "enabled": true,
102
+ "rollout_percentage": 100
103
+ },
104
+ "canary": {
105
+ "enabled": true,
106
+ "rollout_percentage": 10
107
+ },
108
+ "production": {
109
+ "enabled": true,
110
+ "rollout_percentage": 0
111
+ }
112
+ },
113
+ "rollback_enabled": true,
114
+ "success_criteria": {
115
+ "metric_delivery_rate": 0.999,
116
+ "latency_impact": 0.01,
117
+ "cardinality_explosion": false
118
+ }
119
+ },
120
+ "integration.logging_standardization": {
121
+ "enabled": true,
122
+ "description": "Enable standardized structured logging across all components",
123
+ "rollout_percentage": 0,
124
+ "environments": {
125
+ "development": {
126
+ "enabled": true,
127
+ "rollout_percentage": 100
128
+ },
129
+ "staging": {
130
+ "enabled": true,
131
+ "rollout_percentage": 100
132
+ },
133
+ "canary": {
134
+ "enabled": true,
135
+ "rollout_percentage": 10
136
+ },
137
+ "production": {
138
+ "enabled": true,
139
+ "rollout_percentage": 0
140
+ }
141
+ },
142
+ "rollback_enabled": true,
143
+ "success_criteria": {
144
+ "log_delivery_rate": 0.99,
145
+ "disk_space_efficiency": 0.8,
146
+ "query_latency": "5s"
147
+ }
148
+ },
149
+ "integration.security_hardening": {
150
+ "enabled": true,
151
+ "description": "Enable enhanced security checks and validation",
152
+ "rollout_percentage": 0,
153
+ "environments": {
154
+ "development": {
155
+ "enabled": true,
156
+ "rollout_percentage": 100
157
+ },
158
+ "staging": {
159
+ "enabled": true,
160
+ "rollout_percentage": 100
161
+ },
162
+ "canary": {
163
+ "enabled": true,
164
+ "rollout_percentage": 10
165
+ },
166
+ "production": {
167
+ "enabled": true,
168
+ "rollout_percentage": 0
169
+ }
170
+ },
171
+ "rollback_enabled": true,
172
+ "success_criteria": {
173
+ "validation_latency": "100ms",
174
+ "false_positive_rate": 0.001,
175
+ "security_event_detection": 0.99
176
+ }
177
+ },
178
+ "integration.distributed_tracing": {
179
+ "enabled": true,
180
+ "description": "Enable distributed tracing across integration points",
181
+ "rollout_percentage": 0,
182
+ "environments": {
183
+ "development": {
184
+ "enabled": true,
185
+ "rollout_percentage": 100
186
+ },
187
+ "staging": {
188
+ "enabled": true,
189
+ "rollout_percentage": 100
190
+ },
191
+ "canary": {
192
+ "enabled": true,
193
+ "rollout_percentage": 10
194
+ },
195
+ "production": {
196
+ "enabled": true,
197
+ "rollout_percentage": 0
198
+ }
199
+ },
200
+ "rollback_enabled": true,
201
+ "sampling_rate": 0.1,
202
+ "success_criteria": {
203
+ "trace_completeness": 0.95,
204
+ "latency_overhead": 0.02,
205
+ "storage_efficiency": 0.5
206
+ }
207
+ }
208
+ },
209
+ "rollout_schedule": {
210
+ "phase_1_canary": {
211
+ "start_date": "2025-11-17",
212
+ "end_date": "2025-11-18",
213
+ "target_percentage": 10,
214
+ "all_flags": [
215
+ "integration.database_service",
216
+ "integration.coordination_protocol",
217
+ "integration.artifact_storage",
218
+ "integration.metrics_collection",
219
+ "integration.logging_standardization",
220
+ "integration.security_hardening",
221
+ "integration.distributed_tracing"
222
+ ]
223
+ },
224
+ "phase_2_staged": {
225
+ "start_date": "2025-11-19",
226
+ "end_date": "2025-11-21",
227
+ "target_percentage": 50,
228
+ "all_flags": [
229
+ "integration.database_service",
230
+ "integration.coordination_protocol",
231
+ "integration.artifact_storage",
232
+ "integration.metrics_collection",
233
+ "integration.logging_standardization",
234
+ "integration.security_hardening",
235
+ "integration.distributed_tracing"
236
+ ]
237
+ },
238
+ "phase_3_full": {
239
+ "start_date": "2025-11-22",
240
+ "end_date": "2025-11-29",
241
+ "target_percentage": 100,
242
+ "all_flags": [
243
+ "integration.database_service",
244
+ "integration.coordination_protocol",
245
+ "integration.artifact_storage",
246
+ "integration.metrics_collection",
247
+ "integration.logging_standardization",
248
+ "integration.security_hardening",
249
+ "integration.distributed_tracing"
250
+ ]
251
+ }
252
+ },
253
+ "rollback_triggers": {
254
+ "automatic": [
255
+ {
256
+ "condition": "error_rate > 0.01",
257
+ "duration_seconds": 300,
258
+ "action": "rollback",
259
+ "severity": "critical"
260
+ },
261
+ {
262
+ "condition": "latency_p99 > 2x_baseline",
263
+ "duration_seconds": 600,
264
+ "action": "rollback",
265
+ "severity": "critical"
266
+ },
267
+ {
268
+ "condition": "database_connection_exhaustion",
269
+ "duration_seconds": 60,
270
+ "action": "rollback",
271
+ "severity": "critical"
272
+ },
273
+ {
274
+ "condition": "coordination_protocol_failure_rate > 0.05",
275
+ "duration_seconds": 300,
276
+ "action": "rollback",
277
+ "severity": "high"
278
+ }
279
+ ],
280
+ "manual": [
281
+ {
282
+ "condition": "data_corruption_detected",
283
+ "action": "immediate_rollback",
284
+ "severity": "critical"
285
+ },
286
+ {
287
+ "condition": "customer_impact_reported",
288
+ "action": "immediate_rollback",
289
+ "severity": "critical"
290
+ },
291
+ {
292
+ "condition": "security_incident",
293
+ "action": "immediate_rollback",
294
+ "severity": "critical"
295
+ }
296
+ ]
297
+ },
298
+ "monitoring": {
299
+ "enabled": true,
300
+ "dashboards": [
301
+ "integration-overview",
302
+ "database-performance",
303
+ "coordination-health",
304
+ "skill-deployment"
305
+ ],
306
+ "alert_rules": [
307
+ "error-rate-alerts",
308
+ "latency-alerts",
309
+ "resource-alerts",
310
+ "integration-health-alerts"
311
+ ],
312
+ "slo_tracking": true,
313
+ "incident_response": true
314
+ }
315
+ }
@@ -0,0 +1,15 @@
1
+ {
2
+ "fix_applied": "Custom Config Key Retrieval",
3
+ "confidence": 0.92,
4
+ "changes": [
5
+ {
6
+ "file": "src/cli/config-manager.ts",
7
+ "description": "Added custom config key retrieval from ~/.claude-flow-custom-config.json"
8
+ }
9
+ ],
10
+ "test_status": "PASS",
11
+ "recommendations": [
12
+ "Replace 'any' type with more specific types",
13
+ "Add comprehensive test suite"
14
+ ]
15
+ }