@reviewsensei/cli-linux-x64-gnu 0.8.11 → 0.8.13

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.8.11
11
+ npm install --save-dev @reviewsensei/cli@0.8.13
12
12
  npx review-sensei --help
13
13
  ```
14
14
  <!-- release-installation:package-npm-1:end -->
Binary file
@@ -2005,57 +2005,6 @@ RQuQ+q7hv53yrlc8pa6yVvSLZUDp/TGBLPQ5Cdjua6e0ph0VpZj3AYHYhX3zUVxx
2005
2005
  iN66zB+Afko=
2006
2006
  -----END CERTIFICATE-----
2007
2007
 
2008
- # Issuer: CN=emSign Root CA - C1 O=eMudhra Inc OU=emSign PKI
2009
- # Subject: CN=emSign Root CA - C1 O=eMudhra Inc OU=emSign PKI
2010
- # Label: "emSign Root CA - C1"
2011
- # Serial: 825510296613316004955058
2012
- # MD5 Fingerprint: d8:e3:5d:01:21:fa:78:5a:b0:df:ba:d2:ee:2a:5f:68
2013
- # SHA1 Fingerprint: e7:2e:f1:df:fc:b2:09:28:cf:5d:d4:d5:67:37:b1:51:cb:86:4f:01
2014
- # SHA256 Fingerprint: 12:56:09:aa:30:1d:a0:a2:49:b9:7a:82:39:cb:6a:34:21:6f:44:dc:ac:9f:39:54:b1:42:92:f2:e8:c8:60:8f
2015
- -----BEGIN CERTIFICATE-----
2016
- MIIDczCCAlugAwIBAgILAK7PALrEzzL4Q7IwDQYJKoZIhvcNAQELBQAwVjELMAkG
2017
- A1UEBhMCVVMxEzARBgNVBAsTCmVtU2lnbiBQS0kxFDASBgNVBAoTC2VNdWRocmEg
2018
- SW5jMRwwGgYDVQQDExNlbVNpZ24gUm9vdCBDQSAtIEMxMB4XDTE4MDIxODE4MzAw
2019
- MFoXDTQzMDIxODE4MzAwMFowVjELMAkGA1UEBhMCVVMxEzARBgNVBAsTCmVtU2ln
2020
- biBQS0kxFDASBgNVBAoTC2VNdWRocmEgSW5jMRwwGgYDVQQDExNlbVNpZ24gUm9v
2021
- dCBDQSAtIEMxMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAz+upufGZ
2022
- BczYKCFK83M0UYRWEPWgTywS4/oTmifQz/l5GnRfHXk5/Fv4cI7gklL35CX5VIPZ
2023
- HdPIWoU/Xse2B+4+wM6ar6xWQio5JXDWv7V7Nq2s9nPczdcdioOl+yuQFTdrHCZH
2024
- 3DspVpNqs8FqOp099cGXOFgFixwR4+S0uF2FHYP+eF8LRWgYSKVGczQ7/g/IdrvH
2025
- GPMF0Ybzhe3nudkyrVWIzqa2kbBPrH4VI5b2P/AgNBbeCsbEBEV5f6f9vtKppa+c
2026
- xSMq9zwhbL2vj07FOrLzNBL834AaSaTUqZX3noleoomslMuoaJuvimUnzYnu3Yy1
2027
- aylwQ6BpC+S5DwIDAQABo0IwQDAdBgNVHQ4EFgQU/qHgcB4qAzlSWkK+XJGFehiq
2028
- TbUwDgYDVR0PAQH/BAQDAgEGMA8GA1UdEwEB/wQFMAMBAf8wDQYJKoZIhvcNAQEL
2029
- BQADggEBAMJKVvoVIXsoounlHfv4LcQ5lkFMOycsxGwYFYDGrK9HWS8mC+M2sO87
2030
- /kOXSTKZEhVb3xEp/6tT+LvBeA+snFOvV71ojD1pM/CjoCNjO2RnIkSt1XHLVip4
2031
- kqNPEjE2NuLe/gDEo2APJ62gsIq1NnpSob0n9CAnYuhNlCQT5AoE6TyrLshDCUrG
2032
- YQTlSTR+08TI9Q/Aqum6VF7zYytPT1DU/rl7mYw9wC68AivTxEDkigcxHpvOJpkT
2033
- +xHqmiIMERnHXhuBUDDIlhJu58tBf5E7oke3VIAb3ADMmpDqw8NQBmIMMMAVSKeo
2034
- WXzhriKi4gp6D/piq1JM4fHfyr6DDUI=
2035
- -----END CERTIFICATE-----
2036
-
2037
- # Issuer: CN=emSign ECC Root CA - C3 O=eMudhra Inc OU=emSign PKI
2038
- # Subject: CN=emSign ECC Root CA - C3 O=eMudhra Inc OU=emSign PKI
2039
- # Label: "emSign ECC Root CA - C3"
2040
- # Serial: 582948710642506000014504
2041
- # MD5 Fingerprint: 3e:53:b3:a3:81:ee:d7:10:f8:d3:b0:1d:17:92:f5:d5
2042
- # SHA1 Fingerprint: b6:af:43:c2:9b:81:53:7d:f6:ef:6b:c3:1f:1f:60:15:0c:ee:48:66
2043
- # SHA256 Fingerprint: bc:4d:80:9b:15:18:9d:78:db:3e:1d:8c:f4:f9:72:6a:79:5d:a1:64:3c:a5:f1:35:8e:1d:db:0e:dc:0d:7e:b3
2044
- -----BEGIN CERTIFICATE-----
2045
- MIICKzCCAbGgAwIBAgIKe3G2gla4EnycqDAKBggqhkjOPQQDAzBaMQswCQYDVQQG
2046
- EwJVUzETMBEGA1UECxMKZW1TaWduIFBLSTEUMBIGA1UEChMLZU11ZGhyYSBJbmMx
2047
- IDAeBgNVBAMTF2VtU2lnbiBFQ0MgUm9vdCBDQSAtIEMzMB4XDTE4MDIxODE4MzAw
2048
- MFoXDTQzMDIxODE4MzAwMFowWjELMAkGA1UEBhMCVVMxEzARBgNVBAsTCmVtU2ln
2049
- biBQS0kxFDASBgNVBAoTC2VNdWRocmEgSW5jMSAwHgYDVQQDExdlbVNpZ24gRUND
2050
- IFJvb3QgQ0EgLSBDMzB2MBAGByqGSM49AgEGBSuBBAAiA2IABP2lYa57JhAd6bci
2051
- MK4G9IGzsUJxlTm801Ljr6/58pc1kjZGDoeVjbk5Wum739D+yAdBPLtVb4Ojavti
2052
- sIGJAnB9SMVK4+kiVCJNk7tCDK93nCOmfddhEc5lx/h//vXyqaNCMEAwHQYDVR0O
2053
- BBYEFPtaSNCAIEDyqOkAB2kZd6fmw/TPMA4GA1UdDwEB/wQEAwIBBjAPBgNVHRMB
2054
- Af8EBTADAQH/MAoGCCqGSM49BAMDA2gAMGUCMQC02C8Cif22TGK6Q04ThHK1rt0c
2055
- 3ta13FaPWEBaLd4gTCKDypOofu4SQMfWh0/434UCMBwUZOR8loMRnLDRWmFLpg9J
2056
- 0wD8ofzkpf9/rdcw0Md3f76BB1UwUCAU9Vc4CqgxUQ==
2057
- -----END CERTIFICATE-----
2058
-
2059
2008
  # Issuer: CN=Hongkong Post Root CA 3 O=Hongkong Post
2060
2009
  # Subject: CN=Hongkong Post Root CA 3 O=Hongkong Post
2061
2010
  # Label: "Hongkong Post Root CA 3"
@@ -84,7 +84,8 @@
84
84
  "human-inventory",
85
85
  "feedback",
86
86
  "evidence",
87
- "queue"
87
+ "queue",
88
+ "dispositions"
88
89
  ]
89
90
  },
90
91
  "schema_version": {
@@ -36,6 +36,9 @@
36
36
  "reservation"
37
37
  ],
38
38
  "properties": {
39
+ "mode": {
40
+ "const": "remaining"
41
+ },
39
42
  "kind": {
40
43
  "enum": [
41
44
  "issue_comment",
@@ -62,6 +65,65 @@
62
65
  "reservation": {
63
66
  "type": "string",
64
67
  "pattern": "^[a-f0-9]{8,64}$"
68
+ },
69
+ "progress": {
70
+ "type": "object",
71
+ "additionalProperties": false,
72
+ "required": [
73
+ "parent_digest",
74
+ "child_digest",
75
+ "execution_digest",
76
+ "scope_digest",
77
+ "inventory_digest",
78
+ "reviewed_before_digest",
79
+ "reviewed_after_digest",
80
+ "schema_version",
81
+ "reviewed_before",
82
+ "reviewed_after"
83
+ ],
84
+ "properties": {
85
+ "parent_digest": {
86
+ "type": "string",
87
+ "pattern": "^[a-f0-9]{64}$"
88
+ },
89
+ "child_digest": {
90
+ "type": "string",
91
+ "pattern": "^[a-f0-9]{64}$"
92
+ },
93
+ "execution_digest": {
94
+ "type": "string",
95
+ "pattern": "^[a-f0-9]{64}$"
96
+ },
97
+ "scope_digest": {
98
+ "type": "string",
99
+ "pattern": "^[a-f0-9]{64}$"
100
+ },
101
+ "inventory_digest": {
102
+ "type": "string",
103
+ "pattern": "^[a-f0-9]{64}$"
104
+ },
105
+ "reviewed_before_digest": {
106
+ "type": "string",
107
+ "pattern": "^[a-f0-9]{64}$"
108
+ },
109
+ "reviewed_after_digest": {
110
+ "type": "string",
111
+ "pattern": "^[a-f0-9]{64}$"
112
+ },
113
+ "schema_version": {
114
+ "const": "1.0"
115
+ },
116
+ "reviewed_before": {
117
+ "type": "integer",
118
+ "minimum": 0,
119
+ "maximum": 1000000
120
+ },
121
+ "reviewed_after": {
122
+ "type": "integer",
123
+ "minimum": 1,
124
+ "maximum": 1000000
125
+ }
126
+ }
65
127
  }
66
128
  }
67
129
  }
@@ -44,6 +44,18 @@
44
44
  },
45
45
  "provider": {"type": "string", "minLength": 1},
46
46
  "persistence_status": {"const": "capacity-exceeded"},
47
+ "bounded_work_receipt": {
48
+ "type": "object", "additionalProperties": false,
49
+ "required": ["schema_version", "outcome", "execution_identity", "provider_calls", "scope_digest", "inventory_digest", "reviewed_digest"],
50
+ "properties": {
51
+ "schema_version": {"const": "1.0"}, "outcome": {"const": "bounded-stop"},
52
+ "execution_identity": {"type": "string", "pattern": "^[a-f0-9]{32}$"},
53
+ "provider_calls": {"type": "integer", "minimum": 1, "maximum": 64},
54
+ "scope_digest": {"type": "string", "pattern": "^[a-f0-9]{64}$"},
55
+ "inventory_digest": {"type": "string", "pattern": "^[a-f0-9]{64}$"},
56
+ "reviewed_digest": {"type": "string", "pattern": "^[a-f0-9]{64}$"}
57
+ }
58
+ },
47
59
  "coverage_only_partial": {"type": "boolean"},
48
60
  "work_policy_digest": {
49
61
  "type": "string",
@@ -22,6 +22,85 @@
22
22
  "record_sha256"
23
23
  ],
24
24
  "properties": {
25
+ "disposition_snapshot": {
26
+ "type": "object",
27
+ "additionalProperties": false,
28
+ "required": [
29
+ "schema_version",
30
+ "result_digest",
31
+ "state_manifest"
32
+ ],
33
+ "properties": {
34
+ "schema_version": {
35
+ "const": "1.0"
36
+ },
37
+ "result_digest": {
38
+ "type": "string",
39
+ "pattern": "^[a-f0-9]{64}$"
40
+ },
41
+ "state_manifest": {
42
+ "anyOf": [
43
+ {
44
+ "allOf": [
45
+ {
46
+ "$ref": "https://reviewsensei.dev/schemas/v1/evidence-manifest.schema.json"
47
+ },
48
+ {
49
+ "properties": {
50
+ "binding": {
51
+ "properties": {
52
+ "purpose": {
53
+ "const": "dispositions"
54
+ }
55
+ }
56
+ }
57
+ }
58
+ }
59
+ ]
60
+ },
61
+ {
62
+ "type": "object",
63
+ "additionalProperties": false,
64
+ "required": [
65
+ "encoding",
66
+ "binding",
67
+ "item_count",
68
+ "sha256",
69
+ "document"
70
+ ],
71
+ "properties": {
72
+ "encoding": {
73
+ "const": "inline-json-v1"
74
+ },
75
+ "binding": {
76
+ "type": "object",
77
+ "required": [
78
+ "purpose"
79
+ ],
80
+ "properties": {
81
+ "purpose": {
82
+ "const": "dispositions"
83
+ }
84
+ }
85
+ },
86
+ "item_count": {
87
+ "type": "integer",
88
+ "minimum": 0,
89
+ "maximum": 4096
90
+ },
91
+ "sha256": {
92
+ "type": "string",
93
+ "pattern": "^[a-f0-9]{64}$"
94
+ },
95
+ "document": {
96
+ "type": "object"
97
+ }
98
+ }
99
+ }
100
+ ]
101
+ }
102
+ }
103
+ },
25
104
  "rescan_state": {"$ref": "https://reviewsensei.dev/schemas/v1/rescan-state.schema.json"},
26
105
  "schema_version": {"const": "1.0"},
27
106
  "repository": {"type": "string", "minLength": 1, "maxLength": 256},
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: review-sensei
3
- Version: 0.8.11
3
+ Version: 0.8.13
4
4
  Summary: Provider-neutral AI code review engine with an Ollama adapter.
5
5
  Author: Mohamad Alsabbagh
6
6
  License-Expression: MIT
@@ -38,9 +38,9 @@ providers later.
38
38
  > workflow. Setup-v4 callers follow the operator-managed public `v5` tag; the
39
39
  > Worker validates that tag before creating the setup PR and the broker resolves
40
40
  > it again when issuing a capability. The broker still accepts `v4` during
41
- > migration. The example workflow installs the
42
- > requested exact package from PyPI first and falls back to its executing commit
43
- > only when the distribution is unavailable. Both paths prove the intended
41
+ > migration. The example workflow installs exact versioned packages; its
42
+ > [version-specific installation contract](docs/installation.md#github-workflow-example)
43
+ > defines registry requirements and source fallback. Supported paths prove the intended
44
44
  > release identity against a compatibility manifest; live canary and `v5`
45
45
  > movement remain operator-only. It
46
46
  > defaults to a local Ollama endpoint and does not require a hosted backend.
@@ -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.11 --version
143
- npx --yes @reviewsensei/cli@0.8.11 --help
142
+ npx --yes @reviewsensei/cli@0.8.13 --version
143
+ npx --yes @reviewsensei/cli@0.8.13 --help
144
144
  ```
