@reviewsensei/cli-linux-x64-gnu 0.7.1 → 0.8.1

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 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.7.1
11
+ npm install --save-dev @reviewsensei/cli@0.8.1
12
12
  npx review-sensei --help
13
13
  ```
14
14
  <!-- release-installation:package-npm-1:end -->
Binary file
@@ -27,6 +27,33 @@
27
27
  "maxItems": 16,
28
28
  "items": {"type": "string", "minLength": 1, "maxLength": 1024}
29
29
  },
30
+ "severity": {
31
+ "type": "string",
32
+ "enum": ["low", "medium", "high", "critical"]
33
+ },
34
+ "remedy": {
35
+ "type": "string",
36
+ "minLength": 1,
37
+ "maxLength": 1024
38
+ },
39
+ "required_contract": {
40
+ "type": "string",
41
+ "enum": [
42
+ "required-contract",
43
+ "api-contract",
44
+ "compatibility-contract",
45
+ "changed-interface",
46
+ "public-api",
47
+ "persisted-state",
48
+ "security-boundary",
49
+ "test-expectation"
50
+ ]
51
+ },
52
+ "named_mandatory_rule": {
53
+ "type": "string",
54
+ "minLength": 1,
55
+ "maxLength": 256
56
+ },
30
57
  "evidence": {
31
58
  "type": "array",
32
59
  "minItems": 1,
@@ -0,0 +1,70 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "$id": "https://reviewsensei.dev/schemas/v1/rescan-state.schema.json",
4
+ "title": "Explicit rescan replay watermarks and bounded audit receipts",
5
+ "type": "object",
6
+ "additionalProperties": false,
7
+ "required": [
8
+ "issue_comment",
9
+ "workflow_dispatch",
10
+ "receipts"
11
+ ],
12
+ "properties": {
13
+ "issue_comment": {
14
+ "type": "integer",
15
+ "minimum": 0,
16
+ "maximum": 9223372036854775807
17
+ },
18
+ "workflow_dispatch": {
19
+ "type": "integer",
20
+ "minimum": 0,
21
+ "maximum": 9223372036854775807
22
+ },
23
+ "receipts": {
24
+ "type": "array",
25
+ "minItems": 1,
26
+ "maxItems": 6,
27
+ "items": {
28
+ "type": "object",
29
+ "additionalProperties": false,
30
+ "required": [
31
+ "kind",
32
+ "request_id",
33
+ "review_id",
34
+ "source",
35
+ "ordinary_reservation",
36
+ "reservation"
37
+ ],
38
+ "properties": {
39
+ "kind": {
40
+ "enum": [
41
+ "issue_comment",
42
+ "workflow_dispatch"
43
+ ]
44
+ },
45
+ "request_id": {
46
+ "type": "integer",
47
+ "minimum": 1,
48
+ "maximum": 9223372036854775807
49
+ },
50
+ "review_id": {
51
+ "type": "integer",
52
+ "minimum": 1,
53
+ "maximum": 9223372036854775807
54
+ },
55
+ "source": {
56
+ "$ref": "https://reviewsensei.dev/schemas/v1/review-transaction.schema.json"
57
+ },
58
+ "ordinary_reservation": {
59
+ "type": "string",
60
+ "pattern": "^[a-f0-9]{8,64}$"
61
+ },
62
+ "reservation": {
63
+ "type": "string",
64
+ "pattern": "^[a-f0-9]{8,64}$"
65
+ }
66
+ }
67
+ }
68
+ }
69
+ }
70
+ }
@@ -22,6 +22,7 @@
22
22
  "record_sha256"
23
23
  ],
24
24
  "properties": {
25
+ "rescan_state": {"$ref": "https://reviewsensei.dev/schemas/v1/rescan-state.schema.json"},
25
26
  "schema_version": {"const": "1.0"},
26
27
  "repository": {"type": "string", "minLength": 1, "maxLength": 256},
27
28
  "pull_request": {"type": "integer", "minimum": 1, "maximum": 2147483647},
@@ -81,7 +82,7 @@
81
82
  "assessment_queue": {"$ref": "https://reviewsensei.dev/schemas/v1/assessment-queue-root.schema.json"},
82
83
  "dispositions": {
83
84
  "type": "array",
84
- "maxItems": 4,
85
+ "maxItems": 256,
85
86
  "items": {
86
87
  "type": "object",
87
88
  "additionalProperties": false,
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: review-sensei
3
- Version: 0.7.1
3
+ Version: 0.8.1
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.7.1 --version
143
- npx --yes @reviewsensei/cli@0.7.1 --help
142
+ npx --yes @reviewsensei/cli@0.8.1 --version
143
+ npx --yes @reviewsensei/cli@0.8.1 --help
144
144
  ```
