@reviewsensei/cli-darwin-arm64 0.8.20 → 0.8.23

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 (22) hide show
  1. package/README.md +1 -1
  2. package/bin/_internal/base_library.zip +0 -0
  3. package/bin/_internal/certifi/cacert.pem +0 -74
  4. package/bin/_internal/review_sensei/schemas/api-run-accounting.schema.json +104 -1
  5. package/bin/_internal/review_sensei/schemas/baseline-evidence.schema.json +3 -0
  6. package/bin/_internal/review_sensei/schemas/eligibility-v4.schema.json +3 -0
  7. package/bin/_internal/review_sensei/schemas/eligibility-v5.schema.json +3 -0
  8. package/bin/_internal/review_sensei/schemas/eligibility-v8.schema.json +224 -83
  9. package/bin/_internal/review_sensei/schemas/evidence-manifest.schema.json +2 -1
  10. package/bin/_internal/review_sensei/schemas/review-result.schema.json +21 -0
  11. package/bin/_internal/review_sensei/schemas/session-record.schema.json +848 -93
  12. package/bin/_internal/{review_sensei-0.8.20.dist-info → review_sensei-0.8.23.dist-info}/METADATA +5 -3
  13. package/bin/_internal/{review_sensei-0.8.20.dist-info → review_sensei-0.8.23.dist-info}/RECORD +98 -48
  14. package/bin/review-sensei +0 -0
  15. package/package.json +1 -1
  16. /package/bin/_internal/{review_sensei-0.8.20.dist-info → review_sensei-0.8.23.dist-info}/INSTALLER +0 -0
  17. /package/bin/_internal/{review_sensei-0.8.20.dist-info → review_sensei-0.8.23.dist-info}/REQUESTED +0 -0
  18. /package/bin/_internal/{review_sensei-0.8.20.dist-info → review_sensei-0.8.23.dist-info}/WHEEL +0 -0
  19. /package/bin/_internal/{review_sensei-0.8.20.dist-info → review_sensei-0.8.23.dist-info}/direct_url.json +0 -0
  20. /package/bin/_internal/{review_sensei-0.8.20.dist-info → review_sensei-0.8.23.dist-info}/entry_points.txt +0 -0
  21. /package/bin/_internal/{review_sensei-0.8.20.dist-info → review_sensei-0.8.23.dist-info}/licenses/LICENSE +0 -0
  22. /package/bin/_internal/{review_sensei-0.8.20.dist-info → review_sensei-0.8.23.dist-info}/top_level.txt +0 -0
package/README.md CHANGED
@@ -8,7 +8,7 @@ Install the public launcher, which selects the matching native package:
8
8
 
9
9
  <!-- release-installation:package-npm-1:start -->
10
10
  ```console
11
- npm install --save-dev @reviewsensei/cli@0.8.20
11
+ npm install --save-dev @reviewsensei/cli@0.8.23
12
12
  npx review-sensei --help
13
13
  ```
14
14
  <!-- release-installation:package-npm-1:end -->
Binary file
@@ -2005,80 +2005,6 @@ RQuQ+q7hv53yrlc8pa6yVvSLZUDp/TGBLPQ5Cdjua6e0ph0VpZj3AYHYhX3zUVxx
2005
2005
  iN66zB+Afko=
2006
2006
  -----END CERTIFICATE-----
2007
2007
 
