@reviewsensei/cli-linux-x64-gnu 0.6.15 → 0.6.16

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
@@ -7,7 +7,7 @@ standalone Python engine bundled for Linux x64 with glibc 2.36+.
7
7
  Install the public launcher, which selects the matching native package:
8
8
 
9
9
  ```console
10
- npm install --save-dev @reviewsensei/cli@0.6.15
10
+ npm install --save-dev @reviewsensei/cli@0.6.16
11
11
  npx review-sensei --help
12
12
  ```
13
13
 
Binary file
@@ -41,6 +41,16 @@
41
41
  {"type": "string", "pattern": "^[a-f0-9]{8,64}$"}
42
42
  ]
43
43
  },
44
+ "reservation_owner": {
45
+ "description": "Owning run from the authenticated OIDC broker; absent in legacy reservations.",
46
+ "type": "object",
47
+ "additionalProperties": false,
48
+ "required": ["run_id", "head_sha"],
49
+ "properties": {
50
+ "run_id": {"type": "string", "pattern": "^[1-9][0-9]{0,18}$"},
51
+ "head_sha": {"type": "string", "pattern": "^[a-f0-9]{40}$"}
52
+ }
53
+ },
44
54
  "reserved_slot": {
45
55
  "type": ["string", "null"],
46
56
  "enum": ["initial", "verification", "failed-attempt", null]
@@ -233,6 +243,15 @@
233
243
  }
234
244
  },