145
145
  <!-- release-installation:package-npm-1:end -->
146
146
 
@@ -879,3 +879,20 @@ Community / Managed / Enterprise boundary, see
879
879
  [`docs/ownership-and-licensing.md`](docs/ownership-and-licensing.md),
880
880
  [`TRADEMARKS.md`](TRADEMARKS.md), [`CONTRIBUTING.md`](CONTRIBUTING.md), and
881
881
  [ADR 0040](docs/adr/0040-community-managed-enterprise-boundary.md).
882
+
883
+ ### Retry a published incomplete review
884
+
885
+ After resolving the cause of incomplete analysis, a maintainer can request a new
886
+ manual workflow dispatch for the PR or comment `@reviewsensei rescan` (optionally
887
+ `commit <current-head-sha>`). The hosted runtime verifies the current human
888
+ authorization and publication, then admits one fresh full analysis on that same
889
+ head. Re-running the same Actions run or delivering the same comment again does
890
+ not authorize another attempt. A failed analysis requires a new explicit request
891
+ and still consumes the existing per-head failure budget. A publication failure
892
+ requires recovery of its original result and contexts.
893
+
894
+ A rescan never marks policy-excluded files reviewed. If the same exclusion or
895
+ provider limit remains, the result can remain partial and approval stays withheld.
896
+ `review continue` unpauses; `verify` checks approval without inference; `review
897
+ reenroll` is only for expired or missing sessions. Complete reviews retain
898
+ ordinary duplicate suppression. See [ADR 0080](docs/adr/0080-explicit-incomplete-review-rescans.md).
@@ -115,6 +115,7 @@ docs/adr/0076-pr253-gap-closure-contracts.md
115
115
  docs/adr/0077-explicit-human-file-review.md
116
116
  docs/adr/0078-review-sensei-github-split.md
117
117
  docs/adr/0079-reservation-leak-prevention-and-admission-self-heal.md
118
+ docs/adr/0080-explicit-incomplete-review-rescans.md
118
119
  docs/adr/README.md
119
120
  docs/architecture/index.md
120
121
  docs/architecture/mandatory-rules.md
@@ -241,6 +242,7 @@ src/review_sensei/presentation.py
241
242
  src/review_sensei/provider_config.py
242
243
  src/review_sensei/reassessment_work.py
243
244
  src/review_sensei/release_manifest.py
245
+ src/review_sensei/rescan.py
244
246
  src/review_sensei/schemas.py
245
247
  src/review_sensei/scope.py
246
248
  src/review_sensei/sequence.py
@@ -298,6 +300,7 @@ src/review_sensei/schemas/observed-convergence-report.schema.json
298
300
  src/review_sensei/schemas/openrouter-qualification.schema.json
299
301
  src/review_sensei/schemas/promotion-record.schema.json
300
302
  src/review_sensei/schemas/recovery-artifact.schema.json
303
+ src/review_sensei/schemas/rescan-state.schema.json
301
304
  src/review_sensei/schemas/review-category.schema.json
302
305
  src/review_sensei/schemas/review-comment.schema.json
303
306
  src/review_sensei/schemas/review-convergence-policy.schema.json
@@ -314,6 +317,7 @@ src/review_sensei/schemas/verification-scope.schema.json
314
317
  src/review_sensei/schemas/work-recovery-artifact.schema.json
315
318
  tests/fake_github_http.py
316
319
  tests/packaging_guard.py
320
+ tests/dist_safe/test_comment_command_contract.py
317
321
  tests/dist_safe/test_distribution_contract.py
318
322
  tests/dist_safe/test_feedback_contract.py
319
323
  tests/dist_safe/test_human_file_review_contract.py
@@ -322,5 +326,6 @@ tests/dist_safe/test_install_smoke.py
322
326
  tests/dist_safe/test_local_review_contract.py
323
327
  tests/dist_safe/test_partition_contract.py
324
328
  tests/dist_safe/test_reply_receipts_contract.py
329
+ tests/dist_safe/test_review_update_contract.py
325
330
  tests/downstream/test_acceptance.py
326
331
  tests/fixtures/distribution-contract.json
package/bin/review-sensei CHANGED
Binary file
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@reviewsensei/cli-linux-x64-gnu",
3
- "version": "0.7.1",
3
+ "version": "0.8.1",
4
4
  "description": "ReviewSensei AI code review engine for Linux x64 with glibc 2.36+; native payload used by @reviewsensei/cli",
5
5
  "license": "MIT",
6
6
  "repository": {