2008
- # Issuer: CN=emSign ECC Root CA - G3 O=eMudhra Technologies Limited OU=emSign PKI
2009
- # Subject: CN=emSign ECC Root CA - G3 O=eMudhra Technologies Limited OU=emSign PKI
2010
- # Label: "emSign ECC Root CA - G3"
2011
- # Serial: 287880440101571086945156
2012
- # MD5 Fingerprint: ce:0b:72:d1:9f:88:8e:d0:50:03:e8:e3:b8:8b:67:40
2013
- # SHA1 Fingerprint: 30:43:fa:4f:f2:57:dc:a0:c3:80:ee:2e:58:ea:78:b2:3f:e6:bb:c1
2014
- # SHA256 Fingerprint: 86:a1:ec:ba:08:9c:4a:8d:3b:be:27:34:c6:12:ba:34:1d:81:3e:04:3c:f9:e8:a8:62:cd:5c:57:a3:6b:be:6b
2015
- -----BEGIN CERTIFICATE-----
2016
- MIICTjCCAdOgAwIBAgIKPPYHqWhwDtqLhDAKBggqhkjOPQQDAzBrMQswCQYDVQQG
2017
- EwJJTjETMBEGA1UECxMKZW1TaWduIFBLSTElMCMGA1UEChMcZU11ZGhyYSBUZWNo
2018
- bm9sb2dpZXMgTGltaXRlZDEgMB4GA1UEAxMXZW1TaWduIEVDQyBSb290IENBIC0g
2019
- RzMwHhcNMTgwMjE4MTgzMDAwWhcNNDMwMjE4MTgzMDAwWjBrMQswCQYDVQQGEwJJ
2020
- TjETMBEGA1UECxMKZW1TaWduIFBLSTElMCMGA1UEChMcZU11ZGhyYSBUZWNobm9s
2021
- b2dpZXMgTGltaXRlZDEgMB4GA1UEAxMXZW1TaWduIEVDQyBSb290IENBIC0gRzMw
2022
- djAQBgcqhkjOPQIBBgUrgQQAIgNiAAQjpQy4LRL1KPOxst3iAhKAnjlfSU2fySU0
2023
- WXTsuwYc58Byr+iuL+FBVIcUqEqy6HyC5ltqtdyzdc6LBtCGI79G1Y4PPwT01xyS
2024
- fvalY8L1X44uT6EYGQIrMgqCZH0Wk9GjQjBAMB0GA1UdDgQWBBR8XQKEE9TMipuB
2025
- zhccLikenEhjQjAOBgNVHQ8BAf8EBAMCAQYwDwYDVR0TAQH/BAUwAwEB/zAKBggq
2026
- hkjOPQQDAwNpADBmAjEAvvNhzwIQHWSVB7gYboiFBS+DCBeQyh+KTOgNG3qxrdWB
2027
- CUfvO6wIBHxcmbHtRwfSAjEAnbpV/KlK6O3t5nYBQnvI+GDZjVGLVTv7jHvrZQnD
2028
- +JbNR6iC8hZVdyR+EhCVBCyj
2029
- -----END CERTIFICATE-----
2030
-
2031
- # Issuer: CN=emSign Root CA - C1 O=eMudhra Inc OU=emSign PKI
2032
- # Subject: CN=emSign Root CA - C1 O=eMudhra Inc OU=emSign PKI
2033
- # Label: "emSign Root CA - C1"
2034
- # Serial: 825510296613316004955058
2035
- # MD5 Fingerprint: d8:e3:5d:01:21:fa:78:5a:b0:df:ba:d2:ee:2a:5f:68
2036
- # SHA1 Fingerprint: e7:2e:f1:df:fc:b2:09:28:cf:5d:d4:d5:67:37:b1:51:cb:86:4f:01
2037
- # SHA256 Fingerprint: 12:56:09:aa:30:1d:a0:a2:49:b9:7a:82:39:cb:6a:34:21:6f:44:dc:ac:9f:39:54:b1:42:92:f2:e8:c8:60:8f
2038
- -----BEGIN CERTIFICATE-----
2039
- MIIDczCCAlugAwIBAgILAK7PALrEzzL4Q7IwDQYJKoZIhvcNAQELBQAwVjELMAkG
2040
- A1UEBhMCVVMxEzARBgNVBAsTCmVtU2lnbiBQS0kxFDASBgNVBAoTC2VNdWRocmEg
2041
- SW5jMRwwGgYDVQQDExNlbVNpZ24gUm9vdCBDQSAtIEMxMB4XDTE4MDIxODE4MzAw
2042
- MFoXDTQzMDIxODE4MzAwMFowVjELMAkGA1UEBhMCVVMxEzARBgNVBAsTCmVtU2ln
2043
- biBQS0kxFDASBgNVBAoTC2VNdWRocmEgSW5jMRwwGgYDVQQDExNlbVNpZ24gUm9v
2044
- dCBDQSAtIEMxMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAz+upufGZ
2045
- BczYKCFK83M0UYRWEPWgTywS4/oTmifQz/l5GnRfHXk5/Fv4cI7gklL35CX5VIPZ
2046
- HdPIWoU/Xse2B+4+wM6ar6xWQio5JXDWv7V7Nq2s9nPczdcdioOl+yuQFTdrHCZH
2047
- 3DspVpNqs8FqOp099cGXOFgFixwR4+S0uF2FHYP+eF8LRWgYSKVGczQ7/g/IdrvH
2048
- GPMF0Ybzhe3nudkyrVWIzqa2kbBPrH4VI5b2P/AgNBbeCsbEBEV5f6f9vtKppa+c
2049
- xSMq9zwhbL2vj07FOrLzNBL834AaSaTUqZX3noleoomslMuoaJuvimUnzYnu3Yy1
2050
- aylwQ6BpC+S5DwIDAQABo0IwQDAdBgNVHQ4EFgQU/qHgcB4qAzlSWkK+XJGFehiq
2051
- TbUwDgYDVR0PAQH/BAQDAgEGMA8GA1UdEwEB/wQFMAMBAf8wDQYJKoZIhvcNAQEL
2052
- BQADggEBAMJKVvoVIXsoounlHfv4LcQ5lkFMOycsxGwYFYDGrK9HWS8mC+M2sO87
2053
- /kOXSTKZEhVb3xEp/6tT+LvBeA+snFOvV71ojD1pM/CjoCNjO2RnIkSt1XHLVip4
2054
- kqNPEjE2NuLe/gDEo2APJ62gsIq1NnpSob0n9CAnYuhNlCQT5AoE6TyrLshDCUrG
2055
- YQTlSTR+08TI9Q/Aqum6VF7zYytPT1DU/rl7mYw9wC68AivTxEDkigcxHpvOJpkT
2056
- +xHqmiIMERnHXhuBUDDIlhJu58tBf5E7oke3VIAb3ADMmpDqw8NQBmIMMMAVSKeo
2057
- WXzhriKi4gp6D/piq1JM4fHfyr6DDUI=
2058
- -----END CERTIFICATE-----
2059
-
2060
- # Issuer: CN=emSign ECC Root CA - C3 O=eMudhra Inc OU=emSign PKI
2061
- # Subject: CN=emSign ECC Root CA - C3 O=eMudhra Inc OU=emSign PKI
2062
- # Label: "emSign ECC Root CA - C3"
2063
- # Serial: 582948710642506000014504
2064
- # MD5 Fingerprint: 3e:53:b3:a3:81:ee:d7:10:f8:d3:b0:1d:17:92:f5:d5
2065
- # SHA1 Fingerprint: b6:af:43:c2:9b:81:53:7d:f6:ef:6b:c3:1f:1f:60:15:0c:ee:48:66
2066
- # SHA256 Fingerprint: bc:4d:80:9b:15:18:9d:78:db:3e:1d:8c:f4:f9:72:6a:79:5d:a1:64:3c:a5:f1:35:8e:1d:db:0e:dc:0d:7e:b3
2067
- -----BEGIN CERTIFICATE-----
2068
- MIICKzCCAbGgAwIBAgIKe3G2gla4EnycqDAKBggqhkjOPQQDAzBaMQswCQYDVQQG
2069
- EwJVUzETMBEGA1UECxMKZW1TaWduIFBLSTEUMBIGA1UEChMLZU11ZGhyYSBJbmMx
2070
- IDAeBgNVBAMTF2VtU2lnbiBFQ0MgUm9vdCBDQSAtIEMzMB4XDTE4MDIxODE4MzAw
2071
- MFoXDTQzMDIxODE4MzAwMFowWjELMAkGA1UEBhMCVVMxEzARBgNVBAsTCmVtU2ln
2072
- biBQS0kxFDASBgNVBAoTC2VNdWRocmEgSW5jMSAwHgYDVQQDExdlbVNpZ24gRUND
2073
- IFJvb3QgQ0EgLSBDMzB2MBAGByqGSM49AgEGBSuBBAAiA2IABP2lYa57JhAd6bci
2074
- MK4G9IGzsUJxlTm801Ljr6/58pc1kjZGDoeVjbk5Wum739D+yAdBPLtVb4Ojavti
2075
- sIGJAnB9SMVK4+kiVCJNk7tCDK93nCOmfddhEc5lx/h//vXyqaNCMEAwHQYDVR0O
2076
- BBYEFPtaSNCAIEDyqOkAB2kZd6fmw/TPMA4GA1UdDwEB/wQEAwIBBjAPBgNVHRMB
2077
- Af8EBTADAQH/MAoGCCqGSM49BAMDA2gAMGUCMQC02C8Cif22TGK6Q04ThHK1rt0c
2078
- 3ta13FaPWEBaLd4gTCKDypOofu4SQMfWh0/434UCMBwUZOR8loMRnLDRWmFLpg9J
2079
- 0wD8ofzkpf9/rdcw0Md3f76BB1UwUCAU9Vc4CqgxUQ==
2080
- -----END CERTIFICATE-----
2081
-
2082
2008
  # Issuer: CN=Hongkong Post Root CA 3 O=Hongkong Post