145
145
  <!-- release-installation:package-npm-1:end -->
146
146
 
@@ -265,6 +265,12 @@ make the corresponding GitHub API write; Cloudflare does not perform that
265
265
  write. Review and reply capabilities grant `pull_requests: write`;
266
266
  `learning_write` additionally grants `contents: write`. A review-publication
267
267
  token cannot write repository contents.
268
+ The proposed [repository-bound cleanup capability](docs/adr/0110-repository-bound-thread-cleanup.md)
269
+ is separate from those ordinary grants. It is an unreleased implementation
270
+ candidate requiring qualified broker/hosted rollout and explicit live issuance
271
+ approval; hosted 0.3.15 does not enable it. See the
272
+ [cleanup recovery instructions](docs/approval-recovery.md#separate-cleanup-capability-unreleased-candidate)
273
+ before using a new capability to recover a permission denial.
268
274
  Cloudflare does not run the review engine or send prompts to the model provider;
269
275
  the GitHub Actions job performs those operations in the configured provider
270
276
  environment.
@@ -800,7 +806,12 @@ finding by its `RS-` id. Up to 10 IDs can be named in the same comment,
800
806
  separated by spaces or commas. An override
801
807
  re-checks approval on this commit without a new AI review. Comment
802
808
  `@reviewsensei verify` to retry that check. An override applies to the current commit only. A new push needs a
803
- new override.
809
+ new override. Cumulative `review remaining` windows require core 0.8.12 / hosted
810
+ 0.3.13 or a compatible later pair, a qualified activated runner, and caller
811
+ migration. Package publication alone does not activate an installed workflow.
812
+ See the [bounded approval recovery guide](docs/approval-recovery.md)
813
+ for batching, retained evidence, thread retries and actual native approval receipts;
814
+ its version applicability distinguishes released behavior from pending repairs.
804
815
  `review.json` is uploaded only when
805
816
  `github.artifacts: diagnostics` is set in `.reviewsensei.yml`; setup-v5 does not
806
817
  create a separate version artifact. See
@@ -8,6 +8,7 @@ SECURITY.md
8
8
  SUPPORT.md
9
9
  pyproject.toml
10
10
  setup.py
11
+ docs/approval-recovery.md
11
12
  docs/architecture.md
12
13
  docs/community.md
13
14
  docs/data-handling.md
@@ -139,6 +140,12 @@ docs/adr/0101-bounded-broker-request-lifetime.md
139
140
  docs/adr/0102-bind-partial-continuation-to-review-input.md
140
141
  docs/adr/0103-bounded-hosted-media-confirmation.md
141
142
  docs/adr/0104-published-npm-consumer-verification.md
143
+ docs/adr/0105-hosted-only-python-release-sources.md
144
+ docs/adr/0106-durable-decision-snapshots-and-metadata-phases.md
145
+ docs/adr/0107-bounded-remaining-coverage.md
146
+ docs/adr/0108-finalization-operational-failures.md
147
+ docs/adr/0109-registry-bound-core-installation.md
148
+ docs/adr/0110-repository-bound-thread-cleanup.md
142
149
  docs/adr/README.md
143
150
  docs/architecture/index.md
144
151
  docs/architecture/mandatory-rules.md
@@ -266,6 +273,7 @@ src/review_sensei/diagnostics.py
266
273
  src/review_sensei/diff.py
267
274
  src/review_sensei/discovery_work.py
268
275
  src/review_sensei/disposition.py
276
+ src/review_sensei/disposition_snapshot.py
269
277
  src/review_sensei/document_context.py
270
278
  src/review_sensei/errors.py
271
279
  src/review_sensei/evaluation.py
@@ -292,12 +300,14 @@ src/review_sensei/presentation.py
292
300
  src/review_sensei/provider_config.py
293
301
  src/review_sensei/reassessment_work.py
294
302
  src/review_sensei/release_manifest.py
303
+ src/review_sensei/remaining_progress.py
295
304
  src/review_sensei/rescan.py
296
305
  src/review_sensei/schemas.py
297
306
  src/review_sensei/scope.py
298
307
  src/review_sensei/sequence.py
299
308
  src/review_sensei/service.py
300
309
  src/review_sensei/session.py
310
+ src/review_sensei/session_phases.py
301
311
  src/review_sensei/stages.py
302
312
  src/review_sensei/unchanged_source.py
303
313
  src/review_sensei/validation.py
@@ -380,6 +390,7 @@ tests/provider_common_flow_contract.py
380
390
  tests/provider_deadline_contract.py
381
391
  tests/session_fixture_clock.py
382
392
  tests/test_activation_tail.py
393
+ tests/test_approval_progress.py
383
394
  tests/test_assessment_queue.py
384
395
  tests/test_assessment_queue_storage.py
385
396
  tests/test_authenticated_partitions.py
@@ -395,6 +406,8 @@ tests/test_default_human_inventory_store.py
395
406
  tests/test_default_human_reader_binding.py
396
407
  tests/test_default_human_rescan.py
397
408
  tests/test_default_publication_cli_journey.py
409
+ tests/test_diff.py
410
+ tests/test_disposition_snapshots.py
398
411
  tests/test_evidence_capacity.py
399
412
  tests/test_feedback_fence_budget.py
400
413
  tests/test_github_broker_client.py
@@ -419,6 +432,7 @@ tests/test_publication_future_capacity.py
419
432
  tests/test_publication_pagination_budget.py
420
433
  tests/test_publication_recovery.py
421
434
  tests/test_publication_recovery_phase.py
435
+ tests/test_remaining_progress.py
422
436
  tests/test_review_transaction.py
423
437
  tests/test_review_work.py
424
438
  tests/test_rich250_late_feedback.py
@@ -433,6 +447,7 @@ tests/dist_safe/test_comment_command_contract.py
433
447
  tests/dist_safe/test_conversation_deadline_contract.py
434
448
  tests/dist_safe/test_default_human_inventory_contract.py
435
449
  tests/dist_safe/test_default_publication_recovery_contract.py
450
+ tests/dist_safe/test_diff_records_contract.py
436
451
  tests/dist_safe/test_distribution_contract.py
437
452
  tests/dist_safe/test_feedback_contract.py
438
453
  tests/dist_safe/test_hosted_graphql_qualification.py
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.8.11",
3
+ "version": "0.8.13",
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": {