@reviewsensei/cli-linux-x64-gnu 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.
- package/README.md +1 -1
- package/bin/_internal/base_library.zip +0 -0
- package/bin/_internal/certifi/cacert.pem +0 -200
- package/bin/_internal/review_sensei/schemas/api-run-accounting.schema.json +104 -1
- package/bin/_internal/review_sensei/schemas/baseline-evidence.schema.json +3 -0
- package/bin/_internal/review_sensei/schemas/eligibility-v4.schema.json +3 -0
- package/bin/_internal/review_sensei/schemas/eligibility-v5.schema.json +3 -0
- package/bin/_internal/review_sensei/schemas/eligibility-v8.schema.json +224 -83
- package/bin/_internal/review_sensei/schemas/evidence-manifest.schema.json +2 -1
- package/bin/_internal/review_sensei/schemas/review-result.schema.json +21 -0
- package/bin/_internal/review_sensei/schemas/session-record.schema.json +848 -93
- package/bin/_internal/review_sensei.egg-info/PKG-INFO +5 -3
- package/bin/_internal/review_sensei.egg-info/SOURCES.txt +66 -0
- package/bin/review-sensei +0 -0
- package/package.json +1 -1
|
@@ -33,94 +33,235 @@
|
|
|
33
33
|
}
|
|
34
34
|
},
|
|
35
35
|
"native_union": {
|
|
36
|
-
"
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
"
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
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
|
-
|
|
96
|
-
"type": "
|
|
97
|
-
"
|
|
98
|
-
"
|
|
99
|
-
"
|
|
100
|
-
"
|
|
101
|
-
"
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
"
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
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
|
}
|
|
@@ -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},
|