@basou/core 0.29.0 → 0.30.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@basou/core",
3
- "version": "0.29.0",
3
+ "version": "0.30.0",
4
4
  "type": "module",
5
5
  "license": "Apache-2.0",
6
6
  "description": "Core primitives for Basou: sessions, events, approvals, git capability",
@@ -1256,6 +1256,125 @@
1256
1256
  "body"
1257
1257
  ]
1258
1258
  },
1259
+ {
1260
+ "type": "object",
1261
+ "properties": {
1262
+ "schema_version": {
1263
+ "type": "string",
1264
+ "const": "0.1.0"
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
+ },
1259
1378
  {
1260
1379
  "type": "object",
1261
1380
  "properties": {
@@ -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",
@@ -1497,6 +1498,125 @@
1497
1498
  "body"
1498
1499
  ]
1499
1500
  },
1501
+ {
1502
+ "type": "object",
1503
+ "properties": {
1504
+ "schema_version": {
1505
+ "type": "string",
1506
+ "const": "0.1.0"
1507
+ },
1508
+ "id": {
1509
+ "type": "string",
1510
+ "pattern": "^evt_[0-7][0-9A-HJKMNP-TV-Z]{25}$",
1511
+ "description": "Basou evt id: `evt_` followed by a 26-character Crockford Base32 ULID."
1512
+ },
1513
+ "session_id": {
1514
+ "type": "string",
1515
+ "pattern": "^ses_[0-7][0-9A-HJKMNP-TV-Z]{25}$",
1516
+ "description": "Basou ses id: `ses_` followed by a 26-character Crockford Base32 ULID."
1517
+ },
1518
+ "occurred_at": {
1519
+ "type": "string",
1520
+ "format": "date-time",
1521
+ "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)))$"
1522
+ },
1523
+ "source": {
1524
+ "type": "string",
1525
+ "minLength": 1
1526
+ },
1527
+ "prev_hash": {
1528
+ "type": "string"
1529
+ },
1530
+ "type": {
1531
+ "type": "string",
1532
+ "const": "review_recorded"
1533
+ },
1534
+ "reviewer": {
1535
+ "type": "string",
1536
+ "minLength": 1
1537
+ },
1538
+ "target": {
1539
+ "type": "string",
1540
+ "minLength": 1
1541
+ },
1542
+ "verdict": {
1543
+ "type": "string",
1544
+ "enum": [
1545
+ "pass",
1546
+ "needs-attention",
1547
+ "fail"
1548
+ ]
1549
+ },
1550
+ "findings": {
1551
+ "type": "array",
1552
+ "items": {
1553
+ "type": "object",
1554
+ "properties": {
1555
+ "title": {
1556
+ "type": "string",
1557
+ "minLength": 1
1558
+ },
1559
+ "severity": {
1560
+ "type": "string",
1561
+ "enum": [
1562
+ "high",
1563
+ "medium",
1564
+ "low"
1565
+ ]
1566
+ },
1567
+ "location": {
1568
+ "type": "string",
1569
+ "minLength": 1
1570
+ },
1571
+ "summary": {
1572
+ "type": "string",
1573
+ "minLength": 1
1574
+ }
1575
+ },
1576
+ "required": [
1577
+ "title"
1578
+ ]
1579
+ }
1580
+ },
1581
+ "blocked": {
1582
+ "type": "array",
1583
+ "items": {
1584
+ "type": "object",
1585
+ "properties": {
1586
+ "title": {
1587
+ "type": "string",
1588
+ "minLength": 1
1589
+ },
1590
+ "reason": {
1591
+ "type": "string",
1592
+ "enum": [
1593
+ "spec-deviation",
1594
+ "design-reversal"
1595
+ ]
1596
+ },
1597
+ "why": {
1598
+ "type": "string",
1599
+ "minLength": 1
1600
+ }
1601
+ },
1602
+ "required": [
1603
+ "title",
1604
+ "reason"
1605
+ ]
1606
+ }
1607
+ }
1608
+ },
1609
+ "required": [
1610
+ "schema_version",
1611
+ "id",
1612
+ "session_id",
1613
+ "occurred_at",
1614
+ "source",
1615
+ "type",
1616
+ "reviewer",
1617
+ "target"
1618
+ ]
1619
+ },
1500
1620
  {
1501
1621
  "type": "object",
1502
1622
  "properties": {
@@ -45,6 +45,7 @@
45
45
  "enum": [
46
46
  "claude-code-adapter",
47
47
  "claude-code-import",
48
+ "codex-adapter",
48
49
  "codex-import",
49
50
  "human",
50
51
  "import",