@reviewsensei/cli-win32-x64 0.6.18 → 0.6.20
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/default_categories/03-architecture.json +1 -1
- package/bin/_internal/review_sensei/schemas/assessment-queue-root.schema.json +196 -0
- package/bin/_internal/review_sensei/schemas/baseline-evidence.schema.json +167 -0
- package/bin/_internal/review_sensei/schemas/broker-diagnostics.json +5 -0
- package/bin/_internal/review_sensei/schemas/checkpoint-diagnostics.schema.json +51 -6
- package/bin/_internal/review_sensei/schemas/eligibility-v4.schema.json +193 -0
- package/bin/_internal/review_sensei/schemas/evidence-manifest.schema.json +144 -0
- package/bin/_internal/review_sensei/schemas/human-file-receipt.schema.json +62 -0
- package/bin/_internal/review_sensei/schemas/human-file-review.schema.json +134 -0
- package/bin/_internal/review_sensei/schemas/review-result.schema.json +4 -1
- package/bin/_internal/review_sensei/schemas/session-record.schema.json +74 -39
- package/bin/_internal/review_sensei/schemas/unchanged-source-citation.schema.json +83 -0
- package/bin/_internal/review_sensei/schemas/work-recovery-artifact.schema.json +3 -3
- package/bin/_internal/{review_sensei-0.6.18.dist-info → review_sensei-0.6.20.dist-info}/METADATA +20 -4
- package/bin/_internal/{review_sensei-0.6.18.dist-info → review_sensei-0.6.20.dist-info}/RECORD +93 -52
- package/bin/review-sensei.exe +0 -0
- package/package.json +1 -1
- /package/bin/_internal/{review_sensei-0.6.18.dist-info → review_sensei-0.6.20.dist-info}/INSTALLER +0 -0
- /package/bin/_internal/{review_sensei-0.6.18.dist-info → review_sensei-0.6.20.dist-info}/REQUESTED +0 -0
- /package/bin/_internal/{review_sensei-0.6.18.dist-info → review_sensei-0.6.20.dist-info}/WHEEL +0 -0
- /package/bin/_internal/{review_sensei-0.6.18.dist-info → review_sensei-0.6.20.dist-info}/direct_url.json +0 -0
- /package/bin/_internal/{review_sensei-0.6.18.dist-info → review_sensei-0.6.20.dist-info}/entry_points.txt +0 -0
- /package/bin/_internal/{review_sensei-0.6.18.dist-info → review_sensei-0.6.20.dist-info}/licenses/LICENSE +0 -0
- /package/bin/_internal/{review_sensei-0.6.18.dist-info → review_sensei-0.6.20.dist-info}/top_level.txt +0 -0
|
@@ -0,0 +1,144 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
+
"$id": "https://reviewsensei.dev/schemas/v1/evidence-manifest.schema.json",
|
|
4
|
+
"title": "ReviewSensei authenticated partition reference manifest v1",
|
|
5
|
+
"description": "The owning control record authenticates this manifest. Integrity digests do not authenticate producers. Runtime additionally enforces canonical bytes, aggregates, unique opaque identities, deadline and exact owner/snapshot.",
|
|
6
|
+
"type": "object",
|
|
7
|
+
"additionalProperties": false,
|
|
8
|
+
"required": [
|
|
9
|
+
"encoding",
|
|
10
|
+
"binding",
|
|
11
|
+
"item_count",
|
|
12
|
+
"decoded_bytes",
|
|
13
|
+
"sha256",
|
|
14
|
+
"encoded_bytes",
|
|
15
|
+
"parts"
|
|
16
|
+
],
|
|
17
|
+
"properties": {
|
|
18
|
+
"encoding": {
|
|
19
|
+
"const": "partitioned-json-v1"
|
|
20
|
+
},
|
|
21
|
+
"binding": {
|
|
22
|
+
"type": "object",
|
|
23
|
+
"additionalProperties": false,
|
|
24
|
+
"required": [
|
|
25
|
+
"repository",
|
|
26
|
+
"repository_id",
|
|
27
|
+
"pull_request",
|
|
28
|
+
"base_sha",
|
|
29
|
+
"head_sha",
|
|
30
|
+
"policy_digest",
|
|
31
|
+
"configuration_digest",
|
|
32
|
+
"generation",
|
|
33
|
+
"producer",
|
|
34
|
+
"purpose",
|
|
35
|
+
"schema_version"
|
|
36
|
+
],
|
|
37
|
+
"properties": {
|
|
38
|
+
"repository": {
|
|
39
|
+
"type": "string",
|
|
40
|
+
"pattern": "^[A-Za-z0-9_.-]+/[A-Za-z0-9_.-]+$",
|
|
41
|
+
"maxLength": 256
|
|
42
|
+
},
|
|
43
|
+
"repository_id": {
|
|
44
|
+
"type": [
|
|
45
|
+
"integer",
|
|
46
|
+
"null"
|
|
47
|
+
],
|
|
48
|
+
"minimum": 1,
|
|
49
|
+
"maximum": 2147483647
|
|
50
|
+
},
|
|
51
|
+
"pull_request": {
|
|
52
|
+
"type": "integer",
|
|
53
|
+
"minimum": 1,
|
|
54
|
+
"maximum": 2147483647
|
|
55
|
+
},
|
|
56
|
+
"base_sha": {
|
|
57
|
+
"type": "string",
|
|
58
|
+
"pattern": "^[a-f0-9]{40}$"
|
|
59
|
+
},
|
|
60
|
+
"head_sha": {
|
|
61
|
+
"type": "string",
|
|
62
|
+
"pattern": "^[a-f0-9]{40}$"
|
|
63
|
+
},
|
|
64
|
+
"policy_digest": {
|
|
65
|
+
"type": "string",
|
|
66
|
+
"pattern": "^[a-f0-9]{64}$"
|
|
67
|
+
},
|
|
68
|
+
"configuration_digest": {
|
|
69
|
+
"type": "string",
|
|
70
|
+
"pattern": "^[a-f0-9]{64}$"
|
|
71
|
+
},
|
|
72
|
+
"generation": {
|
|
73
|
+
"type": "integer",
|
|
74
|
+
"minimum": 0,
|
|
75
|
+
"maximum": 2147483647
|
|
76
|
+
},
|
|
77
|
+
"producer": {
|
|
78
|
+
"type": "string",
|
|
79
|
+
"pattern": "^(local-ledger|github-bot:[1-9][0-9]{0,18})$"
|
|
80
|
+
},
|
|
81
|
+
"purpose": {
|
|
82
|
+
"enum": [
|
|
83
|
+
"baseline",
|
|
84
|
+
"human-inventory",
|
|
85
|
+
"feedback",
|
|
86
|
+
"evidence",
|
|
87
|
+
"queue"
|
|
88
|
+
]
|
|
89
|
+
},
|
|
90
|
+
"schema_version": {
|
|
91
|
+
"const": "1.0"
|
|
92
|
+
}
|
|
93
|
+
}
|
|
94
|
+
},
|
|
95
|
+
"item_count": {
|
|
96
|
+
"type": "integer",
|
|
97
|
+
"minimum": 0,
|
|
98
|
+
"maximum": 4096
|
|
99
|
+
},
|
|
100
|
+
"decoded_bytes": {
|
|
101
|
+
"type": "integer",
|
|
102
|
+
"minimum": 1,
|
|
103
|
+
"maximum": 2097152
|
|
104
|
+
},
|
|
105
|
+
"sha256": {
|
|
106
|
+
"type": "string",
|
|
107
|
+
"pattern": "^[a-f0-9]{64}$"
|
|
108
|
+
},
|
|
109
|
+
"encoded_bytes": {
|
|
110
|
+
"type": "integer",
|
|
111
|
+
"minimum": 1,
|
|
112
|
+
"maximum": 1048576
|
|
113
|
+
},
|
|
114
|
+
"parts": {
|
|
115
|
+
"type": "array",
|
|
116
|
+
"minItems": 1,
|
|
117
|
+
"maxItems": 32,
|
|
118
|
+
"items": {
|
|
119
|
+
"type": "object",
|
|
120
|
+
"additionalProperties": false,
|
|
121
|
+
"required": [
|
|
122
|
+
"storage_id",
|
|
123
|
+
"bytes",
|
|
124
|
+
"sha256"
|
|
125
|
+
],
|
|
126
|
+
"properties": {
|
|
127
|
+
"storage_id": {
|
|
128
|
+
"type": "string",
|
|
129
|
+
"pattern": "^[A-Za-z0-9_-]{1,64}$"
|
|
130
|
+
},
|
|
131
|
+
"bytes": {
|
|
132
|
+
"type": "integer",
|
|
133
|
+
"minimum": 1,
|
|
134
|
+
"maximum": 32256
|
|
135
|
+
},
|
|
136
|
+
"sha256": {
|
|
137
|
+
"type": "string",
|
|
138
|
+
"pattern": "^[a-f0-9]{64}$"
|
|
139
|
+
}
|
|
140
|
+
}
|
|
141
|
+
}
|
|
142
|
+
}
|
|
143
|
+
}
|
|
144
|
+
}
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
+
"$id": "https://reviewsensei.dev/schemas/v1/human-file-receipt.schema.json",
|
|
4
|
+
"title": "human-file-receipt",
|
|
5
|
+
"description": "Bounded reference data. Runtime semantic validation and independent live host authentication are required; this document alone is not approval authority.",
|
|
6
|
+
"type": "object",
|
|
7
|
+
"additionalProperties": false,
|
|
8
|
+
"required": [
|
|
9
|
+
"schema_version",
|
|
10
|
+
"request_digest",
|
|
11
|
+
"request_comment_id",
|
|
12
|
+
"source_comment_id",
|
|
13
|
+
"source_updated_at",
|
|
14
|
+
"source_sha256",
|
|
15
|
+
"actor_id",
|
|
16
|
+
"actor",
|
|
17
|
+
"selected_ids"
|
|
18
|
+
],
|
|
19
|
+
"properties": {
|
|
20
|
+
"schema_version": {
|
|
21
|
+
"const": "human-file-receipt-v1"
|
|
22
|
+
},
|
|
23
|
+
"request_digest": {
|
|
24
|
+
"type": "string",
|
|
25
|
+
"pattern": "^[a-f0-9]{64}$"
|
|
26
|
+
},
|
|
27
|
+
"request_comment_id": {
|
|
28
|
+
"type": "integer",
|
|
29
|
+
"minimum": 1
|
|
30
|
+
},
|
|
31
|
+
"source_comment_id": {
|
|
32
|
+
"type": "integer",
|
|
33
|
+
"minimum": 1
|
|
34
|
+
},
|
|
35
|
+
"source_updated_at": {
|
|
36
|
+
"type": "string",
|
|
37
|
+
"pattern": "^[0-9]{4}-[0-9]{2}-[0-9]{2}T[0-9]{2}:[0-9]{2}:[0-9]{2}Z$"
|
|
38
|
+
},
|
|
39
|
+
"source_sha256": {
|
|
40
|
+
"type": "string",
|
|
41
|
+
"pattern": "^[a-f0-9]{64}$"
|
|
42
|
+
},
|
|
43
|
+
"actor_id": {
|
|
44
|
+
"type": "integer",
|
|
45
|
+
"minimum": 1
|
|
46
|
+
},
|
|
47
|
+
"actor": {
|
|
48
|
+
"type": "string",
|
|
49
|
+
"pattern": "^[A-Za-z0-9][A-Za-z0-9-]{0,38}$"
|
|
50
|
+
},
|
|
51
|
+
"selected_ids": {
|
|
52
|
+
"type": "array",
|
|
53
|
+
"minItems": 1,
|
|
54
|
+
"maxItems": 32,
|
|
55
|
+
"uniqueItems": true,
|
|
56
|
+
"items": {
|
|
57
|
+
"type": "string",
|
|
58
|
+
"pattern": "^[a-f0-9]{64}$"
|
|
59
|
+
}
|
|
60
|
+
}
|
|
61
|
+
}
|
|
62
|
+
}
|
|
@@ -0,0 +1,134 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
+
"$id": "https://reviewsensei.dev/schemas/v1/human-file-review.schema.json",
|
|
4
|
+
"title": "human-file-review",
|
|
5
|
+
"description": "Bounded reference data. Runtime semantic validation and independent live host authentication are required; this document alone is not approval authority.",
|
|
6
|
+
"type": "object",
|
|
7
|
+
"additionalProperties": false,
|
|
8
|
+
"required": [
|
|
9
|
+
"schema_version",
|
|
10
|
+
"repository",
|
|
11
|
+
"repository_id",
|
|
12
|
+
"pull_request",
|
|
13
|
+
"review_id",
|
|
14
|
+
"base_sha",
|
|
15
|
+
"head_sha",
|
|
16
|
+
"result_digest",
|
|
17
|
+
"files"
|
|
18
|
+
],
|
|
19
|
+
"properties": {
|
|
20
|
+
"schema_version": {
|
|
21
|
+
"const": "human-file-review-v1"
|
|
22
|
+
},
|
|
23
|
+
"repository": {
|
|
24
|
+
"type": "string",
|
|
25
|
+
"pattern": "^[A-Za-z0-9_.-]+/[A-Za-z0-9_.-]+$"
|
|
26
|
+
},
|
|
27
|
+
"repository_id": {
|
|
28
|
+
"type": "integer",
|
|
29
|
+
"minimum": 1
|
|
30
|
+
},
|
|
31
|
+
"pull_request": {
|
|
32
|
+
"type": "integer",
|
|
33
|
+
"minimum": 1
|
|
34
|
+
},
|
|
35
|
+
"review_id": {
|
|
36
|
+
"type": "integer",
|
|
37
|
+
"minimum": 1
|
|
38
|
+
},
|
|
39
|
+
"base_sha": {
|
|
40
|
+
"type": "string",
|
|
41
|
+
"pattern": "^[a-f0-9]{40}$"
|
|
42
|
+
},
|
|
43
|
+
"head_sha": {
|
|
44
|
+
"type": "string",
|
|
45
|
+
"pattern": "^[a-f0-9]{40}$"
|
|
46
|
+
},
|
|
47
|
+
"result_digest": {
|
|
48
|
+
"type": "string",
|
|
49
|
+
"pattern": "^[a-f0-9]{64}$"
|
|
50
|
+
},
|
|
51
|
+
"files": {
|
|
52
|
+
"type": "array",
|
|
53
|
+
"minItems": 1,
|
|
54
|
+
"maxItems": 32,
|
|
55
|
+
"uniqueItems": true,
|
|
56
|
+
"items": {
|
|
57
|
+
"type": "object",
|
|
58
|
+
"additionalProperties": false,
|
|
59
|
+
"required": [
|
|
60
|
+
"path",
|
|
61
|
+
"change",
|
|
62
|
+
"old_blob",
|
|
63
|
+
"new_blob",
|
|
64
|
+
"old_path",
|
|
65
|
+
"old_mode",
|
|
66
|
+
"new_mode"
|
|
67
|
+
],
|
|
68
|
+
"properties": {
|
|
69
|
+
"path": {
|
|
70
|
+
"type": "string",
|
|
71
|
+
"minLength": 1,
|
|
72
|
+
"maxLength": 4096
|
|
73
|
+
},
|
|
74
|
+
"change": {
|
|
75
|
+
"enum": [
|
|
76
|
+
"added",
|
|
77
|
+
"modified",
|
|
78
|
+
"removed",
|
|
79
|
+
"renamed"
|
|
80
|
+
]
|
|
81
|
+
},
|
|
82
|
+
"old_blob": {
|
|
83
|
+
"anyOf": [
|
|
84
|
+
{
|
|
85
|
+
"type": "string",
|
|
86
|
+
"pattern": "^[a-f0-9]{40}$"
|
|
87
|
+
},
|
|
88
|
+
{
|
|
89
|
+
"type": "null"
|
|
90
|
+
}
|
|
91
|
+
]
|
|
92
|
+
},
|
|
93
|
+
"new_blob": {
|
|
94
|
+
"anyOf": [
|
|
95
|
+
{
|
|
96
|
+
"type": "string",
|
|
97
|
+
"pattern": "^[a-f0-9]{40}$"
|
|
98
|
+
},
|
|
99
|
+
{
|
|
100
|
+
"type": "null"
|
|
101
|
+
}
|
|
102
|
+
]
|
|
103
|
+
},
|
|
104
|
+
"old_path": {
|
|
105
|
+
"anyOf": [
|
|
106
|
+
{
|
|
107
|
+
"type": "string",
|
|
108
|
+
"minLength": 1,
|
|
109
|
+
"maxLength": 4096
|
|
110
|
+
},
|
|
111
|
+
{
|
|
112
|
+
"type": "null"
|
|
113
|
+
}
|
|
114
|
+
]
|
|
115
|
+
},
|
|
116
|
+
"old_mode": {
|
|
117
|
+
"enum": [
|
|
118
|
+
null,
|
|
119
|
+
"100644",
|
|
120
|
+
"100755"
|
|
121
|
+
]
|
|
122
|
+
},
|
|
123
|
+
"new_mode": {
|
|
124
|
+
"enum": [
|
|
125
|
+
null,
|
|
126
|
+
"100644",
|
|
127
|
+
"100755"
|
|
128
|
+
]
|
|
129
|
+
}
|
|
130
|
+
}
|
|
131
|
+
}
|
|
132
|
+
}
|
|
133
|
+
}
|
|
134
|
+
}
|
|
@@ -43,6 +43,8 @@
|
|
|
43
43
|
}
|
|
44
44
|
},
|
|
45
45
|
"provider": {"type": "string", "minLength": 1},
|
|
46
|
+
"persistence_status": {"const": "capacity-exceeded"},
|
|
47
|
+
"coverage_only_partial": {"type": "boolean"},
|
|
46
48
|
"review_status": {
|
|
47
49
|
"type": "string",
|
|
48
50
|
"enum": ["complete", "partial", "incomplete", "summary-only"]
|
|
@@ -155,5 +157,6 @@
|
|
|
155
157
|
}
|
|
156
158
|
}
|
|
157
159
|
}
|
|
158
|
-
}
|
|
160
|
+
},
|
|
161
|
+
"allOf": [{"if": {"required": ["persistence_status"]}, "then": {"properties": {"review_status": {"const": "partial"}}, "required": ["review_status"]}}]
|
|
159
162
|
}
|
|
@@ -78,6 +78,7 @@
|
|
|
78
78
|
},
|
|
79
79
|
"record_sha256": {"type": "string", "pattern": "^[a-f0-9]{64}$"},
|
|
80
80
|
"operator_paused": {"type": "boolean"},
|
|
81
|
+
"assessment_queue": {"$ref": "https://reviewsensei.dev/schemas/v1/assessment-queue-root.schema.json"},
|
|
81
82
|
"dispositions": {
|
|
82
83
|
"type": "array",
|
|
83
84
|
"maxItems": 4,
|
|
@@ -149,53 +150,87 @@
|
|
|
149
150
|
"properties": {
|
|
150
151
|
"state": {"enum": ["completed", "invalidated", "recovery-required"]},
|
|
151
152
|
"baseline": {
|
|
152
|
-
"
|
|
153
|
-
|
|
154
|
-
"required": ["cache_key", "policy_digest", "complete", "coverage_complete", "generation", "findings", "reviewed_paths", "related_paths"],
|
|
155
|
-
"properties": {
|
|
156
|
-
"cache_key": {
|
|
153
|
+
"oneOf": [
|
|
154
|
+
{
|
|
157
155
|
"type": "object",
|
|
158
156
|
"additionalProperties": false,
|
|
159
|
-
"required": ["
|
|
157
|
+
"required": ["cache_key", "policy_digest", "complete", "coverage_complete", "generation", "findings", "reviewed_paths", "related_paths"],
|
|
160
158
|
"properties": {
|
|
161
|
-
"
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
159
|
+
"cache_key": {
|
|
160
|
+
"type": "object",
|
|
161
|
+
"additionalProperties": false,
|
|
162
|
+
"required": ["repository", "pull_request", "base_sha", "head_sha", "engine", "model", "profile", "stage_digest", "context_digest", "learning_digest"],
|
|
163
|
+
"properties": {
|
|
164
|
+
"repository": {"type": "string", "maxLength": 256},
|
|
165
|
+
"pull_request": {"type": "integer", "minimum": 1},
|
|
166
|
+
"base_sha": {"type": "string", "pattern": "^[a-f0-9]{40}$"},
|
|
167
|
+
"head_sha": {"type": "string", "pattern": "^[a-f0-9]{40}$"},
|
|
168
|
+
"engine": {"type": "string", "maxLength": 256},
|
|
169
|
+
"model": {"type": "string", "maxLength": 256},
|
|
170
|
+
"profile": {"type": "string", "maxLength": 256},
|
|
171
|
+
"stage_digest": {"type": "string", "pattern": "^[a-f0-9]{64}$"},
|
|
172
|
+
"context_digest": {"type": "string", "pattern": "^[a-f0-9]{64}$"},
|
|
173
|
+
"learning_digest": {"type": "string", "pattern": "^[a-f0-9]{64}$"}
|
|
174
|
+
}
|
|
175
|
+
},
|
|
176
|
+
"policy_digest": {"type": "string", "pattern": "^[a-f0-9]{64}$"},
|
|
177
|
+
"complete": {"type": "boolean"},
|
|
178
|
+
"coverage_complete": {"type": "boolean"},
|
|
179
|
+
"generation": {"type": "integer", "minimum": 0},
|
|
180
|
+
"findings": {
|
|
181
|
+
"type": "array",
|
|
182
|
+
"maxItems": 3,
|
|
183
|
+
"items": {
|
|
184
|
+
"type": "object",
|
|
185
|
+
"additionalProperties": false,
|
|
186
|
+
"required": ["fingerprint", "resolution_criterion", "concern", "path", "symbol", "defect_kind", "generation", "blocking"],
|
|
187
|
+
"properties": {
|
|
188
|
+
"fingerprint": {"type": "string", "pattern": "^[a-f0-9]{64}$"},
|
|
189
|
+
"resolution_criterion": {"type": "string", "pattern": "^[a-f0-9]{64}$"},
|
|
190
|
+
"concern": {"type": ["string", "null"], "pattern": "^[a-f0-9]{64}$"},
|
|
191
|
+
"path": {"type": ["string", "null"], "maxLength": 256},
|
|
192
|
+
"symbol": {"type": ["string", "null"], "maxLength": 256},
|
|
193
|
+
"defect_kind": {"type": "string", "maxLength": 128},
|
|
194
|
+
"generation": {"type": "integer", "minimum": 0},
|
|
195
|
+
"blocking": {"type": "boolean"}
|
|
196
|
+
}
|
|
197
|
+
}
|
|
198
|
+
},
|
|
199
|
+
"reviewed_paths": {"type": "array", "maxItems": 512, "items": {"type": "string", "maxLength": 256}},
|
|
200
|
+
"related_paths": {"type": "array", "maxItems": 64, "items": {"type": "string", "maxLength": 256}}
|
|
171
201
|
}
|
|
172
202
|
},
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
"
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
"
|
|
188
|
-
"
|
|
189
|
-
"
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
"
|
|
203
|
+
{
|
|
204
|
+
"type": "object",
|
|
205
|
+
"additionalProperties": false,
|
|
206
|
+
"required": [
|
|
207
|
+
"encoding",
|
|
208
|
+
"decoded_bytes",
|
|
209
|
+
"sha256",
|
|
210
|
+
"data"
|
|
211
|
+
],
|
|
212
|
+
"properties": {
|
|
213
|
+
"encoding": {
|
|
214
|
+
"const": "zlib-json-v1"
|
|
215
|
+
},
|
|
216
|
+
"decoded_bytes": {
|
|
217
|
+
"type": "integer",
|
|
218
|
+
"minimum": 1,
|
|
219
|
+
"maximum": 2097152
|
|
220
|
+
},
|
|
221
|
+
"sha256": {
|
|
222
|
+
"type": "string",
|
|
223
|
+
"pattern": "^[a-f0-9]{64}$"
|
|
224
|
+
},
|
|
225
|
+
"data": {
|
|
226
|
+
"type": "string",
|
|
227
|
+
"maxLength": 11264,
|
|
228
|
+
"pattern": "^[A-Za-z0-9+/]*={0,2}$"
|
|
193
229
|
}
|
|
194
230
|
}
|
|
195
231
|
},
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
}
|
|
232
|
+
{"$ref": "https://reviewsensei.dev/schemas/v1/evidence-manifest.schema.json"}
|
|
233
|
+
]
|
|
199
234
|
},
|
|
200
235
|
"progress": {
|
|
201
236
|
"type": "array",
|
|
@@ -0,0 +1,83 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
+
"$id": "https://reviewsensei.dev/schemas/v1/unchanged-source-citation.schema.json",
|
|
4
|
+
"title": "ReviewSensei unchanged-source citation v1",
|
|
5
|
+
"description": "Exact snapshot citation for one regular file that is unchanged between base and head. kind unchanged-source-v1 is distinct from a diff hunk. An absent diff is not evidence. Runtime rejects unequal blob SHAs, non-regular modes, secret and excluded paths, escaped paths, truncated ranges, foreign objects, and the same blob cited from another path. The validator does not fetch URLs.",
|
|
6
|
+
"type": "object",
|
|
7
|
+
"additionalProperties": false,
|
|
8
|
+
"required": [
|
|
9
|
+
"kind",
|
|
10
|
+
"repository",
|
|
11
|
+
"pull_request",
|
|
12
|
+
"base_sha",
|
|
13
|
+
"head_sha",
|
|
14
|
+
"path",
|
|
15
|
+
"mode",
|
|
16
|
+
"base_blob_sha",
|
|
17
|
+
"head_blob_sha",
|
|
18
|
+
"range_start",
|
|
19
|
+
"range_end",
|
|
20
|
+
"content_sha256",
|
|
21
|
+
"content_bytes"
|
|
22
|
+
],
|
|
23
|
+
"properties": {
|
|
24
|
+
"kind": {
|
|
25
|
+
"const": "unchanged-source-v1"
|
|
26
|
+
},
|
|
27
|
+
"repository": {
|
|
28
|
+
"type": "string",
|
|
29
|
+
"pattern": "^[A-Za-z0-9_.-]+/[A-Za-z0-9_.-]+$",
|
|
30
|
+
"maxLength": 256
|
|
31
|
+
},
|
|
32
|
+
"pull_request": {
|
|
33
|
+
"type": "integer",
|
|
34
|
+
"minimum": 1,
|
|
35
|
+
"maximum": 2147483647
|
|
36
|
+
},
|
|
37
|
+
"base_sha": {
|
|
38
|
+
"type": "string",
|
|
39
|
+
"pattern": "^[a-f0-9]{40}$"
|
|
40
|
+
},
|
|
41
|
+
"head_sha": {
|
|
42
|
+
"type": "string",
|
|
43
|
+
"pattern": "^[a-f0-9]{40}$"
|
|
44
|
+
},
|
|
45
|
+
"path": {
|
|
46
|
+
"type": "string",
|
|
47
|
+
"minLength": 1,
|
|
48
|
+
"maxLength": 4096,
|
|
49
|
+
"description": "Structural bounds only. parse_unchanged_source enforces a canonical repository-relative path and refuses escaped, secret, and excluded paths."
|
|
50
|
+
},
|
|
51
|
+
"mode": {
|
|
52
|
+
"type": "string",
|
|
53
|
+
"enum": ["100644", "100755"]
|
|
54
|
+
},
|
|
55
|
+
"base_blob_sha": {
|
|
56
|
+
"type": "string",
|
|
57
|
+
"pattern": "^[a-f0-9]{40}$"
|
|
58
|
+
},
|
|
59
|
+
"head_blob_sha": {
|
|
60
|
+
"type": "string",
|
|
61
|
+
"pattern": "^[a-f0-9]{40}$"
|
|
62
|
+
},
|
|
63
|
+
"range_start": {
|
|
64
|
+
"type": "integer",
|
|
65
|
+
"minimum": 1,
|
|
66
|
+
"maximum": 65536
|
|
67
|
+
},
|
|
68
|
+
"range_end": {
|
|
69
|
+
"type": "integer",
|
|
70
|
+
"minimum": 1,
|
|
71
|
+
"maximum": 65536
|
|
72
|
+
},
|
|
73
|
+
"content_sha256": {
|
|
74
|
+
"type": "string",
|
|
75
|
+
"pattern": "^[a-f0-9]{64}$"
|
|
76
|
+
},
|
|
77
|
+
"content_bytes": {
|
|
78
|
+
"type": "integer",
|
|
79
|
+
"minimum": 0,
|
|
80
|
+
"maximum": 65536
|
|
81
|
+
}
|
|
82
|
+
}
|
|
83
|
+
}
|
|
@@ -69,7 +69,7 @@
|
|
|
69
69
|
"provider_calls": {
|
|
70
70
|
"type": "integer",
|
|
71
71
|
"minimum": 0,
|
|
72
|
-
"maximum":
|
|
72
|
+
"maximum": 32
|
|
73
73
|
},
|
|
74
74
|
"transport_retries": {
|
|
75
75
|
"type": "integer",
|
|
@@ -95,7 +95,7 @@
|
|
|
95
95
|
},
|
|
96
96
|
"completed": {
|
|
97
97
|
"type": "array",
|
|
98
|
-
"maxItems":
|
|
98
|
+
"maxItems": 32,
|
|
99
99
|
"items": {
|
|
100
100
|
"type": "object",
|
|
101
101
|
"additionalProperties": false,
|
|
@@ -134,7 +134,7 @@
|
|
|
134
134
|
},
|
|
135
135
|
"request_digests": {
|
|
136
136
|
"type": "object",
|
|
137
|
-
"maxProperties":
|
|
137
|
+
"maxProperties": 32,
|
|
138
138
|
"propertyNames": {
|
|
139
139
|
"pattern": "^[a-f0-9]{64}$"
|
|
140
140
|
},
|
package/bin/_internal/{review_sensei-0.6.18.dist-info → review_sensei-0.6.20.dist-info}/METADATA
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: review-sensei
|
|
3
|
-
Version: 0.6.
|
|
3
|
+
Version: 0.6.20
|
|
4
4
|
Summary: Provider-neutral AI code review engine with an Ollama adapter.
|
|
5
5
|
Author: Mohamad Alsabbagh
|
|
6
6
|
License-Expression: MIT
|
|
@@ -46,6 +46,9 @@ providers later.
|
|
|
46
46
|
> movement remain operator-only. It
|
|
47
47
|
> defaults to a local Ollama endpoint and does not require a hosted backend.
|
|
48
48
|
|
|
49
|
+
For source-linked sequence diagrams, limits, lens behavior, and valid
|
|
50
|
+
configuration examples, see [Review pipelines and customization](docs/review-pipelines.md).
|
|
51
|
+
|
|
49
52
|
## What it does
|
|
50
53
|
|
|
51
54
|
- Keeps review business logic independent of GitHub and model vendors.
|
|
@@ -137,8 +140,8 @@ provider-neutral `@reviewsensei/cli` launcher:
|
|
|
137
140
|
|
|
138
141
|
<!-- release-installation:package-npm-1:start -->
|
|
139
142
|
```bash
|
|
140
|
-
npx --yes @reviewsensei/cli@0.6.
|
|
141
|
-
npx --yes @reviewsensei/cli@0.6.
|
|
143
|
+
npx --yes @reviewsensei/cli@0.6.20 --version
|
|
144
|
+
npx --yes @reviewsensei/cli@0.6.20 --help
|
|
142
145
|
```
|
|
143
146
|
<!-- release-installation:package-npm-1:end -->
|
|
144
147
|
|
|
@@ -774,6 +777,15 @@ an explicitly named `--api-key-env` remains an operator opt-in.
|
|
|
774
777
|
The canonical handle is `@reviewsensei`; `@ReviewSensei` and other ASCII case
|
|
775
778
|
variants work too. `@sensei` remains supported, with its existing case behavior.
|
|
776
779
|
Both handles use the same authorization, publication policy, and bounded context.
|
|
780
|
+
For concrete factual replies, verified operator commands, human-inventory
|
|
781
|
+
boundaries and the complete-feedback API's current integration status, see
|
|
782
|
+
[human assessment workflows](docs/human-assessment.md).
|
|
783
|
+
|
|
784
|
+
The local, opt-in [human file review library](docs/human-file-review.md) records
|
|
785
|
+
explicit selected binary-file confirmations with exact snapshot/content and
|
|
786
|
+
live reviewer checks. AI coverage stays unsupported; text findings remain open.
|
|
787
|
+
Confirmation defaults off, and released CLI/mention routing and automatic
|
|
788
|
+
approval are not enabled by this library change.
|
|
777
789
|
Existing installations need a caller update as well as the matching runtime and
|
|
778
790
|
broker update; see [the caller rollout guide](docs/mention-handle-rollout.md).
|
|
779
791
|
|
|
@@ -783,7 +795,11 @@ outcome. Follow-up mentions in the same inline or PR conversation include the
|
|
|
783
795
|
bounded prior thread, diff context, findings, and trusted-base learnings. Cloud
|
|
784
796
|
mode sends that bounded conversation context to Ollama Cloud; local mode keeps
|
|
785
797
|
it on the configured local service. Published review summaries and inline
|
|
786
|
-
findings also tell readers to reply with @reviewsensei followed by their question
|
|
798
|
+
findings also tell readers to reply with @reviewsensei followed by their question,
|
|
799
|
+
and they include the maintainer commands for approving media and overriding a
|
|
800
|
+
finding by its `RS-` id. After an override, comment `@reviewsensei verify` to
|
|
801
|
+
apply it. An override applies to the current commit only. A new push needs a
|
|
802
|
+
new override.
|
|
787
803
|
`review.json` is uploaded only when
|
|
788
804
|
`github.artifacts: diagnostics` is set in `.reviewsensei.yml`; setup-v5 does not
|
|
789
805
|
create a separate version artifact. See
|