@basou/core 0.29.0 → 0.31.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.
- package/dist/index.d.ts +356 -94
- package/dist/index.js +269 -31
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
- package/schemas/approval.schema.json +3 -2
- package/schemas/event.schema.json +139 -20
- package/schemas/manifest.schema.json +2 -12
- package/schemas/session-import.schema.json +144 -22
- package/schemas/session.schema.json +14 -7
- package/schemas/status.schema.json +1 -1
- package/schemas/task.schema.json +5 -3
package/package.json
CHANGED
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
"properties": {
|
|
8
8
|
"schema_version": {
|
|
9
9
|
"type": "string",
|
|
10
|
-
"
|
|
10
|
+
"pattern": "^0\\.\\d+\\.\\d+$"
|
|
11
11
|
},
|
|
12
12
|
"id": {
|
|
13
13
|
"type": "string",
|
|
@@ -126,5 +126,6 @@
|
|
|
126
126
|
"risk_level",
|
|
127
127
|
"action",
|
|
128
128
|
"reason"
|
|
129
|
-
]
|
|
129
|
+
],
|
|
130
|
+
"additionalProperties": {}
|
|
130
131
|
}
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
"properties": {
|
|
10
10
|
"schema_version": {
|
|
11
11
|
"type": "string",
|
|
12
|
-
"
|
|
12
|
+
"pattern": "^0\\.\\d+\\.\\d+$"
|
|
13
13
|
},
|
|
14
14
|
"id": {
|
|
15
15
|
"type": "string",
|
|
@@ -52,7 +52,7 @@
|
|
|
52
52
|
"properties": {
|
|
53
53
|
"schema_version": {
|
|
54
54
|
"type": "string",
|
|
55
|
-
"
|
|
55
|
+
"pattern": "^0\\.\\d+\\.\\d+$"
|
|
56
56
|
},
|
|
57
57
|
"id": {
|
|
58
58
|
"type": "string",
|
|
@@ -100,7 +100,7 @@
|
|
|
100
100
|
"properties": {
|
|
101
101
|
"schema_version": {
|
|
102
102
|
"type": "string",
|
|
103
|
-
"
|
|
103
|
+
"pattern": "^0\\.\\d+\\.\\d+$"
|
|
104
104
|
},
|
|
105
105
|
"id": {
|
|
106
106
|
"type": "string",
|
|
@@ -151,7 +151,7 @@
|
|
|
151
151
|
"properties": {
|
|
152
152
|
"schema_version": {
|
|
153
153
|
"type": "string",
|
|
154
|
-
"
|
|
154
|
+
"pattern": "^0\\.\\d+\\.\\d+$"
|
|
155
155
|
},
|
|
156
156
|
"id": {
|
|
157
157
|
"type": "string",
|
|
@@ -245,7 +245,7 @@
|
|
|
245
245
|
"properties": {
|
|
246
246
|
"schema_version": {
|
|
247
247
|
"type": "string",
|
|
248
|
-
"
|
|
248
|
+
"pattern": "^0\\.\\d+\\.\\d+$"
|
|
249
249
|
},
|
|
250
250
|
"id": {
|
|
251
251
|
"type": "string",
|
|
@@ -307,7 +307,7 @@
|
|
|
307
307
|
"properties": {
|
|
308
308
|
"schema_version": {
|
|
309
309
|
"type": "string",
|
|
310
|
-
"
|
|
310
|
+
"pattern": "^0\\.\\d+\\.\\d+$"
|
|
311
311
|
},
|
|
312
312
|
"id": {
|
|
313
313
|
"type": "string",
|
|
@@ -363,7 +363,7 @@
|
|
|
363
363
|
"properties": {
|
|
364
364
|
"schema_version": {
|
|
365
365
|
"type": "string",
|
|
366
|
-
"
|
|
366
|
+
"pattern": "^0\\.\\d+\\.\\d+$"
|
|
367
367
|
},
|
|
368
368
|
"id": {
|
|
369
369
|
"type": "string",
|
|
@@ -412,7 +412,7 @@
|
|
|
412
412
|
"properties": {
|
|
413
413
|
"schema_version": {
|
|
414
414
|
"type": "string",
|
|
415
|
-
"
|
|
415
|
+
"pattern": "^0\\.\\d+\\.\\d+$"
|
|
416
416
|
},
|
|
417
417
|
"id": {
|
|
418
418
|
"type": "string",
|
|
@@ -509,7 +509,7 @@
|
|
|
509
509
|
"properties": {
|
|
510
510
|
"schema_version": {
|
|
511
511
|
"type": "string",
|
|
512
|
-
"
|
|
512
|
+
"pattern": "^0\\.\\d+\\.\\d+$"
|
|
513
513
|
},
|
|
514
514
|
"id": {
|
|
515
515
|
"type": "string",
|
|
@@ -595,7 +595,7 @@
|
|
|
595
595
|
"properties": {
|
|
596
596
|
"schema_version": {
|
|
597
597
|
"type": "string",
|
|
598
|
-
"
|
|
598
|
+
"pattern": "^0\\.\\d+\\.\\d+$"
|
|
599
599
|
},
|
|
600
600
|
"id": {
|
|
601
601
|
"type": "string",
|
|
@@ -662,7 +662,7 @@
|
|
|
662
662
|
"properties": {
|
|
663
663
|
"schema_version": {
|
|
664
664
|
"type": "string",
|
|
665
|
-
"
|
|
665
|
+
"pattern": "^0\\.\\d+\\.\\d+$"
|
|
666
666
|
},
|
|
667
667
|
"id": {
|
|
668
668
|
"type": "string",
|
|
@@ -765,7 +765,7 @@
|
|
|
765
765
|
"properties": {
|
|
766
766
|
"schema_version": {
|
|
767
767
|
"type": "string",
|
|
768
|
-
"
|
|
768
|
+
"pattern": "^0\\.\\d+\\.\\d+$"
|
|
769
769
|
},
|
|
770
770
|
"id": {
|
|
771
771
|
"type": "string",
|
|
@@ -829,7 +829,7 @@
|
|
|
829
829
|
"properties": {
|
|
830
830
|
"schema_version": {
|
|
831
831
|
"type": "string",
|
|
832
|
-
"
|
|
832
|
+
"pattern": "^0\\.\\d+\\.\\d+$"
|
|
833
833
|
},
|
|
834
834
|
"id": {
|
|
835
835
|
"type": "string",
|
|
@@ -882,7 +882,7 @@
|
|
|
882
882
|
"properties": {
|
|
883
883
|
"schema_version": {
|
|
884
884
|
"type": "string",
|
|
885
|
-
"
|
|
885
|
+
"pattern": "^0\\.\\d+\\.\\d+$"
|
|
886
886
|
},
|
|
887
887
|
"id": {
|
|
888
888
|
"type": "string",
|
|
@@ -939,7 +939,7 @@
|
|
|
939
939
|
"properties": {
|
|
940
940
|
"schema_version": {
|
|
941
941
|
"type": "string",
|
|
942
|
-
"
|
|
942
|
+
"pattern": "^0\\.\\d+\\.\\d+$"
|
|
943
943
|
},
|
|
944
944
|
"id": {
|
|
945
945
|
"type": "string",
|
|
@@ -1024,7 +1024,7 @@
|
|
|
1024
1024
|
"properties": {
|
|
1025
1025
|
"schema_version": {
|
|
1026
1026
|
"type": "string",
|
|
1027
|
-
"
|
|
1027
|
+
"pattern": "^0\\.\\d+\\.\\d+$"
|
|
1028
1028
|
},
|
|
1029
1029
|
"id": {
|
|
1030
1030
|
"type": "string",
|
|
@@ -1097,7 +1097,7 @@
|
|
|
1097
1097
|
"properties": {
|
|
1098
1098
|
"schema_version": {
|
|
1099
1099
|
"type": "string",
|
|
1100
|
-
"
|
|
1100
|
+
"pattern": "^0\\.\\d+\\.\\d+$"
|
|
1101
1101
|
},
|
|
1102
1102
|
"id": {
|
|
1103
1103
|
"type": "string",
|
|
@@ -1152,7 +1152,7 @@
|
|
|
1152
1152
|
"properties": {
|
|
1153
1153
|
"schema_version": {
|
|
1154
1154
|
"type": "string",
|
|
1155
|
-
"
|
|
1155
|
+
"pattern": "^0\\.\\d+\\.\\d+$"
|
|
1156
1156
|
},
|
|
1157
1157
|
"id": {
|
|
1158
1158
|
"type": "string",
|
|
@@ -1207,7 +1207,7 @@
|
|
|
1207
1207
|
"properties": {
|
|
1208
1208
|
"schema_version": {
|
|
1209
1209
|
"type": "string",
|
|
1210
|
-
"
|
|
1210
|
+
"pattern": "^0\\.\\d+\\.\\d+$"
|
|
1211
1211
|
},
|
|
1212
1212
|
"id": {
|
|
1213
1213
|
"type": "string",
|
|
@@ -1261,7 +1261,126 @@
|
|
|
1261
1261
|
"properties": {
|
|
1262
1262
|
"schema_version": {
|
|
1263
1263
|
"type": "string",
|
|
1264
|
-
"
|
|
1264
|
+
"pattern": "^0\\.\\d+\\.\\d+$"
|
|
1265
|
+
},
|
|
1266
|
+
"id": {
|
|
1267
|
+
"type": "string",
|
|
1268
|
+
"pattern": "^evt_[0-7][0-9A-HJKMNP-TV-Z]{25}$",
|
|
1269
|
+
"description": "Basou evt id: `evt_` followed by a 26-character Crockford Base32 ULID."
|
|
1270
|
+
},
|
|
1271
|
+
"session_id": {
|
|
1272
|
+
"type": "string",
|
|
1273
|
+
"pattern": "^ses_[0-7][0-9A-HJKMNP-TV-Z]{25}$",
|
|
1274
|
+
"description": "Basou ses id: `ses_` followed by a 26-character Crockford Base32 ULID."
|
|
1275
|
+
},
|
|
1276
|
+
"occurred_at": {
|
|
1277
|
+
"type": "string",
|
|
1278
|
+
"format": "date-time",
|
|
1279
|
+
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"
|
|
1280
|
+
},
|
|
1281
|
+
"source": {
|
|
1282
|
+
"type": "string",
|
|
1283
|
+
"minLength": 1
|
|
1284
|
+
},
|
|
1285
|
+
"prev_hash": {
|
|
1286
|
+
"type": "string"
|
|
1287
|
+
},
|
|
1288
|
+
"type": {
|
|
1289
|
+
"type": "string",
|
|
1290
|
+
"const": "review_recorded"
|
|
1291
|
+
},
|
|
1292
|
+
"reviewer": {
|
|
1293
|
+
"type": "string",
|
|
1294
|
+
"minLength": 1
|
|
1295
|
+
},
|
|
1296
|
+
"target": {
|
|
1297
|
+
"type": "string",
|
|
1298
|
+
"minLength": 1
|
|
1299
|
+
},
|
|
1300
|
+
"verdict": {
|
|
1301
|
+
"type": "string",
|
|
1302
|
+
"enum": [
|
|
1303
|
+
"pass",
|
|
1304
|
+
"needs-attention",
|
|
1305
|
+
"fail"
|
|
1306
|
+
]
|
|
1307
|
+
},
|
|
1308
|
+
"findings": {
|
|
1309
|
+
"type": "array",
|
|
1310
|
+
"items": {
|
|
1311
|
+
"type": "object",
|
|
1312
|
+
"properties": {
|
|
1313
|
+
"title": {
|
|
1314
|
+
"type": "string",
|
|
1315
|
+
"minLength": 1
|
|
1316
|
+
},
|
|
1317
|
+
"severity": {
|
|
1318
|
+
"type": "string",
|
|
1319
|
+
"enum": [
|
|
1320
|
+
"high",
|
|
1321
|
+
"medium",
|
|
1322
|
+
"low"
|
|
1323
|
+
]
|
|
1324
|
+
},
|
|
1325
|
+
"location": {
|
|
1326
|
+
"type": "string",
|
|
1327
|
+
"minLength": 1
|
|
1328
|
+
},
|
|
1329
|
+
"summary": {
|
|
1330
|
+
"type": "string",
|
|
1331
|
+
"minLength": 1
|
|
1332
|
+
}
|
|
1333
|
+
},
|
|
1334
|
+
"required": [
|
|
1335
|
+
"title"
|
|
1336
|
+
]
|
|
1337
|
+
}
|
|
1338
|
+
},
|
|
1339
|
+
"blocked": {
|
|
1340
|
+
"type": "array",
|
|
1341
|
+
"items": {
|
|
1342
|
+
"type": "object",
|
|
1343
|
+
"properties": {
|
|
1344
|
+
"title": {
|
|
1345
|
+
"type": "string",
|
|
1346
|
+
"minLength": 1
|
|
1347
|
+
},
|
|
1348
|
+
"reason": {
|
|
1349
|
+
"type": "string",
|
|
1350
|
+
"enum": [
|
|
1351
|
+
"spec-deviation",
|
|
1352
|
+
"design-reversal"
|
|
1353
|
+
]
|
|
1354
|
+
},
|
|
1355
|
+
"why": {
|
|
1356
|
+
"type": "string",
|
|
1357
|
+
"minLength": 1
|
|
1358
|
+
}
|
|
1359
|
+
},
|
|
1360
|
+
"required": [
|
|
1361
|
+
"title",
|
|
1362
|
+
"reason"
|
|
1363
|
+
]
|
|
1364
|
+
}
|
|
1365
|
+
}
|
|
1366
|
+
},
|
|
1367
|
+
"required": [
|
|
1368
|
+
"schema_version",
|
|
1369
|
+
"id",
|
|
1370
|
+
"session_id",
|
|
1371
|
+
"occurred_at",
|
|
1372
|
+
"source",
|
|
1373
|
+
"type",
|
|
1374
|
+
"reviewer",
|
|
1375
|
+
"target"
|
|
1376
|
+
]
|
|
1377
|
+
},
|
|
1378
|
+
{
|
|
1379
|
+
"type": "object",
|
|
1380
|
+
"properties": {
|
|
1381
|
+
"schema_version": {
|
|
1382
|
+
"type": "string",
|
|
1383
|
+
"pattern": "^0\\.\\d+\\.\\d+$"
|
|
1265
1384
|
},
|
|
1266
1385
|
"id": {
|
|
1267
1386
|
"type": "string",
|
|
@@ -7,11 +7,11 @@
|
|
|
7
7
|
"properties": {
|
|
8
8
|
"schema_version": {
|
|
9
9
|
"type": "string",
|
|
10
|
-
"
|
|
10
|
+
"pattern": "^0\\.\\d+\\.\\d+$"
|
|
11
11
|
},
|
|
12
12
|
"basou_version": {
|
|
13
13
|
"type": "string",
|
|
14
|
-
"
|
|
14
|
+
"pattern": "^0\\.\\d+\\.\\d+$"
|
|
15
15
|
},
|
|
16
16
|
"workspace": {
|
|
17
17
|
"type": "object",
|
|
@@ -57,16 +57,6 @@
|
|
|
57
57
|
},
|
|
58
58
|
"description": {
|
|
59
59
|
"type": "string"
|
|
60
|
-
},
|
|
61
|
-
"repository_url": {
|
|
62
|
-
"anyOf": [
|
|
63
|
-
{
|
|
64
|
-
"type": "string"
|
|
65
|
-
},
|
|
66
|
-
{
|
|
67
|
-
"type": "null"
|
|
68
|
-
}
|
|
69
|
-
]
|
|
70
60
|
}
|
|
71
61
|
},
|
|
72
62
|
"additionalProperties": {}
|
|
@@ -44,6 +44,7 @@
|
|
|
44
44
|
"enum": [
|
|
45
45
|
"claude-code-adapter",
|
|
46
46
|
"claude-code-import",
|
|
47
|
+
"codex-adapter",
|
|
47
48
|
"codex-import",
|
|
48
49
|
"human",
|
|
49
50
|
"import",
|
|
@@ -194,7 +195,8 @@
|
|
|
194
195
|
"required": [
|
|
195
196
|
"start",
|
|
196
197
|
"end"
|
|
197
|
-
]
|
|
198
|
+
],
|
|
199
|
+
"additionalProperties": {}
|
|
198
200
|
}
|
|
199
201
|
},
|
|
200
202
|
"active_gap_cap_ms": {
|
|
@@ -210,7 +212,8 @@
|
|
|
210
212
|
"minimum": 0,
|
|
211
213
|
"maximum": 9007199254740991
|
|
212
214
|
}
|
|
213
|
-
}
|
|
215
|
+
},
|
|
216
|
+
"additionalProperties": {}
|
|
214
217
|
},
|
|
215
218
|
"integrity": {
|
|
216
219
|
"type": "object",
|
|
@@ -250,7 +253,7 @@
|
|
|
250
253
|
"properties": {
|
|
251
254
|
"schema_version": {
|
|
252
255
|
"type": "string",
|
|
253
|
-
"
|
|
256
|
+
"pattern": "^0\\.\\d+\\.\\d+$"
|
|
254
257
|
},
|
|
255
258
|
"id": {
|
|
256
259
|
"type": "string",
|
|
@@ -293,7 +296,7 @@
|
|
|
293
296
|
"properties": {
|
|
294
297
|
"schema_version": {
|
|
295
298
|
"type": "string",
|
|
296
|
-
"
|
|
299
|
+
"pattern": "^0\\.\\d+\\.\\d+$"
|
|
297
300
|
},
|
|
298
301
|
"id": {
|
|
299
302
|
"type": "string",
|
|
@@ -341,7 +344,7 @@
|
|
|
341
344
|
"properties": {
|
|
342
345
|
"schema_version": {
|
|
343
346
|
"type": "string",
|
|
344
|
-
"
|
|
347
|
+
"pattern": "^0\\.\\d+\\.\\d+$"
|
|
345
348
|
},
|
|
346
349
|
"id": {
|
|
347
350
|
"type": "string",
|
|
@@ -392,7 +395,7 @@
|
|
|
392
395
|
"properties": {
|
|
393
396
|
"schema_version": {
|
|
394
397
|
"type": "string",
|
|
395
|
-
"
|
|
398
|
+
"pattern": "^0\\.\\d+\\.\\d+$"
|
|
396
399
|
},
|
|
397
400
|
"id": {
|
|
398
401
|
"type": "string",
|
|
@@ -486,7 +489,7 @@
|
|
|
486
489
|
"properties": {
|
|
487
490
|
"schema_version": {
|
|
488
491
|
"type": "string",
|
|
489
|
-
"
|
|
492
|
+
"pattern": "^0\\.\\d+\\.\\d+$"
|
|
490
493
|
},
|
|
491
494
|
"id": {
|
|
492
495
|
"type": "string",
|
|
@@ -548,7 +551,7 @@
|
|
|
548
551
|
"properties": {
|
|
549
552
|
"schema_version": {
|
|
550
553
|
"type": "string",
|
|
551
|
-
"
|
|
554
|
+
"pattern": "^0\\.\\d+\\.\\d+$"
|
|
552
555
|
},
|
|
553
556
|
"id": {
|
|
554
557
|
"type": "string",
|
|
@@ -604,7 +607,7 @@
|
|
|
604
607
|
"properties": {
|
|
605
608
|
"schema_version": {
|
|
606
609
|
"type": "string",
|
|
607
|
-
"
|
|
610
|
+
"pattern": "^0\\.\\d+\\.\\d+$"
|
|
608
611
|
},
|
|
609
612
|
"id": {
|
|
610
613
|
"type": "string",
|
|
@@ -653,7 +656,7 @@
|
|
|
653
656
|
"properties": {
|
|
654
657
|
"schema_version": {
|
|
655
658
|
"type": "string",
|
|
656
|
-
"
|
|
659
|
+
"pattern": "^0\\.\\d+\\.\\d+$"
|
|
657
660
|
},
|
|
658
661
|
"id": {
|
|
659
662
|
"type": "string",
|
|
@@ -750,7 +753,7 @@
|
|
|
750
753
|
"properties": {
|
|
751
754
|
"schema_version": {
|
|
752
755
|
"type": "string",
|
|
753
|
-
"
|
|
756
|
+
"pattern": "^0\\.\\d+\\.\\d+$"
|
|
754
757
|
},
|
|
755
758
|
"id": {
|
|
756
759
|
"type": "string",
|
|
@@ -836,7 +839,7 @@
|
|
|
836
839
|
"properties": {
|
|
837
840
|
"schema_version": {
|
|
838
841
|
"type": "string",
|
|
839
|
-
"
|
|
842
|
+
"pattern": "^0\\.\\d+\\.\\d+$"
|
|
840
843
|
},
|
|
841
844
|
"id": {
|
|
842
845
|
"type": "string",
|
|
@@ -903,7 +906,7 @@
|
|
|
903
906
|
"properties": {
|
|
904
907
|
"schema_version": {
|
|
905
908
|
"type": "string",
|
|
906
|
-
"
|
|
909
|
+
"pattern": "^0\\.\\d+\\.\\d+$"
|
|
907
910
|
},
|
|
908
911
|
"id": {
|
|
909
912
|
"type": "string",
|
|
@@ -1006,7 +1009,7 @@
|
|
|
1006
1009
|
"properties": {
|
|
1007
1010
|
"schema_version": {
|
|
1008
1011
|
"type": "string",
|
|
1009
|
-
"
|
|
1012
|
+
"pattern": "^0\\.\\d+\\.\\d+$"
|
|
1010
1013
|
},
|
|
1011
1014
|
"id": {
|
|
1012
1015
|
"type": "string",
|
|
@@ -1070,7 +1073,7 @@
|
|
|
1070
1073
|
"properties": {
|
|
1071
1074
|
"schema_version": {
|
|
1072
1075
|
"type": "string",
|
|
1073
|
-
"
|
|
1076
|
+
"pattern": "^0\\.\\d+\\.\\d+$"
|
|
1074
1077
|
},
|
|
1075
1078
|
"id": {
|
|
1076
1079
|
"type": "string",
|
|
@@ -1123,7 +1126,7 @@
|
|
|
1123
1126
|
"properties": {
|
|
1124
1127
|
"schema_version": {
|
|
1125
1128
|
"type": "string",
|
|
1126
|
-
"
|
|
1129
|
+
"pattern": "^0\\.\\d+\\.\\d+$"
|
|
1127
1130
|
},
|
|
1128
1131
|
"id": {
|
|
1129
1132
|
"type": "string",
|
|
@@ -1180,7 +1183,7 @@
|
|
|
1180
1183
|
"properties": {
|
|
1181
1184
|
"schema_version": {
|
|
1182
1185
|
"type": "string",
|
|
1183
|
-
"
|
|
1186
|
+
"pattern": "^0\\.\\d+\\.\\d+$"
|
|
1184
1187
|
},
|
|
1185
1188
|
"id": {
|
|
1186
1189
|
"type": "string",
|
|
@@ -1265,7 +1268,7 @@
|
|
|
1265
1268
|
"properties": {
|
|
1266
1269
|
"schema_version": {
|
|
1267
1270
|
"type": "string",
|
|
1268
|
-
"
|
|
1271
|
+
"pattern": "^0\\.\\d+\\.\\d+$"
|
|
1269
1272
|
},
|
|
1270
1273
|
"id": {
|
|
1271
1274
|
"type": "string",
|
|
@@ -1338,7 +1341,7 @@
|
|
|
1338
1341
|
"properties": {
|
|
1339
1342
|
"schema_version": {
|
|
1340
1343
|
"type": "string",
|
|
1341
|
-
"
|
|
1344
|
+
"pattern": "^0\\.\\d+\\.\\d+$"
|
|
1342
1345
|
},
|
|
1343
1346
|
"id": {
|
|
1344
1347
|
"type": "string",
|
|
@@ -1393,7 +1396,7 @@
|
|
|
1393
1396
|
"properties": {
|
|
1394
1397
|
"schema_version": {
|
|
1395
1398
|
"type": "string",
|
|
1396
|
-
"
|
|
1399
|
+
"pattern": "^0\\.\\d+\\.\\d+$"
|
|
1397
1400
|
},
|
|
1398
1401
|
"id": {
|
|
1399
1402
|
"type": "string",
|
|
@@ -1448,7 +1451,7 @@
|
|
|
1448
1451
|
"properties": {
|
|
1449
1452
|
"schema_version": {
|
|
1450
1453
|
"type": "string",
|
|
1451
|
-
"
|
|
1454
|
+
"pattern": "^0\\.\\d+\\.\\d+$"
|
|
1452
1455
|
},
|
|
1453
1456
|
"id": {
|
|
1454
1457
|
"type": "string",
|
|
@@ -1502,7 +1505,126 @@
|
|
|
1502
1505
|
"properties": {
|
|
1503
1506
|
"schema_version": {
|
|
1504
1507
|
"type": "string",
|
|
1505
|
-
"
|
|
1508
|
+
"pattern": "^0\\.\\d+\\.\\d+$"
|
|
1509
|
+
},
|
|
1510
|
+
"id": {
|
|
1511
|
+
"type": "string",
|
|
1512
|
+
"pattern": "^evt_[0-7][0-9A-HJKMNP-TV-Z]{25}$",
|
|
1513
|
+
"description": "Basou evt id: `evt_` followed by a 26-character Crockford Base32 ULID."
|
|
1514
|
+
},
|
|
1515
|
+
"session_id": {
|
|
1516
|
+
"type": "string",
|
|
1517
|
+
"pattern": "^ses_[0-7][0-9A-HJKMNP-TV-Z]{25}$",
|
|
1518
|
+
"description": "Basou ses id: `ses_` followed by a 26-character Crockford Base32 ULID."
|
|
1519
|
+
},
|
|
1520
|
+
"occurred_at": {
|
|
1521
|
+
"type": "string",
|
|
1522
|
+
"format": "date-time",
|
|
1523
|
+
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"
|
|
1524
|
+
},
|
|
1525
|
+
"source": {
|
|
1526
|
+
"type": "string",
|
|
1527
|
+
"minLength": 1
|
|
1528
|
+
},
|
|
1529
|
+
"prev_hash": {
|
|
1530
|
+
"type": "string"
|
|
1531
|
+
},
|
|
1532
|
+
"type": {
|
|
1533
|
+
"type": "string",
|
|
1534
|
+
"const": "review_recorded"
|
|
1535
|
+
},
|
|
1536
|
+
"reviewer": {
|
|
1537
|
+
"type": "string",
|
|
1538
|
+
"minLength": 1
|
|
1539
|
+
},
|
|
1540
|
+
"target": {
|
|
1541
|
+
"type": "string",
|
|
1542
|
+
"minLength": 1
|
|
1543
|
+
},
|
|
1544
|
+
"verdict": {
|
|
1545
|
+
"type": "string",
|
|
1546
|
+
"enum": [
|
|
1547
|
+
"pass",
|
|
1548
|
+
"needs-attention",
|
|
1549
|
+
"fail"
|
|
1550
|
+
]
|
|
1551
|
+
},
|
|
1552
|
+
"findings": {
|
|
1553
|
+
"type": "array",
|
|
1554
|
+
"items": {
|
|
1555
|
+
"type": "object",
|
|
1556
|
+
"properties": {
|
|
1557
|
+
"title": {
|
|
1558
|
+
"type": "string",
|
|
1559
|
+
"minLength": 1
|
|
1560
|
+
},
|
|
1561
|
+
"severity": {
|
|
1562
|
+
"type": "string",
|
|
1563
|
+
"enum": [
|
|
1564
|
+
"high",
|
|
1565
|
+
"medium",
|
|
1566
|
+
"low"
|
|
1567
|
+
]
|
|
1568
|
+
},
|
|
1569
|
+
"location": {
|
|
1570
|
+
"type": "string",
|
|
1571
|
+
"minLength": 1
|
|
1572
|
+
},
|
|
1573
|
+
"summary": {
|
|
1574
|
+
"type": "string",
|
|
1575
|
+
"minLength": 1
|
|
1576
|
+
}
|
|
1577
|
+
},
|
|
1578
|
+
"required": [
|
|
1579
|
+
"title"
|
|
1580
|
+
]
|
|
1581
|
+
}
|
|
1582
|
+
},
|
|
1583
|
+
"blocked": {
|
|
1584
|
+
"type": "array",
|
|
1585
|
+
"items": {
|
|
1586
|
+
"type": "object",
|
|
1587
|
+
"properties": {
|
|
1588
|
+
"title": {
|
|
1589
|
+
"type": "string",
|
|
1590
|
+
"minLength": 1
|
|
1591
|
+
},
|
|
1592
|
+
"reason": {
|
|
1593
|
+
"type": "string",
|
|
1594
|
+
"enum": [
|
|
1595
|
+
"spec-deviation",
|
|
1596
|
+
"design-reversal"
|
|
1597
|
+
]
|
|
1598
|
+
},
|
|
1599
|
+
"why": {
|
|
1600
|
+
"type": "string",
|
|
1601
|
+
"minLength": 1
|
|
1602
|
+
}
|
|
1603
|
+
},
|
|
1604
|
+
"required": [
|
|
1605
|
+
"title",
|
|
1606
|
+
"reason"
|
|
1607
|
+
]
|
|
1608
|
+
}
|
|
1609
|
+
}
|
|
1610
|
+
},
|
|
1611
|
+
"required": [
|
|
1612
|
+
"schema_version",
|
|
1613
|
+
"id",
|
|
1614
|
+
"session_id",
|
|
1615
|
+
"occurred_at",
|
|
1616
|
+
"source",
|
|
1617
|
+
"type",
|
|
1618
|
+
"reviewer",
|
|
1619
|
+
"target"
|
|
1620
|
+
]
|
|
1621
|
+
},
|
|
1622
|
+
{
|
|
1623
|
+
"type": "object",
|
|
1624
|
+
"properties": {
|
|
1625
|
+
"schema_version": {
|
|
1626
|
+
"type": "string",
|
|
1627
|
+
"pattern": "^0\\.\\d+\\.\\d+$"
|
|
1506
1628
|
},
|
|
1507
1629
|
"id": {
|
|
1508
1630
|
"type": "string",
|