235
245
  "allOf": [
246
+ {
247
+ "if": {"required": ["reservation_owner"]},
248
+ "then": {
249
+ "properties": {
250
+ "reservation_id": {"type": "string"},
251
+ "reserved_slot": {"type": "string"}
252
+ }
253
+ }
254
+ },
236
255
  {
237
256
  "if": {
238
257
  "required": ["transaction"],
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: review-sensei
3
- Version: 0.6.15
3
+ Version: 0.6.16
4
4
  Summary: Provider-neutral AI code review engine with an Ollama adapter.
5
5
  Author: Mohamad Alsabbagh
6
6
  License-Expression: MIT
@@ -136,8 +136,8 @@ Node.js 22 or newer can invoke the same Python review engine through the
136
136
  provider-neutral `@reviewsensei/cli` launcher:
137
137
 
138
138
  ```bash
139
- npx --yes @reviewsensei/cli@0.6.15 --version
140
- npx --yes @reviewsensei/cli@0.6.15 --help
139
+ npx --yes @reviewsensei/cli@0.6.16 --version
140
+ npx --yes @reviewsensei/cli@0.6.16 --help
141
141
  ```
142
142
 
143
143
  The launcher selects one of the five native packages (macOS arm64/x64,
@@ -240,7 +240,7 @@ broker resolves the same tag at capability exchange time and checks the
240
240
  executing workflow SHA. Moving `v5` is therefore the public cutoff action.
241
241
  The selected provider mode applies consistently to automatic pull-request
242
242
  reviews, manual reviews, learning proposals, artifacts, and authorized
243
- `@sensei` conversations. Cloud runs use GitHub-hosted compute; local runs use
243
+ `@reviewsensei` conversations. Cloud runs use GitHub-hosted compute; local runs use
244
244
  the operator-controlled labeled self-hosted runner. Every generated write
245
245
  switch except automatic approval defaults to `false`; automatic approval
246
246
  defaults to `true` and requires automatic review and GitHub writes as separate
@@ -743,7 +743,7 @@ approval. An unclassified ReviewSensei root, malformed or incomplete thread
743
743
  data, an unverified configuration, or a draft/closed/fork/stale/App-authored PR
744
744
  fails closed or reports why approval was withheld. The finalizer runs after
745
745
  review publication and after the AI resolves a blocking ReviewSensei thread;
746
- `@sensei` replies themselves remain ordinary comments. Existing approval markers
746
+ `@reviewsensei` replies themselves remain ordinary comments. Existing approval markers
747
747
  prevent duplicate approvals, and ReviewSensei never calls a merge endpoint or
748
748
  enables auto-merge.
749
749
 
@@ -755,19 +755,25 @@ blocker. See
755
755
  [ADR 0032](docs/adr/0032-blocking-finding-classification-for-approvals.md)
756
756
  for the criteria and rollback path.
757
757
 
758
- Manual review and authorized `@sensei` replies use the same selected provider
758
+ Manual review and authorized `@reviewsensei` replies use the same selected provider
759
759
  mode. Generated `github reply` commands use the same inference configuration
760
760
  and CLI overrides as normal reviews, including `cloud-ollama` and
761
761
  `local-ollama`. Run from the trusted policy checkout or pass `--config` with
762
762
  its trusted configuration. A local backend receives no ambient cloud key;
763
763
  an explicitly named `--api-key-env` remains an operator opt-in.
764
+ The canonical handle is `@reviewsensei`; `@ReviewSensei` and other ASCII case
765
+ variants work too. `@sensei` remains supported, with its existing case behavior.
766
+ Both handles use the same authorization, publication policy, and bounded context.
767
+ Existing installations need a caller update as well as the matching runtime and
768
+ broker update; see [the caller rollout guide](docs/mention-handle-rollout.md).
769
+
764
770
  Each authorized mention receives a temporary 👀 reaction while the reply
765
771
  is generated; ReviewSensei removes it after the reply or another terminal
766
772
  outcome. Follow-up mentions in the same inline or PR conversation include the
767
773
  bounded prior thread, diff context, findings, and trusted-base learnings. Cloud
768
774
  mode sends that bounded conversation context to Ollama Cloud; local mode keeps
769
775
  it on the configured local service. Published review summaries and inline
770
- findings also tell readers to reply with @sensei followed by their question.
776
+ findings also tell readers to reply with @reviewsensei followed by their question.
771
777
  `review.json` is uploaded only when
772
778
  `github.artifacts: diagnostics` is set in `.reviewsensei.yml`; setup-v5 does not
773
779
  create a separate version artifact. See
@@ -16,6 +16,7 @@ docs/evaluation.md
16
16
  docs/github-app-auth.md
17
17
  docs/github-app-registration.md
18
18
  docs/installation.md
19
+ docs/mention-handle-rollout.md
19
20
  docs/openrouter-qualification.md
20
21
  docs/ownership-and-licensing.md
21
22
  docs/patch-suggestions.md
@@ -83,6 +84,9 @@ docs/adr/0059-dependency-review-and-partial-publication.md
83
84
  docs/adr/0060-stale-baseline-full-review-recovery.md
84
85
  docs/adr/0061-human-reply-reassessment.md
85
86
  docs/adr/0062-optional-hosted-runner-label.md
87
+ docs/adr/0063-authenticated-reservation-recovery.md
88
+ docs/adr/0064-canonical-mention-handle.md
89
+ docs/adr/0065-complete-human-inventory-and-approval-retry.md
86
90
  docs/adr/README.md
87
91
  docs/architecture/index.md
88
92
  docs/process/adr-process.md
@@ -200,6 +204,7 @@ src/review_sensei/hosting/github/learning_pr.py
200
204
  src/review_sensei/hosting/github/observed.py
201
205
  src/review_sensei/hosting/github/oidc.py
202
206
  src/review_sensei/hosting/github/publication.py
207
+ src/review_sensei/hosting/github/reservation_recovery.py
203
208
  src/review_sensei/hosting/github/session_ledger.py
204
209
  src/review_sensei/hosting/github/setup.py
205
210
  src/review_sensei/hosting/github/trigger.py
@@ -209,6 +214,7 @@ src/review_sensei/hosting/github/fixtures/historical-v4-uninstall.yml
209
214
  src/review_sensei/hosting/github/fixtures/merge-focused-v4-caller.yml
210
215
  src/review_sensei/hosting/github/fixtures/merge-focused-v4-config.yml
211
216
  src/review_sensei/hosting/github/fixtures/released-v4-resolve-trigger-runner-switch.yml
217
+ src/review_sensei/hosting/github/fixtures/sensei-only-v5-caller.yml
212
218
  src/review_sensei/providers/__init__.py
213
219
  src/review_sensei/providers/base.py
214
220
  src/review_sensei/providers/fixture.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.6.15",
3
+ "version": "0.6.16",
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": {