@reviewsensei/cli-win32-x64 0.8.12 → 0.8.14
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/jsonschema-4.26.0.dist-info/RECORD +1 -1
- package/bin/_internal/review_sensei/schemas/api-run-accounting.schema.json +560 -0
- package/bin/_internal/review_sensei/schemas/session-record.schema.json +3 -0
- package/bin/_internal/{review_sensei-0.8.12.dist-info → review_sensei-0.8.14.dist-info}/METADATA +36 -9
- package/bin/_internal/{review_sensei-0.8.12.dist-info → review_sensei-0.8.14.dist-info}/RECORD +23 -20
- package/bin/review-sensei.exe +0 -0
- package/package.json +1 -1
- /package/bin/_internal/{review_sensei-0.8.12.dist-info → review_sensei-0.8.14.dist-info}/INSTALLER +0 -0
- /package/bin/_internal/{review_sensei-0.8.12.dist-info → review_sensei-0.8.14.dist-info}/REQUESTED +0 -0
- /package/bin/_internal/{review_sensei-0.8.12.dist-info → review_sensei-0.8.14.dist-info}/WHEEL +0 -0
- /package/bin/_internal/{review_sensei-0.8.12.dist-info → review_sensei-0.8.14.dist-info}/direct_url.json +0 -0
- /package/bin/_internal/{review_sensei-0.8.12.dist-info → review_sensei-0.8.14.dist-info}/entry_points.txt +0 -0
- /package/bin/_internal/{review_sensei-0.8.12.dist-info → review_sensei-0.8.14.dist-info}/licenses/LICENSE +0 -0
- /package/bin/_internal/{review_sensei-0.8.12.dist-info → review_sensei-0.8.14.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.
|
|
11
|
+
npm install --save-dev @reviewsensei/cli@0.8.14
|
|
12
12
|
npx review-sensei --help
|
|
13
13
|
```
|
|
14
14
|
<!-- release-installation:package-npm-1:end -->
|
|
Binary file
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
../../Scripts/jsonschema.exe,sha256=
|
|
1
|
+
../../Scripts/jsonschema.exe,sha256=JZYuFcf5MB_qgYRG3iKb6LdEpPSLo9jP6Bx2mgbqTLI,108352
|
|
2
2
|
jsonschema-4.26.0.dist-info/INSTALLER,sha256=zuuue4knoyJ-UwPPXg8fezS7VCrXJQrAP7zeNuwvFQg,4
|
|
3
3
|
jsonschema-4.26.0.dist-info/METADATA,sha256=BbGJhmypipbaOTS_a4NofO0_-FMlJzt34WtwX22LJtI,7592
|
|
4
4
|
jsonschema-4.26.0.dist-info/RECORD,,
|
|
@@ -0,0 +1,560 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
+
"$id": "https://reviewsensei.dev/schemas/v1/api-run-accounting.schema.json",
|
|
4
|
+
"title": "Current caller API request accounting values",
|
|
5
|
+
"type": "object",
|
|
6
|
+
"additionalProperties": false,
|
|
7
|
+
"required": [
|
|
8
|
+
"identity",
|
|
9
|
+
"configuration",
|
|
10
|
+
"owner",
|
|
11
|
+
"startup",
|
|
12
|
+
"startup_used",
|
|
13
|
+
"prior_nonstartup_liability",
|
|
14
|
+
"blocks",
|
|
15
|
+
"completed",
|
|
16
|
+
"version"
|
|
17
|
+
],
|
|
18
|
+
"properties": {
|
|
19
|
+
"identity": {
|
|
20
|
+
"type": "object",
|
|
21
|
+
"additionalProperties": false,
|
|
22
|
+
"required": [
|
|
23
|
+
"repository_id",
|
|
24
|
+
"run_id"
|
|
25
|
+
],
|
|
26
|
+
"properties": {
|
|
27
|
+
"repository_id": {
|
|
28
|
+
"type": "integer",
|
|
29
|
+
"minimum": 1
|
|
30
|
+
},
|
|
31
|
+
"run_id": {
|
|
32
|
+
"type": "integer",
|
|
33
|
+
"minimum": 1
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
},
|
|
37
|
+
"configuration": {
|
|
38
|
+
"type": "object",
|
|
39
|
+
"additionalProperties": false,
|
|
40
|
+
"required": [
|
|
41
|
+
"commit",
|
|
42
|
+
"digest",
|
|
43
|
+
"limit"
|
|
44
|
+
],
|
|
45
|
+
"properties": {
|
|
46
|
+
"commit": {
|
|
47
|
+
"type": "string",
|
|
48
|
+
"pattern": "^[a-f0-9]{40}$"
|
|
49
|
+
},
|
|
50
|
+
"digest": {
|
|
51
|
+
"type": "string",
|
|
52
|
+
"pattern": "^[a-f0-9]{64}$"
|
|
53
|
+
},
|
|
54
|
+
"limit": {
|
|
55
|
+
"type": "integer",
|
|
56
|
+
"minimum": 1,
|
|
57
|
+
"maximum": 9007199254740991
|
|
58
|
+
}
|
|
59
|
+
}
|
|
60
|
+
},
|
|
61
|
+
"owner": {
|
|
62
|
+
"$ref": "#/$defs/owner"
|
|
63
|
+
},
|
|
64
|
+
"startup": {
|
|
65
|
+
"type": "object",
|
|
66
|
+
"additionalProperties": false,
|
|
67
|
+
"required": [
|
|
68
|
+
"slots"
|
|
69
|
+
],
|
|
70
|
+
"properties": {
|
|
71
|
+
"slots": {
|
|
72
|
+
"type": "array",
|
|
73
|
+
"items": {
|
|
74
|
+
"type": "object",
|
|
75
|
+
"additionalProperties": false,
|
|
76
|
+
"required": [
|
|
77
|
+
"job",
|
|
78
|
+
"attempt",
|
|
79
|
+
"requests"
|
|
80
|
+
],
|
|
81
|
+
"properties": {
|
|
82
|
+
"job": {
|
|
83
|
+
"type": "string",
|
|
84
|
+
"pattern": "^[A-Za-z0-9_.:-]{1,128}$"
|
|
85
|
+
},
|
|
86
|
+
"attempt": {
|
|
87
|
+
"type": "integer",
|
|
88
|
+
"enum": [
|
|
89
|
+
1,
|
|
90
|
+
2
|
|
91
|
+
]
|
|
92
|
+
},
|
|
93
|
+
"requests": {
|
|
94
|
+
"type": "array",
|
|
95
|
+
"items": {
|
|
96
|
+
"type": "string",
|
|
97
|
+
"pattern": "^[A-Za-z0-9_.:-]{1,128}$"
|
|
98
|
+
},
|
|
99
|
+
"minItems": 1
|
|
100
|
+
}
|
|
101
|
+
}
|
|
102
|
+
},
|
|
103
|
+
"minItems": 1
|
|
104
|
+
}
|
|
105
|
+
}
|
|
106
|
+
},
|
|
107
|
+
"startup_used": {
|
|
108
|
+
"type": "array",
|
|
109
|
+
"items": {
|
|
110
|
+
"type": "array",
|
|
111
|
+
"prefixItems": [
|
|
112
|
+
{
|
|
113
|
+
"type": "string",
|
|
114
|
+
"pattern": "^[A-Za-z0-9_.:-]{1,128}$"
|
|
115
|
+
},
|
|
116
|
+
{
|
|
117
|
+
"type": "integer",
|
|
118
|
+
"enum": [
|
|
119
|
+
1,
|
|
120
|
+
2
|
|
121
|
+
]
|
|
122
|
+
}
|
|
123
|
+
],
|
|
124
|
+
"items": false,
|
|
125
|
+
"minItems": 2,
|
|
126
|
+
"maxItems": 2
|
|
127
|
+
}
|
|
128
|
+
},
|
|
129
|
+
"prior_nonstartup_liability": {
|
|
130
|
+
"type": "integer",
|
|
131
|
+
"minimum": 0
|
|
132
|
+
},
|
|
133
|
+
"blocks": {
|
|
134
|
+
"type": "array",
|
|
135
|
+
"items": {
|
|
136
|
+
"type": "object",
|
|
137
|
+
"additionalProperties": false,
|
|
138
|
+
"required": [
|
|
139
|
+
"block_id",
|
|
140
|
+
"issued_by",
|
|
141
|
+
"undispatched",
|
|
142
|
+
"pending"
|
|
143
|
+
],
|
|
144
|
+
"properties": {
|
|
145
|
+
"block_id": {
|
|
146
|
+
"type": "string",
|
|
147
|
+
"pattern": "^[A-Za-z0-9_.:-]{1,128}$"
|
|
148
|
+
},
|
|
149
|
+
"issued_by": {
|
|
150
|
+
"$ref": "#/$defs/owner"
|
|
151
|
+
},
|
|
152
|
+
"undispatched": {
|
|
153
|
+
"type": "integer",
|
|
154
|
+
"minimum": 0
|
|
155
|
+
},
|
|
156
|
+
"pending": {
|
|
157
|
+
"type": "array",
|
|
158
|
+
"items": {
|
|
159
|
+
"$ref": "#/$defs/request"
|
|
160
|
+
}
|
|
161
|
+
}
|
|
162
|
+
}
|
|
163
|
+
}
|
|
164
|
+
},
|
|
165
|
+
"completed": {
|
|
166
|
+
"type": "array",
|
|
167
|
+
"items": {
|
|
168
|
+
"$ref": "#/$defs/request"
|
|
169
|
+
}
|
|
170
|
+
},
|
|
171
|
+
"version": {
|
|
172
|
+
"const": "caller-requests-v1"
|
|
173
|
+
},
|
|
174
|
+
"previous_record": {
|
|
175
|
+
"oneOf": [
|
|
176
|
+
{
|
|
177
|
+
"type": "null"
|
|
178
|
+
},
|
|
179
|
+
{
|
|
180
|
+
"type": "object",
|
|
181
|
+
"additionalProperties": false,
|
|
182
|
+
"required": [
|
|
183
|
+
"run_id",
|
|
184
|
+
"root_sha256",
|
|
185
|
+
"manifest"
|
|
186
|
+
],
|
|
187
|
+
"properties": {
|
|
188
|
+
"run_id": {
|
|
189
|
+
"type": "integer",
|
|
190
|
+
"minimum": 1
|
|
191
|
+
},
|
|
192
|
+
"root_sha256": {
|
|
193
|
+
"type": "string",
|
|
194
|
+
"pattern": "^[a-f0-9]{64}$"
|
|
195
|
+
},
|
|
196
|
+
"manifest": {
|
|
197
|
+
"$ref": "evidence-manifest.schema.json"
|
|
198
|
+
}
|
|
199
|
+
}
|
|
200
|
+
}
|
|
201
|
+
]
|
|
202
|
+
},
|
|
203
|
+
"terminal_transaction": {
|
|
204
|
+
"oneOf": [
|
|
205
|
+
{
|
|
206
|
+
"type": "null"
|
|
207
|
+
},
|
|
208
|
+
{
|
|
209
|
+
"type": "string",
|
|
210
|
+
"pattern": "^[a-f0-9]{64}$"
|
|
211
|
+
}
|
|
212
|
+
]
|
|
213
|
+
},
|
|
214
|
+
"analysis_abort": {
|
|
215
|
+
"oneOf": [
|
|
216
|
+
{
|
|
217
|
+
"type": "null"
|
|
218
|
+
},
|
|
219
|
+
{
|
|
220
|
+
"type": "object",
|
|
221
|
+
"additionalProperties": false,
|
|
222
|
+
"required": [
|
|
223
|
+
"source_root",
|
|
224
|
+
"cleanup_root",
|
|
225
|
+
"transaction",
|
|
226
|
+
"entry_state",
|
|
227
|
+
"run_id",
|
|
228
|
+
"owner"
|
|
229
|
+
],
|
|
230
|
+
"properties": {
|
|
231
|
+
"source_root": {
|
|
232
|
+
"type": "string",
|
|
233
|
+
"pattern": "^[a-f0-9]{64}$"
|
|
234
|
+
},
|
|
235
|
+
"cleanup_root": {
|
|
236
|
+
"type": "string",
|
|
237
|
+
"pattern": "^[a-f0-9]{64}$"
|
|
238
|
+
},
|
|
239
|
+
"transaction": {
|
|
240
|
+
"$ref": "review-transaction.schema.json"
|
|
241
|
+
},
|
|
242
|
+
"entry_state": {
|
|
243
|
+
"const": "not_started"
|
|
244
|
+
},
|
|
245
|
+
"run_id": {
|
|
246
|
+
"type": "integer",
|
|
247
|
+
"minimum": 1
|
|
248
|
+
},
|
|
249
|
+
"owner": {
|
|
250
|
+
"$ref": "#/$defs/owner"
|
|
251
|
+
}
|
|
252
|
+
}
|
|
253
|
+
}
|
|
254
|
+
]
|
|
255
|
+
},
|
|
256
|
+
"action": {
|
|
257
|
+
"oneOf": [
|
|
258
|
+
{
|
|
259
|
+
"type": "null"
|
|
260
|
+
},
|
|
261
|
+
{
|
|
262
|
+
"type": "object",
|
|
263
|
+
"additionalProperties": false,
|
|
264
|
+
"required": [
|
|
265
|
+
"intent",
|
|
266
|
+
"phase",
|
|
267
|
+
"execution_started",
|
|
268
|
+
"result",
|
|
269
|
+
"outcome"
|
|
270
|
+
],
|
|
271
|
+
"properties": {
|
|
272
|
+
"intent": {
|
|
273
|
+
"type": "object",
|
|
274
|
+
"additionalProperties": false,
|
|
275
|
+
"required": [
|
|
276
|
+
"purpose",
|
|
277
|
+
"source",
|
|
278
|
+
"run_id",
|
|
279
|
+
"owner",
|
|
280
|
+
"head_sha",
|
|
281
|
+
"configuration_digest",
|
|
282
|
+
"operation_key",
|
|
283
|
+
"source_root"
|
|
284
|
+
],
|
|
285
|
+
"properties": {
|
|
286
|
+
"purpose": {
|
|
287
|
+
"enum": [
|
|
288
|
+
"command",
|
|
289
|
+
"reply"
|
|
290
|
+
]
|
|
291
|
+
},
|
|
292
|
+
"source": {
|
|
293
|
+
"type": "object",
|
|
294
|
+
"additionalProperties": false,
|
|
295
|
+
"required": [
|
|
296
|
+
"kind",
|
|
297
|
+
"id",
|
|
298
|
+
"updated_at",
|
|
299
|
+
"body_sha256"
|
|
300
|
+
],
|
|
301
|
+
"properties": {
|
|
302
|
+
"kind": {
|
|
303
|
+
"enum": [
|
|
304
|
+
"issue_comment",
|
|
305
|
+
"review_comment"
|
|
306
|
+
]
|
|
307
|
+
},
|
|
308
|
+
"id": {
|
|
309
|
+
"type": "integer",
|
|
310
|
+
"minimum": 1
|
|
311
|
+
},
|
|
312
|
+
"updated_at": {
|
|
313
|
+
"type": "string",
|
|
314
|
+
"pattern": "^[0-9]{4}-[0-9]{2}-[0-9]{2}T[0-9]{2}:[0-9]{2}:[0-9]{2}(?:\\.[0-9]{1,6})?Z$"
|
|
315
|
+
},
|
|
316
|
+
"body_sha256": {
|
|
317
|
+
"type": "string",
|
|
318
|
+
"pattern": "^[a-f0-9]{64}$"
|
|
319
|
+
}
|
|
320
|
+
}
|
|
321
|
+
},
|
|
322
|
+
"run_id": {
|
|
323
|
+
"type": "integer",
|
|
324
|
+
"minimum": 1
|
|
325
|
+
},
|
|
326
|
+
"owner": {
|
|
327
|
+
"$ref": "#/$defs/owner"
|
|
328
|
+
},
|
|
329
|
+
"head_sha": {
|
|
330
|
+
"type": "string",
|
|
331
|
+
"pattern": "^[a-f0-9]{40}$"
|
|
332
|
+
},
|
|
333
|
+
"configuration_digest": {
|
|
334
|
+
"type": "string",
|
|
335
|
+
"pattern": "^[a-f0-9]{64}$"
|
|
336
|
+
},
|
|
337
|
+
"operation_key": {
|
|
338
|
+
"type": "string",
|
|
339
|
+
"pattern": "^[a-f0-9]{64}$"
|
|
340
|
+
},
|
|
341
|
+
"source_root": {
|
|
342
|
+
"type": "string",
|
|
343
|
+
"pattern": "^[a-f0-9]{64}$"
|
|
344
|
+
}
|
|
345
|
+
}
|
|
346
|
+
},
|
|
347
|
+
"phase": {
|
|
348
|
+
"enum": [
|
|
349
|
+
"pending",
|
|
350
|
+
"terminal"
|
|
351
|
+
]
|
|
352
|
+
},
|
|
353
|
+
"execution_started": {
|
|
354
|
+
"type": "boolean"
|
|
355
|
+
},
|
|
356
|
+
"result": {
|
|
357
|
+
"oneOf": [
|
|
358
|
+
{
|
|
359
|
+
"type": "null"
|
|
360
|
+
},
|
|
361
|
+
{
|
|
362
|
+
"type": "object",
|
|
363
|
+
"additionalProperties": false,
|
|
364
|
+
"required": [
|
|
365
|
+
"encoding",
|
|
366
|
+
"binding",
|
|
367
|
+
"item_count",
|
|
368
|
+
"sha256",
|
|
369
|
+
"document"
|
|
370
|
+
],
|
|
371
|
+
"properties": {
|
|
372
|
+
"encoding": {
|
|
373
|
+
"const": "inline-json-v1"
|
|
374
|
+
},
|
|
375
|
+
"binding": {
|
|
376
|
+
"type": "object",
|
|
377
|
+
"additionalProperties": false,
|
|
378
|
+
"required": [
|
|
379
|
+
"repository",
|
|
380
|
+
"repository_id",
|
|
381
|
+
"pull_request",
|
|
382
|
+
"base_sha",
|
|
383
|
+
"head_sha",
|
|
384
|
+
"policy_digest",
|
|
385
|
+
"configuration_digest",
|
|
386
|
+
"generation",
|
|
387
|
+
"producer",
|
|
388
|
+
"purpose",
|
|
389
|
+
"schema_version"
|
|
390
|
+
],
|
|
391
|
+
"properties": {
|
|
392
|
+
"repository": {
|
|
393
|
+
"type": "string",
|
|
394
|
+
"pattern": "^[A-Za-z0-9_.-]+/[A-Za-z0-9_.-]+$",
|
|
395
|
+
"maxLength": 256
|
|
396
|
+
},
|
|
397
|
+
"repository_id": {
|
|
398
|
+
"type": [
|
|
399
|
+
"integer",
|
|
400
|
+
"null"
|
|
401
|
+
],
|
|
402
|
+
"minimum": 1,
|
|
403
|
+
"maximum": 2147483647
|
|
404
|
+
},
|
|
405
|
+
"pull_request": {
|
|
406
|
+
"type": "integer",
|
|
407
|
+
"minimum": 1,
|
|
408
|
+
"maximum": 2147483647
|
|
409
|
+
},
|
|
410
|
+
"base_sha": {
|
|
411
|
+
"type": "string",
|
|
412
|
+
"pattern": "^[a-f0-9]{40}$"
|
|
413
|
+
},
|
|
414
|
+
"head_sha": {
|
|
415
|
+
"type": "string",
|
|
416
|
+
"pattern": "^[a-f0-9]{40}$"
|
|
417
|
+
},
|
|
418
|
+
"policy_digest": {
|
|
419
|
+
"type": "string",
|
|
420
|
+
"pattern": "^[a-f0-9]{64}$"
|
|
421
|
+
},
|
|
422
|
+
"configuration_digest": {
|
|
423
|
+
"type": "string",
|
|
424
|
+
"pattern": "^[a-f0-9]{64}$"
|
|
425
|
+
},
|
|
426
|
+
"generation": {
|
|
427
|
+
"type": "integer",
|
|
428
|
+
"minimum": 0,
|
|
429
|
+
"maximum": 2147483647
|
|
430
|
+
},
|
|
431
|
+
"producer": {
|
|
432
|
+
"type": "string",
|
|
433
|
+
"pattern": "^(local-ledger|github-bot:[1-9][0-9]{0,18})$"
|
|
434
|
+
},
|
|
435
|
+
"purpose": {
|
|
436
|
+
"enum": [
|
|
437
|
+
"baseline",
|
|
438
|
+
"human-inventory",
|
|
439
|
+
"feedback",
|
|
440
|
+
"evidence",
|
|
441
|
+
"queue",
|
|
442
|
+
"dispositions"
|
|
443
|
+
]
|
|
444
|
+
},
|
|
445
|
+
"schema_version": {
|
|
446
|
+
"const": "1.0"
|
|
447
|
+
}
|
|
448
|
+
}
|
|
449
|
+
},
|
|
450
|
+
"item_count": {
|
|
451
|
+
"type": "integer",
|
|
452
|
+
"const": 1
|
|
453
|
+
},
|
|
454
|
+
"sha256": {
|
|
455
|
+
"type": "string",
|
|
456
|
+
"pattern": "^[a-f0-9]{64}$"
|
|
457
|
+
},
|
|
458
|
+
"document": {
|
|
459
|
+
"type": "object"
|
|
460
|
+
}
|
|
461
|
+
}
|
|
462
|
+
}
|
|
463
|
+
]
|
|
464
|
+
},
|
|
465
|
+
"outcome": {
|
|
466
|
+
"oneOf": [
|
|
467
|
+
{
|
|
468
|
+
"type": "null"
|
|
469
|
+
},
|
|
470
|
+
{
|
|
471
|
+
"type": "object",
|
|
472
|
+
"additionalProperties": false,
|
|
473
|
+
"required": [
|
|
474
|
+
"kind",
|
|
475
|
+
"reason"
|
|
476
|
+
],
|
|
477
|
+
"properties": {
|
|
478
|
+
"kind": {
|
|
479
|
+
"enum": [
|
|
480
|
+
"applied",
|
|
481
|
+
"already_applied",
|
|
482
|
+
"explicit_noop"
|
|
483
|
+
]
|
|
484
|
+
},
|
|
485
|
+
"reason": {
|
|
486
|
+
"oneOf": [
|
|
487
|
+
{
|
|
488
|
+
"type": "null"
|
|
489
|
+
},
|
|
490
|
+
{
|
|
491
|
+
"enum": [
|
|
492
|
+
"status",
|
|
493
|
+
"already_handled",
|
|
494
|
+
"policy_disabled",
|
|
495
|
+
"not_a_command",
|
|
496
|
+
"unauthorized",
|
|
497
|
+
"writes_disabled",
|
|
498
|
+
"not_mentioned",
|
|
499
|
+
"source_already_handled",
|
|
500
|
+
"no_change"
|
|
501
|
+
]
|
|
502
|
+
}
|
|
503
|
+
]
|
|
504
|
+
}
|
|
505
|
+
}
|
|
506
|
+
}
|
|
507
|
+
]
|
|
508
|
+
}
|
|
509
|
+
}
|
|
510
|
+
}
|
|
511
|
+
]
|
|
512
|
+
}
|
|
513
|
+
},
|
|
514
|
+
"$defs": {
|
|
515
|
+
"owner": {
|
|
516
|
+
"type": "object",
|
|
517
|
+
"additionalProperties": false,
|
|
518
|
+
"required": [
|
|
519
|
+
"run_attempt",
|
|
520
|
+
"job",
|
|
521
|
+
"generation"
|
|
522
|
+
],
|
|
523
|
+
"properties": {
|
|
524
|
+
"run_attempt": {
|
|
525
|
+
"type": "integer",
|
|
526
|
+
"enum": [
|
|
527
|
+
1,
|
|
528
|
+
2
|
|
529
|
+
]
|
|
530
|
+
},
|
|
531
|
+
"job": {
|
|
532
|
+
"type": "string",
|
|
533
|
+
"pattern": "^[A-Za-z0-9_.:-]{1,128}$"
|
|
534
|
+
},
|
|
535
|
+
"generation": {
|
|
536
|
+
"type": "integer",
|
|
537
|
+
"minimum": 0
|
|
538
|
+
}
|
|
539
|
+
}
|
|
540
|
+
},
|
|
541
|
+
"request": {
|
|
542
|
+
"type": "object",
|
|
543
|
+
"additionalProperties": false,
|
|
544
|
+
"required": [
|
|
545
|
+
"request_id",
|
|
546
|
+
"deadline_unix_ms"
|
|
547
|
+
],
|
|
548
|
+
"properties": {
|
|
549
|
+
"request_id": {
|
|
550
|
+
"type": "string",
|
|
551
|
+
"pattern": "^[A-Za-z0-9_.:-]{1,128}$"
|
|
552
|
+
},
|
|
553
|
+
"deadline_unix_ms": {
|
|
554
|
+
"type": "integer",
|
|
555
|
+
"minimum": 1
|
|
556
|
+
}
|
|
557
|
+
}
|
|
558
|
+
}
|
|
559
|
+
}
|
|
560
|
+
}
|
package/bin/_internal/{review_sensei-0.8.12.dist-info → review_sensei-0.8.14.dist-info}/METADATA
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: review-sensei
|
|
3
|
-
Version: 0.8.
|
|
3
|
+
Version: 0.8.14
|
|
4
4
|
Summary: Provider-neutral AI code review engine with an Ollama adapter.
|
|
5
5
|
Author: Mohamad Alsabbagh
|
|
6
6
|
License-Expression: MIT
|
|
@@ -37,10 +37,11 @@ providers later.
|
|
|
37
37
|
> primary usage path is running ReviewSensei in your own GitHub Actions
|
|
38
38
|
> workflow. Setup-v4 callers follow the operator-managed public `v5` tag; the
|
|
39
39
|
> Worker validates that tag before creating the setup PR and the broker resolves
|
|
40
|
-
> it again when issuing a capability.
|
|
41
|
-
>
|
|
42
|
-
>
|
|
43
|
-
>
|
|
40
|
+
> it again when issuing a capability. Current callers and Worker use the same
|
|
41
|
+
> purpose-bound authority format; obsolete authority is refused. The example
|
|
42
|
+
> workflow installs exact versioned packages; its
|
|
43
|
+
> [version-specific installation contract](docs/installation.md#github-workflow-example)
|
|
44
|
+
> defines registry requirements and source fallback. Supported paths prove the intended
|
|
44
45
|
> release identity against a compatibility manifest; live canary and `v5`
|
|
45
46
|
> movement remain operator-only. It
|
|
46
47
|
> defaults to a local Ollama endpoint and does not require a hosted backend.
|
|
@@ -94,10 +95,28 @@ and a repository without that file uses the packaged defaults:
|
|
|
94
95
|
```yaml
|
|
95
96
|
schema: 1
|
|
96
97
|
|
|
98
|
+
api_request_limit: 512
|
|
99
|
+
|
|
97
100
|
inference:
|
|
98
101
|
backend: local-ollama
|
|
99
102
|
```
|
|
100
103
|
|
|
104
|
+
`api_request_limit` bounds ReviewSensei caller HTTP attempts for one authenticated
|
|
105
|
+
Actions run, across startup, review or conversation work, publication and cleanup.
|
|
106
|
+
OIDC, GitHub reads and writes, and each Worker POST count; a Worker POST counts
|
|
107
|
+
once regardless of its internal fanout. Inference keeps its separate resource
|
|
108
|
+
limits. Checkout, package installation and artifact upload are infrastructure
|
|
109
|
+
outside this allowance.
|
|
110
|
+
|
|
111
|
+
The default is 512. Positive integers through 9,007,199,254,740,991 are accepted;
|
|
112
|
+
admission requires at least 238 for review/reply or 240 for commands under the
|
|
113
|
+
current finite reservation policy. These minimums do not promise completion.
|
|
114
|
+
Independent pagination, retained-state, output and deadline limits still apply.
|
|
115
|
+
Failed, uncertain and abandoned allocations stay charged. A supported successor
|
|
116
|
+
attempt shares the original run's allowance and must prove predecessor cessation.
|
|
117
|
+
See [the accounting decision](docs/adr/0111-caller-api-work-allowance.md) for the
|
|
118
|
+
recovery and deployment contract.
|
|
119
|
+
|
|
101
120
|
Select a backend on the command line when one run needs a different one:
|
|
102
121
|
|
|
103
122
|
```bash
|
|
@@ -139,8 +158,8 @@ provider-neutral `@reviewsensei/cli` launcher:
|
|
|
139
158
|
|
|
140
159
|
<!-- release-installation:package-npm-1:start -->
|
|
141
160
|
```bash
|
|
142
|
-
npx --yes @reviewsensei/cli@0.8.
|
|
143
|
-
npx --yes @reviewsensei/cli@0.8.
|
|
161
|
+
npx --yes @reviewsensei/cli@0.8.14 --version
|
|
162
|
+
npx --yes @reviewsensei/cli@0.8.14 --help
|
|
144
163
|
```
|
|
145
164
|
<!-- release-installation:package-npm-1:end -->
|
|
146
165
|
|
|
@@ -265,6 +284,12 @@ make the corresponding GitHub API write; Cloudflare does not perform that
|
|
|
265
284
|
write. Review and reply capabilities grant `pull_requests: write`;
|
|
266
285
|
`learning_write` additionally grants `contents: write`. A review-publication
|
|
267
286
|
token cannot write repository contents.
|
|
287
|
+
The proposed [repository-bound cleanup capability](docs/adr/0110-repository-bound-thread-cleanup.md)
|
|
288
|
+
is separate from those ordinary grants. It is an unreleased implementation
|
|
289
|
+
candidate requiring qualified broker/hosted rollout and explicit live issuance
|
|
290
|
+
approval; hosted 0.3.15 does not enable it. See the
|
|
291
|
+
[cleanup recovery instructions](docs/approval-recovery.md#separate-cleanup-capability-unreleased-candidate)
|
|
292
|
+
before using a new capability to recover a permission denial.
|
|
268
293
|
Cloudflare does not run the review engine or send prompts to the model provider;
|
|
269
294
|
the GitHub Actions job performs those operations in the configured provider
|
|
270
295
|
environment.
|
|
@@ -800,8 +825,10 @@ finding by its `RS-` id. Up to 10 IDs can be named in the same comment,
|
|
|
800
825
|
separated by spaces or commas. An override
|
|
801
826
|
re-checks approval on this commit without a new AI review. Comment
|
|
802
827
|
`@reviewsensei verify` to retry that check. An override applies to the current commit only. A new push needs a
|
|
803
|
-
new override. Cumulative `review remaining` windows
|
|
804
|
-
|
|
828
|
+
new override. Cumulative `review remaining` windows require core 0.8.12 / hosted
|
|
829
|
+
0.3.13 or a compatible later pair, a qualified activated runner, and caller
|
|
830
|
+
migration. Package publication alone does not activate an installed workflow.
|
|
831
|
+
See the [bounded approval recovery guide](docs/approval-recovery.md)
|
|
805
832
|
for batching, retained evidence, thread retries and actual native approval receipts;
|
|
806
833
|
its version applicability distinguishes released behavior from pending repairs.
|
|
807
834
|
`review.json` is uploaded only when
|
package/bin/_internal/{review_sensei-0.8.12.dist-info → review_sensei-0.8.14.dist-info}/RECORD
RENAMED
|
@@ -1,17 +1,18 @@
|
|
|
1
|
-
../../Scripts/review-sensei.exe,sha256=
|
|
2
|
-
review_sensei-0.8.
|
|
3
|
-
review_sensei-0.8.
|
|
4
|
-
review_sensei-0.8.
|
|
5
|
-
review_sensei-0.8.
|
|
6
|
-
review_sensei-0.8.
|
|
7
|
-
review_sensei-0.8.
|
|
8
|
-
review_sensei-0.8.
|
|
9
|
-
review_sensei-0.8.
|
|
10
|
-
review_sensei-0.8.
|
|
1
|
+
../../Scripts/review-sensei.exe,sha256=Wrjn7D8D6gevIgMkVo74jUTkTaN7pW_gnmoglLA5y6Q,108355
|
|
2
|
+
review_sensei-0.8.14.dist-info/INSTALLER,sha256=zuuue4knoyJ-UwPPXg8fezS7VCrXJQrAP7zeNuwvFQg,4
|
|
3
|
+
review_sensei-0.8.14.dist-info/METADATA,sha256=09i3OrFbaabEwlRIB_dEbtlc5Eh4PCU42ONyljGFRu0,47499
|
|
4
|
+
review_sensei-0.8.14.dist-info/RECORD,,
|
|
5
|
+
review_sensei-0.8.14.dist-info/REQUESTED,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
6
|
+
review_sensei-0.8.14.dist-info/WHEEL,sha256=mOdXR9C3wMVov7cSY8PY-XCzo3SmmWCHvGQr5csJoao,91
|
|
7
|
+
review_sensei-0.8.14.dist-info/direct_url.json,sha256=EDhpXdSFq1qZfl2FCT07Hg2gleInjGFaAwkFy0selqU,67
|
|
8
|
+
review_sensei-0.8.14.dist-info/entry_points.txt,sha256=Eki1ToC6hiOv8PMEAd2Cnbh5WWstVzzzf0XmHBHzpMQ,57
|
|
9
|
+
review_sensei-0.8.14.dist-info/licenses/LICENSE,sha256=-eVBqOV92YK1K76UIcK5MrgUh0EiQMe8xNhSysQE68s,1095
|
|
10
|
+
review_sensei-0.8.14.dist-info/top_level.txt,sha256=VCF4gJIJPP3MPJntoITDjMhJ8MUZfVLj-z3-VUQ9XDY,14
|
|
11
11
|
review_sensei/__init__.py,sha256=YH2Fqjg8GyrlS9b6AyWxqYdbBo1-7pJ6YK6NSA9HMzM,10576
|
|
12
12
|
review_sensei/__main__.py,sha256=0iDYjdmiXNBinFF23WUyotsdpA6wFKjoB5aw3esTSRg,83
|
|
13
13
|
review_sensei/__pycache__/__init__.cpython-311.pyc,,
|
|
14
14
|
review_sensei/__pycache__/__main__.cpython-311.pyc,,
|
|
15
|
+
review_sensei/__pycache__/api_work.cpython-311.pyc,,
|
|
15
16
|
review_sensei/__pycache__/assessment_history_index.cpython-311.pyc,,
|
|
16
17
|
review_sensei/__pycache__/assessment_queue.cpython-311.pyc,,
|
|
17
18
|
review_sensei/__pycache__/baseline.cpython-311.pyc,,
|
|
@@ -71,15 +72,16 @@ review_sensei/__pycache__/validation.cpython-311.pyc,,
|
|
|
71
72
|
review_sensei/__pycache__/verifier.cpython-311.pyc,,
|
|
72
73
|
review_sensei/__pycache__/work_recovery.cpython-311.pyc,,
|
|
73
74
|
review_sensei/__pycache__/workflow.cpython-311.pyc,,
|
|
75
|
+
review_sensei/api_work.py,sha256=9wa-2lH9fMV5A7hHCe1v3X3ADpJdb17W6HBgS4puH2Y,29237
|
|
74
76
|
review_sensei/assessment_history_index.py,sha256=lHCscTb1hopPhS5wNTNFBGUTbLyRHBVOEH65xna3k2w,23693
|
|
75
77
|
review_sensei/assessment_queue.py,sha256=ALcIEuToVGVRBVr1NvYKRE5qI9ZtYPRzWvefKgah9XM,69509
|
|
76
78
|
review_sensei/baseline.py,sha256=xk4yYKbQYBjY-OVv9qkbWLxP0MSGB1GlGdphq7r73TU,69621
|
|
77
|
-
review_sensei/bounded_evidence.py,sha256=
|
|
79
|
+
review_sensei/bounded_evidence.py,sha256=uM6xbeFA34Wht3AQr4Kv6m9YVHDwaeMW-b9vC6Yh_UQ,34694
|
|
78
80
|
review_sensei/broker_diagnostics.py,sha256=S1ofSpl6snxxMJMPq1l3FeMH-lMkfRgLEY5l_ZJC5Ok,7933
|
|
79
81
|
review_sensei/budgets.py,sha256=K2zcUPkhS4hC9CEEJxvKYbTtzQ0_VnXLYWFWxMqiFts,12681
|
|
80
|
-
review_sensei/cli.py,sha256=
|
|
82
|
+
review_sensei/cli.py,sha256=4Ic5drINIeqvP6AlplPEElEXEiPGJGcW0L-QfTXpe1s,171704
|
|
81
83
|
review_sensei/concurrency.py,sha256=7nqMDNaIl7YoKafkAF1ctXu6D5SFxXosm-1407OKimQ,20097
|
|
82
|
-
review_sensei/configuration.py,sha256=
|
|
84
|
+
review_sensei/configuration.py,sha256=V0KJ1fE5RXMCtljW4QgVsf1aLxlyHtgZPrlMQxBXtWo,96452
|
|
83
85
|
review_sensei/context.py,sha256=MqDxmZtukvpt0IA3ytFCkCiTnmoQicD46rSI77k4-Zs,111931
|
|
84
86
|
review_sensei/convergence.py,sha256=EMuRavFd-FzEuqUuFWmdMeFmvaNyeDhVKmpavHd1cvE,51724
|
|
85
87
|
review_sensei/conversation.py,sha256=f2okyaDSV2SMlHkZQN7-IPj4yTKFO3Um1-k_gKK9TRw,11374
|
|
@@ -92,12 +94,12 @@ review_sensei/default_categories/04-tests.json,sha256=UHhvH79bae9FmLJT_MYNvki4Y9
|
|
|
92
94
|
review_sensei/default_stages/01-default-review.json,sha256=-y9LP_8XNqEPpRN2K8z_qMHRqXyP6ZsiydzZFHozZwY,3463
|
|
93
95
|
review_sensei/dependencies.py,sha256=OLNAFDMzmdtRVxex0XSpzwVVJl8jkCtUqxEk-0KohbE,5998
|
|
94
96
|
review_sensei/diagnostics.py,sha256=f9qzrFGUpzFRV78E3K0jOkdVHAFNe9wtzwXSf-fO_cQ,49358
|
|
95
|
-
review_sensei/diff.py,sha256=
|
|
97
|
+
review_sensei/diff.py,sha256=46w4Wc9hmkTl0vV3wdXKkCU3tXbLkZxdYpQbkYLpmMs,32245
|
|
96
98
|
review_sensei/discovery_work.py,sha256=OQ3w4uHm-clunq15O-lJlV1f68hogBSMbeJLFFyHHgc,33940
|
|
97
99
|
review_sensei/disposition.py,sha256=TuKXNvvdb7NLqH23WqOdnbsFSZVDlQ1d9FjKZcrT2o0,68589
|
|
98
100
|
review_sensei/disposition_snapshot.py,sha256=3BNYubzKTjxYgV9T6b4u3XTHNOhR1ohvR6I7qRYIB68,3179
|
|
99
101
|
review_sensei/document_context.py,sha256=s90rRWr9rFTBHfkhDITu44RPTks3KmJ5R5-MoToR9Ww,21169
|
|
100
|
-
review_sensei/errors.py,sha256=
|
|
102
|
+
review_sensei/errors.py,sha256=jQUezd3H5Zrfyjs2YXkjMl0icmLRQStVhLdE1mXH2mg,3037
|
|
101
103
|
review_sensei/evaluation.py,sha256=HWwK-mPsEFwwPV6sh_yvNVUtnbhNnrLVzinsrhLp0GM,62803
|
|
102
104
|
review_sensei/evaluation_control.py,sha256=_PBlTSt9gphlIkWRLYXc-hE6DpJ6RWUQoccu7ZX7YrY,8158
|
|
103
105
|
review_sensei/evidence.py,sha256=_dwRQt3b49YViJWpdqYtWfMKIiBfVax1Vb2sKYJqqME,21225
|
|
@@ -112,17 +114,17 @@ review_sensei/hosting/github/trigger.py,sha256=VVYqQi-DPUxZ6-68NgksKULOPy0LhUejo
|
|
|
112
114
|
review_sensei/human_assessment.py,sha256=F2TkAX115LclO41eOXvqkpb6XBEvsnNdBl1drtGyfY8,51570
|
|
113
115
|
review_sensei/human_file_review.py,sha256=y1NVwNPWSQxArfjhIgJUoQIfGoyJiTbS0Bwafxhm9KI,30817
|
|
114
116
|
review_sensei/human_inventory.py,sha256=4u6ThXP_cVoaxwWRICtRztdtMM6OqlDDG9D81yoEBJI,5968
|
|
115
|
-
review_sensei/hunk_subdivision.py,sha256=
|
|
117
|
+
review_sensei/hunk_subdivision.py,sha256=qFvE-4fAGQxY2hrJVHApoJtL4V-TkRkH8AeHyow1dck,7136
|
|
116
118
|
review_sensei/learnings.py,sha256=AF9Dqyreb9WQLWLZiciuyRXNviSso6sYVTe2xzx1ZfY,21434
|
|
117
119
|
review_sensei/mixed_coverage.py,sha256=FN5_uhrVl_mB3YgjZ9oLldvpBpuU64z4fVXm5WhcgD8,15779
|
|
118
120
|
review_sensei/models.py,sha256=hTCrcMtARAz78wf_n-LDGi5LmLi4G6kEq64jmYf327I,102692
|
|
119
121
|
review_sensei/openrouter_qualification.py,sha256=gTAjTL352aNETM6zf3Hmr3bOwSv58d5GW2NgP5u0JBs,31281
|
|
120
122
|
review_sensei/operation_witness.py,sha256=nQ45pf2K1upKPmwfWQtZrKYMnUQwGjeFQtDA3gg9vVU,1008
|
|
121
|
-
review_sensei/outcomes.py,sha256=
|
|
123
|
+
review_sensei/outcomes.py,sha256=uLDudKSkNiIIxlB-VSaD4THNjQVZ9hmSQUiLdeUWpas,37104
|
|
122
124
|
review_sensei/patches.py,sha256=P9plsU7-5Z-Jxy8EJBFQX5hX3bcmxBoRJxTnEqA_tbA,15981
|
|
123
125
|
review_sensei/placement.py,sha256=kuK8ndCbLuGmzMv6K6UFdmPVZoBtZdrJqIKPMJKnk4A,7184
|
|
124
126
|
review_sensei/planning.py,sha256=aj0McySCB8WlMQESrwAbg6hklGahNhf0vIPCJKrLq7Q,42249
|
|
125
|
-
review_sensei/presentation.py,sha256=
|
|
127
|
+
review_sensei/presentation.py,sha256=ZhLyhhY60wZqVN0nmZSLYpA9N40aSuj9Ba6wT5zJFtU,40369
|
|
126
128
|
review_sensei/provider_config.py,sha256=fIHbjH35zIBoAVo4pzJFzESzTUET50bEauUa7vy0PAw,16691
|
|
127
129
|
review_sensei/providers/__init__.py,sha256=gmfB6gm0QN_FfN3lJJ0kN8QgTtJom4ayzaqUkLmwQwc,779
|
|
128
130
|
review_sensei/providers/__pycache__/__init__.cpython-311.pyc,,
|
|
@@ -149,6 +151,7 @@ review_sensei/release_manifest.py,sha256=a7pPhr0YVBCrzC6Q8JC4HiqTD3aBUyTYV4Y0827
|
|
|
149
151
|
review_sensei/remaining_progress.py,sha256=GFAeG1NPcGAOhhVRYNKn_WjvcM8NLjLJN7XkZB_IlFQ,7217
|
|
150
152
|
review_sensei/rescan.py,sha256=O_8MHroJxMqA-MctoTdwLK14M0tA24QGpgEOqmWkkEA,8286
|
|
151
153
|
review_sensei/schemas.py,sha256=DG0Z2VsZUKRaoLNquemWSsGT8XFavUy1ot-W3ADowWw,2736
|
|
154
|
+
review_sensei/schemas/api-run-accounting.schema.json,sha256=f3Wuc2YW81eZ4PeNOY8tOuD-iJOX5I37XDKWxeZhTY0,15536
|
|
152
155
|
review_sensei/schemas/assessment-queue-root.schema.json,sha256=T83VZWl489ggPZSXisC8B1hcIWT778nHW0TVt2HZk8U,5719
|
|
153
156
|
review_sensei/schemas/baseline-evidence.schema.json,sha256=pFo0VJuWZsdMVekX-ku1xw1HvNqk5zS5hQGDAOTUrDg,3845
|
|
154
157
|
review_sensei/schemas/blocker-admission.schema.json,sha256=M3nBzti7M5yAWKFDcsfdJ3TsPbiJrEEn2Zj4yYUDBPQ,2800
|
|
@@ -189,7 +192,7 @@ review_sensei/schemas/review-round-decision.schema.json,sha256=d1GOE4RSgNRkvF35k
|
|
|
189
192
|
review_sensei/schemas/review-stage.schema.json,sha256=H5CDiC-ngQXJpVomEvd8YPP1tgyPgwo_k3atK4Vjev0,4707
|
|
190
193
|
review_sensei/schemas/review-transaction.schema.json,sha256=KWtsfa0p0CmPx--cB91XpDizF2Z6N2Ehg5YMlRqJwN8,2215
|
|
191
194
|
review_sensei/schemas/run-outcome.schema.json,sha256=pyByHFmQ8yNFPsLD7wccR5lxsWBwzoxNyD77bjNqeU8,1744
|
|
192
|
-
review_sensei/schemas/session-record.schema.json,sha256=
|
|
195
|
+
review_sensei/schemas/session-record.schema.json,sha256=KtWfNiEDqtHHKI3fGxQ0la2uO9b7pZVTWKUw_7O4qrw,17694
|
|
193
196
|
review_sensei/schemas/stage.schema.json,sha256=WsxbwZFGpRNCyZ6xzWsAQHf8f7YpJLAh9FKRXN_vlao,2900
|
|
194
197
|
review_sensei/schemas/unchanged-source-citation.schema.json,sha256=9lnUvliTlyO6zNM5Nwzh65wzteBZevVlkhE-V8ztUqo,2357
|
|
195
198
|
review_sensei/schemas/verification-result.schema.json,sha256=Hf765S-aC1Tk4c7KMWaaSf5DMsg6ogmjnHXcjcHE01k,625
|
|
@@ -198,7 +201,7 @@ review_sensei/schemas/work-recovery-artifact.schema.json,sha256=U5nKrq-mtyHDxTF8
|
|
|
198
201
|
review_sensei/scope.py,sha256=nhds_ZB86snKaptKu6Llbt5ggzTR3ft1NhyICouA7BM,3293
|
|
199
202
|
review_sensei/sequence.py,sha256=Mc3ejY8Cmo7xASNAo2vfep9rILb3BgnzH8T9rw8xjRY,23746
|
|
200
203
|
review_sensei/service.py,sha256=vdltiu9ShQo_uXqona68wjojMeayudX1jjqjFQ9xtSM,94218
|
|
201
|
-
review_sensei/session.py,sha256=
|
|
204
|
+
review_sensei/session.py,sha256=IsFeX9Maz8AmDL3hXTubpOxhbE-tUuYw0JW8-76MaCo,242851
|
|
202
205
|
review_sensei/session_phases.py,sha256=cgNw-o7uj7ZROKLnYkcwAl_5qNOI0Jls0Xqk2EBap4c,2393
|
|
203
206
|
review_sensei/stages.py,sha256=rMomi3dvKrEl3yiuy2VbX09_bLu8dWD2rblFH8aJ6yI,24256
|
|
204
207
|
review_sensei/unchanged_source.py,sha256=kOmJnN6gZ4Al16dkTnjfxKacJw7clYId4QciBpUvUIE,12001
|
package/bin/review-sensei.exe
CHANGED
|
Binary file
|
package/package.json
CHANGED
/package/bin/_internal/{review_sensei-0.8.12.dist-info → review_sensei-0.8.14.dist-info}/INSTALLER
RENAMED
|
File without changes
|
/package/bin/_internal/{review_sensei-0.8.12.dist-info → review_sensei-0.8.14.dist-info}/REQUESTED
RENAMED
|
File without changes
|
/package/bin/_internal/{review_sensei-0.8.12.dist-info → review_sensei-0.8.14.dist-info}/WHEEL
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|