2083
2009
  # Subject: CN=Hongkong Post Root CA 3 O=Hongkong Post
2084
2010
  # Label: "Hongkong Post Root CA 3"
@@ -168,7 +168,8 @@
168
168
  "version": {
169
169
  "enum": [
170
170
  "caller-requests-v1",
171
- "caller-requests-v2"
171
+ "caller-requests-v2",
172
+ "caller-requests-v3"
172
173
  ]
173
174
  },
174
175
  "previous_record": {
@@ -489,6 +490,23 @@
489
490
  "type": "object"
490
491
  }
491
492
  }
493
+ },
494
+ {
495
+ "allOf": [
496
+ {
497
+ "$ref": "evidence-manifest.schema.json"
498
+ },
499
+ {
500
+ "properties": {
501
+ "item_count": {
502
+ "const": 1
503
+ },
504
+ "parts": {
505
+ "maxItems": 1
506
+ }
507
+ }
508
+ }
509
+ ]
492
510
  }
493
511
  ]
494
512
  },
@@ -533,6 +551,25 @@
533
551
  ]
534
552
  }
535
553
  }
554
+ },
555
+ {
556
+ "type": "object",
557
+ "additionalProperties": false,
558
+ "required": [
559
+ "kind",
560
+ "reason"
561
+ ],
562
+ "properties": {
563
+ "kind": {
564
+ "const": "canceled_unstarted"
565
+ },
566
+ "reason": {
567
+ "enum": [
568
+ "source_edited",
569
+ "source_deleted"
570
+ ]
571
+ }
572
+ }
536
573
  }
