@reviewsensei/cli-win32-x64 0.8.14 → 0.8.16

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 (24) hide show
  1. package/README.md +1 -1
  2. package/bin/_internal/base_library.zip +0 -0
  3. package/bin/_internal/jsonschema-4.26.0.dist-info/RECORD +1 -1
  4. package/bin/_internal/review_sensei/schemas/eligibility-v7.schema.json +36 -0
  5. package/bin/_internal/review_sensei/schemas/eligibility-v8.schema.json +125 -0
  6. package/bin/_internal/review_sensei/schemas/quarantine-assessment-cursor.schema.json +36 -0
  7. package/bin/_internal/review_sensei/schemas/quarantine-assessment-event.schema.json +40 -0
  8. package/bin/_internal/review_sensei/schemas/quarantine-assessment-inventory.schema.json +37 -0
  9. package/bin/_internal/review_sensei/schemas/quarantine-assessment-origins.schema.json +92 -0
  10. package/bin/_internal/review_sensei/schemas/quarantine-assessment-state.schema.json +94 -0
  11. package/bin/_internal/review_sensei/schemas/quarantine-assessment-view.schema.json +89 -0
  12. package/bin/_internal/review_sensei/schemas/quarantine-lineage.schema.json +101 -0
  13. package/bin/_internal/review_sensei/schemas/session-record.schema.json +702 -119
  14. package/bin/_internal/{review_sensei-0.8.14.dist-info → review_sensei-0.8.16.dist-info}/METADATA +3 -3
  15. package/bin/_internal/{review_sensei-0.8.14.dist-info → review_sensei-0.8.16.dist-info}/RECORD +32 -15
  16. package/bin/review-sensei.exe +0 -0
  17. package/package.json +1 -1
  18. /package/bin/_internal/{review_sensei-0.8.14.dist-info → review_sensei-0.8.16.dist-info}/INSTALLER +0 -0
  19. /package/bin/_internal/{review_sensei-0.8.14.dist-info → review_sensei-0.8.16.dist-info}/REQUESTED +0 -0
  20. /package/bin/_internal/{review_sensei-0.8.14.dist-info → review_sensei-0.8.16.dist-info}/WHEEL +0 -0
  21. /package/bin/_internal/{review_sensei-0.8.14.dist-info → review_sensei-0.8.16.dist-info}/direct_url.json +0 -0
  22. /package/bin/_internal/{review_sensei-0.8.14.dist-info → review_sensei-0.8.16.dist-info}/entry_points.txt +0 -0
  23. /package/bin/_internal/{review_sensei-0.8.14.dist-info → review_sensei-0.8.16.dist-info}/licenses/LICENSE +0 -0
  24. /package/bin/_internal/{review_sensei-0.8.14.dist-info → review_sensei-0.8.16.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.14
11
+ npm install --save-dev @reviewsensei/cli@0.8.16
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=JZYuFcf5MB_qgYRG3iKb6LdEpPSLo9jP6Bx2mgbqTLI,108352
1
+ ../../Scripts/jsonschema.exe,sha256=Kx6b3JRyI9Od2FYyYywN_1xOsdl3U08BDUvL9YjniHA,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,36 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "$id": "https://reviewsensei.dev/schemas/v1/eligibility-v7.schema.json",
4
+ "type": "object",
5
+ "additionalProperties": false,
6
+ "required": [
7
+ "schema_version",
8
+ "current",
9
+ "quarantine_assessments"
10
+ ],
11
+ "properties": {
12
+ "schema_version": {
13
+ "const": "7"
14
+ },
15
+ "current": {
16
+ "type": "object",
17
+ "required": [
18
+ "schema_version"
19
+ ],
20
+ "properties": {
21
+ "schema_version": {
22
+ "enum": [
23
+ "1",
24
+ "2.0",
25
+ "3",
26
+ "4",
27
+ "5"
28
+ ]
29
+ }
30
+ }
31
+ },
32
+ "quarantine_assessments": {
33
+ "$ref": "https://reviewsensei.dev/schemas/v1/quarantine-assessment-view.schema.json"
34
+ }
35
+ }
36
+ }
@@ -0,0 +1,125 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "$id": "https://reviewsensei.dev/schemas/v1/eligibility-v8.schema.json",
4
+ "title": "Union-aware native publication eligibility v8",
5
+ "type": "object",
6
+ "additionalProperties": false,
7
+ "required": [
8
+ "schema_version",
9
+ "current",
10
+ "native_union"
11
+ ],
12
+ "properties": {
13
+ "schema_version": {
14
+ "const": "8"
15
+ },
16
+ "current": {
17
+ "type": "object",
18
+ "required": [
19
+ "schema_version"
20
+ ],
21
+ "properties": {
22
+ "schema_version": {
23
+ "enum": [
24
+ "1",
25
+ "2.0",
26
+ "3",
27
+ "4",
28
+ "5",
29
+ "7"
30
+ ]
31
+ }
32
+ }
33
+ },
34
+ "native_union": {
35
+ "type": "object",
36
+ "additionalProperties": false,
37
+ "required": [
38
+ "schema_version",
39
+ "repository_id",
40
+ "pull_request",
41
+ "producer_id",
42
+ "head_sha",
43
+ "base_sha",
44
+ "transaction_id",
45
+ "result_sha256",
46
+ "plan_sha256",
47
+ "inline_count",
48
+ "parts"
49
+ ],
50
+ "properties": {
51
+ "schema_version": {
52
+ "const": "native-review-union-v1"
53
+ },
54
+ "repository_id": {
55
+ "type": "integer",
56
+ "minimum": 1,
57
+ "maximum": 9223372036854775807
58
+ },
59
+ "pull_request": {
60
+ "type": "integer",
61
+ "minimum": 1,
62
+ "maximum": 2147483647
63
+ },
64
+ "producer_id": {
65
+ "type": "integer",
66
+ "minimum": 1,
67
+ "maximum": 9223372036854775807
68
+ },
69
+ "head_sha": {
70
+ "type": "string",
71
+ "pattern": "^[a-f0-9]{40}$"
72
+ },
73
+ "base_sha": {
74
+ "type": "string",
75
+ "pattern": "^[a-f0-9]{40}$"
76
+ },
77
+ "transaction_id": {
78
+ "type": "string",
79
+ "pattern": "^[a-f0-9]{64}$"
80
+ },
81
+ "result_sha256": {
82
+ "type": "string",
83
+ "pattern": "^[a-f0-9]{64}$"
84
+ },
85
+ "plan_sha256": {
86
+ "type": "string",
87
+ "pattern": "^[a-f0-9]{64}$"
88
+ },
89
+ "inline_count": {
90
+ "type": "integer",
91
+ "minimum": 0,
92
+ "maximum": 250
93
+ },
94
+ "parts": {
95
+ "type": "array",
96
+ "maxItems": 8,
97
+ "items": {
98
+ "type": "object",
99
+ "additionalProperties": false,
100
+ "required": [
101
+ "native_id",
102
+ "content_sha256",
103
+ "finding_count"
104
+ ],
105
+ "properties": {
106
+ "native_id": {
107
+ "type": "string",
108
+ "pattern": "^[1-9][0-9]{0,18}$"
109
+ },
110
+ "content_sha256": {
111
+ "type": "string",
112
+ "pattern": "^[a-f0-9]{64}$"
113
+ },
114
+ "finding_count": {
115
+ "type": "integer",
116
+ "minimum": 1,
117
+ "maximum": 32
118
+ }
119
+ }
120
+ }
121
+ }
122
+ }
123
+ }
124
+ }
125
+ }
@@ -0,0 +1,36 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "$id": "https://reviewsensei.dev/schemas/v1/quarantine-assessment-cursor.schema.json",
4
+ "type": "object",
5
+ "additionalProperties": false,
6
+ "required": [
7
+ "schema_version",
8
+ "scope_sha256",
9
+ "count",
10
+ "tail_manifest"
11
+ ],
12
+ "properties": {
13
+ "schema_version": {
14
+ "const": "quarantine-assessment-cursor-v1"
15
+ },
16
+ "scope_sha256": {
17
+ "type": "string",
18
+ "pattern": "^[a-f0-9]{64}$"
19
+ },
20
+ "count": {
21
+ "type": "integer",
22
+ "minimum": 0,
23
+ "maximum": 200
24
+ },
25
+ "tail_manifest": {
26
+ "anyOf": [
27
+ {
28
+ "type": "null"
29
+ },
30
+ {
31
+ "$ref": "https://reviewsensei.dev/schemas/v1/evidence-manifest.schema.json"
32
+ }
33
+ ]
34
+ }
35
+ }
36
+ }
@@ -0,0 +1,40 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "$id": "https://reviewsensei.dev/schemas/v1/quarantine-assessment-event.schema.json",
4
+ "type": "object",
5
+ "additionalProperties": false,
6
+ "required": [
7
+ "schema_version",
8
+ "scope_sha256",
9
+ "sequence",
10
+ "previous_manifest",
11
+ "decision"
12
+ ],
13
+ "properties": {
14
+ "schema_version": {
15
+ "const": "quarantine-assessment-event-v1"
16
+ },
17
+ "scope_sha256": {
18
+ "type": "string",
19
+ "pattern": "^[a-f0-9]{64}$"
20
+ },
21
+ "sequence": {
22
+ "type": "integer",
23
+ "minimum": 1,
24
+ "maximum": 200
25
+ },
26
+ "previous_manifest": {
27
+ "anyOf": [
28
+ {
29
+ "type": "null"
30
+ },
31
+ {
32
+ "$ref": "https://reviewsensei.dev/schemas/v1/evidence-manifest.schema.json"
33
+ }
34
+ ]
35
+ },
36
+ "decision": {
37
+ "$ref": "https://reviewsensei.dev/schemas/v1/quarantine-assessment-state.schema.json#/properties/settlements/items"
38
+ }
39
+ }
40
+ }
@@ -0,0 +1,37 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "$id": "https://reviewsensei.dev/schemas/v1/quarantine-assessment-inventory.schema.json",
4
+ "type": "object",
5
+ "additionalProperties": false,
6
+ "required": [
7
+ "schema_version",
8
+ "assessments"
9
+ ],
10
+ "properties": {
11
+ "schema_version": {
12
+ "const": "quarantine-assessment-inventory-v1"
13
+ },
14
+ "assessments": {
15
+ "type": "array",
16
+ "maxItems": 100,
17
+ "items": {
18
+ "type": "object",
19
+ "additionalProperties": false,
20
+ "required": [
21
+ "instance",
22
+ "concern"
23
+ ],
24
+ "properties": {
25
+ "instance": {
26
+ "type": "string",
27
+ "pattern": "^[a-f0-9]{64}$"
28
+ },
29
+ "concern": {
30
+ "type": "string",
31
+ "pattern": "^[a-f0-9]{64}$"
32
+ }
33
+ }
34
+ }
35
+ }
36
+ }
37
+ }
@@ -0,0 +1,92 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "$id": "https://reviewsensei.dev/schemas/v1/quarantine-assessment-origins.schema.json",
4
+ "type": "object",
5
+ "additionalProperties": false,
6
+ "required": [
7
+ "schema_version",
8
+ "origins"
9
+ ],
10
+ "properties": {
11
+ "schema_version": {
12
+ "enum": [
13
+ "quarantine-assessment-origins-v1",
14
+ "quarantine-published-origins-v1"
15
+ ]
16
+ },
17
+ "origins": {
18
+ "type": "array",
19
+ "minItems": 1,
20
+ "maxItems": 2,
21
+ "items": {
22
+ "type": "object",
23
+ "additionalProperties": false,
24
+ "required": [
25
+ "schema_version",
26
+ "kind",
27
+ "source_manifest",
28
+ "inventory_manifest",
29
+ "scope_sha256"
30
+ ],
31
+ "properties": {
32
+ "schema_version": {
33
+ "const": "quarantine-assessment-origin-v1"
34
+ },
35
+ "kind": {
36
+ "enum": [
37
+ "retained-result",
38
+ "published-assessment",
39
+ "published-current",
40
+ "published-earlier"
41
+ ]
42
+ },
43
+ "source_manifest": {
44
+ "$ref": "https://reviewsensei.dev/schemas/v1/evidence-manifest.schema.json"
45
+ },
46
+ "inventory_manifest": {
47
+ "anyOf": [
48
+ {
49
+ "$ref": "https://reviewsensei.dev/schemas/v1/evidence-manifest.schema.json"
50
+ },
51
+ {
52
+ "type": "object",
53
+ "additionalProperties": false,
54
+ "required": [
55
+ "encoding",
56
+ "binding",
57
+ "item_count",
58
+ "sha256",
59
+ "document"
60
+ ],
61
+ "properties": {
62
+ "encoding": {
63
+ "const": "inline-json-v1"
64
+ },
65
+ "binding": {
66
+ "$ref": "https://reviewsensei.dev/schemas/v1/evidence-manifest.schema.json#/properties/binding"
67
+ },
68
+ "item_count": {
69
+ "type": "integer",
70
+ "minimum": 0,
71
+ "maximum": 100
72
+ },
73
+ "sha256": {
74
+ "type": "string",
75
+ "pattern": "^[a-f0-9]{64}$"
76
+ },
77
+ "document": {
78
+ "$ref": "https://reviewsensei.dev/schemas/v1/quarantine-assessment-inventory.schema.json"
79
+ }
80
+ }
81
+ }
82
+ ]
83
+ },
84
+ "scope_sha256": {
85
+ "type": "string",
86
+ "pattern": "^[a-f0-9]{64}$"
87
+ }
88
+ }
89
+ }
90
+ }
91
+ }
92
+ }
@@ -0,0 +1,94 @@
1
+ {
2
+ "type": "object",
3
+ "additionalProperties": false,
4
+ "required": [
5
+ "schema_version",
6
+ "scope_sha256",
7
+ "settlements"
8
+ ],
9
+ "properties": {
10
+ "schema_version": {
11
+ "const": "quarantine-assessment-state-v1"
12
+ },
13
+ "scope_sha256": {
14
+ "type": "string",
15
+ "pattern": "^[a-f0-9]{64}$"
16
+ },
17
+ "settlements": {
18
+ "type": "array",
19
+ "maxItems": 200,
20
+ "items": {
21
+ "type": "object",
22
+ "additionalProperties": false,
23
+ "required": [
24
+ "origin_scope_sha256",
25
+ "instance",
26
+ "action",
27
+ "actor",
28
+ "role",
29
+ "head_sha",
30
+ "source_id",
31
+ "source_updated_at",
32
+ "source_body_sha256",
33
+ "reason",
34
+ "policy_sha256"
35
+ ],
36
+ "properties": {
37
+ "origin_scope_sha256": {
38
+ "type": "string",
39
+ "pattern": "^[a-f0-9]{64}$"
40
+ },
41
+ "instance": {
42
+ "type": "string",
43
+ "pattern": "^[a-f0-9]{64}$"
44
+ },
45
+ "action": {
46
+ "enum": [
47
+ "dismiss",
48
+ "accept-risk"
49
+ ]
50
+ },
51
+ "actor": {
52
+ "type": "string",
53
+ "pattern": "^[A-Za-z0-9][A-Za-z0-9-]{0,38}$"
54
+ },
55
+ "role": {
56
+ "enum": [
57
+ "admin",
58
+ "maintain"
59
+ ]
60
+ },
61
+ "head_sha": {
62
+ "type": "string",
63
+ "pattern": "^[a-f0-9]{40}$"
64
+ },
65
+ "source_id": {
66
+ "type": "integer",
67
+ "minimum": 1,
68
+ "maximum": 9007199254740991
69
+ },
70
+ "source_updated_at": {
71
+ "type": "string",
72
+ "pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}Z$"
73
+ },
74
+ "source_body_sha256": {
75
+ "type": "string",
76
+ "pattern": "^[a-f0-9]{64}$"
77
+ },
78
+ "reason": {
79
+ "type": "string",
80
+ "minLength": 1,
81
+ "maxLength": 4096
82
+ },
83
+ "policy_sha256": {
84
+ "type": "string",
85
+ "pattern": "^[a-f0-9]{64}$"
86
+ }
87
+ }
88
+ }
89
+ }
90
+ },
91
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
92
+ "$id": "https://reviewsensei.dev/schemas/v1/quarantine-assessment-state.schema.json",
93
+ "description": "Two independent origins with at most100 assessments each; decisions bind full(origin scope, instance). Integrity alone grants no decision authority."
94
+ }
@@ -0,0 +1,89 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "$id": "https://reviewsensei.dev/schemas/v1/quarantine-assessment-view.schema.json",
4
+ "description": "Integrity view only. Complete authenticated origin membership, decision chain and fresh authority are independently required by every consuming host.",
5
+ "type": "object",
6
+ "additionalProperties": false,
7
+ "required": [
8
+ "scope_sha256",
9
+ "state_sha256",
10
+ "origins",
11
+ "pending",
12
+ "fresh_human_pending"
13
+ ],
14
+ "properties": {
15
+ "scope_sha256": {
16
+ "type": "string",
17
+ "pattern": "^[a-f0-9]{64}$"
18
+ },
19
+ "state_sha256": {
20
+ "type": "string",
21
+ "pattern": "^[a-f0-9]{64}$"
22
+ },
23
+ "origins": {
24
+ "type": "array",
25
+ "minItems": 1,
26
+ "maxItems": 2,
27
+ "uniqueItems": true,
28
+ "items": {
29
+ "type": "object",
30
+ "additionalProperties": false,
31
+ "required": [
32
+ "scope_sha256",
33
+ "kind",
34
+ "inventory_sha256",
35
+ "item_count"
36
+ ],
37
+ "properties": {
38
+ "scope_sha256": {
39
+ "type": "string",
40
+ "pattern": "^[a-f0-9]{64}$"
41
+ },
42
+ "kind": {
43
+ "enum": [
44
+ "retained-result",
45
+ "published-assessment",
46
+ "published-current",
47
+ "published-earlier"
48
+ ]
49
+ },
50
+ "inventory_sha256": {
51
+ "type": "string",
52
+ "pattern": "^[a-f0-9]{64}$"
53
+ },
54
+ "item_count": {
55
+ "type": "integer",
56
+ "minimum": 0,
57
+ "maximum": 100
58
+ }
59
+ }
60
+ }
61
+ },
62
+ "pending": {
63
+ "type": "array",
64
+ "maxItems": 200,
65
+ "uniqueItems": true,
66
+ "items": {
67
+ "type": "object",
68
+ "additionalProperties": false,
69
+ "required": [
70
+ "origin_scope_sha256",
71
+ "instance"
72
+ ],
73
+ "properties": {
74
+ "origin_scope_sha256": {
75
+ "type": "string",
76
+ "pattern": "^[a-f0-9]{64}$"
77
+ },
78
+ "instance": {
79
+ "type": "string",
80
+ "pattern": "^[a-f0-9]{64}$"
81
+ }
82
+ }
83
+ }
84
+ },
85
+ "fresh_human_pending": {
86
+ "type": "boolean"
87
+ }
88
+ }
89
+ }
@@ -0,0 +1,101 @@
1
+ {
2
+ "type": "object",
3
+ "additionalProperties": false,
4
+ "required": [
5
+ "schema_version",
6
+ "predecessor_comment_id",
7
+ "predecessor_record_sha256",
8
+ "creation_run_id",
9
+ "registration_sha256",
10
+ "origin_manifest",
11
+ "origin_count",
12
+ "scope_sha256",
13
+ "assessment_state_manifest"
14
+ ],
15
+ "properties": {
16
+ "schema_version": {
17
+ "enum": [
18
+ "quarantine-lineage-v1",
19
+ "quarantine-published-tail-v1"
20
+ ]
21
+ },
22
+ "predecessor_comment_id": {
23
+ "type": "integer",
24
+ "minimum": 1,
25
+ "maximum": 9007199254740991
26
+ },
27
+ "predecessor_record_sha256": {
28
+ "type": "string",
29
+ "pattern": "^[a-f0-9]{64}$"
30
+ },
31
+ "creation_run_id": {
32
+ "type": "integer",
33
+ "minimum": 1,
34
+ "maximum": 9007199254740991
35
+ },
36
+ "registration_sha256": {
37
+ "type": "string",
38
+ "pattern": "^[a-f0-9]{64}$"
39
+ },
40
+ "origin_manifest": {
41
+ "$ref": "https://reviewsensei.dev/schemas/v1/evidence-manifest.schema.json"
42
+ },
43
+ "origin_count": {
44
+ "type": "integer",
45
+ "minimum": 1,
46
+ "maximum": 2
47
+ },
48
+ "scope_sha256": {
49
+ "type": "string",
50
+ "pattern": "^[a-f0-9]{64}$"
51
+ },
52
+ "assessment_state_manifest": {
53
+ "anyOf": [
54
+ {
55
+ "$ref": "https://reviewsensei.dev/schemas/v1/evidence-manifest.schema.json"
56
+ },
57
+ {
58
+ "type": "object",
59
+ "additionalProperties": false,
60
+ "required": [
61
+ "encoding",
62
+ "binding",
63
+ "item_count",
64
+ "sha256",
65
+ "document"
66
+ ],
67
+ "properties": {
68
+ "encoding": {
69
+ "const": "inline-json-v1"
70
+ },
71
+ "binding": {
72
+ "$ref": "https://reviewsensei.dev/schemas/v1/evidence-manifest.schema.json#/properties/binding"
73
+ },
74
+ "item_count": {
75
+ "type": "integer",
76
+ "minimum": 0,
77
+ "maximum": 200
78
+ },
79
+ "sha256": {
80
+ "type": "string",
81
+ "pattern": "^[a-f0-9]{64}$"
82
+ },
83
+ "document": {
84
+ "anyOf": [
85
+ {
86
+ "$ref": "https://reviewsensei.dev/schemas/v1/quarantine-assessment-state.schema.json"
87
+ },
88
+ {
89
+ "$ref": "https://reviewsensei.dev/schemas/v1/quarantine-assessment-cursor.schema.json"
90
+ }
91
+ ]
92
+ }
93
+ }
94
+ }
95
+ ]
96
+ }
97
+ },
98
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
99
+ "$id": "https://reviewsensei.dev/schemas/v1/quarantine-lineage.schema.json",
100
+ "description": "Unresolved isolated predecessor and complete carried assessment origin. No completion/settlement claim or restored allowance. Hosted reader authenticates complete carriers and creation slot; runtime additionally enforces domain, digest, byte and retention invariants."
101
+ }