cohorte 2.10.0 → 3.0.0-dev.0

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 (211) hide show
  1. package/README.md +7 -0
  2. package/assets/manifest.json +193 -0
  3. package/assets/migrations/config/README.md +12 -0
  4. package/assets/migrations/state/0001_init.sql +154 -0
  5. package/assets/prompts/README.md +11 -0
  6. package/assets/prompts/agents/fixer.md +7 -0
  7. package/assets/prompts/agents/implementer.md +12 -0
  8. package/assets/prompts/agents/reviewer.md +8 -0
  9. package/assets/prompts/agents/security-reviewer.md +7 -0
  10. package/assets/prompts/phases/build.md +5 -0
  11. package/assets/prompts/phases/review.md +5 -0
  12. package/assets/prompts/phases/test.md +5 -0
  13. package/assets/prompts/system.md +11 -0
  14. package/assets/schemas/agent-output.schema.json +225 -0
  15. package/assets/schemas/auth-status.schema.json +87 -0
  16. package/assets/schemas/command-result.schema.json +192 -0
  17. package/assets/schemas/commands.schema.json +952 -0
  18. package/assets/schemas/config.schema.json +2259 -0
  19. package/assets/schemas/doctor-report.schema.json +104 -0
  20. package/assets/schemas/events.schema.json +8514 -0
  21. package/assets/schemas/fake-script.schema.json +549 -0
  22. package/assets/schemas/inspect.schema.json +3133 -0
  23. package/assets/schemas/manifest.schema.json +79 -0
  24. package/assets/schemas/ownership.schema.json +52 -0
  25. package/assets/schemas/policy-verdict.schema.json +282 -0
  26. package/assets/schemas/project-model.schema.json +783 -0
  27. package/assets/schemas/project-status.schema.json +217 -0
  28. package/assets/schemas/reconcile-plan.schema.json +155 -0
  29. package/assets/schemas/run-diff.schema.json +177 -0
  30. package/assets/schemas/run-snapshot-manifest.schema.json +2104 -0
  31. package/assets/schemas/run-state.schema.json +1755 -0
  32. package/assets/schemas/runtime-capabilities.schema.json +1545 -0
  33. package/assets/schemas/sandbox-capabilities.schema.json +116 -0
  34. package/assets/schemas/skill.schema.json +87 -0
  35. package/assets/schemas/spec.schema.json +202 -0
  36. package/assets/schemas/tool-catalogue.schema.json +655 -0
  37. package/assets/schemas/trust-record.schema.json +38 -0
  38. package/assets/skills/README.md +9 -0
  39. package/assets/skills/inspect-surface.md +4 -0
  40. package/dist/agent-host.mjs +50 -0
  41. package/dist/agent-host.mjs.map +1 -0
  42. package/dist/bundle-manifest.json +102 -0
  43. package/dist/chunks/__host-DgGPyco9.mjs +18 -0
  44. package/dist/chunks/__host-DgGPyco9.mjs.map +1 -0
  45. package/dist/chunks/approve-Cv135UqI.mjs +19 -0
  46. package/dist/chunks/approve-Cv135UqI.mjs.map +1 -0
  47. package/dist/chunks/auth-BT5oVp76.mjs +132 -0
  48. package/dist/chunks/auth-BT5oVp76.mjs.map +1 -0
  49. package/dist/chunks/auth-D8rCVY33.mjs +84 -0
  50. package/dist/chunks/auth-D8rCVY33.mjs.map +1 -0
  51. package/dist/chunks/brainstorm-CU10T1tm.mjs +7 -0
  52. package/dist/chunks/brainstorm-CU10T1tm.mjs.map +1 -0
  53. package/dist/chunks/cancel-KV_cpsqS.mjs +15 -0
  54. package/dist/chunks/cancel-KV_cpsqS.mjs.map +1 -0
  55. package/dist/chunks/canonical-C8UxeEmB.mjs +57 -0
  56. package/dist/chunks/canonical-C8UxeEmB.mjs.map +1 -0
  57. package/dist/chunks/catalogue-BvwSrM_j.mjs +1549 -0
  58. package/dist/chunks/catalogue-BvwSrM_j.mjs.map +1 -0
  59. package/dist/chunks/compose-Cr0hP0qm.mjs +7303 -0
  60. package/dist/chunks/compose-Cr0hP0qm.mjs.map +1 -0
  61. package/dist/chunks/config-DefHA2Lw.mjs +96 -0
  62. package/dist/chunks/config-DefHA2Lw.mjs.map +1 -0
  63. package/dist/chunks/contract-B0ra2-bm.mjs +295 -0
  64. package/dist/chunks/contract-B0ra2-bm.mjs.map +1 -0
  65. package/dist/chunks/contract-vYbwYr0Y.mjs +123 -0
  66. package/dist/chunks/contract-vYbwYr0Y.mjs.map +1 -0
  67. package/dist/chunks/deny-ClTxSvHJ.mjs +15 -0
  68. package/dist/chunks/deny-ClTxSvHJ.mjs.map +1 -0
  69. package/dist/chunks/diff-Qw0II0sj.mjs +101 -0
  70. package/dist/chunks/diff-Qw0II0sj.mjs.map +1 -0
  71. package/dist/chunks/discover-30Ciya_0.mjs +20 -0
  72. package/dist/chunks/discover-30Ciya_0.mjs.map +1 -0
  73. package/dist/chunks/doctor-DfCrKpfT.mjs +222 -0
  74. package/dist/chunks/doctor-DfCrKpfT.mjs.map +1 -0
  75. package/dist/chunks/fix-D4Tj8RVA.mjs +18 -0
  76. package/dist/chunks/fix-D4Tj8RVA.mjs.map +1 -0
  77. package/dist/chunks/gc-BBXlBF5w.mjs +161 -0
  78. package/dist/chunks/gc-BBXlBF5w.mjs.map +1 -0
  79. package/dist/chunks/init-Okz4mlhW.mjs +30 -0
  80. package/dist/chunks/init-Okz4mlhW.mjs.map +1 -0
  81. package/dist/chunks/inspect-Buby4cQD.mjs +22 -0
  82. package/dist/chunks/inspect-Buby4cQD.mjs.map +1 -0
  83. package/dist/chunks/logs-Giq5sUau.mjs +25 -0
  84. package/dist/chunks/logs-Giq5sUau.mjs.map +1 -0
  85. package/dist/chunks/migrate-DRoFUg53.mjs +19 -0
  86. package/dist/chunks/migrate-DRoFUg53.mjs.map +1 -0
  87. package/dist/chunks/models-Btp6X2YZ.mjs +24 -0
  88. package/dist/chunks/models-Btp6X2YZ.mjs.map +1 -0
  89. package/dist/chunks/pause-BASBfKLO.mjs +16 -0
  90. package/dist/chunks/pause-BASBfKLO.mjs.map +1 -0
  91. package/dist/chunks/policy-DUIgzF3W.mjs +139 -0
  92. package/dist/chunks/policy-DUIgzF3W.mjs.map +1 -0
  93. package/dist/chunks/providers-Dx78imKj.mjs +19 -0
  94. package/dist/chunks/providers-Dx78imKj.mjs.map +1 -0
  95. package/dist/chunks/reconcile-BfD785gd.mjs +26 -0
  96. package/dist/chunks/reconcile-BfD785gd.mjs.map +1 -0
  97. package/dist/chunks/render-DyZr5Lgi.mjs +53 -0
  98. package/dist/chunks/render-DyZr5Lgi.mjs.map +1 -0
  99. package/dist/chunks/resume-GJQRb2Eb.mjs +15 -0
  100. package/dist/chunks/resume-GJQRb2Eb.mjs.map +1 -0
  101. package/dist/chunks/retry-CLrUem1H.mjs +15 -0
  102. package/dist/chunks/retry-CLrUem1H.mjs.map +1 -0
  103. package/dist/chunks/review-BDdjb6kB.mjs +17 -0
  104. package/dist/chunks/review-BDdjb6kB.mjs.map +1 -0
  105. package/dist/chunks/run-CgTWYlcd.mjs +82 -0
  106. package/dist/chunks/run-CgTWYlcd.mjs.map +1 -0
  107. package/dist/chunks/run-tool-C3rAv4XF.mjs +26 -0
  108. package/dist/chunks/run-tool-C3rAv4XF.mjs.map +1 -0
  109. package/dist/chunks/schema-C9QbUW4H.mjs +578 -0
  110. package/dist/chunks/schema-C9QbUW4H.mjs.map +1 -0
  111. package/dist/chunks/send-BdnJ85Nz.mjs +19 -0
  112. package/dist/chunks/send-BdnJ85Nz.mjs.map +1 -0
  113. package/dist/chunks/ship-DTuLGoaJ.mjs +19 -0
  114. package/dist/chunks/ship-DTuLGoaJ.mjs.map +1 -0
  115. package/dist/chunks/shutdown-BM92Iyv2.mjs +15 -0
  116. package/dist/chunks/shutdown-BM92Iyv2.mjs.map +1 -0
  117. package/dist/chunks/skip-DZG5kpcH.mjs +18 -0
  118. package/dist/chunks/skip-DZG5kpcH.mjs.map +1 -0
  119. package/dist/chunks/spec-Bq0P3jVh.mjs +20 -0
  120. package/dist/chunks/spec-Bq0P3jVh.mjs.map +1 -0
  121. package/dist/chunks/src-CId6kMsY.mjs +1689 -0
  122. package/dist/chunks/src-CId6kMsY.mjs.map +1 -0
  123. package/dist/chunks/src-CfAOde7C.mjs +5403 -0
  124. package/dist/chunks/src-CfAOde7C.mjs.map +1 -0
  125. package/dist/chunks/src-Cu3TxNob.mjs +783 -0
  126. package/dist/chunks/src-Cu3TxNob.mjs.map +1 -0
  127. package/dist/chunks/src-DcU4IXMe.mjs +117 -0
  128. package/dist/chunks/src-DcU4IXMe.mjs.map +1 -0
  129. package/dist/chunks/src-JxawBQBn.mjs +446 -0
  130. package/dist/chunks/src-JxawBQBn.mjs.map +1 -0
  131. package/dist/chunks/src-s7YRvk0t.mjs +2116 -0
  132. package/dist/chunks/src-s7YRvk0t.mjs.map +1 -0
  133. package/dist/chunks/status-SMjiOMYy.mjs +29 -0
  134. package/dist/chunks/status-SMjiOMYy.mjs.map +1 -0
  135. package/dist/chunks/tail-BuhT-2PH.mjs +25 -0
  136. package/dist/chunks/tail-BuhT-2PH.mjs.map +1 -0
  137. package/dist/chunks/update-BXIppsbi.mjs +16 -0
  138. package/dist/chunks/update-BXIppsbi.mjs.map +1 -0
  139. package/dist/cli.mjs +175 -0
  140. package/dist/cli.mjs.map +1 -0
  141. package/package.json +17 -32
  142. package/CHANGELOG.md +0 -1453
  143. package/bin/cli.js +0 -812
  144. package/bin/report.js +0 -141
  145. package/core/adapter/render.js +0 -389
  146. package/core/agents/implementer.template.md +0 -142
  147. package/core/agents/profile-reader.md +0 -50
  148. package/core/agents/release.md +0 -58
  149. package/core/agents/review.md +0 -179
  150. package/core/commands/cohorte-align-ds.md +0 -33
  151. package/core/commands/cohorte-audit.md +0 -58
  152. package/core/commands/cohorte-brainstorm.md +0 -70
  153. package/core/commands/cohorte-build.md +0 -219
  154. package/core/commands/cohorte-doctor.md +0 -170
  155. package/core/commands/cohorte-fix.md +0 -80
  156. package/core/commands/cohorte-fleet.md +0 -103
  157. package/core/commands/cohorte-init-pipeline.md +0 -31
  158. package/core/commands/cohorte-intake.md +0 -92
  159. package/core/commands/cohorte-patch.md +0 -118
  160. package/core/commands/cohorte-refactor.md +0 -59
  161. package/core/commands/cohorte-retro.md +0 -85
  162. package/core/commands/cohorte-review.md +0 -270
  163. package/core/commands/cohorte-ship.md +0 -122
  164. package/core/commands/cohorte-spec.md +0 -101
  165. package/core/commands/cohorte-update-pipeline.md +0 -134
  166. package/core/hooks/gate.py +0 -580
  167. package/core/runtimes/claude.json +0 -74
  168. package/core/runtimes/codex.json +0 -83
  169. package/core/runtimes/cursor.json +0 -76
  170. package/core/runtimes/gemini.json +0 -76
  171. package/core/runtimes/opencode.json +0 -73
  172. package/core/templates/agent-handoff.md +0 -34
  173. package/core/templates/brainstorm-return.md +0 -36
  174. package/core/templates/decisions.template.md +0 -42
  175. package/core/templates/design-brief.md +0 -44
  176. package/core/templates/patch.template.md +0 -86
  177. package/core/templates/pr-body.md +0 -25
  178. package/core/templates/review-feedback.md +0 -38
  179. package/core/templates/spec.template.md +0 -87
  180. package/core/templates/steps/init-pipeline/01-detect-stack.md +0 -44
  181. package/core/templates/steps/init-pipeline/02-interview-gaps.md +0 -55
  182. package/core/templates/steps/init-pipeline/03-draft-profile.md +0 -10
  183. package/core/templates/steps/init-pipeline/04-write-render.md +0 -115
  184. package/core/templates/steps/init-pipeline/05-report.md +0 -12
  185. package/core/workflows/audit.js +0 -240
  186. package/core/workflows/loop.js +0 -641
  187. package/core/workflows/refactor.js +0 -276
  188. package/core/workflows/review.js +0 -456
  189. package/install.ps1 +0 -103
  190. package/install.sh +0 -114
  191. package/lib/doctor.js +0 -504
  192. package/lib/runtime.js +0 -134
  193. package/lib/versions.js +0 -149
  194. package/lib/yaml.js +0 -129
  195. package/profile/PIPELINE.template.md +0 -251
  196. package/profile/SCHEMA.md +0 -698
  197. package/profile/cohorte.config.template.yaml +0 -43
  198. package/scripts/assert-gate-hook.mjs +0 -75
  199. package/scripts/kanban-move.sh +0 -313
  200. package/scripts/metrics/collect.mjs +0 -531
  201. package/scripts/metrics/prices.json +0 -42
  202. package/scripts/new-feature.sh.template +0 -98
  203. package/scripts/preflight.sh +0 -124
  204. package/scripts/remove-feature.sh.template +0 -56
  205. package/scripts/test-adapter.mjs +0 -368
  206. package/scripts/test-gate.mjs +0 -428
  207. package/scripts/test-kanban.mjs +0 -304
  208. package/scripts/test-lib.mjs +0 -310
  209. package/scripts/test-metrics.mjs +0 -156
  210. package/scripts/test-workflows.mjs +0 -758
  211. package/scripts/validate-core.mjs +0 -320
