@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.
Files changed (27) 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/default_categories/03-architecture.json +1 -1
  5. package/bin/_internal/review_sensei/schemas/assessment-queue-root.schema.json +196 -0
  6. package/bin/_internal/review_sensei/schemas/baseline-evidence.schema.json +167 -0
  7. package/bin/_internal/review_sensei/schemas/broker-diagnostics.json +5 -0
  8. package/bin/_internal/review_sensei/schemas/checkpoint-diagnostics.schema.json +51 -6
  9. package/bin/_internal/review_sensei/schemas/eligibility-v4.schema.json +193 -0
  10. package/bin/_internal/review_sensei/schemas/evidence-manifest.schema.json +144 -0
  11. package/bin/_internal/review_sensei/schemas/human-file-receipt.schema.json +62 -0
  12. package/bin/_internal/review_sensei/schemas/human-file-review.schema.json +134 -0
  13. package/bin/_internal/review_sensei/schemas/review-result.schema.json +4 -1
  14. package/bin/_internal/review_sensei/schemas/session-record.schema.json +74 -39
  15. package/bin/_internal/review_sensei/schemas/unchanged-source-citation.schema.json +83 -0
  16. package/bin/_internal/review_sensei/schemas/work-recovery-artifact.schema.json +3 -3
  17. package/bin/_internal/{review_sensei-0.6.18.dist-info → review_sensei-0.6.20.dist-info}/METADATA +20 -4
  18. package/bin/_internal/{review_sensei-0.6.18.dist-info → review_sensei-0.6.20.dist-info}/RECORD +93 -52
  19. package/bin/review-sensei.exe +0 -0
  20. package/package.json +1 -1
  21. /package/bin/_internal/{review_sensei-0.6.18.dist-info → review_sensei-0.6.20.dist-info}/INSTALLER +0 -0
  22. /package/bin/_internal/{review_sensei-0.6.18.dist-info → review_sensei-0.6.20.dist-info}/REQUESTED +0 -0
  23. /package/bin/_internal/{review_sensei-0.6.18.dist-info → review_sensei-0.6.20.dist-info}/WHEEL +0 -0
  24. /package/bin/_internal/{review_sensei-0.6.18.dist-info → review_sensei-0.6.20.dist-info}/direct_url.json +0 -0
  25. /package/bin/_internal/{review_sensei-0.6.18.dist-info → review_sensei-0.6.20.dist-info}/entry_points.txt +0 -0
  26. /package/bin/_internal/{review_sensei-0.6.18.dist-info → review_sensei-0.6.20.dist-info}/licenses/LICENSE +0 -0
  27. /package/bin/_internal/{review_sensei-0.6.18.dist-info → review_sensei-0.6.20.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.6.18
11
+ npm install --save-dev @reviewsensei/cli@0.6.20
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=gUSmwRErxTaaE0O4_Agfb5Ivx_YdDkW42DNlMnZBluQ,108352
1
+ ../../Scripts/jsonschema.exe,sha256=EUgZwa7JhFryZV4rQlGOuni7tFQqxInF9YSlpvife4s,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,,
@@ -16,7 +16,7 @@
16
16
  },
17
17
  "documents": [
18
18
  {"path": "AGENTS.md"},
19
- {"path": "docs/architecture.md"},
19
+ {"path": "docs", "include": ["architecture.md"]},
20
20
  {"path": "docs/architecture", "include": ["**/*.md"]},
21
21
  {"path": "docs/adr", "include": ["**/*.md"]}
22
22
  ]
