devcontour-harness 0.1.0-alpha.6 → 0.1.0-alpha.7
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/README.md +20 -2
- package/docs/quickstart.md +1 -1
- package/docs/release-notes/0.1.0-alpha.7.md +71 -0
- package/docs/review-probes.md +79 -0
- package/docs/upgrade.md +42 -25
- package/lib/agents/cli-adapter.js +8 -1
- package/lib/agents/inspect.d.ts +56 -2
- package/lib/agents/inspect.js +264 -14
- package/lib/agents/review-probe.d.ts +50 -0
- package/lib/agents/review-probe.js +211 -46
- package/lib/contracts/execution.d.ts +213 -7
- package/lib/contracts/execution.js +67 -3
- package/lib/contracts/published.d.ts +49 -1
- package/lib/control/review.js +9 -5
- package/lib/engine/budget.d.ts +3 -3
- package/lib/engine/engine.d.ts +28 -2
- package/lib/engine/runner.js +20 -12
- package/lib/environment/process.d.ts +8 -0
- package/lib/environment/process.js +8 -2
- package/lib/storage/document.d.ts +56 -4
- package/lib/verification/gates.d.ts +22 -0
- package/lib/verification/gates.js +64 -23
- package/package.json +1 -1
- package/schemas/execution-document.schema.json +190 -4
|
@@ -2218,7 +2218,9 @@
|
|
|
2218
2218
|
"type": "string",
|
|
2219
2219
|
"enum": [
|
|
2220
2220
|
"codex-events",
|
|
2221
|
-
"unavailable"
|
|
2221
|
+
"unavailable",
|
|
2222
|
+
"controller-probes",
|
|
2223
|
+
"runtime-and-controller"
|
|
2222
2224
|
]
|
|
2223
2225
|
},
|
|
2224
2226
|
"commands": {
|
|
@@ -2230,12 +2232,106 @@
|
|
|
2230
2232
|
"type": "string"
|
|
2231
2233
|
},
|
|
2232
2234
|
"exitCode": {
|
|
2233
|
-
"
|
|
2234
|
-
|
|
2235
|
-
|
|
2235
|
+
"anyOf": [
|
|
2236
|
+
{
|
|
2237
|
+
"type": "integer",
|
|
2238
|
+
"minimum": -9007199254740991,
|
|
2239
|
+
"maximum": 9007199254740991
|
|
2240
|
+
},
|
|
2241
|
+
{
|
|
2242
|
+
"type": "null"
|
|
2243
|
+
}
|
|
2244
|
+
]
|
|
2236
2245
|
},
|
|
2237
2246
|
"output": {
|
|
2238
2247
|
"type": "string"
|
|
2248
|
+
},
|
|
2249
|
+
"origins": {
|
|
2250
|
+
"minItems": 1,
|
|
2251
|
+
"maxItems": 8,
|
|
2252
|
+
"type": "array",
|
|
2253
|
+
"items": {
|
|
2254
|
+
"oneOf": [
|
|
2255
|
+
{
|
|
2256
|
+
"type": "object",
|
|
2257
|
+
"properties": {
|
|
2258
|
+
"type": {
|
|
2259
|
+
"type": "string",
|
|
2260
|
+
"const": "runtime"
|
|
2261
|
+
},
|
|
2262
|
+
"runtime": {
|
|
2263
|
+
"type": "string",
|
|
2264
|
+
"minLength": 1,
|
|
2265
|
+
"maxLength": 100
|
|
2266
|
+
},
|
|
2267
|
+
"item": {
|
|
2268
|
+
"anyOf": [
|
|
2269
|
+
{
|
|
2270
|
+
"type": "string",
|
|
2271
|
+
"minLength": 1,
|
|
2272
|
+
"maxLength": 200
|
|
2273
|
+
},
|
|
2274
|
+
{
|
|
2275
|
+
"type": "null"
|
|
2276
|
+
}
|
|
2277
|
+
]
|
|
2278
|
+
}
|
|
2279
|
+
},
|
|
2280
|
+
"required": [
|
|
2281
|
+
"type",
|
|
2282
|
+
"runtime",
|
|
2283
|
+
"item"
|
|
2284
|
+
],
|
|
2285
|
+
"additionalProperties": false
|
|
2286
|
+
},
|
|
2287
|
+
{
|
|
2288
|
+
"type": "object",
|
|
2289
|
+
"properties": {
|
|
2290
|
+
"type": {
|
|
2291
|
+
"type": "string",
|
|
2292
|
+
"const": "controller"
|
|
2293
|
+
},
|
|
2294
|
+
"runId": {
|
|
2295
|
+
"type": "string",
|
|
2296
|
+
"minLength": 1,
|
|
2297
|
+
"maxLength": 200
|
|
2298
|
+
}
|
|
2299
|
+
},
|
|
2300
|
+
"required": [
|
|
2301
|
+
"type",
|
|
2302
|
+
"runId"
|
|
2303
|
+
],
|
|
2304
|
+
"additionalProperties": false
|
|
2305
|
+
}
|
|
2306
|
+
]
|
|
2307
|
+
}
|
|
2308
|
+
},
|
|
2309
|
+
"status": {
|
|
2310
|
+
"type": "string",
|
|
2311
|
+
"enum": [
|
|
2312
|
+
"completed",
|
|
2313
|
+
"passed",
|
|
2314
|
+
"failed",
|
|
2315
|
+
"timeout",
|
|
2316
|
+
"cancelled",
|
|
2317
|
+
"error"
|
|
2318
|
+
]
|
|
2319
|
+
},
|
|
2320
|
+
"failure": {
|
|
2321
|
+
"type": "string",
|
|
2322
|
+
"enum": [
|
|
2323
|
+
"environment",
|
|
2324
|
+
"report"
|
|
2325
|
+
]
|
|
2326
|
+
},
|
|
2327
|
+
"gate": {
|
|
2328
|
+
"type": "string",
|
|
2329
|
+
"minLength": 1,
|
|
2330
|
+
"maxLength": 200
|
|
2331
|
+
},
|
|
2332
|
+
"note": {
|
|
2333
|
+
"type": "string",
|
|
2334
|
+
"maxLength": 2000
|
|
2239
2335
|
}
|
|
2240
2336
|
},
|
|
2241
2337
|
"required": [
|
|
@@ -2251,6 +2347,96 @@
|
|
|
2251
2347
|
"string",
|
|
2252
2348
|
"null"
|
|
2253
2349
|
]
|
|
2350
|
+
},
|
|
2351
|
+
"context": {
|
|
2352
|
+
"type": "object",
|
|
2353
|
+
"properties": {
|
|
2354
|
+
"attempt": {
|
|
2355
|
+
"type": "string",
|
|
2356
|
+
"minLength": 1,
|
|
2357
|
+
"maxLength": 200
|
|
2358
|
+
},
|
|
2359
|
+
"phase": {
|
|
2360
|
+
"type": "string",
|
|
2361
|
+
"enum": [
|
|
2362
|
+
"candidate",
|
|
2363
|
+
"integration"
|
|
2364
|
+
]
|
|
2365
|
+
},
|
|
2366
|
+
"sha": {
|
|
2367
|
+
"type": "string",
|
|
2368
|
+
"pattern": "^[a-f0-9]{40}([a-f0-9]{24})?$"
|
|
2369
|
+
},
|
|
2370
|
+
"call": {
|
|
2371
|
+
"type": "integer",
|
|
2372
|
+
"exclusiveMinimum": 0,
|
|
2373
|
+
"maximum": 9007199254740991
|
|
2374
|
+
}
|
|
2375
|
+
},
|
|
2376
|
+
"required": [
|
|
2377
|
+
"attempt",
|
|
2378
|
+
"phase",
|
|
2379
|
+
"sha",
|
|
2380
|
+
"call"
|
|
2381
|
+
],
|
|
2382
|
+
"additionalProperties": false
|
|
2383
|
+
},
|
|
2384
|
+
"total": {
|
|
2385
|
+
"type": "integer",
|
|
2386
|
+
"minimum": 0,
|
|
2387
|
+
"maximum": 9007199254740991
|
|
2388
|
+
},
|
|
2389
|
+
"excluded": {
|
|
2390
|
+
"maxItems": 100,
|
|
2391
|
+
"type": "array",
|
|
2392
|
+
"items": {
|
|
2393
|
+
"type": "object",
|
|
2394
|
+
"properties": {
|
|
2395
|
+
"runId": {
|
|
2396
|
+
"type": "string",
|
|
2397
|
+
"minLength": 1,
|
|
2398
|
+
"maxLength": 200
|
|
2399
|
+
},
|
|
2400
|
+
"status": {
|
|
2401
|
+
"anyOf": [
|
|
2402
|
+
{
|
|
2403
|
+
"type": "string",
|
|
2404
|
+
"maxLength": 40
|
|
2405
|
+
},
|
|
2406
|
+
{
|
|
2407
|
+
"type": "null"
|
|
2408
|
+
}
|
|
2409
|
+
]
|
|
2410
|
+
},
|
|
2411
|
+
"reason": {
|
|
2412
|
+
"type": "string",
|
|
2413
|
+
"enum": [
|
|
2414
|
+
"not-started",
|
|
2415
|
+
"legacy-unconfirmed",
|
|
2416
|
+
"foreign-scope",
|
|
2417
|
+
"unknown-status",
|
|
2418
|
+
"unfinished",
|
|
2419
|
+
"abandoned"
|
|
2420
|
+
]
|
|
2421
|
+
}
|
|
2422
|
+
},
|
|
2423
|
+
"required": [
|
|
2424
|
+
"runId",
|
|
2425
|
+
"status",
|
|
2426
|
+
"reason"
|
|
2427
|
+
],
|
|
2428
|
+
"additionalProperties": false
|
|
2429
|
+
}
|
|
2430
|
+
},
|
|
2431
|
+
"excludedTotal": {
|
|
2432
|
+
"type": "integer",
|
|
2433
|
+
"minimum": 0,
|
|
2434
|
+
"maximum": 9007199254740991
|
|
2435
|
+
},
|
|
2436
|
+
"invalid": {
|
|
2437
|
+
"type": "integer",
|
|
2438
|
+
"minimum": 0,
|
|
2439
|
+
"maximum": 9007199254740991
|
|
2254
2440
|
}
|
|
2255
2441
|
},
|
|
2256
2442
|
"required": [
|