@reviewsensei/cli-linux-x64-gnu 0.8.7 → 0.8.9
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/review_sensei/schemas/broker-diagnostics.json +20 -0
- package/bin/_internal/review_sensei/schemas/human-file-receipt-group.schema.json +20 -0
- package/bin/_internal/review_sensei/schemas/human-file-review-group.schema.json +19 -0
- package/bin/_internal/review_sensei/schemas/review-result.schema.json +8 -0
- package/bin/_internal/review_sensei/schemas/session-record.schema.json +20 -2
- package/bin/_internal/review_sensei.egg-info/PKG-INFO +3 -3
- package/bin/_internal/review_sensei.egg-info/SOURCES.txt +11 -0
- package/bin/review-sensei +0 -0
- package/package.json +1 -1
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.9
|
|
12
12
|
npx review-sensei --help
|
|
13
13
|
```
|
|
14
14
|
<!-- release-installation:package-npm-1:end -->
|
|
Binary file
|
|
@@ -443,5 +443,25 @@
|
|
|
443
443
|
"stage": "request_validation",
|
|
444
444
|
"action": "check_request",
|
|
445
445
|
"hint": "The controlled broker endpoint redirected. Preserve original charges and pending obligations; inspect the configured endpoint before retrying. Redirects cannot spend another dispatch or renew this attempt."
|
|
446
|
+
},
|
|
447
|
+
"broker_request_deadline_exhausted": {
|
|
448
|
+
"stage": "request_execution",
|
|
449
|
+
"action": "inspect_attempt",
|
|
450
|
+
"hint": "The bounded broker operation did not complete. Preserve the original attempt and pending obligations; its POST outcome may be uncertain. Inspect the retained evidence before an explicitly authorized retry."
|
|
451
|
+
},
|
|
452
|
+
"broker_request_clock_regressed": {
|
|
453
|
+
"stage": "request_validation",
|
|
454
|
+
"action": "check_request",
|
|
455
|
+
"hint": "The bounded broker operation did not complete. Preserve the original attempt and pending obligations; its POST outcome may be uncertain. Inspect the retained evidence before an explicitly authorized retry."
|
|
456
|
+
},
|
|
457
|
+
"broker_upstream_timeout": {
|
|
458
|
+
"stage": "upstream_request",
|
|
459
|
+
"action": "inspect_attempt",
|
|
460
|
+
"hint": "The bounded broker operation did not complete. Preserve the original attempt and pending obligations; its POST outcome may be uncertain. Inspect the retained evidence before an explicitly authorized retry."
|
|
461
|
+
},
|
|
462
|
+
"broker_request_deadline_invalid": {
|
|
463
|
+
"stage": "request_validation",
|
|
464
|
+
"action": "check_request",
|
|
465
|
+
"hint": "The downward-only request deadline was invalid. Inspect the original request without extending or retrying it automatically."
|
|
446
466
|
}
|
|
447
467
|
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
+
"$id": "https://reviewsensei.dev/schemas/v1/human-file-receipt-group.schema.json",
|
|
4
|
+
"title": "human-file-receipt-group",
|
|
5
|
+
"description": "One source event bound to a grouped request digest and bounded v1 receipt parts. Runtime validation and fresh independent host authentication remain required.",
|
|
6
|
+
"type": "object",
|
|
7
|
+
"additionalProperties": false,
|
|
8
|
+
"required": ["schema_version", "request_digest", "parts"],
|
|
9
|
+
"properties": {
|
|
10
|
+
"schema_version": {"const": "human-file-receipt-group-v1"},
|
|
11
|
+
"request_digest": {"type": "string", "pattern": "^[a-f0-9]{64}$"},
|
|
12
|
+
"parts": {
|
|
13
|
+
"type": "array",
|
|
14
|
+
"minItems": 1,
|
|
15
|
+
"maxItems": 32,
|
|
16
|
+
"uniqueItems": true,
|
|
17
|
+
"items": {"$ref": "https://reviewsensei.dev/schemas/v1/human-file-receipt.schema.json"}
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
+
"$id": "https://reviewsensei.dev/schemas/v1/human-file-review-group.schema.json",
|
|
4
|
+
"title": "human-file-review-group",
|
|
5
|
+
"description": "One complete inventory of ordered bounded v1 parts. Runtime validation checks common snapshot, canonical ordering, exact union, document bytes and independent authority.",
|
|
6
|
+
"type": "object",
|
|
7
|
+
"additionalProperties": false,
|
|
8
|
+
"required": ["schema_version", "parts"],
|
|
9
|
+
"properties": {
|
|
10
|
+
"schema_version": {"const": "human-file-review-group-v1"},
|
|
11
|
+
"parts": {
|
|
12
|
+
"type": "array",
|
|
13
|
+
"minItems": 2,
|
|
14
|
+
"maxItems": 32,
|
|
15
|
+
"uniqueItems": true,
|
|
16
|
+
"items": {"$ref": "https://reviewsensei.dev/schemas/v1/human-file-review.schema.json"}
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
}
|
|
@@ -45,6 +45,14 @@
|
|
|
45
45
|
"provider": {"type": "string", "minLength": 1},
|
|
46
46
|
"persistence_status": {"const": "capacity-exceeded"},
|
|
47
47
|
"coverage_only_partial": {"type": "boolean"},
|
|
48
|
+
"work_policy_digest": {
|
|
49
|
+
"type": "string",
|
|
50
|
+
"pattern": "^[a-f0-9]{64}$"
|
|
51
|
+
},
|
|
52
|
+
"continuation_scope_digest": {
|
|
53
|
+
"type": "string",
|
|
54
|
+
"pattern": "^[a-f0-9]{64}$"
|
|
55
|
+
},
|
|
48
56
|
"review_status": {
|
|
49
57
|
"type": "string",
|
|
50
58
|
"enum": ["complete", "partial", "incomplete", "summary-only"]
|
|
@@ -89,11 +89,29 @@
|
|
|
89
89
|
"required": ["fingerprint", "action", "reason", "actor", "head_sha", "expires_at"],
|
|
90
90
|
"properties": {
|
|
91
91
|
"fingerprint": {"type": "string", "pattern": "^[a-f0-9]{16,64}$"},
|
|
92
|
-
"action": {"enum": ["dismiss", "defer", "accept-risk"]},
|
|
92
|
+
"action": {"enum": ["dismiss", "defer", "accept-risk", "accept-coverage-uncertainty"]},
|
|
93
93
|
"reason": {"type": "string", "minLength": 1, "maxLength": 512},
|
|
94
94
|
"actor": {"type": "string", "minLength": 1, "maxLength": 256},
|
|
95
95
|
"head_sha": {"type": ["string", "null"], "pattern": "^[a-f0-9]{40,64}$"},
|
|
96
|
-
"expires_at": {"type": ["string", "null"], "format": "date-time"}
|
|
96
|
+
"expires_at": {"type": ["string", "null"], "format": "date-time"},
|
|
97
|
+
"actor_role": {"type": ["string", "null"], "maxLength": 64},
|
|
98
|
+
"finding_reference": {"type": ["string", "null"], "pattern": "^(?:RS-)?[A-Fa-f0-9]{6,64}$"},
|
|
99
|
+
"recorded_at": {"type": ["string", "null"], "format": "date-time"},
|
|
100
|
+
"policy_digest": {"type": ["string", "null"], "pattern": "^[a-f0-9]{64}$"},
|
|
101
|
+
"provenance": {"type": ["string", "null"], "maxLength": 256},
|
|
102
|
+
"resolution_kind": {
|
|
103
|
+
"type": ["string", "null"],
|
|
104
|
+
"enum": ["disputed", "deferred", "accepted_unresolved", "coverage_uncertainty_accepted", null]
|
|
105
|
+
},
|
|
106
|
+
"target_kind": {
|
|
107
|
+
"type": ["string", "null"],
|
|
108
|
+
"enum": ["finding", "coverage_uncertainty", null]
|
|
109
|
+
},
|
|
110
|
+
"incomplete_coverage": {
|
|
111
|
+
"type": "array",
|
|
112
|
+
"maxItems": 256,
|
|
113
|
+
"items": {"type": "string", "minLength": 1, "maxLength": 256}
|
|
114
|
+
}
|
|
97
115
|
}
|
|
98
116
|
}
|
|
99
117
|
},
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: review-sensei
|
|
3
|
-
Version: 0.8.
|
|
3
|
+
Version: 0.8.9
|
|
4
4
|
Summary: Provider-neutral AI code review engine with an Ollama adapter.
|
|
5
5
|
Author: Mohamad Alsabbagh
|
|
6
6
|
License-Expression: MIT
|
|
@@ -139,8 +139,8 @@ provider-neutral `@reviewsensei/cli` launcher:
|
|
|
139
139
|
|
|
140
140
|
<!-- release-installation:package-npm-1:start -->
|
|
141
141
|
```bash
|
|
142
|
-
npx --yes @reviewsensei/cli@0.8.
|
|
143
|
-
npx --yes @reviewsensei/cli@0.8.
|
|
142
|
+
npx --yes @reviewsensei/cli@0.8.9 --version
|
|
143
|
+
npx --yes @reviewsensei/cli@0.8.9 --help
|
|
144
144
|
```
|
|
145
145
|
<!-- release-installation:package-npm-1:end -->
|
|
146
146
|
|
|
@@ -134,6 +134,11 @@ docs/adr/0096-bounded-hosted-history-readers.md
|
|
|
134
134
|
docs/adr/0097-explicit-trusted-publication-recovery.md
|
|
135
135
|
docs/adr/0098-operation-local-admitted-inventory-handoff.md
|
|
136
136
|
docs/adr/0099-confirmed-publication-cleanup-progress.md
|
|
137
|
+
docs/adr/0100-independent-release-channel-runs.md
|
|
138
|
+
docs/adr/0101-bounded-broker-request-lifetime.md
|
|
139
|
+
docs/adr/0102-bind-partial-continuation-to-review-input.md
|
|
140
|
+
docs/adr/0103-bounded-hosted-media-confirmation.md
|
|
141
|
+
docs/adr/0104-published-npm-consumer-verification.md
|
|
137
142
|
docs/adr/README.md
|
|
138
143
|
docs/architecture/index.md
|
|
139
144
|
docs/architecture/mandatory-rules.md
|
|
@@ -336,7 +341,9 @@ src/review_sensei/schemas/eligibility-v5.schema.json
|
|
|
336
341
|
src/review_sensei/schemas/evaluation-corpus.schema.json
|
|
337
342
|
src/review_sensei/schemas/evaluation-report.schema.json
|
|
338
343
|
src/review_sensei/schemas/evidence-manifest.schema.json
|
|
344
|
+
src/review_sensei/schemas/human-file-receipt-group.schema.json
|
|
339
345
|
src/review_sensei/schemas/human-file-receipt.schema.json
|
|
346
|
+
src/review_sensei/schemas/human-file-review-group.schema.json
|
|
340
347
|
src/review_sensei/schemas/human-file-review.schema.json
|
|
341
348
|
src/review_sensei/schemas/later-finding-classification.schema.json
|
|
342
349
|
src/review_sensei/schemas/learning-entry.schema.json
|
|
@@ -391,13 +398,16 @@ tests/test_default_publication_cli_journey.py
|
|
|
391
398
|
tests/test_evidence_capacity.py
|
|
392
399
|
tests/test_feedback_fence_budget.py
|
|
393
400
|
tests/test_github_broker_client.py
|
|
401
|
+
tests/test_github_human_file_review.py
|
|
394
402
|
tests/test_handle_aware_operation_entry.py
|
|
395
403
|
tests/test_hosted_history_independent_acceptance.py
|
|
396
404
|
tests/test_hosted_history_readers.py
|
|
405
|
+
tests/test_hosted_media_context.py
|
|
397
406
|
tests/test_human_assessment.py
|
|
398
407
|
tests/test_initial_assessment_tail.py
|
|
399
408
|
tests/test_large_public_lifecycle.py
|
|
400
409
|
tests/test_local_partition_read_cache.py
|
|
410
|
+
tests/test_media_cli_activation.py
|
|
401
411
|
tests/test_operation_entry.py
|
|
402
412
|
tests/test_operation_host.py
|
|
403
413
|
tests/test_operation_wall_clock.py
|
|
@@ -434,6 +444,7 @@ tests/dist_safe/test_initial_assessment_tail_contract.py
|
|
|
434
444
|
tests/dist_safe/test_install_smoke.py
|
|
435
445
|
tests/dist_safe/test_large_public_lifecycle_contract.py
|
|
436
446
|
tests/dist_safe/test_local_review_contract.py
|
|
447
|
+
tests/dist_safe/test_media_cli_contract.py
|
|
437
448
|
tests/dist_safe/test_openrouter_cli_contract.py
|
|
438
449
|
tests/dist_safe/test_openrouter_metadata_contract.py
|
|
439
450
|
tests/dist_safe/test_openrouter_runtime_qualification_contract.py
|
package/bin/review-sensei
CHANGED
|
Binary file
|
package/package.json
CHANGED