@@ -0,0 +1,196 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "$id": "https://reviewsensei.dev/schemas/v1/assessment-queue-root.schema.json",
4
+ "title": "ReviewSensei provisional durable assessment queue root v1",
5
+ "description": "Prototype queue-slot amendment; writers disabled by default. Runtime additionally enforces root/summary/session allocation, matching immutable generation, ordered UTC instants and actual plus reserved response bytes <= 1048576. C validates complete journal, receipts and original accounting.",
6
+ "type": "object",
7
+ "additionalProperties": false,
8
+ "required": [
9
+ "schema_version",
10
+ "inventory_digest",
11
+ "inventory_generation",
12
+ "state_manifest",
13
+ "active_operation"
14
+ ],
15
+ "properties": {
16
+ "schema_version": {
17
+ "const": "1.0"
18
+ },
19
+ "inventory_digest": {
20
+ "type": "string",
21
+ "pattern": "^[a-f0-9]{64}$"
22
+ },
23
+ "inventory_generation": {
24
+ "type": "integer",
25
+ "minimum": 0,
26
+ "maximum": 2147483647
27
+ },
28
+ "state_manifest": {
29
+ "anyOf": [
30
+ {
31
+ "allOf": [
32
+ {
33
+ "$ref": "https://reviewsensei.dev/schemas/v1/evidence-manifest.schema.json"
34
+ },
35
+ {
36
+ "properties": {
37
+ "binding": {
38
+ "properties": {
39
+ "purpose": {
40
+ "const": "queue"
41
+ }
42
+ }
43
+ }
44
+ }
45
+ }
46
+ ]
47
+ },
48
+ {
49
+ "type": "object",
50
+ "additionalProperties": false,
51
+ "required": [
52
+ "encoding",
53
+ "binding",
54
+ "item_count",
55
+ "sha256",
56
+ "document"
57
+ ],
58
+ "properties": {
59
+ "encoding": {
60
+ "const": "inline-json-v1"
61
+ },
62
+ "binding": {
63
+ "type": "object",
64
+ "required": [
65
+ "purpose"
66
+ ],
67
+ "properties": {
68
+ "purpose": {
69
+ "const": "queue"
70
+ }
71
+ }
72
+ },
73
+ "item_count": {
74
+ "type": "integer",
75
+ "minimum": 0,
76
+ "maximum": 4096
77
+ },
78
+ "sha256": {
79
+ "type": "string",
80
+ "pattern": "^[a-f0-9]{64}$"
81
+ },
82
+ "document": {
83
+ "type": "object"
84
+ }
85
+ }
86
+ }
87
+ ]
88
+ },
89
+ "active_operation": {
90
+ "anyOf": [
91
+ {
92
+ "type": "null"
93
+ },
94
+ {
95
+ "type": "object",
96
+ "additionalProperties": false,
97
+ "required": [
98
+ "operation_id",
99
+ "source_digest",
100
+ "authority_digest",
101
+ "execution_identity",
102
+ "deadline_at",
103
+ "expires_at",
104
+ "provider_calls",
105
+ "transport_retries",
106
+ "structural_retries",
107
+ "prompt_bytes",
108
+ "response_bytes",
109
+ "response_bytes_reserved",
110
+ "read_accounting"
111
+ ],
112
+ "properties": {
113
+ "operation_id": {
114
+ "type": "string",
115
+ "pattern": "^[a-f0-9]{64}$"
116
+ },
117
+ "source_digest": {
118
+ "type": "string",
119
+ "pattern": "^[a-f0-9]{64}$"
120
+ },
121
+ "authority_digest": {
122
+ "type": "string",
123
+ "pattern": "^[a-f0-9]{64}$"
124
+ },
125
+ "execution_identity": {
126
+ "type": "string",
127
+ "pattern": "^[a-f0-9]{32}$"
128
+ },
129
+ "deadline_at": {
130
+ "type": "string",
131
+ "format": "date-time",
132
+ "maxLength": 32,
133
+ "pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d{1,6})?(?:Z|\\+00:00)$"
134
+ },
135
+ "expires_at": {
136
+ "type": "string",
137
+ "format": "date-time",
138
+ "maxLength": 32,
139
+ "pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d{1,6})?(?:Z|\\+00:00)$"
140
+ },
141
+ "provider_calls": {
142
+ "type": "integer",
143
+ "minimum": 0,
144
+ "maximum": 32
145
+ },
146
+ "transport_retries": {
147
+ "type": "integer",
148
+ "minimum": 0,
149
+ "maximum": 2
150
+ },
151
+ "structural_retries": {
152
+ "type": "integer",
153
+ "minimum": 0,
154
+ "maximum": 2
155
+ },
156
+ "prompt_bytes": {
157
+ "type": "integer",
158
+ "minimum": 0,
159
+ "maximum": 2097152
160
+ },
161
+ "response_bytes": {
162
+ "type": "integer",
163
+ "minimum": 0,
164
+ "maximum": 1048576
165
+ },
166
+ "response_bytes_reserved": {
167
+ "type": "integer",
168
+ "minimum": 0,
169
+ "maximum": 1048576
170
+ },
171
+ "read_accounting": {
172
+ "type": "object",
173
+ "additionalProperties": false,
174
+ "required": [
175
+ "calls",
176
+ "deadline_at_ms"
177
+ ],
178
+ "properties": {
179
+ "calls": {
180
+ "type": "integer",
181
+ "minimum": 0,
182
+ "maximum": 64
183
+ },
184
+ "deadline_at_ms": {
185
+ "type": "integer",
186
+ "minimum": 0,
187
+ "maximum": 253402300799999
188
+ }
189
+ }
190
+ }
191
+ }
192
+ }
193
+ ]
194
+ }
195
+ }
196
+ }
@@ -0,0 +1,167 @@
1
+ {
2
+ "type": "object",
3
+ "additionalProperties": false,
4
+ "required": [
5
+ "cache_key",
6
+ "policy_digest",
7
+ "complete",
8
+ "coverage_complete",
9
+ "generation",
10
+ "findings",
11
+ "reviewed_paths",
12
+ "related_paths"
13
+ ],
14
+ "properties": {
15
+ "cache_key": {
16
+ "type": "object",
17
+ "additionalProperties": false,
18
+ "required": [
19
+ "repository",
20
+ "pull_request",
21
+ "base_sha",
22
+ "head_sha",
23
+ "engine",
24
+ "model",
25
+ "profile",
26
+ "stage_digest",
27
+ "context_digest",
28
+ "learning_digest"
29
+ ],
30
+ "properties": {
31
+ "repository": {
32
+ "type": "string",
33
+ "maxLength": 256
34
+ },
35
+ "pull_request": {
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
+ "engine": {
48
+ "type": "string",
49
+ "maxLength": 256
50
+ },
51
+ "model": {
52
+ "type": "string",
53
+ "maxLength": 256
54
+ },
55
+ "profile": {
56
+ "type": "string",
57
+ "maxLength": 256
58
+ },
59
+ "stage_digest": {
60
+ "type": "string",
61
+ "pattern": "^[a-f0-9]{64}$"
62
+ },
63
+ "context_digest": {
64
+ "type": "string",
65
+ "pattern": "^[a-f0-9]{64}$"
66
+ },
67
+ "learning_digest": {
68
+ "type": "string",
69
+ "pattern": "^[a-f0-9]{64}$"
70
+ }
71
+ }
72
+ },
73
+ "policy_digest": {
74
+ "type": "string",
75
+ "pattern": "^[a-f0-9]{64}$"
76
+ },
77
+ "complete": {
78
+ "type": "boolean"
79
+ },
80
+ "coverage_complete": {
81
+ "type": "boolean"
82
+ },
83
+ "generation": {
84
+ "type": "integer",
85
+ "minimum": 0
86
+ },
87
+ "findings": {
88
+ "type": "array",
89
+ "maxItems": 512,
90
+ "items": {
91
+ "type": "object",
92
+ "additionalProperties": false,
93
+ "required": [
94
+ "fingerprint",
95
+ "resolution_criterion",
96
+ "concern",
97
+ "path",
98
+ "symbol",
99
+ "defect_kind",
100
+ "generation",
101
+ "blocking"
102
+ ],
103
+ "properties": {
104
+ "fingerprint": {
105
+ "type": "string",
106
+ "pattern": "^[a-f0-9]{64}$"
107
+ },
108
+ "resolution_criterion": {
109
+ "type": "string",
110
+ "pattern": "^[a-f0-9]{64}$"
111
+ },
112
+ "concern": {
113
+ "type": [
114
+ "string",
115
+ "null"
116
+ ],
117
+ "pattern": "^[a-f0-9]{64}$"
118
+ },
119
+ "path": {
120
+ "type": [
121
+ "string",
122
+ "null"
123
+ ],
124
+ "maxLength": 4096
125
+ },
126
+ "symbol": {
127
+ "type": [
128
+ "string",
129
+ "null"
130
+ ],
131
+ "maxLength": 256
132
+ },
133
+ "defect_kind": {
134
+ "type": "string",
135
+ "maxLength": 256
136
+ },
137
+ "generation": {
138
+ "type": "integer",
139
+ "minimum": 0
140
+ },
141
+ "blocking": {
142
+ "type": "boolean"
143
+ }
144
+ }
145
+ }
146
+ },
147
+ "reviewed_paths": {
148
+ "type": "array",
149
+ "maxItems": 512,
150
+ "items": {
151
+ "type": "string",
152
+ "maxLength": 4096
153
+ }
154
+ },
155
+ "related_paths": {
156
+ "type": "array",
157
+ "maxItems": 64,
158
+ "items": {
159
+ "type": "string",
160
+ "maxLength": 4096
161
+ }
162
+ }
163
+ },
164
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
165
+ "$id": "https://reviewsensei.dev/schemas/v1/baseline-evidence.schema.json",
166
+ "title": "Complete bounded baseline evidence"
167
+ }
@@ -1,4 +1,9 @@
1
1
  {
2
+ "configuration_unavailable": {
3
+ "stage": "broker_configuration",
4
+ "action": "contact_operator",
5
+ "hint": "Broker configuration could not be used. Ask the broker operator to validate the existing configuration."
6
+ },
2
7
  "broker_capability_invalid": {
3
8
  "stage": "request_validation",
4
9
  "action": "check_request",
@@ -28,13 +28,14 @@
28
28
  "reasons": {
29
29
  "type": "array",
30
30
  "minItems": 1,
31
- "maxItems": 3,
31
+ "maxItems": 4,
32
32
  "uniqueItems": true,
33
33
  "items": {
34
34
  "enum": [
35
35
  "finding-count",
36
36
  "encoded-bytes",
37
- "field-width"
37
+ "field-width",
38
+ "decoded-bytes"
38
39
  ]
39
40
  }
40
41
  },
@@ -71,19 +72,63 @@
71
72
  "minimum": 0
72
73
  },
73
74
  "finding_limit": {
74
- "const": 2
75
+ "enum": [
76
+ 2,
77
+ 512
78
+ ]
75
79
  },
76
80
  "maximum_bytes": {
77
81
  "const": 11264
78
82
  },
79
83
  "identity_or_path_character_limit": {
80
- "const": 256
84
+ "enum": [
85
+ 256,
86
+ 4096
87
+ ]
81
88
  },
82
89
  "symbol_character_limit": {
83
90
  "const": 256
84
91
  },
85
92
  "defect_kind_character_limit": {
86
- "const": 128
93
+ "enum": [
94
+ 128,
95
+ 256
96
+ ]
97
+ },
98
+ "decoded_bytes": {
99
+ "type": "integer",
100
+ "minimum": 0
101
+ },
102
+ "maximum_decoded_bytes": {
103
+ "const": 2097152
104
+ }
105
+ },
106
+ "oneOf": [
107
+ {
108
+ "properties": {
109
+ "finding_limit": {
110
+ "const": 2
111
+ },
112
+ "identity_or_path_character_limit": {
113
+ "const": 256
114
+ },
115
+ "defect_kind_character_limit": {
116
+ "const": 128
117
+ }
118
+ }
119
+ },
120
+ {
121
+ "properties": {
122
+ "finding_limit": {
123
+ "const": 512
124
+ },
125
+ "identity_or_path_character_limit": {
126
+ "const": 4096
127
+ },
128
+ "defect_kind_character_limit": {
129
+ "const": 256
130
+ }
131
+ }
87
132
  }
88
- }
133
+ ]
89
134
  }
