@defai.digital/automatosx 12.8.7 → 13.1.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/LICENSE +1 -1
- package/README.md +48 -754
- 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 +35 -160
- package/.github/assets/ax-cli.png +0 -0
- package/.github/assets/axlogo.png +0 -0
- package/CHANGELOG.md +0 -81
- 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
|
@@ -1,121 +0,0 @@
|
|
|
1
|
-
version: "1.0"
|
|
2
|
-
|
|
3
|
-
metadata:
|
|
4
|
-
id: "customer-support-workflow"
|
|
5
|
-
name: "Customer Support Automation"
|
|
6
|
-
description: "Automated customer support workflow with inquiry classification, response generation, and escalation"
|
|
7
|
-
version: "1.0.0"
|
|
8
|
-
author: "Enterprise Team"
|
|
9
|
-
tags: ["customer-support", "automation", "production"]
|
|
10
|
-
created: "2025-10-30T00:00:00Z"
|
|
11
|
-
|
|
12
|
-
actors:
|
|
13
|
-
- id: "coordinator"
|
|
14
|
-
agent: "product"
|
|
15
|
-
description: "Coordinates workflow and delegates to specialists"
|
|
16
|
-
permissions:
|
|
17
|
-
filesystem:
|
|
18
|
-
read: ["*.md", "docs/**"]
|
|
19
|
-
write: ["docs/**", "reports/**"]
|
|
20
|
-
network:
|
|
21
|
-
enabled: true
|
|
22
|
-
whitelist: ["api.internal.company.com"]
|
|
23
|
-
requireTls: true
|
|
24
|
-
environment:
|
|
25
|
-
read: ["NODE_ENV", "APP_VERSION"]
|
|
26
|
-
resources:
|
|
27
|
-
memory:
|
|
28
|
-
limit: "512MB"
|
|
29
|
-
cpu:
|
|
30
|
-
limit: 1.0
|
|
31
|
-
timeout: 600000 # 10 minutes
|
|
32
|
-
|
|
33
|
-
- id: "executor"
|
|
34
|
-
agent: "backend"
|
|
35
|
-
description: "Executes implementation tasks"
|
|
36
|
-
permissions:
|
|
37
|
-
filesystem:
|
|
38
|
-
read: ["src/**", "tests/**"]
|
|
39
|
-
write: ["src/**", "tests/**", "dist/**"]
|
|
40
|
-
network:
|
|
41
|
-
enabled: true
|
|
42
|
-
whitelist: ["company.com"]
|
|
43
|
-
requireTls: true
|
|
44
|
-
resources:
|
|
45
|
-
memory:
|
|
46
|
-
limit: "1GB"
|
|
47
|
-
cpu:
|
|
48
|
-
limit: 2.0
|
|
49
|
-
timeout: 900000 # 15 minutes
|
|
50
|
-
|
|
51
|
-
providers:
|
|
52
|
-
primary:
|
|
53
|
-
name: "openai"
|
|
54
|
-
model: "gpt-4o"
|
|
55
|
-
budget:
|
|
56
|
-
softCap: 5.0
|
|
57
|
-
hardCap: 10.0
|
|
58
|
-
period: "daily"
|
|
59
|
-
fallback:
|
|
60
|
-
- name: "claude-code"
|
|
61
|
-
model: "claude-opus-4"
|
|
62
|
-
- name: "gemini-cli"
|
|
63
|
-
model: "gemini-2.0-flash-exp"
|
|
64
|
-
|
|
65
|
-
policy:
|
|
66
|
-
goal: "balanced"
|
|
67
|
-
optimization:
|
|
68
|
-
weights:
|
|
69
|
-
cost: 0.3
|
|
70
|
-
latency: 0.4
|
|
71
|
-
reliability: 0.3
|
|
72
|
-
constraints:
|
|
73
|
-
cost:
|
|
74
|
-
maxPerRequest: 0.5
|
|
75
|
-
maxDaily: 20.0
|
|
76
|
-
latency:
|
|
77
|
-
p50: 2000
|
|
78
|
-
p95: 5000
|
|
79
|
-
p99: 10000
|
|
80
|
-
privacy:
|
|
81
|
-
dataClassification: "internal"
|
|
82
|
-
allowedClouds: ["aws", "gcp"]
|
|
83
|
-
allowedRegions: ["us-east", "us-west", "eu-west"]
|
|
84
|
-
reliability:
|
|
85
|
-
minAvailability: 0.995
|
|
86
|
-
maxErrorRate: 0.01
|
|
87
|
-
|
|
88
|
-
observability:
|
|
89
|
-
metrics:
|
|
90
|
-
enabled: true
|
|
91
|
-
provider: "prometheus"
|
|
92
|
-
logs:
|
|
93
|
-
enabled: true
|
|
94
|
-
level: "info"
|
|
95
|
-
destination: ".automatosx/logs/spec-execution.log"
|
|
96
|
-
tracing:
|
|
97
|
-
enabled: true
|
|
98
|
-
provider: "opentelemetry"
|
|
99
|
-
audit:
|
|
100
|
-
enabled: true
|
|
101
|
-
destination: ".automatosx/logs/audit.log"
|
|
102
|
-
|
|
103
|
-
recovery:
|
|
104
|
-
retry:
|
|
105
|
-
maxAttempts: 3
|
|
106
|
-
strategy: "exponential"
|
|
107
|
-
initialDelayMs: 1000
|
|
108
|
-
timeout:
|
|
109
|
-
request: 30000 # 30 seconds
|
|
110
|
-
task: 600000 # 10 minutes
|
|
111
|
-
failover:
|
|
112
|
-
enabled: true
|
|
113
|
-
strategy: "immediate"
|
|
114
|
-
circuit:
|
|
115
|
-
enabled: true
|
|
116
|
-
errorThreshold: 5
|
|
117
|
-
resetTimeoutMs: 60000 # 1 minute
|
|
118
|
-
|
|
119
|
-
validation:
|
|
120
|
-
strictMode: false
|
|
121
|
-
customRules: []
|
|
@@ -1,121 +0,0 @@
|
|
|
1
|
-
version: "1.0"
|
|
2
|
-
|
|
3
|
-
metadata:
|
|
4
|
-
id: "{{id}}"
|
|
5
|
-
name: "{{name}}"
|
|
6
|
-
description: "{{description}}"
|
|
7
|
-
version: "1.0.0"
|
|
8
|
-
author: "{{author}}"
|
|
9
|
-
tags: {{#tags}}[{{#.}}"{{.}}", {{/.}}]{{/tags}}{{^tags}}[]{{/tags}}
|
|
10
|
-
created: "{{created}}"
|
|
11
|
-
|
|
12
|
-
actors:
|
|
13
|
-
- id: "coordinator"
|
|
14
|
-
agent: "product"
|
|
15
|
-
description: "Coordinates workflow and delegates to specialists"
|
|
16
|
-
permissions:
|
|
17
|
-
filesystem:
|
|
18
|
-
read: ["*.md", "docs/**"]
|
|
19
|
-
write: ["docs/**", "reports/**"]
|
|
20
|
-
network:
|
|
21
|
-
enabled: true
|
|
22
|
-
whitelist: ["api.internal.company.com"]
|
|
23
|
-
requireTls: true
|
|
24
|
-
environment:
|
|
25
|
-
read: ["NODE_ENV", "APP_VERSION"]
|
|
26
|
-
resources:
|
|
27
|
-
memory:
|
|
28
|
-
limit: "512MB"
|
|
29
|
-
cpu:
|
|
30
|
-
limit: 1.0
|
|
31
|
-
timeout: 600000 # 10 minutes
|
|
32
|
-
|
|
33
|
-
- id: "executor"
|
|
34
|
-
agent: "{{agent}}"
|
|
35
|
-
description: "Executes implementation tasks"
|
|
36
|
-
permissions:
|
|
37
|
-
filesystem:
|
|
38
|
-
read: ["src/**", "tests/**"]
|
|
39
|
-
write: ["src/**", "tests/**", "dist/**"]
|
|
40
|
-
network:
|
|
41
|
-
enabled: true
|
|
42
|
-
whitelist: ["*.company.com"]
|
|
43
|
-
requireTls: true
|
|
44
|
-
resources:
|
|
45
|
-
memory:
|
|
46
|
-
limit: "1GB"
|
|
47
|
-
cpu:
|
|
48
|
-
limit: 2.0
|
|
49
|
-
timeout: 900000 # 15 minutes
|
|
50
|
-
|
|
51
|
-
providers:
|
|
52
|
-
primary:
|
|
53
|
-
name: "openai"
|
|
54
|
-
model: "gpt-4o"
|
|
55
|
-
budget:
|
|
56
|
-
softCap: 5.0
|
|
57
|
-
hardCap: 10.0
|
|
58
|
-
period: "daily"
|
|
59
|
-
fallback:
|
|
60
|
-
- name: "claude-code"
|
|
61
|
-
model: "claude-opus-4"
|
|
62
|
-
- name: "gemini-cli"
|
|
63
|
-
model: "gemini-2.0-flash-exp"
|
|
64
|
-
|
|
65
|
-
policy:
|
|
66
|
-
goal: "balanced"
|
|
67
|
-
optimization:
|
|
68
|
-
weights:
|
|
69
|
-
cost: 0.3
|
|
70
|
-
latency: 0.4
|
|
71
|
-
reliability: 0.3
|
|
72
|
-
constraints:
|
|
73
|
-
cost:
|
|
74
|
-
maxPerRequest: 0.5
|
|
75
|
-
maxDaily: 20.0
|
|
76
|
-
latency:
|
|
77
|
-
p50: 2000
|
|
78
|
-
p95: 5000
|
|
79
|
-
p99: 10000
|
|
80
|
-
privacy:
|
|
81
|
-
dataClassification: "internal"
|
|
82
|
-
allowedClouds: ["aws", "gcp"]
|
|
83
|
-
allowedRegions: ["us-east", "us-west", "eu-west"]
|
|
84
|
-
reliability:
|
|
85
|
-
minAvailability: 0.995
|
|
86
|
-
maxErrorRate: 0.01
|
|
87
|
-
|
|
88
|
-
observability:
|
|
89
|
-
metrics:
|
|
90
|
-
enabled: true
|
|
91
|
-
provider: "prometheus"
|
|
92
|
-
logs:
|
|
93
|
-
enabled: true
|
|
94
|
-
level: "info"
|
|
95
|
-
destination: ".automatosx/logs/spec-execution.log"
|
|
96
|
-
tracing:
|
|
97
|
-
enabled: true
|
|
98
|
-
provider: "opentelemetry"
|
|
99
|
-
audit:
|
|
100
|
-
enabled: true
|
|
101
|
-
destination: ".automatosx/logs/audit.log"
|
|
102
|
-
|
|
103
|
-
recovery:
|
|
104
|
-
retry:
|
|
105
|
-
maxAttempts: 3
|
|
106
|
-
strategy: "exponential"
|
|
107
|
-
initialDelayMs: 1000
|
|
108
|
-
timeout:
|
|
109
|
-
request: 30000 # 30 seconds
|
|
110
|
-
task: 600000 # 10 minutes
|
|
111
|
-
failover:
|
|
112
|
-
enabled: true
|
|
113
|
-
strategy: "immediate"
|
|
114
|
-
circuit:
|
|
115
|
-
enabled: true
|
|
116
|
-
errorThreshold: 5
|
|
117
|
-
resetTimeoutMs: 60000 # 1 minute
|
|
118
|
-
|
|
119
|
-
validation:
|
|
120
|
-
strictMode: false
|
|
121
|
-
customRules: []
|
|
@@ -1,148 +0,0 @@
|
|
|
1
|
-
version: "1.0"
|
|
2
|
-
|
|
3
|
-
metadata:
|
|
4
|
-
id: "secure-data-processing"
|
|
5
|
-
name: "Secure Government Data Processing"
|
|
6
|
-
description: "High-security data processing workflow for government compliance (FISMA, FedRAMP)"
|
|
7
|
-
version: "1.0.0"
|
|
8
|
-
author: "Government Security Team"
|
|
9
|
-
tags: ["government", "compliance", "high-security", "fisma", "fedramp"]
|
|
10
|
-
created: "2025-10-30T00:00:00Z"
|
|
11
|
-
|
|
12
|
-
actors:
|
|
13
|
-
- id: "security-coordinator"
|
|
14
|
-
agent: "security"
|
|
15
|
-
description: "Security-first coordination and approval"
|
|
16
|
-
permissions:
|
|
17
|
-
filesystem:
|
|
18
|
-
read: ["docs/**", "policies/**"]
|
|
19
|
-
write: ["reports/**", "audit/**"]
|
|
20
|
-
network:
|
|
21
|
-
enabled: true
|
|
22
|
-
whitelist: ["secure-api.gov.internal"]
|
|
23
|
-
requireTls: true
|
|
24
|
-
environment:
|
|
25
|
-
read: ["NODE_ENV"] # Minimal environment access
|
|
26
|
-
resources:
|
|
27
|
-
memory:
|
|
28
|
-
limit: "256MB"
|
|
29
|
-
cpu:
|
|
30
|
-
limit: 0.5
|
|
31
|
-
timeout: 300000 # 5 minutes
|
|
32
|
-
|
|
33
|
-
- id: "compliance-officer"
|
|
34
|
-
agent: "standard"
|
|
35
|
-
description: "Ensures all actions meet compliance requirements"
|
|
36
|
-
permissions:
|
|
37
|
-
filesystem:
|
|
38
|
-
read: ["policies/**", "compliance/**"]
|
|
39
|
-
write: ["compliance/reports/**"]
|
|
40
|
-
network:
|
|
41
|
-
enabled: false # No network access for compliance checks
|
|
42
|
-
resources:
|
|
43
|
-
memory:
|
|
44
|
-
limit: "256MB"
|
|
45
|
-
cpu:
|
|
46
|
-
limit: 0.5
|
|
47
|
-
timeout: 300000
|
|
48
|
-
|
|
49
|
-
- id: "executor"
|
|
50
|
-
agent: "backend"
|
|
51
|
-
description: "Executes approved tasks with strict permissions"
|
|
52
|
-
permissions:
|
|
53
|
-
filesystem:
|
|
54
|
-
read: ["src/**"] # Read-only source access
|
|
55
|
-
write: ["output/**"] # Restricted write location
|
|
56
|
-
network:
|
|
57
|
-
enabled: true
|
|
58
|
-
whitelist: ["approved-api.gov.internal"] # Single approved endpoint
|
|
59
|
-
requireTls: true
|
|
60
|
-
environment:
|
|
61
|
-
read: [] # No environment variable access
|
|
62
|
-
write: []
|
|
63
|
-
resources:
|
|
64
|
-
memory:
|
|
65
|
-
limit: "512MB"
|
|
66
|
-
cpu:
|
|
67
|
-
limit: 1.0
|
|
68
|
-
timeout: 600000
|
|
69
|
-
|
|
70
|
-
providers:
|
|
71
|
-
primary:
|
|
72
|
-
name: "claude-code" # On-prem preferred for government
|
|
73
|
-
model: "claude-opus-4"
|
|
74
|
-
budget:
|
|
75
|
-
softCap: 2.0
|
|
76
|
-
hardCap: 5.0
|
|
77
|
-
period: "daily"
|
|
78
|
-
fallback:
|
|
79
|
-
- name: "openai"
|
|
80
|
-
model: "gpt-4o"
|
|
81
|
-
|
|
82
|
-
policy:
|
|
83
|
-
goal: "reliability" # Reliability over cost/speed
|
|
84
|
-
optimization:
|
|
85
|
-
weights:
|
|
86
|
-
cost: 0.1
|
|
87
|
-
latency: 0.2
|
|
88
|
-
reliability: 0.7
|
|
89
|
-
constraints:
|
|
90
|
-
cost:
|
|
91
|
-
maxPerRequest: 1.0
|
|
92
|
-
maxDaily: 50.0
|
|
93
|
-
latency:
|
|
94
|
-
p50: 5000 # Accept higher latency for security
|
|
95
|
-
p95: 15000
|
|
96
|
-
p99: 30000
|
|
97
|
-
privacy:
|
|
98
|
-
dataClassification: "phi" # Highest classification
|
|
99
|
-
allowedClouds: ["on-prem"] # On-premises only
|
|
100
|
-
allowedRegions: ["us-gov-east", "us-gov-west"] # Government regions only
|
|
101
|
-
reliability:
|
|
102
|
-
minAvailability: 0.999 # 99.9% uptime required
|
|
103
|
-
maxErrorRate: 0.001 # 0.1% max error rate
|
|
104
|
-
|
|
105
|
-
observability:
|
|
106
|
-
metrics:
|
|
107
|
-
enabled: true
|
|
108
|
-
provider: "prometheus"
|
|
109
|
-
logs:
|
|
110
|
-
enabled: true
|
|
111
|
-
level: "info" # Detailed logging required
|
|
112
|
-
destination: "/var/log/automatosx/spec-execution.log"
|
|
113
|
-
tracing:
|
|
114
|
-
enabled: true
|
|
115
|
-
provider: "jaeger"
|
|
116
|
-
audit:
|
|
117
|
-
enabled: true # Mandatory audit trail
|
|
118
|
-
destination: "/var/log/automatosx/audit.log"
|
|
119
|
-
|
|
120
|
-
recovery:
|
|
121
|
-
retry:
|
|
122
|
-
maxAttempts: 2 # Limited retries for predictability
|
|
123
|
-
strategy: "linear" # Predictable retry timing
|
|
124
|
-
initialDelayMs: 2000
|
|
125
|
-
timeout:
|
|
126
|
-
request: 60000 # 1 minute
|
|
127
|
-
task: 900000 # 15 minutes
|
|
128
|
-
failover:
|
|
129
|
-
enabled: true
|
|
130
|
-
strategy: "manual" # Manual approval for failover
|
|
131
|
-
circuit:
|
|
132
|
-
enabled: true
|
|
133
|
-
errorThreshold: 3 # Low tolerance for errors
|
|
134
|
-
resetTimeoutMs: 300000 # 5 minutes
|
|
135
|
-
|
|
136
|
-
validation:
|
|
137
|
-
strictMode: true # All warnings become errors
|
|
138
|
-
customRules:
|
|
139
|
-
- id: "GOV-001"
|
|
140
|
-
severity: "error"
|
|
141
|
-
description: "No external API calls allowed"
|
|
142
|
-
pattern: "https?://(?!.*\\.gov\\.internal)"
|
|
143
|
-
- id: "GOV-002"
|
|
144
|
-
severity: "error"
|
|
145
|
-
description: "All data must be encrypted at rest"
|
|
146
|
-
- id: "GOV-003"
|
|
147
|
-
severity: "error"
|
|
148
|
-
description: "Audit logging must be enabled"
|
|
@@ -1,148 +0,0 @@
|
|
|
1
|
-
version: "1.0"
|
|
2
|
-
|
|
3
|
-
metadata:
|
|
4
|
-
id: "{{id}}"
|
|
5
|
-
name: "{{name}}"
|
|
6
|
-
description: "{{description}}"
|
|
7
|
-
version: "1.0.0"
|
|
8
|
-
author: "{{author}}"
|
|
9
|
-
tags: {{#tags}}[{{#.}}"{{.}}", {{/.}}]{{/tags}}{{^tags}}["government", "compliance", "high-security"]{{/tags}}
|
|
10
|
-
created: "{{created}}"
|
|
11
|
-
|
|
12
|
-
actors:
|
|
13
|
-
- id: "security-coordinator"
|
|
14
|
-
agent: "security"
|
|
15
|
-
description: "Security-first coordination and approval"
|
|
16
|
-
permissions:
|
|
17
|
-
filesystem:
|
|
18
|
-
read: ["docs/**", "policies/**"]
|
|
19
|
-
write: ["reports/**", "audit/**"]
|
|
20
|
-
network:
|
|
21
|
-
enabled: true
|
|
22
|
-
whitelist: ["secure-api.gov.internal"]
|
|
23
|
-
requireTls: true
|
|
24
|
-
environment:
|
|
25
|
-
read: ["NODE_ENV"] # Minimal environment access
|
|
26
|
-
resources:
|
|
27
|
-
memory:
|
|
28
|
-
limit: "256MB"
|
|
29
|
-
cpu:
|
|
30
|
-
limit: 0.5
|
|
31
|
-
timeout: 300000 # 5 minutes
|
|
32
|
-
|
|
33
|
-
- id: "compliance-officer"
|
|
34
|
-
agent: "standard"
|
|
35
|
-
description: "Ensures all actions meet compliance requirements"
|
|
36
|
-
permissions:
|
|
37
|
-
filesystem:
|
|
38
|
-
read: ["policies/**", "compliance/**"]
|
|
39
|
-
write: ["compliance/reports/**"]
|
|
40
|
-
network:
|
|
41
|
-
enabled: false # No network access for compliance checks
|
|
42
|
-
resources:
|
|
43
|
-
memory:
|
|
44
|
-
limit: "256MB"
|
|
45
|
-
cpu:
|
|
46
|
-
limit: 0.5
|
|
47
|
-
timeout: 300000
|
|
48
|
-
|
|
49
|
-
- id: "executor"
|
|
50
|
-
agent: "{{agent}}"
|
|
51
|
-
description: "Executes approved tasks with strict permissions"
|
|
52
|
-
permissions:
|
|
53
|
-
filesystem:
|
|
54
|
-
read: ["src/**"] # Read-only source access
|
|
55
|
-
write: ["output/**"] # Restricted write location
|
|
56
|
-
network:
|
|
57
|
-
enabled: true
|
|
58
|
-
whitelist: ["approved-api.gov.internal"] # Single approved endpoint
|
|
59
|
-
requireTls: true
|
|
60
|
-
environment:
|
|
61
|
-
read: [] # No environment variable access
|
|
62
|
-
write: []
|
|
63
|
-
resources:
|
|
64
|
-
memory:
|
|
65
|
-
limit: "512MB"
|
|
66
|
-
cpu:
|
|
67
|
-
limit: 1.0
|
|
68
|
-
timeout: 600000
|
|
69
|
-
|
|
70
|
-
providers:
|
|
71
|
-
primary:
|
|
72
|
-
name: "claude-code" # On-prem preferred for government
|
|
73
|
-
model: "claude-opus-4"
|
|
74
|
-
budget:
|
|
75
|
-
softCap: 2.0
|
|
76
|
-
hardCap: 5.0
|
|
77
|
-
period: "daily"
|
|
78
|
-
fallback:
|
|
79
|
-
- name: "openai"
|
|
80
|
-
model: "gpt-4o"
|
|
81
|
-
|
|
82
|
-
policy:
|
|
83
|
-
goal: "reliability" # Reliability over cost/speed
|
|
84
|
-
optimization:
|
|
85
|
-
weights:
|
|
86
|
-
cost: 0.1
|
|
87
|
-
latency: 0.2
|
|
88
|
-
reliability: 0.7
|
|
89
|
-
constraints:
|
|
90
|
-
cost:
|
|
91
|
-
maxPerRequest: 1.0
|
|
92
|
-
maxDaily: 50.0
|
|
93
|
-
latency:
|
|
94
|
-
p50: 5000 # Accept higher latency for security
|
|
95
|
-
p95: 15000
|
|
96
|
-
p99: 30000
|
|
97
|
-
privacy:
|
|
98
|
-
dataClassification: "phi" # Highest classification
|
|
99
|
-
allowedClouds: ["on-prem"] # On-premises only
|
|
100
|
-
allowedRegions: ["us-gov-east", "us-gov-west"] # Government regions only
|
|
101
|
-
reliability:
|
|
102
|
-
minAvailability: 0.999 # 99.9% uptime required
|
|
103
|
-
maxErrorRate: 0.001 # 0.1% max error rate
|
|
104
|
-
|
|
105
|
-
observability:
|
|
106
|
-
metrics:
|
|
107
|
-
enabled: true
|
|
108
|
-
provider: "prometheus"
|
|
109
|
-
logs:
|
|
110
|
-
enabled: true
|
|
111
|
-
level: "info" # Detailed logging required
|
|
112
|
-
destination: "/var/log/automatosx/spec-execution.log"
|
|
113
|
-
tracing:
|
|
114
|
-
enabled: true
|
|
115
|
-
provider: "jaeger"
|
|
116
|
-
audit:
|
|
117
|
-
enabled: true # Mandatory audit trail
|
|
118
|
-
destination: "/var/log/automatosx/audit.log"
|
|
119
|
-
|
|
120
|
-
recovery:
|
|
121
|
-
retry:
|
|
122
|
-
maxAttempts: 2 # Limited retries for predictability
|
|
123
|
-
strategy: "linear" # Predictable retry timing
|
|
124
|
-
initialDelayMs: 2000
|
|
125
|
-
timeout:
|
|
126
|
-
request: 60000 # 1 minute
|
|
127
|
-
task: 900000 # 15 minutes
|
|
128
|
-
failover:
|
|
129
|
-
enabled: true
|
|
130
|
-
strategy: "manual" # Manual approval for failover
|
|
131
|
-
circuit:
|
|
132
|
-
enabled: true
|
|
133
|
-
errorThreshold: 3 # Low tolerance for errors
|
|
134
|
-
resetTimeoutMs: 300000 # 5 minutes
|
|
135
|
-
|
|
136
|
-
validation:
|
|
137
|
-
strictMode: true # All warnings become errors
|
|
138
|
-
customRules:
|
|
139
|
-
- id: "GOV-001"
|
|
140
|
-
severity: "error"
|
|
141
|
-
description: "No external API calls allowed"
|
|
142
|
-
pattern: "https?://(?!.*\\.gov\\.internal)"
|
|
143
|
-
- id: "GOV-002"
|
|
144
|
-
severity: "error"
|
|
145
|
-
description: "All data must be encrypted at rest"
|
|
146
|
-
- id: "GOV-003"
|
|
147
|
-
severity: "error"
|
|
148
|
-
description: "Audit logging must be enabled"
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
version: "1.0"
|
|
2
|
-
|
|
3
|
-
metadata:
|
|
4
|
-
id: "simple-calculator"
|
|
5
|
-
name: "Simple Calculator"
|
|
6
|
-
description: "A basic calculator that performs arithmetic operations"
|
|
7
|
-
version: "1.0.0"
|
|
8
|
-
author: "AutomatosX Team"
|
|
9
|
-
tags: []
|
|
10
|
-
|
|
11
|
-
actors:
|
|
12
|
-
- id: "main-actor"
|
|
13
|
-
agent: "backend"
|
|
14
|
-
description: "Primary agent for task execution"
|
|
15
|
-
permissions:
|
|
16
|
-
filesystem:
|
|
17
|
-
read: []
|
|
18
|
-
write: []
|
|
19
|
-
network:
|
|
20
|
-
enabled: false
|
|
21
|
-
timeout: 300000 # 5 minutes
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
version: "1.0"
|
|
2
|
-
|
|
3
|
-
metadata:
|
|
4
|
-
id: "{{id}}"
|
|
5
|
-
name: "{{name}}"
|
|
6
|
-
description: "{{description}}"
|
|
7
|
-
version: "1.0.0"
|
|
8
|
-
author: "{{author}}"
|
|
9
|
-
tags: []
|
|
10
|
-
|
|
11
|
-
actors:
|
|
12
|
-
- id: "main-actor"
|
|
13
|
-
agent: "{{agent}}"
|
|
14
|
-
description: "Primary agent for task execution"
|
|
15
|
-
permissions:
|
|
16
|
-
filesystem:
|
|
17
|
-
read: []
|
|
18
|
-
write: []
|
|
19
|
-
network:
|
|
20
|
-
enabled: false
|
|
21
|
-
timeout: 300000 # 5 minutes
|
|
@@ -1,56 +0,0 @@
|
|
|
1
|
-
# Business & Product Team Configuration
|
|
2
|
-
# Executive leadership and product management
|
|
3
|
-
|
|
4
|
-
name: business
|
|
5
|
-
displayName: "Business & Product"
|
|
6
|
-
description: "Executive leadership and product management"
|
|
7
|
-
|
|
8
|
-
# Provider Configuration
|
|
9
|
-
provider:
|
|
10
|
-
primary: claude
|
|
11
|
-
fallback: codex
|
|
12
|
-
fallbackChain:
|
|
13
|
-
- claude
|
|
14
|
-
- codex
|
|
15
|
-
- gemini
|
|
16
|
-
|
|
17
|
-
# Shared Abilities
|
|
18
|
-
sharedAbilities:
|
|
19
|
-
- business-analysis
|
|
20
|
-
- product-strategy
|
|
21
|
-
- stakeholder-management
|
|
22
|
-
|
|
23
|
-
# Team Capabilities (v4.11.0 - Self-assessment for intelligent delegation)
|
|
24
|
-
capabilities:
|
|
25
|
-
canDo:
|
|
26
|
-
- Business strategy and planning
|
|
27
|
-
- Product roadmap development
|
|
28
|
-
- Stakeholder management
|
|
29
|
-
- Market analysis and research
|
|
30
|
-
- Technology strategy
|
|
31
|
-
- Organizational leadership
|
|
32
|
-
- Business case development
|
|
33
|
-
- Executive decision-making
|
|
34
|
-
|
|
35
|
-
shouldDelegate:
|
|
36
|
-
- Code implementation → coder (engineering team)
|
|
37
|
-
- Technical architecture → cto (engineering team) or backend (engineering team)
|
|
38
|
-
- UX/UI design → design (design team)
|
|
39
|
-
- Documentation writing → writer (design team)
|
|
40
|
-
- Code review → reviewer (core team)
|
|
41
|
-
- Security audits → security (core team)
|
|
42
|
-
|
|
43
|
-
# Orchestration Defaults
|
|
44
|
-
orchestration:
|
|
45
|
-
maxDelegationDepth: 2 # v4.11.0: Reduced from 4 to 2
|
|
46
|
-
canWriteToShared: true
|
|
47
|
-
canReadWorkspaces:
|
|
48
|
-
- ceo
|
|
49
|
-
- cto
|
|
50
|
-
|
|
51
|
-
# Metadata
|
|
52
|
-
metadata:
|
|
53
|
-
color: "#8B5CF6"
|
|
54
|
-
icon: "💼"
|
|
55
|
-
priority: 3
|
|
56
|
-
version: "1.0.0"
|
package/examples/teams/core.yaml
DELETED
|
@@ -1,60 +0,0 @@
|
|
|
1
|
-
# Core Team Configuration
|
|
2
|
-
# General-purpose assistants and quality assurance
|
|
3
|
-
|
|
4
|
-
name: core
|
|
5
|
-
displayName: "Core Team"
|
|
6
|
-
description: "General-purpose assistants and quality assurance"
|
|
7
|
-
|
|
8
|
-
# Provider Configuration
|
|
9
|
-
# v5.6.22: Updated to match documentation and individual agent overrides
|
|
10
|
-
provider:
|
|
11
|
-
primary: openai # Codex (OpenAI)
|
|
12
|
-
fallback: gemini
|
|
13
|
-
fallbackChain:
|
|
14
|
-
- openai # Codex
|
|
15
|
-
- gemini
|
|
16
|
-
- claude
|
|
17
|
-
|
|
18
|
-
# Shared Abilities
|
|
19
|
-
sharedAbilities:
|
|
20
|
-
- general-knowledge
|
|
21
|
-
- our-code-review-checklist
|
|
22
|
-
- testing
|
|
23
|
-
- documentation
|
|
24
|
-
|
|
25
|
-
# Team Capabilities (v4.11.0 - Self-assessment for intelligent delegation)
|
|
26
|
-
capabilities:
|
|
27
|
-
canDo:
|
|
28
|
-
- General knowledge and assistance
|
|
29
|
-
- Code review and quality assurance
|
|
30
|
-
- Testing strategy and QA planning
|
|
31
|
-
- Security audits and vulnerability assessment
|
|
32
|
-
- Debugging and error analysis
|
|
33
|
-
- Performance analysis
|
|
34
|
-
- Best practices recommendations
|
|
35
|
-
- Quality metrics and reporting
|
|
36
|
-
|
|
37
|
-
shouldDelegate:
|
|
38
|
-
- Code implementation → coder (engineering team)
|
|
39
|
-
- Backend development → backend (engineering team)
|
|
40
|
-
- Frontend development → frontend (engineering team)
|
|
41
|
-
- Documentation writing → writer (design team)
|
|
42
|
-
- Product strategy → product (design team)
|
|
43
|
-
- UX/UI design → design (design team)
|
|
44
|
-
|
|
45
|
-
# Orchestration Defaults
|
|
46
|
-
orchestration:
|
|
47
|
-
maxDelegationDepth: 2 # v4.11.0: Enforced limit
|
|
48
|
-
canWriteToShared: true
|
|
49
|
-
canReadWorkspaces:
|
|
50
|
-
- assistant
|
|
51
|
-
- debugger
|
|
52
|
-
- reviewer
|
|
53
|
-
- quality
|
|
54
|
-
|
|
55
|
-
# Metadata
|
|
56
|
-
metadata:
|
|
57
|
-
color: "#10B981"
|
|
58
|
-
icon: "🛠️"
|
|
59
|
-
priority: 2
|
|
60
|
-
version: "1.0.0"
|