@@ -0,0 +1,1545 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "$id": "https://cohorte.dev/schemas/3/runtime-capabilities.schema.json",
4
+ "title": "Agent runtime capabilities",
5
+ "type": "object",
6
+ "required": [
7
+ "contractVersion",
8
+ "toolExecution",
9
+ "streaming",
10
+ "thinkingStream",
11
+ "send",
12
+ "cancelCooperative",
13
+ "cancelHard",
14
+ "pause",
15
+ "continuationFromTranscript",
16
+ "processIsolation",
17
+ "envFiltering",
18
+ "brainSandbox",
19
+ "resourceLimits",
20
+ "budgetEnforcement",
21
+ "hiddenModelCalls",
22
+ "usageReporting",
23
+ "effectiveModelReporting",
24
+ "quotaReporting",
25
+ "authStatusWithoutSecret",
26
+ "subscriptionModeAssertion",
27
+ "systemPromptExact",
28
+ "runtimePinning",
29
+ "platforms",
30
+ "hints"
31
+ ],
32
+ "properties": {
33
+ "contractVersion": {
34
+ "type": "string",
35
+ "const": "1"
36
+ },
37
+ "toolExecution": {
38
+ "type": "string",
39
+ "const": "host-delegated"
40
+ },
41
+ "streaming": {
42
+ "anyOf": [
43
+ {
44
+ "type": "object",
45
+ "required": [
46
+ "value"
47
+ ],
48
+ "properties": {
49
+ "value": {
50
+ "type": "string",
51
+ "const": "yes"
52
+ }
53
+ }
54
+ },
55
+ {
56
+ "type": "object",
57
+ "required": [
58
+ "value",
59
+ "why"
60
+ ],
61
+ "properties": {
62
+ "value": {
63
+ "type": "string",
64
+ "const": "no"
65
+ },
66
+ "why": {
67
+ "type": "string"
68
+ }
69
+ }
70
+ },
71
+ {
72
+ "type": "object",
73
+ "required": [
74
+ "value",
75
+ "why"
76
+ ],
77
+ "properties": {
78
+ "value": {
79
+ "type": "string",
80
+ "const": "partial"
81
+ },
82
+ "why": {
83
+ "type": "string"
84
+ }
85
+ }
86
+ }
87
+ ]
88
+ },
89
+ "thinkingStream": {
90
+ "anyOf": [
91
+ {
92
+ "type": "object",
93
+ "required": [
94
+ "value"
95
+ ],
96
+ "properties": {
97
+ "value": {
98
+ "type": "string",
99
+ "const": "yes"
100
+ }
101
+ }
102
+ },
103
+ {
104
+ "type": "object",
105
+ "required": [
106
+ "value",
107
+ "why"
108
+ ],
109
+ "properties": {
110
+ "value": {
111
+ "type": "string",
112
+ "const": "no"
113
+ },
114
+ "why": {
115
+ "type": "string"
116
+ }
117
+ }
118
+ },
119
+ {
120
+ "type": "object",
121
+ "required": [
122
+ "value",
123
+ "why"
124
+ ],
125
+ "properties": {
126
+ "value": {
127
+ "type": "string",
128
+ "const": "partial"
129
+ },
130
+ "why": {
131
+ "type": "string"
132
+ }
133
+ }
134
+ }
135
+ ]
136
+ },
137
+ "send": {
138
+ "type": "object",
139
+ "required": [
140
+ "steer",
141
+ "followUp"
142
+ ],
143
+ "properties": {
144
+ "steer": {
145
+ "anyOf": [
146
+ {
147
+ "type": "object",
148
+ "required": [
149
+ "value"
150
+ ],
151
+ "properties": {
152
+ "value": {
153
+ "type": "string",
154
+ "const": "yes"
155
+ }
156
+ }
157
+ },
158
+ {
159
+ "type": "object",
160
+ "required": [
161
+ "value",
162
+ "why"
163
+ ],
164
+ "properties": {
165
+ "value": {
166
+ "type": "string",
167
+ "const": "no"
168
+ },
169
+ "why": {
170
+ "type": "string"
171
+ }
172
+ }
173
+ },
174
+ {
175
+ "type": "object",
176
+ "required": [
177
+ "value",
178
+ "why"
179
+ ],
180
+ "properties": {
181
+ "value": {
182
+ "type": "string",
183
+ "const": "partial"
184
+ },
185
+ "why": {
186
+ "type": "string"
187
+ }
188
+ }
189
+ }
190
+ ]
191
+ },
192
+ "followUp": {
193
+ "anyOf": [
194
+ {
195
+ "type": "object",
196
+ "required": [
197
+ "value"
198
+ ],
199
+ "properties": {
200
+ "value": {
201
+ "type": "string",
202
+ "const": "yes"
203
+ }
204
+ }
205
+ },
206
+ {
207
+ "type": "object",
208
+ "required": [
209
+ "value",
210
+ "why"
211
+ ],
212
+ "properties": {
213
+ "value": {
214
+ "type": "string",
215
+ "const": "no"
216
+ },
217
+ "why": {
218
+ "type": "string"
219
+ }
220
+ }
221
+ },
222
+ {
223
+ "type": "object",
224
+ "required": [
225
+ "value",
226
+ "why"
227
+ ],
228
+ "properties": {
229
+ "value": {
230
+ "type": "string",
231
+ "const": "partial"
232
+ },
233
+ "why": {
234
+ "type": "string"
235
+ }
236
+ }
237
+ }
238
+ ]
239
+ }
240
+ }
241
+ },
242
+ "cancelCooperative": {
243
+ "anyOf": [
244
+ {
245
+ "type": "object",
246
+ "required": [
247
+ "value"
248
+ ],
249
+ "properties": {
250
+ "value": {
251
+ "type": "string",
252
+ "const": "yes"
253
+ }
254
+ }
255
+ },
256
+ {
257
+ "type": "object",
258
+ "required": [
259
+ "value",
260
+ "why"
261
+ ],
262
+ "properties": {
263
+ "value": {
264
+ "type": "string",
265
+ "const": "no"
266
+ },
267
+ "why": {
268
+ "type": "string"
269
+ }
270
+ }
271
+ },
272
+ {
273
+ "type": "object",
274
+ "required": [
275
+ "value",
276
+ "why"
277
+ ],
278
+ "properties": {
279
+ "value": {
280
+ "type": "string",
281
+ "const": "partial"
282
+ },
283
+ "why": {
284
+ "type": "string"
285
+ }
286
+ }
287
+ }
288
+ ]
289
+ },
290
+ "cancelHard": {
291
+ "anyOf": [
292
+ {
293
+ "type": "object",
294
+ "required": [
295
+ "value"
296
+ ],
297
+ "properties": {
298
+ "value": {
299
+ "type": "string",
300
+ "const": "yes"
301
+ }
302
+ }
303
+ },
304
+ {
305
+ "type": "object",
306
+ "required": [
307
+ "value",
308
+ "why"
309
+ ],
310
+ "properties": {
311
+ "value": {
312
+ "type": "string",
313
+ "const": "no"
314
+ },
315
+ "why": {
316
+ "type": "string"
317
+ }
318
+ }
319
+ },
320
+ {
321
+ "type": "object",
322
+ "required": [
323
+ "value",
324
+ "why"
325
+ ],
326
+ "properties": {
327
+ "value": {
328
+ "type": "string",
329
+ "const": "partial"
330
+ },
331
+ "why": {
332
+ "type": "string"
333
+ }
334
+ }
335
+ }
336
+ ]
337
+ },
338
+ "pause": {
339
+ "type": "object",
340
+ "required": [
341
+ "toolBoundary",
342
+ "modelBoundary"
343
+ ],
344
+ "properties": {
345
+ "toolBoundary": {
346
+ "anyOf": [
347
+ {
348
+ "type": "object",
349
+ "required": [
350
+ "value"
351
+ ],
352
+ "properties": {
353
+ "value": {
354
+ "type": "string",
355
+ "const": "yes"
356
+ }
357
+ }
358
+ },
359
+ {
360
+ "type": "object",
361
+ "required": [
362
+ "value",
363
+ "why"
364
+ ],
365
+ "properties": {
366
+ "value": {
367
+ "type": "string",
368
+ "const": "no"
369
+ },
370
+ "why": {
371
+ "type": "string"
372
+ }
373
+ }
374
+ },
375
+ {
376
+ "type": "object",
377
+ "required": [
378
+ "value",
379
+ "why"
380
+ ],
381
+ "properties": {
382
+ "value": {
383
+ "type": "string",
384
+ "const": "partial"
385
+ },
386
+ "why": {
387
+ "type": "string"
388
+ }
389
+ }
390
+ }
391
+ ]
392
+ },
393
+ "modelBoundary": {
394
+ "anyOf": [
395
+ {
396
+ "type": "object",
397
+ "required": [
398
+ "value"
399
+ ],
400
+ "properties": {
401
+ "value": {
402
+ "type": "string",
403
+ "const": "yes"
404
+ }
405
+ }
406
+ },
407
+ {
408
+ "type": "object",
409
+ "required": [
410
+ "value",
411
+ "why"
412
+ ],
413
+ "properties": {
414
+ "value": {
415
+ "type": "string",
416
+ "const": "no"
417
+ },
418
+ "why": {
419
+ "type": "string"
420
+ }
421
+ }
422
+ },
423
+ {
424
+ "type": "object",
425
+ "required": [
426
+ "value",
427
+ "why"
428
+ ],
429
+ "properties": {
430
+ "value": {
431
+ "type": "string",
432
+ "const": "partial"
433
+ },
434
+ "why": {
435
+ "type": "string"
436
+ }
437
+ }
438
+ }
439
+ ]
440
+ }
441
+ }
442
+ },
443
+ "continuationFromTranscript": {
444
+ "anyOf": [
445
+ {
446
+ "type": "object",
447
+ "required": [
448
+ "value"
449
+ ],
450
+ "properties": {
451
+ "value": {
452
+ "type": "string",
453
+ "const": "yes"
454
+ }
455
+ }
456
+ },
457
+ {
458
+ "type": "object",
459
+ "required": [
460
+ "value",
461
+ "why"
462
+ ],
463
+ "properties": {
464
+ "value": {
465
+ "type": "string",
466
+ "const": "no"
467
+ },
468
+ "why": {
469
+ "type": "string"
470
+ }
471
+ }
472
+ },
473
+ {
474
+ "type": "object",
475
+ "required": [
476
+ "value",
477
+ "why"
478
+ ],
479
+ "properties": {
480
+ "value": {
481
+ "type": "string",
482
+ "const": "partial"
483
+ },
484
+ "why": {
485
+ "type": "string"
486
+ }
487
+ }
488
+ }
489
+ ]
490
+ },
491
+ "processIsolation": {
492
+ "anyOf": [
493
+ {
494
+ "type": "object",
495
+ "required": [
496
+ "value"
497
+ ],
498
+ "properties": {
499
+ "value": {
500
+ "type": "string",
501
+ "const": "yes"
502
+ }
503
+ }
504
+ },
505
+ {
506
+ "type": "object",
507
+ "required": [
508
+ "value",
509
+ "why"
510
+ ],
511
+ "properties": {
512
+ "value": {
513
+ "type": "string",
514
+ "const": "no"
515
+ },
516
+ "why": {
517
+ "type": "string"
518
+ }
519
+ }
520
+ },
521
+ {
522
+ "type": "object",
523
+ "required": [
524
+ "value",
525
+ "why"
526
+ ],
527
+ "properties": {
528
+ "value": {
529
+ "type": "string",
530
+ "const": "partial"
531
+ },
532
+ "why": {
533
+ "type": "string"
534
+ }
535
+ }
536
+ }
537
+ ]
538
+ },
539
+ "envFiltering": {
540
+ "anyOf": [
541
+ {
542
+ "type": "object",
543
+ "required": [
544
+ "value"
545
+ ],
546
+ "properties": {
547
+ "value": {
548
+ "type": "string",
549
+ "const": "yes"
550
+ }
551
+ }
552
+ },
553
+ {
554
+ "type": "object",
555
+ "required": [
556
+ "value",
557
+ "why"
558
+ ],
559
+ "properties": {
560
+ "value": {
561
+ "type": "string",
562
+ "const": "no"
563
+ },
564
+ "why": {
565
+ "type": "string"
566
+ }
567
+ }
568
+ },
569
+ {
570
+ "type": "object",
571
+ "required": [
572
+ "value",
573
+ "why"
574
+ ],
575
+ "properties": {
576
+ "value": {
577
+ "type": "string",
578
+ "const": "partial"
579
+ },
580
+ "why": {
581
+ "type": "string"
582
+ }
583
+ }
584
+ }
585
+ ]
586
+ },
587
+ "brainSandbox": {
588
+ "anyOf": [
589
+ {
590
+ "type": "object",
591
+ "required": [
592
+ "value"
593
+ ],
594
+ "properties": {
595
+ "value": {
596
+ "type": "string",
597
+ "const": "yes"
598
+ }
599
+ }
600
+ },
601
+ {
602
+ "type": "object",
603
+ "required": [
604
+ "value",
605
+ "why"
606
+ ],
607
+ "properties": {
608
+ "value": {
609
+ "type": "string",
610
+ "const": "no"
611
+ },
612
+ "why": {
613
+ "type": "string"
614
+ }
615
+ }
616
+ },
617
+ {
618
+ "type": "object",
619
+ "required": [
620
+ "value",
621
+ "why"
622
+ ],
623
+ "properties": {
624
+ "value": {
625
+ "type": "string",
626
+ "const": "partial"
627
+ },
628
+ "why": {
629
+ "type": "string"
630
+ }
631
+ }
632
+ }
633
+ ]
634
+ },
635
+ "resourceLimits": {
636
+ "anyOf": [
637
+ {
638
+ "type": "object",
639
+ "required": [
640
+ "value"
641
+ ],
642
+ "properties": {
643
+ "value": {
644
+ "type": "string",
645
+ "const": "yes"
646
+ }
647
+ }
648
+ },
649
+ {
650
+ "type": "object",
651
+ "required": [
652
+ "value",
653
+ "why"
654
+ ],
655
+ "properties": {
656
+ "value": {
657
+ "type": "string",
658
+ "const": "no"
659
+ },
660
+ "why": {
661
+ "type": "string"
662
+ }
663
+ }
664
+ },
665
+ {
666
+ "type": "object",
667
+ "required": [
668
+ "value",
669
+ "why"
670
+ ],
671
+ "properties": {
672
+ "value": {
673
+ "type": "string",
674
+ "const": "partial"
675
+ },
676
+ "why": {
677
+ "type": "string"
678
+ }
679
+ }
680
+ }
681
+ ]
682
+ },
683
+ "budgetEnforcement": {
684
+ "type": "object",
685
+ "required": [
686
+ "turns",
687
+ "modelRequests",
688
+ "tokens",
689
+ "context",
690
+ "wallClock",
691
+ "outputTokensPerRequest"
692
+ ],
693
+ "properties": {
694
+ "turns": {
695
+ "anyOf": [
696
+ {
697
+ "type": "object",
698
+ "required": [
699
+ "value"
700
+ ],
701
+ "properties": {
702
+ "value": {
703
+ "type": "string",
704
+ "const": "yes"
705
+ }
706
+ }
707
+ },
708
+ {
709
+ "type": "object",
710
+ "required": [
711
+ "value",
712
+ "why"
713
+ ],
714
+ "properties": {
715
+ "value": {
716
+ "type": "string",
717
+ "const": "no"
718
+ },
719
+ "why": {
720
+ "type": "string"
721
+ }
722
+ }
723
+ },
724
+ {
725
+ "type": "object",
726
+ "required": [
727
+ "value",
728
+ "why"
729
+ ],
730
+ "properties": {
731
+ "value": {
732
+ "type": "string",
733
+ "const": "partial"
734
+ },
735
+ "why": {
736
+ "type": "string"
737
+ }
738
+ }
739
+ }
740
+ ]
741
+ },
742
+ "modelRequests": {
743
+ "anyOf": [
744
+ {
745
+ "type": "object",
746
+ "required": [
747
+ "value"
748
+ ],
749
+ "properties": {
750
+ "value": {
751
+ "type": "string",
752
+ "const": "yes"
753
+ }
754
+ }
755
+ },
756
+ {
757
+ "type": "object",
758
+ "required": [
759
+ "value",
760
+ "why"
761
+ ],
762
+ "properties": {
763
+ "value": {
764
+ "type": "string",
765
+ "const": "no"
766
+ },
767
+ "why": {
768
+ "type": "string"
769
+ }
770
+ }
771
+ },
772
+ {
773
+ "type": "object",
774
+ "required": [
775
+ "value",
776
+ "why"
777
+ ],
778
+ "properties": {
779
+ "value": {
780
+ "type": "string",
781
+ "const": "partial"
782
+ },
783
+ "why": {
784
+ "type": "string"
785
+ }
786
+ }
787
+ }
788
+ ]
789
+ },
790
+ "tokens": {
791
+ "anyOf": [
792
+ {
793
+ "type": "object",
794
+ "required": [
795
+ "value"
796
+ ],
797
+ "properties": {
798
+ "value": {
799
+ "type": "string",
800
+ "const": "yes"
801
+ }
802
+ }
803
+ },
804
+ {
805
+ "type": "object",
806
+ "required": [
807
+ "value",
808
+ "why"
809
+ ],
810
+ "properties": {
811
+ "value": {
812
+ "type": "string",
813
+ "const": "no"
814
+ },
815
+ "why": {
816
+ "type": "string"
817
+ }
818
+ }
819
+ },
820
+ {
821
+ "type": "object",
822
+ "required": [
823
+ "value",
824
+ "why"
825
+ ],
826
+ "properties": {
827
+ "value": {
828
+ "type": "string",
829
+ "const": "partial"
830
+ },
831
+ "why": {
832
+ "type": "string"
833
+ }
834
+ }
835
+ }
836
+ ]
837
+ },
838
+ "context": {
839
+ "anyOf": [
840
+ {
841
+ "type": "object",
842
+ "required": [
843
+ "value"
844
+ ],
845
+ "properties": {
846
+ "value": {
847
+ "type": "string",
848
+ "const": "yes"
849
+ }
850
+ }
851
+ },
852
+ {
853
+ "type": "object",
854
+ "required": [
855
+ "value",
856
+ "why"
857
+ ],
858
+ "properties": {
859
+ "value": {
860
+ "type": "string",
861
+ "const": "no"
862
+ },
863
+ "why": {
864
+ "type": "string"
865
+ }
866
+ }
867
+ },
868
+ {
869
+ "type": "object",
870
+ "required": [
871
+ "value",
872
+ "why"
873
+ ],
874
+ "properties": {
875
+ "value": {
876
+ "type": "string",
877
+ "const": "partial"
878
+ },
879
+ "why": {
880
+ "type": "string"
881
+ }
882
+ }
883
+ }
884
+ ]
885
+ },
886
+ "wallClock": {
887
+ "anyOf": [
888
+ {
889
+ "type": "object",
890
+ "required": [
891
+ "value"
892
+ ],
893
+ "properties": {
894
+ "value": {
895
+ "type": "string",
896
+ "const": "yes"
897
+ }
898
+ }
899
+ },
900
+ {
901
+ "type": "object",
902
+ "required": [
903
+ "value",
904
+ "why"
905
+ ],
906
+ "properties": {
907
+ "value": {
908
+ "type": "string",
909
+ "const": "no"
910
+ },
911
+ "why": {
912
+ "type": "string"
913
+ }
914
+ }
915
+ },
916
+ {
917
+ "type": "object",
918
+ "required": [
919
+ "value",
920
+ "why"
921
+ ],
922
+ "properties": {
923
+ "value": {
924
+ "type": "string",
925
+ "const": "partial"
926
+ },
927
+ "why": {
928
+ "type": "string"
929
+ }
930
+ }
931
+ }
932
+ ]
933
+ },
934
+ "outputTokensPerRequest": {
935
+ "anyOf": [
936
+ {
937
+ "type": "object",
938
+ "required": [
939
+ "value"
940
+ ],
941
+ "properties": {
942
+ "value": {
943
+ "type": "string",
944
+ "const": "yes"
945
+ }
946
+ }
947
+ },
948
+ {
949
+ "type": "object",
950
+ "required": [
951
+ "value",
952
+ "why"
953
+ ],
954
+ "properties": {
955
+ "value": {
956
+ "type": "string",
957
+ "const": "no"
958
+ },
959
+ "why": {
960
+ "type": "string"
961
+ }
962
+ }
963
+ },
964
+ {
965
+ "type": "object",
966
+ "required": [
967
+ "value",
968
+ "why"
969
+ ],
970
+ "properties": {
971
+ "value": {
972
+ "type": "string",
973
+ "const": "partial"
974
+ },
975
+ "why": {
976
+ "type": "string"
977
+ }
978
+ }
979
+ }
980
+ ]
981
+ }
982
+ }
983
+ },
984
+ "hiddenModelCalls": {
985
+ "anyOf": [
986
+ {
987
+ "type": "object",
988
+ "required": [
989
+ "value"
990
+ ],
991
+ "properties": {
992
+ "value": {
993
+ "type": "string",
994
+ "const": "yes"
995
+ }
996
+ }
997
+ },
998
+ {
999
+ "type": "object",
1000
+ "required": [
1001
+ "value",
1002
+ "why"
1003
+ ],
1004
+ "properties": {
1005
+ "value": {
1006
+ "type": "string",
1007
+ "const": "no"
1008
+ },
1009
+ "why": {
1010
+ "type": "string"
1011
+ }
1012
+ }
1013
+ },
1014
+ {
1015
+ "type": "object",
1016
+ "required": [
1017
+ "value",
1018
+ "why"
1019
+ ],
1020
+ "properties": {
1021
+ "value": {
1022
+ "type": "string",
1023
+ "const": "partial"
1024
+ },
1025
+ "why": {
1026
+ "type": "string"
1027
+ }
1028
+ }
1029
+ }
1030
+ ]
1031
+ },
1032
+ "usageReporting": {
1033
+ "anyOf": [
1034
+ {
1035
+ "type": "object",
1036
+ "required": [
1037
+ "value"
1038
+ ],
1039
+ "properties": {
1040
+ "value": {
1041
+ "type": "string",
1042
+ "const": "yes"
1043
+ }
1044
+ }
1045
+ },
1046
+ {
1047
+ "type": "object",
1048
+ "required": [
1049
+ "value",
1050
+ "why"
1051
+ ],
1052
+ "properties": {
1053
+ "value": {
1054
+ "type": "string",
1055
+ "const": "no"
1056
+ },
1057
+ "why": {
1058
+ "type": "string"
1059
+ }
1060
+ }
1061
+ },
1062
+ {
1063
+ "type": "object",
1064
+ "required": [
1065
+ "value",
1066
+ "why"
1067
+ ],
1068
+ "properties": {
1069
+ "value": {
1070
+ "type": "string",
1071
+ "const": "partial"
1072
+ },
1073
+ "why": {
1074
+ "type": "string"
1075
+ }
1076
+ }
1077
+ }
1078
+ ]
1079
+ },
1080
+ "effectiveModelReporting": {
1081
+ "anyOf": [
1082
+ {
1083
+ "type": "object",
1084
+ "required": [
1085
+ "value"
1086
+ ],
1087
+ "properties": {
1088
+ "value": {
1089
+ "type": "string",
1090
+ "const": "yes"
1091
+ }
1092
+ }
1093
+ },
1094
+ {
1095
+ "type": "object",
1096
+ "required": [
1097
+ "value",
1098
+ "why"
1099
+ ],
1100
+ "properties": {
1101
+ "value": {
1102
+ "type": "string",
1103
+ "const": "no"
1104
+ },
1105
+ "why": {
1106
+ "type": "string"
1107
+ }
1108
+ }
1109
+ },
1110
+ {
1111
+ "type": "object",
1112
+ "required": [
1113
+ "value",
1114
+ "why"
1115
+ ],
1116
+ "properties": {
1117
+ "value": {
1118
+ "type": "string",
1119
+ "const": "partial"
1120
+ },
1121
+ "why": {
1122
+ "type": "string"
1123
+ }
1124
+ }
1125
+ }
1126
+ ]
1127
+ },
1128
+ "quotaReporting": {
1129
+ "anyOf": [
1130
+ {
1131
+ "type": "object",
1132
+ "required": [
1133
+ "value"
1134
+ ],
1135
+ "properties": {
1136
+ "value": {
1137
+ "type": "string",
1138
+ "const": "yes"
1139
+ }
1140
+ }
1141
+ },
1142
+ {
1143
+ "type": "object",
1144
+ "required": [
1145
+ "value",
1146
+ "why"
1147
+ ],
1148
+ "properties": {
1149
+ "value": {
1150
+ "type": "string",
1151
+ "const": "no"
1152
+ },
1153
+ "why": {
1154
+ "type": "string"
1155
+ }
1156
+ }
1157
+ },
1158
+ {
1159
+ "type": "object",
1160
+ "required": [
1161
+ "value",
1162
+ "why"
1163
+ ],
1164
+ "properties": {
1165
+ "value": {
1166
+ "type": "string",
1167
+ "const": "partial"
1168
+ },
1169
+ "why": {
1170
+ "type": "string"
1171
+ }
1172
+ }
1173
+ }
1174
+ ]
1175
+ },
1176
+ "authStatusWithoutSecret": {
1177
+ "anyOf": [
1178
+ {
1179
+ "type": "object",
1180
+ "required": [
1181
+ "value"
1182
+ ],
1183
+ "properties": {
1184
+ "value": {
1185
+ "type": "string",
1186
+ "const": "yes"
1187
+ }
1188
+ }
1189
+ },
1190
+ {
1191
+ "type": "object",
1192
+ "required": [
1193
+ "value",
1194
+ "why"
1195
+ ],
1196
+ "properties": {
1197
+ "value": {
1198
+ "type": "string",
1199
+ "const": "no"
1200
+ },
1201
+ "why": {
1202
+ "type": "string"
1203
+ }
1204
+ }
1205
+ },
1206
+ {
1207
+ "type": "object",
1208
+ "required": [
1209
+ "value",
1210
+ "why"
1211
+ ],
1212
+ "properties": {
1213
+ "value": {
1214
+ "type": "string",
1215
+ "const": "partial"
1216
+ },
1217
+ "why": {
1218
+ "type": "string"
1219
+ }
1220
+ }
1221
+ }
1222
+ ]
1223
+ },
1224
+ "subscriptionModeAssertion": {
1225
+ "anyOf": [
1226
+ {
1227
+ "type": "object",
1228
+ "required": [
1229
+ "value"
1230
+ ],
1231
+ "properties": {
1232
+ "value": {
1233
+ "type": "string",
1234
+ "const": "yes"
1235
+ }
1236
+ }
1237
+ },
1238
+ {
1239
+ "type": "object",
1240
+ "required": [
1241
+ "value",
1242
+ "why"
1243
+ ],
1244
+ "properties": {
1245
+ "value": {
1246
+ "type": "string",
1247
+ "const": "no"
1248
+ },
1249
+ "why": {
1250
+ "type": "string"
1251
+ }
1252
+ }
1253
+ },
1254
+ {
1255
+ "type": "object",
1256
+ "required": [
1257
+ "value",
1258
+ "why"
1259
+ ],
1260
+ "properties": {
1261
+ "value": {
1262
+ "type": "string",
1263
+ "const": "partial"
1264
+ },
1265
+ "why": {
1266
+ "type": "string"
1267
+ }
1268
+ }
1269
+ }
1270
+ ]
1271
+ },
1272
+ "systemPromptExact": {
1273
+ "anyOf": [
1274
+ {
1275
+ "type": "object",
1276
+ "required": [
1277
+ "value"
1278
+ ],
1279
+ "properties": {
1280
+ "value": {
1281
+ "type": "string",
1282
+ "const": "yes"
1283
+ }
1284
+ }
1285
+ },
1286
+ {
1287
+ "type": "object",
1288
+ "required": [
1289
+ "value",
1290
+ "why"
1291
+ ],
1292
+ "properties": {
1293
+ "value": {
1294
+ "type": "string",
1295
+ "const": "no"
1296
+ },
1297
+ "why": {
1298
+ "type": "string"
1299
+ }
1300
+ }
1301
+ },
1302
+ {
1303
+ "type": "object",
1304
+ "required": [
1305
+ "value",
1306
+ "why"
1307
+ ],
1308
+ "properties": {
1309
+ "value": {
1310
+ "type": "string",
1311
+ "const": "partial"
1312
+ },
1313
+ "why": {
1314
+ "type": "string"
1315
+ }
1316
+ }
1317
+ }
1318
+ ]
1319
+ },
1320
+ "runtimePinning": {
1321
+ "anyOf": [
1322
+ {
1323
+ "type": "object",
1324
+ "required": [
1325
+ "value"
1326
+ ],
1327
+ "properties": {
1328
+ "value": {
1329
+ "type": "string",
1330
+ "const": "yes"
1331
+ }
1332
+ }
1333
+ },
1334
+ {
1335
+ "type": "object",
1336
+ "required": [
1337
+ "value",
1338
+ "why"
1339
+ ],
1340
+ "properties": {
1341
+ "value": {
1342
+ "type": "string",
1343
+ "const": "no"
1344
+ },
1345
+ "why": {
1346
+ "type": "string"
1347
+ }
1348
+ }
1349
+ },
1350
+ {
1351
+ "type": "object",
1352
+ "required": [
1353
+ "value",
1354
+ "why"
1355
+ ],
1356
+ "properties": {
1357
+ "value": {
1358
+ "type": "string",
1359
+ "const": "partial"
1360
+ },
1361
+ "why": {
1362
+ "type": "string"
1363
+ }
1364
+ }
1365
+ }
1366
+ ]
1367
+ },
1368
+ "platforms": {
1369
+ "type": "object",
1370
+ "required": [
1371
+ "darwin",
1372
+ "linux",
1373
+ "win32"
1374
+ ],
1375
+ "properties": {
1376
+ "darwin": {
1377
+ "anyOf": [
1378
+ {
1379
+ "type": "object",
1380
+ "required": [
1381
+ "value"
1382
+ ],
1383
+ "properties": {
1384
+ "value": {
1385
+ "type": "string",
1386
+ "const": "yes"
1387
+ }
1388
+ }
1389
+ },
1390
+ {
1391
+ "type": "object",
1392
+ "required": [
1393
+ "value",
1394
+ "why"
1395
+ ],
1396
+ "properties": {
1397
+ "value": {
1398
+ "type": "string",
1399
+ "const": "no"
1400
+ },
1401
+ "why": {
1402
+ "type": "string"
1403
+ }
1404
+ }
1405
+ },
1406
+ {
1407
+ "type": "object",
1408
+ "required": [
1409
+ "value",
1410
+ "why"
1411
+ ],
1412
+ "properties": {
1413
+ "value": {
1414
+ "type": "string",
1415
+ "const": "partial"
1416
+ },
1417
+ "why": {
1418
+ "type": "string"
1419
+ }
1420
+ }
1421
+ }
1422
+ ]
1423
+ },
1424
+ "linux": {
1425
+ "anyOf": [
1426
+ {
1427
+ "type": "object",
1428
+ "required": [
1429
+ "value"
1430
+ ],
1431
+ "properties": {
1432
+ "value": {
1433
+ "type": "string",
1434
+ "const": "yes"
1435
+ }
1436
+ }
1437
+ },
1438
+ {
1439
+ "type": "object",
1440
+ "required": [
1441
+ "value",
1442
+ "why"
1443
+ ],
1444
+ "properties": {
1445
+ "value": {
1446
+ "type": "string",
1447
+ "const": "no"
1448
+ },
1449
+ "why": {
1450
+ "type": "string"
1451
+ }
1452
+ }
1453
+ },
1454
+ {
1455
+ "type": "object",
1456
+ "required": [
1457
+ "value",
1458
+ "why"
1459
+ ],
1460
+ "properties": {
1461
+ "value": {
1462
+ "type": "string",
1463
+ "const": "partial"
1464
+ },
1465
+ "why": {
1466
+ "type": "string"
1467
+ }
1468
+ }
1469
+ }
1470
+ ]
1471
+ },
1472
+ "win32": {
1473
+ "anyOf": [
1474
+ {
1475
+ "type": "object",
1476
+ "required": [
1477
+ "value"
1478
+ ],
1479
+ "properties": {
1480
+ "value": {
1481
+ "type": "string",
1482
+ "const": "yes"
1483
+ }
1484
+ }
1485
+ },
1486
+ {
1487
+ "type": "object",
1488
+ "required": [
1489
+ "value",
1490
+ "why"
1491
+ ],
1492
+ "properties": {
1493
+ "value": {
1494
+ "type": "string",
1495
+ "const": "no"
1496
+ },
1497
+ "why": {
1498
+ "type": "string"
1499
+ }
1500
+ }
1501
+ },
1502
+ {
1503
+ "type": "object",
1504
+ "required": [
1505
+ "value",
1506
+ "why"
1507
+ ],
1508
+ "properties": {
1509
+ "value": {
1510
+ "type": "string",
1511
+ "const": "partial"
1512
+ },
1513
+ "why": {
1514
+ "type": "string"
1515
+ }
1516
+ }
1517
+ }
1518
+ ]
1519
+ }
1520
+ }
1521
+ },
1522
+ "hints": {
1523
+ "type": "object",
1524
+ "required": [
1525
+ "memoryPerAgentMb",
1526
+ "coldStartMs",
1527
+ "maxConcurrentAgents"
1528
+ ],
1529
+ "properties": {
1530
+ "memoryPerAgentMb": {
1531
+ "type": "number",
1532
+ "minimum": 0
1533
+ },
1534
+ "coldStartMs": {
1535
+ "type": "number",
1536
+ "minimum": 0
1537
+ },
1538
+ "maxConcurrentAgents": {
1539
+ "type": "integer",
1540
+ "minimum": 1
1541
+ }
1542
+ }
1543
+ }
1544
+ }
1545
+ }