@defai.digital/automatosx 12.8.6 → 13.1.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +1 -1
- package/dist/bin.d.ts +8 -0
- package/dist/bin.d.ts.map +1 -0
- package/dist/bin.js +16 -0
- package/dist/bin.js.map +1 -0
- package/dist/index.d.ts +8 -2
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +7 -74239
- package/dist/index.js.map +1 -0
- package/package.json +31 -162
- package/.github/assets/ax-cli.png +0 -0
- package/.github/assets/axlogo.png +0 -0
- package/CHANGELOG.md +0 -81
- package/README.md +0 -790
- package/SECURITY.md +0 -173
- package/dist/mcp/index.d.ts +0 -2
- package/dist/mcp/index.js +0 -43627
- package/examples/AGENTS_INFO.md +0 -187
- package/examples/README.md +0 -434
- package/examples/abilities/accessibility.md +0 -115
- package/examples/abilities/api-design.md +0 -168
- package/examples/abilities/best-practices.md +0 -102
- package/examples/abilities/caching-strategy.md +0 -165
- package/examples/abilities/ci-cd.md +0 -61
- package/examples/abilities/clean-code.md +0 -398
- package/examples/abilities/code-generation.md +0 -333
- package/examples/abilities/code-review.md +0 -51
- package/examples/abilities/component-architecture.md +0 -112
- package/examples/abilities/content-creation.md +0 -97
- package/examples/abilities/data-modeling.md +0 -171
- package/examples/abilities/data-validation.md +0 -50
- package/examples/abilities/db-modeling.md +0 -167
- package/examples/abilities/debugging.md +0 -52
- package/examples/abilities/design-patterns.md +0 -437
- package/examples/abilities/design-system-implementation.md +0 -126
- package/examples/abilities/documentation.md +0 -54
- package/examples/abilities/etl-pipelines.md +0 -44
- package/examples/abilities/feasibility-study.md +0 -20
- package/examples/abilities/general-assistance.md +0 -26
- package/examples/abilities/idea-evaluation.md +0 -21
- package/examples/abilities/infra-as-code.md +0 -57
- package/examples/abilities/job-orchestration.md +0 -44
- package/examples/abilities/literature-review.md +0 -19
- package/examples/abilities/longform-report.md +0 -25
- package/examples/abilities/mathematical-reasoning.md +0 -170
- package/examples/abilities/observability.md +0 -61
- package/examples/abilities/orbital-mechanics.md +0 -50
- package/examples/abilities/our-architecture-decisions.md +0 -180
- package/examples/abilities/our-code-review-checklist.md +0 -149
- package/examples/abilities/our-coding-standards.md +0 -369
- package/examples/abilities/our-project-structure.md +0 -183
- package/examples/abilities/performance.md +0 -89
- package/examples/abilities/problem-solving.md +0 -50
- package/examples/abilities/propulsion-systems.md +0 -50
- package/examples/abilities/quantum-algorithm-design.md +0 -54
- package/examples/abilities/quantum-error-correction.md +0 -56
- package/examples/abilities/quantum-frameworks-transpilation.md +0 -53
- package/examples/abilities/quantum-noise-modeling.md +0 -58
- package/examples/abilities/refactoring.md +0 -223
- package/examples/abilities/release-strategy.md +0 -58
- package/examples/abilities/secrets-policy.md +0 -61
- package/examples/abilities/secure-coding-review.md +0 -60
- package/examples/abilities/software-architecture.md +0 -394
- package/examples/abilities/solid-principles.md +0 -341
- package/examples/abilities/sql-optimization.md +0 -84
- package/examples/abilities/state-management.md +0 -96
- package/examples/abilities/task-planning.md +0 -65
- package/examples/abilities/technical-writing.md +0 -77
- package/examples/abilities/telemetry-diagnostics.md +0 -51
- package/examples/abilities/testing.md +0 -56
- package/examples/abilities/threat-modeling.md +0 -58
- package/examples/abilities/troubleshooting.md +0 -80
- package/examples/abilities/typescript-zod-validation.md +0 -830
- package/examples/agents/AGENTS_INTEGRATION.md +0 -99
- package/examples/agents/aerospace-scientist.yaml +0 -159
- package/examples/agents/architecture.yaml +0 -244
- package/examples/agents/automatosx.config.json +0 -286
- package/examples/agents/backend.yaml +0 -141
- package/examples/agents/ceo.yaml +0 -105
- package/examples/agents/creative-marketer.yaml +0 -173
- package/examples/agents/cto.yaml +0 -118
- package/examples/agents/data-scientist.yaml +0 -200
- package/examples/agents/data.yaml +0 -106
- package/examples/agents/design.yaml +0 -115
- package/examples/agents/devops.yaml +0 -124
- package/examples/agents/frontend.yaml +0 -171
- package/examples/agents/fullstack.yaml +0 -172
- package/examples/agents/mobile.yaml +0 -185
- package/examples/agents/product.yaml +0 -103
- package/examples/agents/quality.yaml +0 -117
- package/examples/agents/quantum-engineer.yaml +0 -166
- package/examples/agents/researcher.yaml +0 -122
- package/examples/agents/security.yaml +0 -115
- package/examples/agents/standard.yaml +0 -214
- package/examples/agents/writer.yaml +0 -122
- package/examples/providers/README.md +0 -117
- package/examples/providers/claude/CLAUDE_INTEGRATION.md +0 -302
- package/examples/providers/claude/mcp/automatosx.json +0 -244
- package/examples/providers/codex/CODEX_INTEGRATION.md +0 -593
- package/examples/providers/codex/README.md +0 -349
- package/examples/providers/codex/usage-examples.ts +0 -421
- package/examples/providers/gemini/GEMINI_INTEGRATION.md +0 -236
- package/examples/providers/gemini/README.md +0 -76
- package/examples/providers/openai-codex-example.ts +0 -421
- package/examples/pytorch_resnet50_training.py +0 -289
- package/examples/specs/automatosx-release.ax.yaml +0 -380
- package/examples/specs/enterprise.ax.yaml +0 -121
- package/examples/specs/enterprise.yaml.mustache +0 -121
- package/examples/specs/government.ax.yaml +0 -148
- package/examples/specs/government.yaml.mustache +0 -148
- package/examples/specs/minimal.ax.yaml +0 -21
- package/examples/specs/minimal.yaml.mustache +0 -21
- package/examples/teams/business.yaml +0 -56
- package/examples/teams/core.yaml +0 -60
- package/examples/teams/design.yaml +0 -58
- package/examples/teams/engineering.yaml +0 -69
- package/examples/teams/research.yaml +0 -56
- package/examples/use-cases/01-web-app-development.md +0 -374
- package/examples/workflows/analyst.yaml +0 -60
- package/examples/workflows/assistant.yaml +0 -48
- package/examples/workflows/basic-agent.yaml +0 -28
- package/examples/workflows/code-reviewer.yaml +0 -52
- package/examples/workflows/debugger.yaml +0 -63
- package/examples/workflows/designer.yaml +0 -69
- package/examples/workflows/developer.yaml +0 -60
- package/examples/workflows/fullstack-developer.yaml +0 -395
- package/examples/workflows/qa-specialist.yaml +0 -71
- package/schema/ability-metadata.json +0 -21
- package/schema/config.json +0 -703
- package/schema/spec-schema.json +0 -608
package/schema/spec-schema.json
DELETED
|
@@ -1,608 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
3
|
-
"$id": "https://automatosx.dev/schemas/spec-v1.0.json",
|
|
4
|
-
"title": "AutomatosX Spec Schema",
|
|
5
|
-
"description": "JSON Schema for AutomatosX YAML specification files (*.ax.yaml)",
|
|
6
|
-
"type": "object",
|
|
7
|
-
"required": ["version", "metadata", "actors"],
|
|
8
|
-
"additionalProperties": false,
|
|
9
|
-
"properties": {
|
|
10
|
-
"version": {
|
|
11
|
-
"type": "string",
|
|
12
|
-
"pattern": "^\\d+\\.\\d+$",
|
|
13
|
-
"description": "Spec schema version (e.g., '1.0')"
|
|
14
|
-
},
|
|
15
|
-
"metadata": {
|
|
16
|
-
"$ref": "#/definitions/Metadata"
|
|
17
|
-
},
|
|
18
|
-
"actors": {
|
|
19
|
-
"type": "array",
|
|
20
|
-
"minItems": 1,
|
|
21
|
-
"items": {
|
|
22
|
-
"$ref": "#/definitions/Actor"
|
|
23
|
-
},
|
|
24
|
-
"description": "List of actors (agents) that execute tasks"
|
|
25
|
-
},
|
|
26
|
-
"providers": {
|
|
27
|
-
"$ref": "#/definitions/Providers",
|
|
28
|
-
"description": "AI provider configuration (optional)"
|
|
29
|
-
},
|
|
30
|
-
"policy": {
|
|
31
|
-
"$ref": "#/definitions/Policy",
|
|
32
|
-
"description": "Routing and optimization policy (optional)"
|
|
33
|
-
},
|
|
34
|
-
"observability": {
|
|
35
|
-
"$ref": "#/definitions/Observability",
|
|
36
|
-
"description": "Monitoring and observability configuration (optional)"
|
|
37
|
-
},
|
|
38
|
-
"recovery": {
|
|
39
|
-
"$ref": "#/definitions/Recovery",
|
|
40
|
-
"description": "Error handling and recovery configuration (optional)"
|
|
41
|
-
},
|
|
42
|
-
"validation": {
|
|
43
|
-
"$ref": "#/definitions/Validation",
|
|
44
|
-
"description": "Custom validation rules (optional)"
|
|
45
|
-
}
|
|
46
|
-
},
|
|
47
|
-
"definitions": {
|
|
48
|
-
"Metadata": {
|
|
49
|
-
"type": "object",
|
|
50
|
-
"required": ["id", "name", "description"],
|
|
51
|
-
"additionalProperties": false,
|
|
52
|
-
"properties": {
|
|
53
|
-
"id": {
|
|
54
|
-
"type": "string",
|
|
55
|
-
"pattern": "^[a-z0-9-]+$",
|
|
56
|
-
"description": "Unique identifier (kebab-case)"
|
|
57
|
-
},
|
|
58
|
-
"name": {
|
|
59
|
-
"type": "string",
|
|
60
|
-
"minLength": 1,
|
|
61
|
-
"maxLength": 100,
|
|
62
|
-
"description": "Human-readable name"
|
|
63
|
-
},
|
|
64
|
-
"description": {
|
|
65
|
-
"type": "string",
|
|
66
|
-
"minLength": 1,
|
|
67
|
-
"maxLength": 500,
|
|
68
|
-
"description": "Brief description of what this spec does"
|
|
69
|
-
},
|
|
70
|
-
"version": {
|
|
71
|
-
"type": "string",
|
|
72
|
-
"pattern": "^\\d+\\.\\d+\\.\\d+$",
|
|
73
|
-
"description": "Spec version (semver format)"
|
|
74
|
-
},
|
|
75
|
-
"author": {
|
|
76
|
-
"type": "string",
|
|
77
|
-
"description": "Author or team name"
|
|
78
|
-
},
|
|
79
|
-
"tags": {
|
|
80
|
-
"type": "array",
|
|
81
|
-
"items": {
|
|
82
|
-
"type": "string",
|
|
83
|
-
"pattern": "^[a-z0-9-]+$"
|
|
84
|
-
},
|
|
85
|
-
"description": "Tags for categorization"
|
|
86
|
-
},
|
|
87
|
-
"created": {
|
|
88
|
-
"type": "string",
|
|
89
|
-
"format": "date-time",
|
|
90
|
-
"description": "Creation timestamp (ISO 8601)"
|
|
91
|
-
},
|
|
92
|
-
"updated": {
|
|
93
|
-
"type": "string",
|
|
94
|
-
"format": "date-time",
|
|
95
|
-
"description": "Last update timestamp (ISO 8601)"
|
|
96
|
-
}
|
|
97
|
-
}
|
|
98
|
-
},
|
|
99
|
-
"Actor": {
|
|
100
|
-
"type": "object",
|
|
101
|
-
"required": ["id", "agent"],
|
|
102
|
-
"additionalProperties": false,
|
|
103
|
-
"properties": {
|
|
104
|
-
"id": {
|
|
105
|
-
"type": "string",
|
|
106
|
-
"pattern": "^[a-z0-9-]+$",
|
|
107
|
-
"description": "Unique actor identifier"
|
|
108
|
-
},
|
|
109
|
-
"agent": {
|
|
110
|
-
"type": "string",
|
|
111
|
-
"description": "Agent name (e.g., 'backend', 'frontend')"
|
|
112
|
-
},
|
|
113
|
-
"description": {
|
|
114
|
-
"type": "string",
|
|
115
|
-
"description": "Actor role description"
|
|
116
|
-
},
|
|
117
|
-
"permissions": {
|
|
118
|
-
"$ref": "#/definitions/Permissions"
|
|
119
|
-
},
|
|
120
|
-
"resources": {
|
|
121
|
-
"$ref": "#/definitions/Resources"
|
|
122
|
-
},
|
|
123
|
-
"timeout": {
|
|
124
|
-
"type": "integer",
|
|
125
|
-
"minimum": 1000,
|
|
126
|
-
"maximum": 3600000,
|
|
127
|
-
"description": "Execution timeout in milliseconds"
|
|
128
|
-
}
|
|
129
|
-
}
|
|
130
|
-
},
|
|
131
|
-
"Permissions": {
|
|
132
|
-
"type": "object",
|
|
133
|
-
"additionalProperties": false,
|
|
134
|
-
"properties": {
|
|
135
|
-
"filesystem": {
|
|
136
|
-
"type": "object",
|
|
137
|
-
"additionalProperties": false,
|
|
138
|
-
"properties": {
|
|
139
|
-
"read": {
|
|
140
|
-
"type": "array",
|
|
141
|
-
"items": {
|
|
142
|
-
"type": "string"
|
|
143
|
-
},
|
|
144
|
-
"description": "Allowed read paths (glob patterns)"
|
|
145
|
-
},
|
|
146
|
-
"write": {
|
|
147
|
-
"type": "array",
|
|
148
|
-
"items": {
|
|
149
|
-
"type": "string"
|
|
150
|
-
},
|
|
151
|
-
"description": "Allowed write paths (glob patterns)"
|
|
152
|
-
}
|
|
153
|
-
}
|
|
154
|
-
},
|
|
155
|
-
"network": {
|
|
156
|
-
"type": "object",
|
|
157
|
-
"additionalProperties": false,
|
|
158
|
-
"properties": {
|
|
159
|
-
"enabled": {
|
|
160
|
-
"type": "boolean",
|
|
161
|
-
"description": "Whether network access is allowed"
|
|
162
|
-
},
|
|
163
|
-
"whitelist": {
|
|
164
|
-
"type": "array",
|
|
165
|
-
"items": {
|
|
166
|
-
"type": "string",
|
|
167
|
-
"format": "hostname"
|
|
168
|
-
},
|
|
169
|
-
"description": "Allowed domains/IPs"
|
|
170
|
-
},
|
|
171
|
-
"requireTls": {
|
|
172
|
-
"type": "boolean",
|
|
173
|
-
"description": "Require TLS/SSL for all connections"
|
|
174
|
-
}
|
|
175
|
-
}
|
|
176
|
-
},
|
|
177
|
-
"environment": {
|
|
178
|
-
"type": "object",
|
|
179
|
-
"additionalProperties": false,
|
|
180
|
-
"properties": {
|
|
181
|
-
"read": {
|
|
182
|
-
"type": "array",
|
|
183
|
-
"items": {
|
|
184
|
-
"type": "string"
|
|
185
|
-
},
|
|
186
|
-
"description": "Allowed environment variables to read"
|
|
187
|
-
},
|
|
188
|
-
"write": {
|
|
189
|
-
"type": "array",
|
|
190
|
-
"items": {
|
|
191
|
-
"type": "string"
|
|
192
|
-
},
|
|
193
|
-
"description": "Allowed environment variables to modify"
|
|
194
|
-
}
|
|
195
|
-
}
|
|
196
|
-
}
|
|
197
|
-
}
|
|
198
|
-
},
|
|
199
|
-
"Resources": {
|
|
200
|
-
"type": "object",
|
|
201
|
-
"additionalProperties": false,
|
|
202
|
-
"properties": {
|
|
203
|
-
"memory": {
|
|
204
|
-
"type": "object",
|
|
205
|
-
"additionalProperties": false,
|
|
206
|
-
"properties": {
|
|
207
|
-
"limit": {
|
|
208
|
-
"type": "string",
|
|
209
|
-
"pattern": "^\\d+[KMG]B$",
|
|
210
|
-
"description": "Memory limit (e.g., '512MB', '2GB')"
|
|
211
|
-
}
|
|
212
|
-
}
|
|
213
|
-
},
|
|
214
|
-
"cpu": {
|
|
215
|
-
"type": "object",
|
|
216
|
-
"additionalProperties": false,
|
|
217
|
-
"properties": {
|
|
218
|
-
"limit": {
|
|
219
|
-
"type": "number",
|
|
220
|
-
"minimum": 0.1,
|
|
221
|
-
"maximum": 16.0,
|
|
222
|
-
"description": "CPU cores limit"
|
|
223
|
-
}
|
|
224
|
-
}
|
|
225
|
-
},
|
|
226
|
-
"storage": {
|
|
227
|
-
"type": "object",
|
|
228
|
-
"additionalProperties": false,
|
|
229
|
-
"properties": {
|
|
230
|
-
"limit": {
|
|
231
|
-
"type": "string",
|
|
232
|
-
"pattern": "^\\d+[KMG]B$",
|
|
233
|
-
"description": "Storage limit"
|
|
234
|
-
}
|
|
235
|
-
}
|
|
236
|
-
}
|
|
237
|
-
}
|
|
238
|
-
},
|
|
239
|
-
"Providers": {
|
|
240
|
-
"type": "object",
|
|
241
|
-
"additionalProperties": false,
|
|
242
|
-
"properties": {
|
|
243
|
-
"primary": {
|
|
244
|
-
"$ref": "#/definitions/ProviderConfig"
|
|
245
|
-
},
|
|
246
|
-
"fallback": {
|
|
247
|
-
"type": "array",
|
|
248
|
-
"items": {
|
|
249
|
-
"$ref": "#/definitions/ProviderConfig"
|
|
250
|
-
}
|
|
251
|
-
}
|
|
252
|
-
}
|
|
253
|
-
},
|
|
254
|
-
"ProviderConfig": {
|
|
255
|
-
"type": "object",
|
|
256
|
-
"required": ["name"],
|
|
257
|
-
"additionalProperties": false,
|
|
258
|
-
"properties": {
|
|
259
|
-
"name": {
|
|
260
|
-
"type": "string",
|
|
261
|
-
"enum": ["openai", "claude-code", "gemini-cli", "claude-sdk", "gemini-sdk"],
|
|
262
|
-
"description": "Provider name"
|
|
263
|
-
},
|
|
264
|
-
"model": {
|
|
265
|
-
"type": "string",
|
|
266
|
-
"description": "Model name (e.g., 'gpt-4o', 'claude-opus-4')"
|
|
267
|
-
},
|
|
268
|
-
"budget": {
|
|
269
|
-
"type": "object",
|
|
270
|
-
"additionalProperties": false,
|
|
271
|
-
"properties": {
|
|
272
|
-
"softCap": {
|
|
273
|
-
"type": "number",
|
|
274
|
-
"minimum": 0,
|
|
275
|
-
"description": "Soft cost limit (triggers warning)"
|
|
276
|
-
},
|
|
277
|
-
"hardCap": {
|
|
278
|
-
"type": "number",
|
|
279
|
-
"minimum": 0,
|
|
280
|
-
"description": "Hard cost limit (aborts execution)"
|
|
281
|
-
},
|
|
282
|
-
"period": {
|
|
283
|
-
"type": "string",
|
|
284
|
-
"enum": ["daily", "weekly", "monthly"],
|
|
285
|
-
"description": "Budget period"
|
|
286
|
-
}
|
|
287
|
-
}
|
|
288
|
-
}
|
|
289
|
-
}
|
|
290
|
-
},
|
|
291
|
-
"Policy": {
|
|
292
|
-
"type": "object",
|
|
293
|
-
"additionalProperties": false,
|
|
294
|
-
"properties": {
|
|
295
|
-
"goal": {
|
|
296
|
-
"type": "string",
|
|
297
|
-
"enum": ["cost", "latency", "reliability", "balanced"],
|
|
298
|
-
"description": "Primary optimization goal"
|
|
299
|
-
},
|
|
300
|
-
"optimization": {
|
|
301
|
-
"type": "object",
|
|
302
|
-
"additionalProperties": false,
|
|
303
|
-
"properties": {
|
|
304
|
-
"weights": {
|
|
305
|
-
"type": "object",
|
|
306
|
-
"additionalProperties": false,
|
|
307
|
-
"properties": {
|
|
308
|
-
"cost": {
|
|
309
|
-
"type": "number",
|
|
310
|
-
"minimum": 0,
|
|
311
|
-
"maximum": 1
|
|
312
|
-
},
|
|
313
|
-
"latency": {
|
|
314
|
-
"type": "number",
|
|
315
|
-
"minimum": 0,
|
|
316
|
-
"maximum": 1
|
|
317
|
-
},
|
|
318
|
-
"reliability": {
|
|
319
|
-
"type": "number",
|
|
320
|
-
"minimum": 0,
|
|
321
|
-
"maximum": 1
|
|
322
|
-
}
|
|
323
|
-
}
|
|
324
|
-
}
|
|
325
|
-
}
|
|
326
|
-
},
|
|
327
|
-
"constraints": {
|
|
328
|
-
"type": "object",
|
|
329
|
-
"additionalProperties": false,
|
|
330
|
-
"properties": {
|
|
331
|
-
"cost": {
|
|
332
|
-
"$ref": "#/definitions/CostConstraint"
|
|
333
|
-
},
|
|
334
|
-
"latency": {
|
|
335
|
-
"$ref": "#/definitions/LatencyConstraint"
|
|
336
|
-
},
|
|
337
|
-
"privacy": {
|
|
338
|
-
"$ref": "#/definitions/PrivacyConstraint"
|
|
339
|
-
},
|
|
340
|
-
"reliability": {
|
|
341
|
-
"$ref": "#/definitions/ReliabilityConstraint"
|
|
342
|
-
}
|
|
343
|
-
}
|
|
344
|
-
}
|
|
345
|
-
}
|
|
346
|
-
},
|
|
347
|
-
"CostConstraint": {
|
|
348
|
-
"type": "object",
|
|
349
|
-
"additionalProperties": false,
|
|
350
|
-
"properties": {
|
|
351
|
-
"maxPerRequest": {
|
|
352
|
-
"type": "number",
|
|
353
|
-
"minimum": 0,
|
|
354
|
-
"description": "Maximum cost per request (USD)"
|
|
355
|
-
},
|
|
356
|
-
"maxDaily": {
|
|
357
|
-
"type": "number",
|
|
358
|
-
"minimum": 0,
|
|
359
|
-
"description": "Maximum daily cost (USD)"
|
|
360
|
-
}
|
|
361
|
-
}
|
|
362
|
-
},
|
|
363
|
-
"LatencyConstraint": {
|
|
364
|
-
"type": "object",
|
|
365
|
-
"additionalProperties": false,
|
|
366
|
-
"properties": {
|
|
367
|
-
"p50": {
|
|
368
|
-
"type": "integer",
|
|
369
|
-
"minimum": 100,
|
|
370
|
-
"description": "P50 latency target (ms)"
|
|
371
|
-
},
|
|
372
|
-
"p95": {
|
|
373
|
-
"type": "integer",
|
|
374
|
-
"minimum": 100,
|
|
375
|
-
"description": "P95 latency target (ms)"
|
|
376
|
-
},
|
|
377
|
-
"p99": {
|
|
378
|
-
"type": "integer",
|
|
379
|
-
"minimum": 100,
|
|
380
|
-
"description": "P99 latency target (ms)"
|
|
381
|
-
}
|
|
382
|
-
}
|
|
383
|
-
},
|
|
384
|
-
"PrivacyConstraint": {
|
|
385
|
-
"type": "object",
|
|
386
|
-
"additionalProperties": false,
|
|
387
|
-
"properties": {
|
|
388
|
-
"dataClassification": {
|
|
389
|
-
"type": "string",
|
|
390
|
-
"enum": ["public", "internal", "confidential", "pii", "phi"],
|
|
391
|
-
"description": "Data classification level"
|
|
392
|
-
},
|
|
393
|
-
"allowedClouds": {
|
|
394
|
-
"type": "array",
|
|
395
|
-
"items": {
|
|
396
|
-
"type": "string",
|
|
397
|
-
"enum": ["aws", "gcp", "azure", "on-prem"]
|
|
398
|
-
},
|
|
399
|
-
"description": "Allowed cloud providers"
|
|
400
|
-
},
|
|
401
|
-
"allowedRegions": {
|
|
402
|
-
"type": "array",
|
|
403
|
-
"items": {
|
|
404
|
-
"type": "string"
|
|
405
|
-
},
|
|
406
|
-
"description": "Allowed geographic regions (e.g., 'us-east', 'eu-west')"
|
|
407
|
-
}
|
|
408
|
-
}
|
|
409
|
-
},
|
|
410
|
-
"ReliabilityConstraint": {
|
|
411
|
-
"type": "object",
|
|
412
|
-
"additionalProperties": false,
|
|
413
|
-
"properties": {
|
|
414
|
-
"minAvailability": {
|
|
415
|
-
"type": "number",
|
|
416
|
-
"minimum": 0,
|
|
417
|
-
"maximum": 1,
|
|
418
|
-
"description": "Minimum availability (e.g., 0.999 for 99.9%)"
|
|
419
|
-
},
|
|
420
|
-
"maxErrorRate": {
|
|
421
|
-
"type": "number",
|
|
422
|
-
"minimum": 0,
|
|
423
|
-
"maximum": 1,
|
|
424
|
-
"description": "Maximum acceptable error rate"
|
|
425
|
-
}
|
|
426
|
-
}
|
|
427
|
-
},
|
|
428
|
-
"Observability": {
|
|
429
|
-
"type": "object",
|
|
430
|
-
"additionalProperties": false,
|
|
431
|
-
"properties": {
|
|
432
|
-
"metrics": {
|
|
433
|
-
"type": "object",
|
|
434
|
-
"additionalProperties": false,
|
|
435
|
-
"properties": {
|
|
436
|
-
"enabled": {
|
|
437
|
-
"type": "boolean"
|
|
438
|
-
},
|
|
439
|
-
"provider": {
|
|
440
|
-
"type": "string",
|
|
441
|
-
"enum": ["prometheus", "datadog", "cloudwatch"],
|
|
442
|
-
"description": "Metrics provider"
|
|
443
|
-
}
|
|
444
|
-
}
|
|
445
|
-
},
|
|
446
|
-
"logs": {
|
|
447
|
-
"type": "object",
|
|
448
|
-
"additionalProperties": false,
|
|
449
|
-
"properties": {
|
|
450
|
-
"enabled": {
|
|
451
|
-
"type": "boolean"
|
|
452
|
-
},
|
|
453
|
-
"level": {
|
|
454
|
-
"type": "string",
|
|
455
|
-
"enum": ["debug", "info", "warn", "error"],
|
|
456
|
-
"description": "Log level"
|
|
457
|
-
},
|
|
458
|
-
"destination": {
|
|
459
|
-
"type": "string",
|
|
460
|
-
"description": "Log destination (file path or URL)"
|
|
461
|
-
}
|
|
462
|
-
}
|
|
463
|
-
},
|
|
464
|
-
"tracing": {
|
|
465
|
-
"type": "object",
|
|
466
|
-
"additionalProperties": false,
|
|
467
|
-
"properties": {
|
|
468
|
-
"enabled": {
|
|
469
|
-
"type": "boolean"
|
|
470
|
-
},
|
|
471
|
-
"provider": {
|
|
472
|
-
"type": "string",
|
|
473
|
-
"enum": ["jaeger", "zipkin", "opentelemetry"],
|
|
474
|
-
"description": "Tracing provider"
|
|
475
|
-
}
|
|
476
|
-
}
|
|
477
|
-
},
|
|
478
|
-
"audit": {
|
|
479
|
-
"type": "object",
|
|
480
|
-
"additionalProperties": false,
|
|
481
|
-
"properties": {
|
|
482
|
-
"enabled": {
|
|
483
|
-
"type": "boolean"
|
|
484
|
-
},
|
|
485
|
-
"destination": {
|
|
486
|
-
"type": "string",
|
|
487
|
-
"description": "Audit log destination"
|
|
488
|
-
}
|
|
489
|
-
}
|
|
490
|
-
}
|
|
491
|
-
}
|
|
492
|
-
},
|
|
493
|
-
"Recovery": {
|
|
494
|
-
"type": "object",
|
|
495
|
-
"additionalProperties": false,
|
|
496
|
-
"properties": {
|
|
497
|
-
"retry": {
|
|
498
|
-
"type": "object",
|
|
499
|
-
"additionalProperties": false,
|
|
500
|
-
"properties": {
|
|
501
|
-
"maxAttempts": {
|
|
502
|
-
"type": "integer",
|
|
503
|
-
"minimum": 1,
|
|
504
|
-
"maximum": 10,
|
|
505
|
-
"description": "Maximum retry attempts"
|
|
506
|
-
},
|
|
507
|
-
"strategy": {
|
|
508
|
-
"type": "string",
|
|
509
|
-
"enum": ["exponential", "linear", "constant"],
|
|
510
|
-
"description": "Backoff strategy"
|
|
511
|
-
},
|
|
512
|
-
"initialDelayMs": {
|
|
513
|
-
"type": "integer",
|
|
514
|
-
"minimum": 100,
|
|
515
|
-
"description": "Initial retry delay (ms)"
|
|
516
|
-
}
|
|
517
|
-
}
|
|
518
|
-
},
|
|
519
|
-
"timeout": {
|
|
520
|
-
"type": "object",
|
|
521
|
-
"additionalProperties": false,
|
|
522
|
-
"properties": {
|
|
523
|
-
"request": {
|
|
524
|
-
"type": "integer",
|
|
525
|
-
"minimum": 1000,
|
|
526
|
-
"description": "Request timeout (ms)"
|
|
527
|
-
},
|
|
528
|
-
"task": {
|
|
529
|
-
"type": "integer",
|
|
530
|
-
"minimum": 1000,
|
|
531
|
-
"description": "Task timeout (ms)"
|
|
532
|
-
}
|
|
533
|
-
}
|
|
534
|
-
},
|
|
535
|
-
"failover": {
|
|
536
|
-
"type": "object",
|
|
537
|
-
"additionalProperties": false,
|
|
538
|
-
"properties": {
|
|
539
|
-
"enabled": {
|
|
540
|
-
"type": "boolean"
|
|
541
|
-
},
|
|
542
|
-
"strategy": {
|
|
543
|
-
"type": "string",
|
|
544
|
-
"enum": ["immediate", "delayed", "manual"],
|
|
545
|
-
"description": "Failover trigger strategy"
|
|
546
|
-
}
|
|
547
|
-
}
|
|
548
|
-
},
|
|
549
|
-
"circuit": {
|
|
550
|
-
"type": "object",
|
|
551
|
-
"additionalProperties": false,
|
|
552
|
-
"properties": {
|
|
553
|
-
"enabled": {
|
|
554
|
-
"type": "boolean"
|
|
555
|
-
},
|
|
556
|
-
"errorThreshold": {
|
|
557
|
-
"type": "integer",
|
|
558
|
-
"minimum": 1,
|
|
559
|
-
"description": "Consecutive errors to open circuit"
|
|
560
|
-
},
|
|
561
|
-
"resetTimeoutMs": {
|
|
562
|
-
"type": "integer",
|
|
563
|
-
"minimum": 1000,
|
|
564
|
-
"description": "Time before attempting reset (ms)"
|
|
565
|
-
}
|
|
566
|
-
}
|
|
567
|
-
}
|
|
568
|
-
}
|
|
569
|
-
},
|
|
570
|
-
"Validation": {
|
|
571
|
-
"type": "object",
|
|
572
|
-
"additionalProperties": false,
|
|
573
|
-
"properties": {
|
|
574
|
-
"strictMode": {
|
|
575
|
-
"type": "boolean",
|
|
576
|
-
"description": "Enable strict validation (warnings become errors)"
|
|
577
|
-
},
|
|
578
|
-
"customRules": {
|
|
579
|
-
"type": "array",
|
|
580
|
-
"items": {
|
|
581
|
-
"type": "object",
|
|
582
|
-
"required": ["id", "severity", "description"],
|
|
583
|
-
"additionalProperties": false,
|
|
584
|
-
"properties": {
|
|
585
|
-
"id": {
|
|
586
|
-
"type": "string",
|
|
587
|
-
"pattern": "^[A-Z0-9-]+$",
|
|
588
|
-
"description": "Rule ID (e.g., 'CUSTOM-001')"
|
|
589
|
-
},
|
|
590
|
-
"severity": {
|
|
591
|
-
"type": "string",
|
|
592
|
-
"enum": ["error", "warning", "info"]
|
|
593
|
-
},
|
|
594
|
-
"description": {
|
|
595
|
-
"type": "string",
|
|
596
|
-
"description": "Rule description"
|
|
597
|
-
},
|
|
598
|
-
"pattern": {
|
|
599
|
-
"type": "string",
|
|
600
|
-
"description": "Regex pattern to match"
|
|
601
|
-
}
|
|
602
|
-
}
|
|
603
|
-
}
|
|
604
|
-
}
|
|
605
|
-
}
|
|
606
|
-
}
|
|
607
|
-
}
|
|
608
|
-
}
|