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.
- package/.claude/CLAUDE.md +17 -0
- package/.claude/commands/cfn-loop/cfn-loop-cli.md +9 -0
- package/.claude/commands/cfn-loop-task.md +11 -0
- package/.claude/commands/cfn-ruvector/cfn-codebase-reindex.md +23 -4
- package/.claude/commands/cfn-ruvector/cfn-codebase-search.md +10 -2
- package/.claude/commands/cfn-ruvector/cfn-detect-stale-docs.md +22 -4
- package/.claude/hooks/deprecated/cfn-SessionStart-cfn-load-openai-key.sh +48 -0
- package/.claude/settings.json +6 -8
- package/.claude/skills/CLAUDE.md +70 -0
- package/.claude/skills/cfn-local-ruvector-accelerator/SKILL.md +37 -21
- package/CLAUDE.md +63 -401
- package/config/agent-whitelist.json +281 -0
- package/config/default.yml +180 -0
- package/config/feature-flags.json +315 -0
- package/config/fix-reports/config-manager-custom-keys.json +15 -0
- package/config/hooks/post-edit-pipeline.js +858 -0
- package/config/hooks/post-edit-pipeline.js.original +612 -0
- package/config/kong/grafana/datasources/prometheus.yml +24 -0
- package/config/kong/kong.yml +496 -0
- package/config/kong/prometheus.yml +49 -0
- package/config/logrotate.d/cfn-logs +221 -0
- package/config/loki/loki-config.yml +172 -0
- package/config/loki/retention.yml +107 -0
- package/config/mcp-servers.json +152 -0
- package/config/production.yml.example +72 -0
- package/config/prometheus.yml +85 -0
- package/config/promtail/promtail-config.yml +162 -0
- package/config/redis.conf +33 -0
- package/config/redis.config.js +115 -0
- package/config/skill-requirements.json +341 -0
- package/config/sla-definitions.test.yml +66 -0
- package/config/sla-definitions.yml +150 -0
- package/docs/CFN_LOOP_CLI_MODE.md +134 -0
- package/package.json +1 -1
- package/scripts/cfn-init.js +8 -2
- package/.claude/hooks/SessionStart-cfn-load-openai-key.sh +0 -35
- package/.claude/hooks/SessionStart:cfn-build-ruvector.sh +0 -28
- /package/.claude/hooks/{SessionStart-cfn-build-ruvector.sh → cfn-SessionStart-cfn-build-ruvector.sh} +0 -0
- /package/.claude/hooks/{cfn-load-cerebras-env.sh → deprecated/cfn-load-cerebras-env.sh} +0 -0
|
@@ -0,0 +1,281 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": "1.0.0",
|
|
3
|
+
"description": "Agent whitelist for MCP server authentication",
|
|
4
|
+
"lastUpdated": "2025-11-05",
|
|
5
|
+
"agents": [
|
|
6
|
+
{
|
|
7
|
+
"type": "react-frontend-engineer",
|
|
8
|
+
"displayName": "React Frontend Engineer",
|
|
9
|
+
"skills": [
|
|
10
|
+
"ui-development",
|
|
11
|
+
"react-components",
|
|
12
|
+
"css-styling",
|
|
13
|
+
"browser-automation",
|
|
14
|
+
"accessibility-testing",
|
|
15
|
+
"screenshot-capture"
|
|
16
|
+
],
|
|
17
|
+
"allowedMcpServers": [
|
|
18
|
+
"playwright",
|
|
19
|
+
"browser-tools",
|
|
20
|
+
"screenshot-analysis"
|
|
21
|
+
],
|
|
22
|
+
"resourceLimits": {
|
|
23
|
+
"maxMemoryMB": 1024,
|
|
24
|
+
"maxRequestsPerMinute": 60,
|
|
25
|
+
"maxConcurrentRequests": 3
|
|
26
|
+
},
|
|
27
|
+
"description": "Frontend development specialist with browser automation capabilities"
|
|
28
|
+
},
|
|
29
|
+
{
|
|
30
|
+
"type": "ui-designer",
|
|
31
|
+
"displayName": "UI Designer",
|
|
32
|
+
"skills": [
|
|
33
|
+
"ui-development",
|
|
34
|
+
"visual-design",
|
|
35
|
+
"browser-automation",
|
|
36
|
+
"screenshot-capture",
|
|
37
|
+
"color-analysis",
|
|
38
|
+
"layout-testing"
|
|
39
|
+
],
|
|
40
|
+
"allowedMcpServers": [
|
|
41
|
+
"playwright",
|
|
42
|
+
"browser-tools",
|
|
43
|
+
"screenshot-analysis",
|
|
44
|
+
"color-palette"
|
|
45
|
+
],
|
|
46
|
+
"resourceLimits": {
|
|
47
|
+
"maxMemoryMB": 512,
|
|
48
|
+
"maxRequestsPerMinute": 30,
|
|
49
|
+
"maxConcurrentRequests": 2
|
|
50
|
+
},
|
|
51
|
+
"description": "UI/UX design specialist with visual testing capabilities"
|
|
52
|
+
},
|
|
53
|
+
{
|
|
54
|
+
"type": "accessibility-validator",
|
|
55
|
+
"displayName": "Accessibility Validator",
|
|
56
|
+
"skills": [
|
|
57
|
+
"accessibility-testing",
|
|
58
|
+
"browser-automation",
|
|
59
|
+
"screen-reader-testing",
|
|
60
|
+
"wcag-compliance",
|
|
61
|
+
"screenshot-capture"
|
|
62
|
+
],
|
|
63
|
+
"allowedMcpServers": [
|
|
64
|
+
"playwright",
|
|
65
|
+
"browser-tools",
|
|
66
|
+
"accessibility-scanner"
|
|
67
|
+
],
|
|
68
|
+
"resourceLimits": {
|
|
69
|
+
"maxMemoryMB": 512,
|
|
70
|
+
"maxRequestsPerMinute": 40,
|
|
71
|
+
"maxConcurrentRequests": 2
|
|
72
|
+
},
|
|
73
|
+
"description": "Accessibility testing specialist with compliance checking"
|
|
74
|
+
},
|
|
75
|
+
{
|
|
76
|
+
"type": "mobile-dev",
|
|
77
|
+
"displayName": "Mobile Developer",
|
|
78
|
+
"skills": [
|
|
79
|
+
"mobile-development",
|
|
80
|
+
"responsive-testing",
|
|
81
|
+
"browser-automation",
|
|
82
|
+
"device-testing",
|
|
83
|
+
"screenshot-capture"
|
|
84
|
+
],
|
|
85
|
+
"allowedMcpServers": [
|
|
86
|
+
"playwright",
|
|
87
|
+
"browser-tools",
|
|
88
|
+
"device-emulation"
|
|
89
|
+
],
|
|
90
|
+
"resourceLimits": {
|
|
91
|
+
"maxMemoryMB": 768,
|
|
92
|
+
"maxRequestsPerMinute": 50,
|
|
93
|
+
"maxConcurrentRequests": 3
|
|
94
|
+
},
|
|
95
|
+
"description": "Mobile development specialist with responsive testing"
|
|
96
|
+
},
|
|
97
|
+
{
|
|
98
|
+
"type": "backend-developer",
|
|
99
|
+
"displayName": "Backend Developer",
|
|
100
|
+
"skills": [
|
|
101
|
+
"api-development",
|
|
102
|
+
"database-design",
|
|
103
|
+
"redis-operations",
|
|
104
|
+
"server-testing",
|
|
105
|
+
"api-validation"
|
|
106
|
+
],
|
|
107
|
+
"allowedMcpServers": [
|
|
108
|
+
"redis",
|
|
109
|
+
"postgres",
|
|
110
|
+
"api-testing",
|
|
111
|
+
"database-migration"
|
|
112
|
+
],
|
|
113
|
+
"resourceLimits": {
|
|
114
|
+
"maxMemoryMB": 512,
|
|
115
|
+
"maxRequestsPerMinute": 80,
|
|
116
|
+
"maxConcurrentRequests": 5
|
|
117
|
+
},
|
|
118
|
+
"description": "Backend development specialist with database and API tools"
|
|
119
|
+
},
|
|
120
|
+
{
|
|
121
|
+
"type": "database-architect",
|
|
122
|
+
"displayName": "Database Architect",
|
|
123
|
+
"skills": [
|
|
124
|
+
"database-design",
|
|
125
|
+
"sql-optimization",
|
|
126
|
+
"schema-management",
|
|
127
|
+
"data-migration",
|
|
128
|
+
"performance-tuning"
|
|
129
|
+
],
|
|
130
|
+
"allowedMcpServers": [
|
|
131
|
+
"postgres",
|
|
132
|
+
"redis",
|
|
133
|
+
"database-analyzer",
|
|
134
|
+
"query-optimizer"
|
|
135
|
+
],
|
|
136
|
+
"resourceLimits": {
|
|
137
|
+
"maxMemoryMB": 768,
|
|
138
|
+
"maxRequestsPerMinute": 40,
|
|
139
|
+
"maxConcurrentRequests": 3
|
|
140
|
+
},
|
|
141
|
+
"description": "Database architecture specialist with optimization tools"
|
|
142
|
+
},
|
|
143
|
+
{
|
|
144
|
+
"type": "api-gateway-specialist",
|
|
145
|
+
"displayName": "API Gateway Specialist",
|
|
146
|
+
"skills": [
|
|
147
|
+
"api-development",
|
|
148
|
+
"gateway-configuration",
|
|
149
|
+
"load-balancing",
|
|
150
|
+
"rate-limiting",
|
|
151
|
+
"api-testing"
|
|
152
|
+
],
|
|
153
|
+
"allowedMcpServers": [
|
|
154
|
+
"api-testing",
|
|
155
|
+
"gateway-config",
|
|
156
|
+
"traffic-monitoring"
|
|
157
|
+
],
|
|
158
|
+
"resourceLimits": {
|
|
159
|
+
"maxMemoryMB": 512,
|
|
160
|
+
"maxRequestsPerMinute": 60,
|
|
161
|
+
"maxConcurrentRequests": 4
|
|
162
|
+
},
|
|
163
|
+
"description": "API gateway and traffic management specialist"
|
|
164
|
+
},
|
|
165
|
+
{
|
|
166
|
+
"type": "security-specialist",
|
|
167
|
+
"displayName": "Security Specialist",
|
|
168
|
+
"skills": [
|
|
169
|
+
"security-auditing",
|
|
170
|
+
"vulnerability-scanning",
|
|
171
|
+
"penetration-testing",
|
|
172
|
+
"compliance-checking",
|
|
173
|
+
"threat-analysis"
|
|
174
|
+
],
|
|
175
|
+
"allowedMcpServers": [
|
|
176
|
+
"security-scanner",
|
|
177
|
+
"vulnerability-checker",
|
|
178
|
+
"compliance-validator",
|
|
179
|
+
"threat-analyzer"
|
|
180
|
+
],
|
|
181
|
+
"resourceLimits": {
|
|
182
|
+
"maxMemoryMB": 1024,
|
|
183
|
+
"maxRequestsPerMinute": 30,
|
|
184
|
+
"maxConcurrentRequests": 2
|
|
185
|
+
},
|
|
186
|
+
"description": "Security testing and vulnerability assessment specialist"
|
|
187
|
+
},
|
|
188
|
+
{
|
|
189
|
+
"type": "performance-tester",
|
|
190
|
+
"displayName": "Performance Tester",
|
|
191
|
+
"skills": [
|
|
192
|
+
"load-testing",
|
|
193
|
+
"performance-monitoring",
|
|
194
|
+
"benchmarking",
|
|
195
|
+
"stress-testing",
|
|
196
|
+
"metrics-analysis"
|
|
197
|
+
],
|
|
198
|
+
"allowedMcpServers": [
|
|
199
|
+
"load-generator",
|
|
200
|
+
"performance-monitor",
|
|
201
|
+
"metrics-collector",
|
|
202
|
+
"benchmark-runner"
|
|
203
|
+
],
|
|
204
|
+
"resourceLimits": {
|
|
205
|
+
"maxMemoryMB": 1536,
|
|
206
|
+
"maxRequestsPerMinute": 20,
|
|
207
|
+
"maxConcurrentRequests": 2
|
|
208
|
+
},
|
|
209
|
+
"description": "Performance and load testing specialist"
|
|
210
|
+
},
|
|
211
|
+
{
|
|
212
|
+
"type": "devops-engineer",
|
|
213
|
+
"displayName": "DevOps Engineer",
|
|
214
|
+
"skills": [
|
|
215
|
+
"container-management",
|
|
216
|
+
"deployment-automation",
|
|
217
|
+
"infrastructure-monitoring",
|
|
218
|
+
"log-analysis",
|
|
219
|
+
"incident-response"
|
|
220
|
+
],
|
|
221
|
+
"allowedMcpServers": [
|
|
222
|
+
"kubernetes",
|
|
223
|
+
"docker-orchestration",
|
|
224
|
+
"monitoring-tools",
|
|
225
|
+
"log-aggregator"
|
|
226
|
+
],
|
|
227
|
+
"resourceLimits": {
|
|
228
|
+
"maxMemoryMB": 1024,
|
|
229
|
+
"maxRequestsPerMinute": 70,
|
|
230
|
+
"maxConcurrentRequests": 4
|
|
231
|
+
},
|
|
232
|
+
"description": "DevOps and infrastructure management specialist"
|
|
233
|
+
},
|
|
234
|
+
{
|
|
235
|
+
"type": "kubernetes-specialist",
|
|
236
|
+
"displayName": "Kubernetes Specialist",
|
|
237
|
+
"skills": [
|
|
238
|
+
"kubernetes-management",
|
|
239
|
+
"container-orchestration",
|
|
240
|
+
"service-mesh",
|
|
241
|
+
"cluster-monitoring",
|
|
242
|
+
"resource-optimization"
|
|
243
|
+
],
|
|
244
|
+
"allowedMcpServers": [
|
|
245
|
+
"kubernetes",
|
|
246
|
+
"helm",
|
|
247
|
+
"istio",
|
|
248
|
+
"cluster-monitor"
|
|
249
|
+
],
|
|
250
|
+
"resourceLimits": {
|
|
251
|
+
"maxMemoryMB": 1024,
|
|
252
|
+
"maxRequestsPerMinute": 50,
|
|
253
|
+
"maxConcurrentRequests": 3
|
|
254
|
+
},
|
|
255
|
+
"description": "Kubernetes and container orchestration specialist"
|
|
256
|
+
},
|
|
257
|
+
{
|
|
258
|
+
"type": "monitoring-specialist",
|
|
259
|
+
"displayName": "Monitoring Specialist",
|
|
260
|
+
"skills": [
|
|
261
|
+
"metrics-collection",
|
|
262
|
+
"alerting-systems",
|
|
263
|
+
"dashboard-creation",
|
|
264
|
+
"log-analysis",
|
|
265
|
+
"incident-response"
|
|
266
|
+
],
|
|
267
|
+
"allowedMcpServers": [
|
|
268
|
+
"prometheus",
|
|
269
|
+
"grafana",
|
|
270
|
+
"log-aggregator",
|
|
271
|
+
"alert-manager"
|
|
272
|
+
],
|
|
273
|
+
"resourceLimits": {
|
|
274
|
+
"maxMemoryMB": 768,
|
|
275
|
+
"maxRequestsPerMinute": 60,
|
|
276
|
+
"maxConcurrentRequests": 4
|
|
277
|
+
},
|
|
278
|
+
"description": "Monitoring and observability specialist"
|
|
279
|
+
}
|
|
280
|
+
]
|
|
281
|
+
}
|
|
@@ -0,0 +1,180 @@
|
|
|
1
|
+
# Claude Flow Novice - Default Configuration
|
|
2
|
+
# Version: 1.0
|
|
3
|
+
# Format: YAML
|
|
4
|
+
# Schema: ../schemas/config-v1.schema.json
|
|
5
|
+
|
|
6
|
+
version: '1.0'
|
|
7
|
+
|
|
8
|
+
# ============================================================
|
|
9
|
+
# Database Configuration
|
|
10
|
+
# ============================================================
|
|
11
|
+
database:
|
|
12
|
+
# Type: sqlite | postgres | mysql
|
|
13
|
+
type: sqlite
|
|
14
|
+
|
|
15
|
+
# SQLite Configuration
|
|
16
|
+
path: ./data/cfn.db
|
|
17
|
+
|
|
18
|
+
# PostgreSQL/MySQL Configuration (uncomment when needed)
|
|
19
|
+
# host: localhost
|
|
20
|
+
# port: 5432 # 5432 for postgres, 3306 for mysql
|
|
21
|
+
# name: cfn
|
|
22
|
+
# username: cfn_user
|
|
23
|
+
# password: ${DB_PASSWORD} # Use environment variable
|
|
24
|
+
|
|
25
|
+
# Connection Pool
|
|
26
|
+
pool:
|
|
27
|
+
min: 2 # Minimum connections
|
|
28
|
+
max: 10 # Maximum connections
|
|
29
|
+
|
|
30
|
+
# SSL Configuration
|
|
31
|
+
ssl: false
|
|
32
|
+
|
|
33
|
+
# ============================================================
|
|
34
|
+
# Redis Configuration
|
|
35
|
+
# ============================================================
|
|
36
|
+
redis:
|
|
37
|
+
enabled: true
|
|
38
|
+
host: localhost
|
|
39
|
+
port: 6379
|
|
40
|
+
|
|
41
|
+
# Optional Authentication
|
|
42
|
+
# password: ${REDIS_PASSWORD}
|
|
43
|
+
|
|
44
|
+
# Database Number (0-15)
|
|
45
|
+
db: 0
|
|
46
|
+
|
|
47
|
+
# Default TTL (seconds)
|
|
48
|
+
ttl: 86400
|
|
49
|
+
|
|
50
|
+
# Key Prefix for Namespacing
|
|
51
|
+
keyPrefix: 'cfn:'
|
|
52
|
+
|
|
53
|
+
# ============================================================
|
|
54
|
+
# Agent Configuration
|
|
55
|
+
# ============================================================
|
|
56
|
+
agents:
|
|
57
|
+
# Maximum concurrent agents
|
|
58
|
+
maxConcurrent: 10
|
|
59
|
+
|
|
60
|
+
# Agent timeout (seconds)
|
|
61
|
+
timeout: 300
|
|
62
|
+
|
|
63
|
+
# Retry configuration
|
|
64
|
+
retryAttempts: 3
|
|
65
|
+
retryDelay: 1000 # milliseconds
|
|
66
|
+
|
|
67
|
+
# Default strategy: development | production | testing
|
|
68
|
+
defaultStrategy: development
|
|
69
|
+
|
|
70
|
+
# Log level: debug | info | warn | error
|
|
71
|
+
logLevel: info
|
|
72
|
+
|
|
73
|
+
# ============================================================
|
|
74
|
+
# Skills Configuration
|
|
75
|
+
# ============================================================
|
|
76
|
+
skills:
|
|
77
|
+
# Skills directory path
|
|
78
|
+
directory: ./.claude/skills
|
|
79
|
+
|
|
80
|
+
# Auto-load skills on startup
|
|
81
|
+
autoload: true
|
|
82
|
+
|
|
83
|
+
# Allowed skill types
|
|
84
|
+
allowedTypes:
|
|
85
|
+
- coordination
|
|
86
|
+
- deployment
|
|
87
|
+
- testing
|
|
88
|
+
- validation
|
|
89
|
+
- monitoring
|
|
90
|
+
|
|
91
|
+
# Skill cache configuration
|
|
92
|
+
cache:
|
|
93
|
+
enabled: true
|
|
94
|
+
ttl: 3600 # seconds
|
|
95
|
+
|
|
96
|
+
# ============================================================
|
|
97
|
+
# Logging Configuration
|
|
98
|
+
# ============================================================
|
|
99
|
+
logging:
|
|
100
|
+
# Log level: debug | info | warn | error
|
|
101
|
+
level: info
|
|
102
|
+
|
|
103
|
+
# Format: json | text | pretty
|
|
104
|
+
format: json
|
|
105
|
+
|
|
106
|
+
# Output: stdout | file | both
|
|
107
|
+
output: stdout
|
|
108
|
+
|
|
109
|
+
# File logging configuration
|
|
110
|
+
file:
|
|
111
|
+
path: ./logs/cfn.log
|
|
112
|
+
maxSize: 10m # Maximum file size
|
|
113
|
+
maxFiles: 5 # Number of files to retain
|
|
114
|
+
|
|
115
|
+
# ============================================================
|
|
116
|
+
# Security Configuration
|
|
117
|
+
# ============================================================
|
|
118
|
+
security:
|
|
119
|
+
enabled: true
|
|
120
|
+
|
|
121
|
+
# API Key requirement
|
|
122
|
+
apiKeyRequired: false
|
|
123
|
+
|
|
124
|
+
# Rate limiting
|
|
125
|
+
rateLimiting:
|
|
126
|
+
enabled: true
|
|
127
|
+
maxRequests: 100 # Requests per window
|
|
128
|
+
windowMs: 60000 # Time window (milliseconds)
|
|
129
|
+
|
|
130
|
+
# CORS allowed origins
|
|
131
|
+
allowedOrigins:
|
|
132
|
+
- http://localhost:3000
|
|
133
|
+
- http://localhost:8080
|
|
134
|
+
|
|
135
|
+
# ============================================================
|
|
136
|
+
# Monitoring Configuration
|
|
137
|
+
# ============================================================
|
|
138
|
+
monitoring:
|
|
139
|
+
enabled: true
|
|
140
|
+
|
|
141
|
+
# Prometheus metrics
|
|
142
|
+
prometheus:
|
|
143
|
+
enabled: false
|
|
144
|
+
port: 9090
|
|
145
|
+
path: /metrics
|
|
146
|
+
|
|
147
|
+
# Health check endpoint
|
|
148
|
+
healthCheck:
|
|
149
|
+
enabled: true
|
|
150
|
+
port: 8080
|
|
151
|
+
path: /health
|
|
152
|
+
|
|
153
|
+
# ============================================================
|
|
154
|
+
# Feature Flags
|
|
155
|
+
# ============================================================
|
|
156
|
+
features:
|
|
157
|
+
# Hot reload configuration changes
|
|
158
|
+
hotReload: false
|
|
159
|
+
|
|
160
|
+
# Custom provider routing (Z.ai, Kimi, OpenRouter)
|
|
161
|
+
customRouting: false
|
|
162
|
+
|
|
163
|
+
# Experimental features
|
|
164
|
+
experimentalFeatures: false
|
|
165
|
+
|
|
166
|
+
# ============================================================
|
|
167
|
+
# Environment Variable Overrides
|
|
168
|
+
# ============================================================
|
|
169
|
+
# Values can reference environment variables using ${VAR_NAME} syntax
|
|
170
|
+
# Example:
|
|
171
|
+
# database:
|
|
172
|
+
# password: ${DB_PASSWORD}
|
|
173
|
+
# redis:
|
|
174
|
+
# password: ${REDIS_PASSWORD}
|
|
175
|
+
#
|
|
176
|
+
# Environment-specific overrides:
|
|
177
|
+
# - config/development.yml (merges with this file)
|
|
178
|
+
# - config/production.yml (merges with this file)
|
|
179
|
+
# - config/testing.yml (merges with this file)
|
|
180
|
+
# ============================================================
|