opencode-azure-devops-pr-review 0.3.3 → 0.3.4
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/CHANGELOG.md +26 -0
- package/README.md +19 -12
- package/package.json +1 -1
- package/src/prompts/common.md +33 -16
- package/src/prompts/quick.md +2 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,31 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 0.3.4 — 2026-11-01
|
|
4
|
+
|
|
5
|
+
- Reviewers file concrete gaps as findings, usually low: a changed or added
|
|
6
|
+
behavior that no test would catch where the project already tests comparable
|
|
7
|
+
code, a test that cannot fail or checks the wrong thing, a comment, document,
|
|
8
|
+
example, schema or configuration that now contradicts the code, and
|
|
9
|
+
duplicated, dead, misleading or inconsistent code the change introduces.
|
|
10
|
+
Design trade-offs and general advice without a specific defect or location
|
|
11
|
+
stay in the report and the summary's improvement suggestions. Low findings
|
|
12
|
+
stay in the summary index, as before.
|
|
13
|
+
- A mistake repeated in places that each need their own correction, such as
|
|
14
|
+
parallel routes or handlers that make the same wrong call, is one finding per
|
|
15
|
+
place, each at its own lines with the sibling places in its evidence, and
|
|
16
|
+
reviewers check their other assigned files for the same mistake. Identical
|
|
17
|
+
copies of one file among one reviewer's assigned files count as one place;
|
|
18
|
+
copies that a large PR's shards give to different reviewers can each produce
|
|
19
|
+
a finding. One wrong piece of shared code stays one finding at that code.
|
|
20
|
+
`/pr-quick` follows the same rule.
|
|
21
|
+
- In a self-judged before-and-after comparison on the public ReviewBench test
|
|
22
|
+
set, `/pr-deep` with gpt-6.1-sol matched more of the high- and
|
|
23
|
+
medium-severity reference issues, including high ones, with more findings,
|
|
24
|
+
mostly low, and somewhat longer reviews; the share of findings judged valid
|
|
25
|
+
stayed about the same. `/pr-review` with gpt-6-luna matched slightly more,
|
|
26
|
+
within the variation between runs. The
|
|
27
|
+
[validation record](docs/VALIDATION.md) describes the method and its limits.
|
|
28
|
+
|
|
3
29
|
## 0.3.3 — 2026-10-31
|
|
4
30
|
|
|
5
31
|
- AZPR is tested with OpenCode 2.2.4 instead of 2.1.4. The runtime needed no
|
package/README.md
CHANGED
|
@@ -47,7 +47,7 @@ is an actual capture excerpt with identifying UI removed and its text unchanged.
|
|
|
47
47
|
[company networks](docs/ENTERPRISE.md#company-networks) first):
|
|
48
48
|
|
|
49
49
|
```sh
|
|
50
|
-
opencode plugin add opencode-azure-devops-pr-review@0.3.
|
|
50
|
+
opencode plugin add opencode-azure-devops-pr-review@0.3.4
|
|
51
51
|
```
|
|
52
52
|
|
|
53
53
|
2. Follow the [quickstart](docs/QUICKSTART.md) to save your PAT in a private
|
|
@@ -263,14 +263,14 @@ Azure DevOps REST API with the runtime's built-in `fetch`.
|
|
|
263
263
|
Install the npm package with OpenCode's plugin manager:
|
|
264
264
|
|
|
265
265
|
```sh
|
|
266
|
-
opencode plugin add opencode-azure-devops-pr-review@0.3.
|
|
266
|
+
opencode plugin add opencode-azure-devops-pr-review@0.3.4
|
|
267
267
|
```
|
|
268
268
|
|
|
269
269
|
The same release is also a versioned Git package, which needs Git but not the
|
|
270
270
|
npm registry:
|
|
271
271
|
|
|
272
272
|
```sh
|
|
273
|
-
opencode plugin add 'github:WTLAIB/opencode-azure-devops-pr-review-v2#v0.3.
|
|
273
|
+
opencode plugin add 'github:WTLAIB/opencode-azure-devops-pr-review-v2#v0.3.4'
|
|
274
274
|
```
|
|
275
275
|
|
|
276
276
|
Add only one of them. OpenCode 2.2.4 loads the plugin into a running OpenCode
|
|
@@ -284,7 +284,7 @@ To select another configuration file, use an absolute path in the host config:
|
|
|
284
284
|
```json
|
|
285
285
|
{
|
|
286
286
|
"plugins": [{
|
|
287
|
-
"package": "opencode-azure-devops-pr-review@0.3.
|
|
287
|
+
"package": "opencode-azure-devops-pr-review@0.3.4",
|
|
288
288
|
"options": { "settingsFile": "/absolute/path/to/azpr/settings.json" }
|
|
289
289
|
}]
|
|
290
290
|
}
|
|
@@ -309,7 +309,7 @@ For an entry that `opencode plugin add` created, add the new version and,
|
|
|
309
309
|
only when that succeeds, remove the previous one:
|
|
310
310
|
|
|
311
311
|
```sh
|
|
312
|
-
opencode plugin add opencode-azure-devops-pr-review@0.3.
|
|
312
|
+
opencode plugin add opencode-azure-devops-pr-review@0.3.4 &&
|
|
313
313
|
opencode plugin remove opencode-azure-devops-pr-review@PREVIOUS_VERSION
|
|
314
314
|
```
|
|
315
315
|
|
|
@@ -332,7 +332,7 @@ configuration needs no new `/pr-setup`. `opencode plugin list` should then
|
|
|
332
332
|
show a single `azpr` row with the new version (from 0.3.1, `/pr-check` names
|
|
333
333
|
it too); if it still shows the previous one, run `opencode service restart`.
|
|
334
334
|
Exact versions stay pinned, so `opencode plugin update` leaves them unchanged.
|
|
335
|
-
See the [0.3.
|
|
335
|
+
See the [0.3.4 release notes](docs/releases/v0.3.4.md) for what changed and the
|
|
336
336
|
[0.2.0 release notes](docs/releases/v0.2.0.md) for automatic comments, which
|
|
337
337
|
remain disabled unless you configure `afterReview` or request them with a
|
|
338
338
|
review command flag.
|
|
@@ -342,8 +342,8 @@ review command flag.
|
|
|
342
342
|
<details>
|
|
343
343
|
<summary>Source installation and replacement</summary>
|
|
344
344
|
|
|
345
|
-
Download the [v0.3.
|
|
346
|
-
and extract it, or check out tag `v0.3.
|
|
345
|
+
Download the [v0.3.4 source archive](https://github.com/WTLAIB/opencode-azure-devops-pr-review-v2/archive/refs/tags/v0.3.4.tar.gz)
|
|
346
|
+
and extract it, or check out tag `v0.3.4`. The installer needs POSIX `sh` and
|
|
347
347
|
Python 3's standard library. From that source directory:
|
|
348
348
|
|
|
349
349
|
```sh
|
|
@@ -475,7 +475,14 @@ never blocks `/pr-review`. Comment planning uses the review's risk model
|
|
|
475
475
|
| `quick.reviewer` | `/pr-quick` only: both focuses in one session per shard, its own source checks, and comment planning for quick reviews. Strong code comprehension, evidence judgment and reliable tool use. |
|
|
476
476
|
|
|
477
477
|
A role's focus orders its attention and is not a filter: every reviewer files
|
|
478
|
-
every concrete defect it finds, in any area, as a finding.
|
|
478
|
+
every concrete defect it finds, in any area, as a finding. Concrete gaps the
|
|
479
|
+
change leaves are findings too, usually low: a changed behavior no test would
|
|
480
|
+
catch where the project already tests comparable code, a test that cannot fail,
|
|
481
|
+
a comment or document that now contradicts the code, and duplicated or dead
|
|
482
|
+
code the change adds. A mistake repeated in places that each need their own fix
|
|
483
|
+
is one finding per place. Identical copies of one file count as one place when
|
|
484
|
+
one reviewer has them; in a large PR split into shards, copies that different
|
|
485
|
+
reviewers get can each produce a finding.
|
|
479
486
|
|
|
480
487
|
### All settings and defaults
|
|
481
488
|
|
|
@@ -761,8 +768,8 @@ and a loopback fake Azure DevOps REST service in disposable directories under
|
|
|
761
768
|
Uninstall without `--apply` previews; `--apply` archives only this package under
|
|
762
769
|
`azpr-v2-backups` and leaves the private state directory for you to delete.
|
|
763
770
|
For a native installation, remove the entry you added, for example
|
|
764
|
-
`opencode plugin remove opencode-azure-devops-pr-review@0.3.
|
|
765
|
-
`opencode plugin remove 'github:WTLAIB/opencode-azure-devops-pr-review-v2#v0.3.
|
|
771
|
+
`opencode plugin remove opencode-azure-devops-pr-review@0.3.4` or
|
|
772
|
+
`opencode plugin remove 'github:WTLAIB/opencode-azure-devops-pr-review-v2#v0.3.4'`;
|
|
766
773
|
the external settings, PAT file and private review state remain available.
|
|
767
774
|
|
|
768
775
|
[Architecture](docs/ARCHITECTURE.md), [commenting](docs/COMMENTING.md),
|
|
@@ -775,7 +782,7 @@ or personal model selections.
|
|
|
775
782
|
## License and releases
|
|
776
783
|
|
|
777
784
|
[MIT](LICENSE), copyright 2026 WTLAIB. See the [changelog](CHANGELOG.md) for the
|
|
778
|
-
release scope, [v0.3.
|
|
785
|
+
release scope, [v0.3.4](https://github.com/WTLAIB/opencode-azure-devops-pr-review-v2/releases/tag/v0.3.4)
|
|
779
786
|
for downloads, the [npm package](https://www.npmjs.com/package/opencode-azure-devops-pr-review),
|
|
780
787
|
[v0.2.0](https://github.com/WTLAIB/opencode-azure-devops-pr-review-v2/releases/tag/v0.2.0)
|
|
781
788
|
for the recorded demonstration, and [releasing](docs/RELEASING.md) for the
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "opencode-azure-devops-pr-review",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.4",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "Azure DevOps PR reviews from a URL in OpenCode, with no checkout, configurable models, separate verification, and comment previews you can adjust before posting",
|
|
6
6
|
"scripts": {
|
package/src/prompts/common.md
CHANGED
|
@@ -82,18 +82,29 @@ missing instead of guessing.
|
|
|
82
82
|
|
|
83
83
|
## Finding quality
|
|
84
84
|
|
|
85
|
-
Report concrete defects introduced or exposed by this PR, not
|
|
86
|
-
speculation or unrelated pre-existing issues. Trace callers,
|
|
87
|
-
transactions, locks and idempotency before concluding. A
|
|
88
|
-
race, an unusual input, a partial failure or a permission
|
|
89
|
-
that trigger is reachable; a working happy path excludes
|
|
90
|
-
performance from time, memory and I/O costs at realistic sizes
|
|
85
|
+
Report concrete defects and gaps introduced or exposed by this PR, not generic
|
|
86
|
+
style preferences, speculation or unrelated pre-existing issues. Trace callers,
|
|
87
|
+
guards, retries, transactions, locks and idempotency before concluding. A
|
|
88
|
+
defect that needs a race, an unusual input, a partial failure or a permission
|
|
89
|
+
boundary counts when that trigger is reachable; a working happy path excludes
|
|
90
|
+
nothing. Assess performance from time, memory and I/O costs at realistic sizes
|
|
91
|
+
and frequencies.
|
|
91
92
|
|
|
92
93
|
File every concrete defect you identify as its own entry in `findings`,
|
|
93
|
-
whatever your role's focus and however many there are. One entry per
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
94
|
+
whatever your role's focus and however many there are. One entry per place
|
|
95
|
+
that needs its own correction: separately wrong modules, functions, files or
|
|
96
|
+
routes are separate findings, each at its own lines, even when they repeat the
|
|
97
|
+
same mistake (copied logic, parallel handlers, callers that each make the same
|
|
98
|
+
wrong call) and their summaries match; name the sibling places in each
|
|
99
|
+
finding's evidence. Identical copies of one file among your assigned files (the
|
|
100
|
+
same template, example, document or vendored file repeated with identical
|
|
101
|
+
content in several directories) are one place: file the defect once, at one
|
|
102
|
+
copy, and list the other copies in evidence; copies assigned to other sessions
|
|
103
|
+
are reviewed there, and files whose content differs, such as each package's own
|
|
104
|
+
manifest or configuration, stay separate places. When you find a defect,
|
|
105
|
+
check your other assigned files for the same mistake. One wrong piece of code
|
|
106
|
+
that affects many callers, files or records is one finding at that code, with
|
|
107
|
+
the affected
|
|
97
108
|
<!-- azpr:verified -->
|
|
98
109
|
places in evidence. Only `findings` are verified and can become
|
|
99
110
|
comments; a defect described only in `report` is lost. There is no maximum: do
|
|
@@ -119,12 +130,18 @@ Severity measures supported impact, not confidence:
|
|
|
119
130
|
a broad service failure with a concrete reachable path.
|
|
120
131
|
- medium: a material functional or data-correctness failure with bounded impact
|
|
121
132
|
or practical recovery.
|
|
122
|
-
- low: a small but concrete behavioral defect.
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
code
|
|
127
|
-
|
|
133
|
+
- low: a small but concrete behavioral defect, or a concrete gap (below).
|
|
134
|
+
|
|
135
|
+
Concrete gaps the change leaves are findings too, usually low severity: a
|
|
136
|
+
changed or added behavior that no test would catch where the project already
|
|
137
|
+
tests comparable code (name the missing case and the tests it belongs with), a
|
|
138
|
+
test that cannot fail or checks the wrong thing, a comment, document, example,
|
|
139
|
+
schema or configuration that now contradicts the code, and duplicated, dead,
|
|
140
|
+
misleading or inconsistent code the change introduces. Name the specific code
|
|
141
|
+
and the concrete consequence. Design trade-offs and general advice without a
|
|
142
|
+
specific defect or location belong in report with the affected code, the
|
|
143
|
+
benefit and a proportionate direction. Zero findings is a valid result and does
|
|
144
|
+
not prove the code is bug-free.
|
|
128
145
|
|
|
129
146
|
## Output
|
|
130
147
|
|
package/src/prompts/quick.md
CHANGED
|
@@ -21,7 +21,8 @@ with AZPR's tools; thinking it over again is not a check:
|
|
|
21
21
|
validation, retries, tests) and why they do not refute the finding;
|
|
22
22
|
- a concern you could not confirm from source goes to `report` as an open
|
|
23
23
|
question, not to `findings`;
|
|
24
|
-
- one entry per
|
|
24
|
+
- one entry per place that needs its own correction, with severity from the
|
|
25
|
+
decisive impact.
|
|
25
26
|
|
|
26
27
|
## Location
|
|
27
28
|
|