@@ -0,0 +1,193 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "$id": "https://reviewsensei.dev/schemas/v1/eligibility-v4.schema.json",
4
+ "title": "Proposed reader-first result-bound eligibility v4",
5
+ "description": "Structural validation only; authenticated host context, exact digests/counts/ownership, fresh all-part readback and framed future root allocation remain runtime requirements. Writers remain disabled.",
6
+ "type": "object",
7
+ "additionalProperties": false,
8
+ "required": [
9
+ "schema_version",
10
+ "head_sha",
11
+ "result_digest",
12
+ "facts",
13
+ "immutable_generation",
14
+ "activation_generation",
15
+ "human_inventory",
16
+ "visible_prose",
17
+ "human_resolution"
18
+ ],
19
+ "properties": {
20
+ "schema_version": {
21
+ "const": "4"
22
+ },
23
+ "head_sha": {
24
+ "type": "string",
25
+ "pattern": "^[a-f0-9]{40}$"
26
+ },
27
+ "result_digest": {
28
+ "type": "string",
29
+ "pattern": "^[a-f0-9]{64}$"
30
+ },
31
+ "facts": {
32
+ "type": "object",
33
+ "additionalProperties": false,
34
+ "required": [
35
+ "schema_version",
36
+ "enabled",
37
+ "app_authored",
38
+ "review_status",
39
+ "evidence_policy",
40
+ "has_blocking_findings",
41
+ "has_human_adjudication_findings",
42
+ "coverage_blocker",
43
+ "qualification",
44
+ "check_published"
45
+ ],
46
+ "properties": {
47
+ "schema_version": {
48
+ "const": "1"
49
+ },
50
+ "enabled": {
51
+ "type": "boolean"
52
+ },
53
+ "app_authored": {
54
+ "type": "boolean"
55
+ },
56
+ "review_status": {
57
+ "enum": [
58
+ "complete",
59
+ "partial",
60
+ "incomplete",
61
+ "summary-only"
62
+ ]
63
+ },
64
+ "evidence_policy": {
65
+ "enum": [
66
+ "legacy",
67
+ "confirmed"
68
+ ]
69
+ },
70
+ "has_blocking_findings": {
71
+ "type": "boolean"
72
+ },
73
+ "has_human_adjudication_findings": {
74
+ "type": "boolean"
75
+ },
76
+ "coverage_blocker": {
77
+ "enum": [
78
+ null,
79
+ "reviewed",
80
+ "partial",
81
+ "incomplete",
82
+ "unknown"
83
+ ]
84
+ },
85
+ "qualification": {
86
+ "enum": [
87
+ "not-required",
88
+ "qualified",
89
+ "missing",
90
+ "unverified"
91
+ ]
92
+ },
93
+ "check_published": {
94
+ "type": "boolean"
95
+ },
96
+ "persistence_status": {
97
+ "const": "capacity-exceeded"
98
+ }
99
+ },
100
+ "if": {
101
+ "required": [
102
+ "persistence_status"
103
+ ]
104
+ },
105
+ "then": {
106
+ "properties": {
107
+ "review_status": {
108
+ "const": "partial"
109
+ }
110
+ }
111
+ }
112
+ },
113
+ "immutable_generation": {
114
+ "type": "integer",
115
+ "minimum": 0,
116
+ "maximum": 2147483647
117
+ },
118
+ "activation_generation": {
119
+ "type": "integer",
120
+ "minimum": 0,
121
+ "maximum": 2147483647
122
+ },
123
+ "human_inventory": {
124
+ "allOf": [
125
+ {
126
+ "$ref": "https://reviewsensei.dev/schemas/v1/evidence-manifest.schema.json"
127
+ },
128
+ {
129
+ "properties": {
130
+ "binding": {
131
+ "properties": {
132
+ "purpose": {
133
+ "const": "human-inventory"
134
+ }
135
+ }
136
+ },
137
+ "item_count": {
138
+ "maximum": 250
139
+ }
140
+ }
141
+ }
142
+ ]
143
+ },
144
+ "visible_prose": {
145
+ "allOf": [
146
+ {
147
+ "$ref": "https://reviewsensei.dev/schemas/v1/evidence-manifest.schema.json"
148
+ },
149
+ {
150
+ "properties": {
151
+ "binding": {
152
+ "properties": {
153
+ "purpose": {
154
+ "const": "evidence"
155
+ }
156
+ }
157
+ },
158
+ "item_count": {
159
+ "maximum": 250
160
+ }
161
+ }
162
+ }
163
+ ]
164
+ },
165
+ "human_resolution": {
166
+ "type": "object",
167
+ "additionalProperties": false,
168
+ "required": [
169
+ "schema_version",
170
+ "inventory_digest",
171
+ "resolved"
172
+ ],
173
+ "properties": {
174
+ "schema_version": {
175
+ "const": "1"
176
+ },
177
+ "inventory_digest": {
178
+ "type": "string",
179
+ "pattern": "^[a-f0-9]{64}$"
180
+ },
181
+ "resolved": {
182
+ "type": "array",
183
+ "maxItems": 250,
184
+ "uniqueItems": true,
185
+ "items": {
186
+ "type": "string",
187
+ "pattern": "^[a-f0-9]{64}$"
188
+ }
189
+ }
190
+ }
191
+ }
192
+ }
193
+ }