537
574
  ]
538
575
  }
@@ -620,6 +657,22 @@
620
657
  "items": {
621
658
  "$ref": "#/$defs/request"
622
659
  }
660
+ },
661
+ "action": {
662
+ "properties": {
663
+ "result": {
664
+ "if": {
665
+ "type": "object"
666
+ },
667
+ "then": {
668
+ "properties": {
669
+ "encoding": {
670
+ "const": "inline-json-v1"
671
+ }
672
+ }
673
+ }
674
+ }
675
+ }
623
676
  }
624
677
  }
625
678
  }
@@ -638,6 +691,56 @@
638
691
  "items": {
639
692
  "$ref": "#/$defs/request-pair"
640
693
  }
694
+ },
695
+ "action": {
696
+ "properties": {
697
+ "result": {
698
+ "if": {
699
+ "type": "object"
700
+ },
701
+ "then": {
702
+ "properties": {
703
+ "encoding": {
704
+ "const": "inline-json-v1"
705
+ }
706
+ }
707
+ }
708
+ }
709
+ }
710
+ }
711
+ }
712
+ }
713
+ },
714
+ {
715
+ "if": {
716
+ "properties": {
717
+ "version": {
718
+ "const": "caller-requests-v3"
719
+ }
720
+ }
721
+ },
722
+ "then": {
723
+ "properties": {
724
+ "completed": {
725
+ "items": {
726
+ "$ref": "#/$defs/request-pair"
727
+ }
728
+ },
729
+ "action": {
730
+ "properties": {
731
+ "result": {
732
+ "if": {
733
+ "type": "object"
734
+ },
735
+ "then": {
736
+ "properties": {
737
+ "item_count": {
738
+ "const": 1
739
+ }
740
+ }
741
+ }
742
+ }
743
+ }
641
744
  }
642
745
  }
643
746
  }
@@ -140,6 +140,9 @@
140
140
  },
