Repository navigation
Expand file tree
/
Copy pathopenshell.json
More file actions
241 lines (241 loc) · 9.5 KB
/
Copy pathopenshell.json
File metadata and controls
241 lines (241 loc) · 9.5 KB
1
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
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
{
"requiredEnv": ["OPENAI_API_KEY", "OCC_TEST_OPENAI_MODEL"],
"env": {
"OCC_TEST_DEV_UP_OPENSHELL_COMPOSE_REAL": "1",
"OCC_TEST_DEV_UP_OPENSHELL_REAL": "1",
"OCC_TEST_OPENSHELL_K3D_REAL": "1",
"OCC_TEST_LOCAL_FIRST_AGENT_REAL": "1"
},
"prepare": {
"postgres": true,
"k3d": true,
"requiresPreparedStateForFile": true,
"requireEnv": ["CODEX_ACCESS_TOKEN", "OCC_TEST_OPENAI_MODEL"],
"immutableOptionalEnvImages": [
"OCC_TEST_KUBERNETES_GATEWAY_IMAGE",
"OCC_TEST_KUBERNETES_AGENT_IMAGE",
"OCC_TEST_OPENSHELL_GATEWAY_IMAGE",
"OCC_TEST_OPENSHELL_SANDBOX_IMAGE",
"OCC_TEST_OPENSHELL_SUPERVISOR_IMAGE",
"OCC_TEST_KEYCLOAK_IMAGE"
],
"selfProvisionedFiles": [
"tests/integration/local-first-agent-openshell-real.test.mjs",
"tests/integration/local-first-agent-openshell-k3d-real.test.mjs",
"tests/integration/dev-up-openshell-k3d-real.test.mjs",
"tests/integration/openshell-git-retention-real.test.ts",
"tests/integration/openshell-git-finite-removal-real.test.ts"
],
"sourceBuildFiles": [
"tests/integration/dev-up-openshell-k3d-real.test.mjs",
"tests/integration/openshell-git-retention-real.test.ts",
"tests/integration/openshell-git-finite-removal-real.test.ts"
]
},
"files": [
{
"path": "tests/integration/openshell-refresh-real.test.ts",
"expectedTests": ["OpenShell gateway recovery preserves OAuth refresh and revocation"],
"requiredEnv": [
"OCC_TEST_KUBERNETES_KUBECONFIG",
"OCC_TEST_KUBERNETES_CONTEXT",
"OCC_TEST_KUBERNETES_GATEWAY_IMAGE",
"OCC_TEST_KUBERNETES_AGENT_IMAGE",
"OCC_TEST_OPENSHELL_GATEWAY_IMAGE",
"OCC_TEST_OPENSHELL_SANDBOX_IMAGE",
"OCC_TEST_OPENSHELL_SUPERVISOR_IMAGE",
"OCC_TEST_OPENSHELL_HELM",
"OCC_TEST_OPENSHELL_HELM_CHART",
"OCC_TEST_OPENSHELL_WORKSPACE_HELM_CHART"
],
"optionalEnv": ["OCC_TEST_OPENSHELL_MODEL_BASE_URL"]
},
{
"path": "tests/integration/openshell-withdrawal-real.test.ts",
"expectedTests": ["OpenShell credential withdrawal revokes live model access"],
"requiredEnv": [
"OCC_TEST_KUBERNETES_KUBECONFIG",
"OCC_TEST_KUBERNETES_CONTEXT",
"OCC_TEST_KUBERNETES_GATEWAY_IMAGE",
"OCC_TEST_KUBERNETES_AGENT_IMAGE",
"OCC_TEST_OPENSHELL_GATEWAY_IMAGE",
"OCC_TEST_OPENSHELL_SANDBOX_IMAGE",
"OCC_TEST_OPENSHELL_SUPERVISOR_IMAGE",
"OCC_TEST_OPENSHELL_HELM",
"OCC_TEST_OPENSHELL_HELM_CHART",
"OCC_TEST_OPENSHELL_WORKSPACE_HELM_CHART"
],
"optionalEnv": ["OCC_TEST_OPENSHELL_MODEL_BASE_URL"]
},
{
"path": "tests/integration/openshell-credentials-real.test.ts",
"expectedTests": ["OpenShell credential replacement preserves isolation"],
"requiredEnv": [
"CODEX_ACCESS_TOKEN",
"OCC_TEST_KUBERNETES_KUBECONFIG",
"OCC_TEST_KUBERNETES_CONTEXT",
"OCC_TEST_KUBERNETES_GATEWAY_IMAGE",
"OCC_TEST_KUBERNETES_AGENT_IMAGE",
"OCC_TEST_OPENSHELL_GATEWAY_IMAGE",
"OCC_TEST_OPENSHELL_SANDBOX_IMAGE",
"OCC_TEST_OPENSHELL_SUPERVISOR_IMAGE",
"OCC_TEST_OPENSHELL_HELM",
"OCC_TEST_OPENSHELL_HELM_CHART",
"OCC_TEST_OPENSHELL_WORKSPACE_HELM_CHART"
]
},
{
"path": "tests/integration/openshell-upstream-real.test.ts",
"expectedTests": ["OpenShell model and tool upstream outages fail closed"],
"requiredEnv": [
"OCC_TEST_KUBERNETES_KUBECONFIG",
"OCC_TEST_KUBERNETES_CONTEXT",
"OCC_TEST_KUBERNETES_GATEWAY_IMAGE",
"OCC_TEST_KUBERNETES_AGENT_IMAGE",
"OCC_TEST_OPENSHELL_GATEWAY_IMAGE",
"OCC_TEST_OPENSHELL_SANDBOX_IMAGE",
"OCC_TEST_OPENSHELL_SUPERVISOR_IMAGE",
"OCC_TEST_OPENSHELL_HELM",
"OCC_TEST_OPENSHELL_HELM_CHART",
"OCC_TEST_OPENSHELL_WORKSPACE_HELM_CHART"
],
"optionalEnv": ["OCC_TEST_OPENSHELL_MODEL_BASE_URL"]
},
{
"path": "tests/integration/local-first-agent-openshell-real.test.mjs",
"optionalEnv": ["OCC_TEST_LOCAL_FIRST_AGENT_CONTROLLER_IMAGE"],
"expectedTests": [
"a local Kubernetes installer can deploy and reuse an Agent but cannot replace its key after external changes",
"guided native OpenClaw redeployment resumes the same session with retained files and required-worker execution"
]
},
{
"path": "tests/integration/dev-up-openshell-k3d-real.test.mjs",
"optionalEnv": ["OCC_TEST_OPENSHELL_MODEL_BASE_URL"],
"expectedTests": [
"dev-up installs the pinned OpenShell profile in its owned k3d cluster",
"dev-up runs OCC in Compose with OpenShell and Kubernetes Compute in k3d"
]
},
{
"path": "tests/integration/openshell-gateway-tool-policy-real.test.ts",
"expectedTests": [
"OpenShell dedicated Agents enforce Gateway tool policy during normal work"
],
"requiredEnv": [
"OCC_TEST_KUBERNETES_KUBECONFIG",
"OCC_TEST_KUBERNETES_CONTEXT",
"OCC_TEST_KUBERNETES_GATEWAY_IMAGE",
"OCC_TEST_KUBERNETES_AGENT_IMAGE",
"OCC_TEST_OPENSHELL_GATEWAY_IMAGE",
"OCC_TEST_OPENSHELL_SANDBOX_IMAGE",
"OCC_TEST_OPENSHELL_SUPERVISOR_IMAGE",
"OCC_TEST_OPENSHELL_HELM",
"OCC_TEST_OPENSHELL_HELM_CHART",
"OCC_TEST_OPENSHELL_WORKSPACE_HELM_CHART"
],
"optionalEnv": ["OCC_TEST_OPENSHELL_MODEL_BASE_URL"]
},
{
"path": "tests/integration/sandbox-driver-openshell-k3d-real.test.mjs",
"expectedTests": ["OpenShell enforces provider delivery and authenticated Codex exposure"],
"requiredEnv": [
"CODEX_ACCESS_TOKEN",
"OCC_TEST_KUBERNETES_KUBECONFIG",
"OCC_TEST_KUBERNETES_CONTEXT",
"OCC_TEST_KUBERNETES_GATEWAY_IMAGE",
"OCC_TEST_KUBERNETES_AGENT_IMAGE",
"OCC_TEST_OPENSHELL_GATEWAY_IMAGE",
"OCC_TEST_OPENSHELL_SANDBOX_IMAGE",
"OCC_TEST_OPENSHELL_SUPERVISOR_IMAGE",
"OCC_TEST_OPENSHELL_HELM",
"OCC_TEST_OPENSHELL_HELM_CHART",
"OCC_TEST_OPENSHELL_WORKSPACE_HELM_CHART"
]
},
{
"path": "tests/integration/sandbox-driver-openshell-scratch-k3d-real.test.ts",
"expectedTests": [
"OpenShell mounts the admitted operator scratch PVC through the Agent workflow"
],
"requiredEnv": [
"CODEX_ACCESS_TOKEN",
"OCC_TEST_KUBERNETES_KUBECONFIG",
"OCC_TEST_KUBERNETES_CONTEXT",
"OCC_TEST_KUBERNETES_GATEWAY_IMAGE",
"OCC_TEST_KUBERNETES_AGENT_IMAGE",
"OCC_TEST_OPENSHELL_GATEWAY_IMAGE",
"OCC_TEST_OPENSHELL_SANDBOX_IMAGE",
"OCC_TEST_OPENSHELL_SUPERVISOR_IMAGE",
"OCC_TEST_OPENSHELL_HELM",
"OCC_TEST_OPENSHELL_HELM_CHART",
"OCC_TEST_OPENSHELL_WORKSPACE_HELM_CHART"
]
},
{
"path": "tests/integration/local-first-agent-openshell-k3d-real.test.mjs",
"expectedTests": [
"a local Kubernetes installer can deploy and reuse an Agent but cannot replace its key after external changes",
"guided native OpenClaw redeployment resumes the same session with retained files and required-worker execution"
]
},
{
"path": "tests/integration/openshell-plugin-install-real.test.ts",
"expectedTests": ["OpenShell Agent workflow installs and retains selected Codex plugins"],
"requiredEnv": [
"CODEX_ACCESS_TOKEN",
"OCC_TEST_KUBERNETES_KUBECONFIG",
"OCC_TEST_KUBERNETES_CONTEXT",
"OCC_TEST_KUBERNETES_GATEWAY_IMAGE",
"OCC_TEST_KUBERNETES_AGENT_IMAGE",
"OCC_TEST_OPENSHELL_GATEWAY_IMAGE",
"OCC_TEST_OPENSHELL_SANDBOX_IMAGE",
"OCC_TEST_OPENSHELL_SUPERVISOR_IMAGE",
"OCC_TEST_OPENSHELL_HELM",
"OCC_TEST_OPENSHELL_HELM_CHART",
"OCC_TEST_OPENSHELL_WORKSPACE_HELM_CHART"
]
},
{
"path": "tests/integration/namespace-driver-openshell-k3d-real.test.ts",
"expectedTests": [
"bootstrap reconciles OpenShell gateways and Workspaces before any Agent, then runs Agents in both Namespaces"
],
"requiredEnv": [
"CODEX_ACCESS_TOKEN",
"OCC_TEST_KUBERNETES_KUBECONFIG",
"OCC_TEST_KUBERNETES_CONTEXT",
"OCC_TEST_KUBERNETES_GATEWAY_IMAGE",
"OCC_TEST_KUBERNETES_AGENT_IMAGE",
"OCC_TEST_OPENSHELL_GATEWAY_IMAGE",
"OCC_TEST_OPENSHELL_SANDBOX_IMAGE",
"OCC_TEST_OPENSHELL_SUPERVISOR_IMAGE",
"OCC_TEST_OPENSHELL_HELM",
"OCC_TEST_OPENSHELL_HELM_CHART",
"OCC_TEST_OPENSHELL_WORKSPACE_HELM_CHART"
],
"env": { "OCC_TEST_NAMESPACE_OPENSHELL_REAL": "1", "OCC_TEST_OPENSHELL_HARNESS": "openclaw" }
},
{
"path": "tests/integration/openshell-git-retention-real.test.ts",
"expectedTests": [
"OpenShell standing Git remains available when a controller-only upgrade refuses worker replacement",
"OpenShell retains its runtime after Git expiry and worker restart",
"OpenShell isolates Git withdrawal before worker replacement and retains denial afterward"
]
},
{
"path": "tests/integration/openshell-git-finite-removal-real.test.ts",
"expectedTests": [
"OpenShell retains a finite Agent after repository removal until model authority is withdrawn"
]
}
],
"focusedEnv": ["OCC_TEST_OPENSHELL_HARNESS", "OCC_TEST_OPENSHELL_MODEL_BASE_URL"],
"optionalEnv": [
"OCC_TEST_LOCAL_FIRST_AGENT_NATIVE_PROVIDER_FILE",
"OCC_TEST_CODEX_INSTALL_PLUGIN_ID",
"OCC_TEST_BROWSER_EXECUTABLE",
"OCC_TEST_NATIVE_BROWSER_RECEIPT"
]
}