141
141
  "blocking": {
142
142
  "type": "boolean"
143
+ },
144
+ "needs_human": {
145
+ "type": "boolean"
143
146
  }
144
147
  }
145
148
  }
@@ -80,6 +80,9 @@
80
80
  "has_human_adjudication_findings": {
81
81
  "type": "boolean"
82
82
  },
83
+ "has_uncertain_findings": {
84
+ "type": "boolean"
85
+ },
83
86
  "coverage_blocker": {
84
87
  "enum": [
85
88
  null,
@@ -81,6 +81,9 @@
81
81
  "has_human_adjudication_findings": {
82
82
  "type": "boolean"
83
83
  },
84
+ "has_uncertain_findings": {
85
+ "type": "boolean"
86
+ },
84
87
  "coverage_blocker": {
85
88
  "enum": [
86
89
  null,
@@ -33,94 +33,235 @@
33
33
  }
34
34
  },
35
35
  "native_union": {
36
- "type": "object",
37
- "additionalProperties": false,
38
- "required": [
39
- "schema_version",
40
- "repository_id",
41
- "pull_request",
42
- "producer_id",
43
- "head_sha",
44
- "base_sha",
45
- "transaction_id",
46
- "result_sha256",
47
- "plan_sha256",
48
- "inline_count",
49
- "parts"
50
- ],
51
- "properties": {
52
- "schema_version": {
53
- "const": "native-review-union-v1"
54
- },
55
- "repository_id": {
56
- "type": "integer",
57
- "minimum": 1,
58
- "maximum": 9223372036854775807
59
- },
60
- "pull_request": {
61
- "type": "integer",
62
- "minimum": 1,
63
- "maximum": 2147483647
64
- },
65
- "producer_id": {
66
- "type": "integer",
67
- "minimum": 1,
68
- "maximum": 9223372036854775807
69
- },
70
- "head_sha": {
71
- "type": "string",
72
- "pattern": "^[a-f0-9]{40}$"
73
- },
74
- "base_sha": {
75
- "type": "string",
76
- "pattern": "^[a-f0-9]{40}$"
77
- },
78
- "transaction_id": {
79
- "type": "string",
80
- "pattern": "^[a-f0-9]{64}$"
81
- },
82
- "result_sha256": {
83
- "type": "string",
84
- "pattern": "^[a-f0-9]{64}$"
85
- },
86
- "plan_sha256": {
87
- "type": "string",
88
- "pattern": "^[a-f0-9]{64}$"
89
- },
90
- "inline_count": {
91
- "type": "integer",
92
- "minimum": 0,
93
- "maximum": 250
36
+ "oneOf": [
37
+ {
38
+ "type": "object",
39
+ "additionalProperties": false,
40
+ "required": [
41
+ "schema_version",
42
+ "repository_id",
43
+ "pull_request",
44
+ "producer_id",
45
+ "head_sha",
46
+ "base_sha",
47
+ "transaction_id",
48
+ "result_sha256",
49
+ "plan_sha256",
50
+ "inline_count",
51
+ "parts"
52
+ ],
53
+ "properties": {
54
+ "schema_version": {
55
+ "const": "native-review-union-v1"
56
+ },
57
+ "repository_id": {
58
+ "type": "integer",
59
+ "minimum": 1,
60
+ "maximum": 9223372036854775807
61
+ },
62
+ "pull_request": {
63
+ "type": "integer",
64
+ "minimum": 1,
65
+ "maximum": 2147483647
66
+ },
67
+ "producer_id": {
68
+ "type": "integer",
69
+ "minimum": 1,
70
+ "maximum": 9223372036854775807
71
+ },
72
+ "head_sha": {
73
+ "type": "string",
74
+ "pattern": "^[a-f0-9]{40}$"
75
+ },
76
+ "base_sha": {
77
+ "type": "string",
78
+ "pattern": "^[a-f0-9]{40}$"
79
+ },
80
+ "transaction_id": {
81
+ "type": "string",
82
+ "pattern": "^[a-f0-9]{64}$"
83
+ },
84
+ "result_sha256": {
85
+ "type": "string",
86
+ "pattern": "^[a-f0-9]{64}$"
87
+ },
88
+ "plan_sha256": {
89
+ "type": "string",
90
+ "pattern": "^[a-f0-9]{64}$"
91
+ },
92
+ "inline_count": {
93
+ "type": "integer",
94
+ "minimum": 0,
95
+ "maximum": 250
96
+ },
97
+ "parts": {
98
+ "type": "array",
99
+ "maxItems": 8,
100
+ "items": {
101
+ "type": "object",
102
+ "additionalProperties": false,
103
+ "required": [
104
+ "native_id",
105
+ "content_sha256",
106
+ "finding_count"
107
+ ],
108
+ "properties": {
109
+ "native_id": {
110
+ "type": "string",
111
+ "pattern": "^[1-9][0-9]{0,18}$"
112
+ },
113
+ "content_sha256": {
114
+ "type": "string",
115
+ "pattern": "^[a-f0-9]{64}$"
116
+ },
117
+ "finding_count": {
118
+ "type": "integer",
119
+ "minimum": 1,
120
+ "maximum": 32
121
+ }
122
+ }
123
+ }
124
+ }
125
+ }
94
126
  },
95
- "parts": {
96
- "type": "array",
97
- "maxItems": 8,
98
- "items": {
99
- "type": "object",
100
- "additionalProperties": false,
101
- "required": [
102
- "native_id",
103
- "content_sha256",
104
- "finding_count"
105
- ],
106
- "properties": {
107
- "native_id": {
108
- "type": "string",
109
- "pattern": "^[1-9][0-9]{0,18}$"
110
- },
111
- "content_sha256": {
112
- "type": "string",
113
- "pattern": "^[a-f0-9]{64}$"
114
- },
115
- "finding_count": {
116
- "type": "integer",
117
- "minimum": 1,
118
- "maximum": 32
127
+ {
128
+ "type": "object",
129
+ "additionalProperties": false,
130
+ "required": [
131
+ "schema_version",
132
+ "repository_id",
133
+ "pull_request",
134
+ "producer_id",
135
+ "head_sha",
136
+ "base_sha",
137
+ "transaction_id",
138
+ "result_sha256",
139
+ "plan_sha256",
140
+ "inline_count",
141
+ "parts",
142
+ "reused_roots"
143
+ ],
144
+ "properties": {
145
+ "schema_version": {
146
+ "const": "native-review-union-v2"
147
+ },
148
+ "repository_id": {
149
+ "type": "integer",
150
+ "minimum": 1,
151
+ "maximum": 9223372036854775807
152
+ },
153
+ "pull_request": {
154
+ "type": "integer",
155
+ "minimum": 1,
156
+ "maximum": 2147483647
157
+ },
158
+ "producer_id": {
159
+ "type": "integer",
160
+ "minimum": 1,
161
+ "maximum": 9223372036854775807
162
+ },
163
+ "head_sha": {
164
+ "type": "string",
165
+ "pattern": "^[a-f0-9]{40}$"
166
+ },
167
+ "base_sha": {
168
+ "type": "string",
169
+ "pattern": "^[a-f0-9]{40}$"
170
+ },
171
+ "transaction_id": {
172
+ "type": "string",
173
+ "pattern": "^[a-f0-9]{64}$"
174
+ },
175
+ "result_sha256": {
176
+ "type": "string",
177
+ "pattern": "^[a-f0-9]{64}$"
178
+ },
179
+ "plan_sha256": {
180
+ "type": "string",
181
+ "pattern": "^[a-f0-9]{64}$"
182
+ },
183
+ "inline_count": {
184
+ "type": "integer",
185
+ "minimum": 0,
186
+ "maximum": 250
187
+ },
188
+ "parts": {
189
+ "type": "array",
190
+ "maxItems": 8,
191
+ "items": {
192
+ "type": "object",
193
+ "additionalProperties": false,
194
+ "required": [
195
+ "native_id",
196
+ "content_sha256",
197
+ "finding_count"
198
+ ],
199
+ "properties": {
200
+ "native_id": {
201
+ "type": "string",
202
+ "pattern": "^[1-9][0-9]{0,18}$"
203
+ },
204
+ "content_sha256": {
205
+ "type": "string",
206
+ "pattern": "^[a-f0-9]{64}$"
207
+ },
208
+ "finding_count": {
209
+ "type": "integer",
210
+ "minimum": 1,
211
+ "maximum": 32
212
+ }
213
+ }
214
+ }
215
+ },
216
+ "reused_roots": {
217
+ "type": "array",
218
+ "minItems": 1,
219
+ "maxItems": 50,
220
+ "items": {
221
+ "type": "object",
222
+ "additionalProperties": false,
223
+ "required": [
224
+ "instance",
225
+ "thread_id",
226
+ "comment_id",
227
+ "review_id",
228
+ "native_head_sha",
229
+ "body_sha256"
230
+ ],
231
+ "properties": {
232
+ "instance": {
233
+ "type": "string",
234
+ "pattern": "^[a-f0-9]{64}$"
235
+ },
236
+ "thread_id": {
237
+ "type": "string",
238
+ "minLength": 1,
239
+ "maxLength": 256
240
+ },
241
+ "comment_id": {
242
+ "type": "integer",
243
+ "minimum": 1,
244
+ "maximum": 9223372036854775807
245
+ },
246
+ "review_id": {
247
+ "type": "integer",
248
+ "minimum": 1,
249
+ "maximum": 9223372036854775807
250
+ },
251
+ "native_head_sha": {
252
+ "type": "string",
253
+ "pattern": "^[a-f0-9]{40}$"
254
+ },
255
+ "body_sha256": {
256
+ "type": "string",
257
+ "pattern": "^[a-f0-9]{64}$"
258
+ }
259
+ }
119
260
  }
120
261
  }
121
262
  }
122
263
  }
123
- }
264
+ ]
124
265
  }
125
266
  }
126
267
  }
@@ -85,7 +85,8 @@
85
85
  "feedback",
86
86
  "evidence",
87
87
  "queue",
88
- "dispositions"
88
+ "dispositions",
89
+ "finding-lifecycle"
89
90
  ]
90
91
  },
91
92
  "schema_version": {
@@ -6,6 +6,27 @@
6
6
  "additionalProperties": false,
7
7
  "required": ["summary", "comments", "provider"],
8
8
  "properties": {
9
+ "decision_pass": {
10
+ "type": "object", "additionalProperties": false,
11
+ "required": ["schema_version", "policy_digest", "input_sha256", "inventory_sha256", "status", "provider", "model", "models", "candidates", "calls", "input_bytes", "output_bytes", "output_reserved", "elapsed_ms", "verification_called"],
12
+ "properties": {
13
+ "schema_version": {"const": "1.0"},
14
+ "policy_digest": {"type": "string", "pattern": "^[a-f0-9]{64}$"},
15
+ "input_sha256": {"type": "string", "pattern": "^[a-f0-9]{64}$"},
16
+ "inventory_sha256": {"type": "string", "pattern": "^[a-f0-9]{64}$"},
17
+ "status": {"enum": ["complete", "incomplete"]},
18
+ "provider": {"type": "string", "minLength": 1, "maxLength": 256},
19
+ "model": {"type": "string", "minLength": 1, "maxLength": 256},
20
+ "models": {"type": "array", "maxItems": 8, "items": {"type": "object"}},
21
+ "candidates": {"type": "array", "maxItems": 250, "items": {"type": "object"}},
22
+ "calls": {"type": "integer", "minimum": 0, "maximum": 8},
23
+ "input_bytes": {"type": "integer", "minimum": 0, "maximum": 262144},
24
+ "output_bytes": {"type": "integer", "minimum": 0},
25
+ "output_reserved": {"type": "integer", "minimum": 0, "maximum": 65536},
26
+ "elapsed_ms": {"type": "integer", "minimum": 0},
27
+ "verification_called": {"type": "boolean"}
28
+ }
29
+ },
9
30
  "publication_selection": {"$ref": "https://reviewsensei.dev/schemas/v1/publication-selection.schema.json"},
10
31
  "review_verdict": {"$ref": "https://reviewsensei.dev/schemas/v1/review-verdict.schema.json"},
11
32
  "summary": {"type": "string", "minLength": 1},