opencode-azure-devops-pr-review 0.3.4 → 0.3.5

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 CHANGED
@@ -1,6 +1,37 @@
1
1
  # Changelog
2
2
 
3
- ## 0.3.4 — 2026-11-01
3
+ ## 0.3.5 — 2026-11-04
4
+
5
+ - A finding's severity says how much it matters to fix it before the change
6
+ merges: high must be fixed before merging, medium should be fixed in this
7
+ change and low can wait. Reviewers judge it from the harm their evidence
8
+ shows and how often realistic use reaches it, not from their confidence, the
9
+ size of the fix or the kind of issue. High is for realistic use that leaves a
10
+ core function or what the change is for not working, or that causes a
11
+ security breach, lost, corrupted or exposed data, or silently wrong results.
12
+ A rare trigger lowers a finding's severity instead of keeping it out of the
13
+ findings.
14
+ - Concrete gaps are rated by their effect instead of usually low: a document or
15
+ example by what following it does, shipped configuration like code, and a
16
+ missing or ineffective test low unless the test is what the change delivers.
17
+ A missing test that hides a defect in the change is reported as that defect,
18
+ with its own severity, and the test is named in its suggested fix.
19
+ - The verifier sets each confirmed finding's severity from the harm and trigger
20
+ it verified and may raise or lower the reviewer's, giving the reason.
21
+ `/pr-quick` uses the same scale. Publication is unchanged: high and medium
22
+ findings get inline comments, and low ones stay in the summary index.
23
+ - The reviewer instructions state each shared rule once, and the shared tool
24
+ guidance leaves what each tool returns to the tools' own descriptions.
25
+ - In a self-judged comparison on the public ReviewBench test set, `/pr-deep`
26
+ with gpt-6.1-sol labeled many more of the issues the judges rated high as
27
+ high, with about the same share of its high labels rated high by the judges,
28
+ and labeled fewer findings that deserve an inline comment as low. What
29
+ reviews found and the share of findings judged valid stayed within the
30
+ variation between runs of the same instructions; `/pr-review` with
31
+ gpt-6-luna stayed within its larger variation. The
32
+ [validation record](docs/VALIDATION.md) describes the method and its limits.
33
+
34
+ ## 0.3.4 — 2026-11-02
4
35
 
5
36
  - Reviewers file concrete gaps as findings, usually low: a changed or added
6
37
  behavior that no test would catch where the project already tests comparable
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.4
50
+ opencode plugin add opencode-azure-devops-pr-review@0.3.5
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.4
266
+ opencode plugin add opencode-azure-devops-pr-review@0.3.5
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.4'
273
+ opencode plugin add 'github:WTLAIB/opencode-azure-devops-pr-review-v2#v0.3.5'
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.4",
287
+ "package": "opencode-azure-devops-pr-review@0.3.5",
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.4 &&
312
+ opencode plugin add opencode-azure-devops-pr-review@0.3.5 &&
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.4 release notes](docs/releases/v0.3.4.md) for what changed and the
335
+ See the [0.3.5 release notes](docs/releases/v0.3.5.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.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
345
+ Download the [v0.3.5 source archive](https://github.com/WTLAIB/opencode-azure-devops-pr-review-v2/archive/refs/tags/v0.3.5.tar.gz)
346
+ and extract it, or check out tag `v0.3.5`. The installer needs POSIX `sh` and
347
347
  Python 3's standard library. From that source directory:
348
348
 
349
349
  ```sh
@@ -471,18 +471,34 @@ never blocks `/pr-review`. Comment planning uses the review's risk model
471
471
  | --- | --- |
472
472
  | `functional` | Requirements, boundaries, state changes, API compatibility and regressions. Strong code comprehension in the project's language. |
473
473
  | `risk` | Failures, retries, concurrency, authorization and data consistency. Evidence-based reasoning across call paths and reliable tool use. Also plans comments. |
474
- | `verifier` | Independent source re-checks, counterevidence, duplicate merging (including the same-file duplicate check) and the final report. Strong evidence judgment and instruction following. |
474
+ | `verifier` | Independent source re-checks, counterevidence, the final severity, duplicate merging (including the same-file duplicate check) and the final report. Strong evidence judgment and instruction following. |
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. 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.
478
+ every concrete defect it finds, in any area, as a finding. A finding's severity
479
+ says how much it matters to fix it before the change merges, judged from the
480
+ harm the evidence shows and how often realistic use reaches it, not from the
481
+ reviewer's confidence, the size of the fix or the kind of issue:
482
+
483
+ - **high** (must fix before merging): realistic use leaves a core function or
484
+ what the change is for not working, or causes serious harm such as a
485
+ security breach, lost or exposed data, or silently wrong results.
486
+ - **medium** (should fix in this change): realistic use hits a failure that
487
+ people notice and recover from, or a rare trigger causes serious harm.
488
+ - **low** (can wait): anything else, such as a recoverable failure that only a
489
+ rare trigger reaches, or an issue with no effect on behavior.
490
+
491
+ A rare trigger lowers the severity; it does not keep a defect out of the
492
+ findings. The verifier sets the final severity from its own checks; `/pr-quick`
493
+ keeps the reviewer's. Concrete gaps the change leaves are findings too, rated
494
+ by their effect: a changed behavior no test would catch where the project
495
+ already tests comparable code, a test that cannot fail, a comment or document
496
+ that now contradicts the code, and duplicated or dead code the change adds. A
497
+ missing test is low unless the test is what the change delivers, and a
498
+ document is rated by what following it does. A mistake repeated in places that
499
+ each need their own fix is one finding per place. Identical copies of one file
500
+ count as one place when one reviewer has them; in a large PR split into shards,
501
+ copies that different reviewers get can each produce a finding.
486
502
 
487
503
  ### All settings and defaults
488
504
 
@@ -768,8 +784,8 @@ and a loopback fake Azure DevOps REST service in disposable directories under
768
784
  Uninstall without `--apply` previews; `--apply` archives only this package under
769
785
  `azpr-v2-backups` and leaves the private state directory for you to delete.
770
786
  For a native installation, remove the entry you added, for example
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'`;
787
+ `opencode plugin remove opencode-azure-devops-pr-review@0.3.5` or
788
+ `opencode plugin remove 'github:WTLAIB/opencode-azure-devops-pr-review-v2#v0.3.5'`;
773
789
  the external settings, PAT file and private review state remain available.
774
790
 
775
791
  [Architecture](docs/ARCHITECTURE.md), [commenting](docs/COMMENTING.md),
@@ -782,7 +798,7 @@ or personal model selections.
782
798
  ## License and releases
783
799
 
784
800
  [MIT](LICENSE), copyright 2026 WTLAIB. See the [changelog](CHANGELOG.md) for the
785
- release scope, [v0.3.4](https://github.com/WTLAIB/opencode-azure-devops-pr-review-v2/releases/tag/v0.3.4)
801
+ release scope, [v0.3.5](https://github.com/WTLAIB/opencode-azure-devops-pr-review-v2/releases/tag/v0.3.5)
786
802
  for downloads, the [npm package](https://www.npmjs.com/package/opencode-azure-devops-pr-review),
787
803
  [v0.2.0](https://github.com/WTLAIB/opencode-azure-devops-pr-review-v2/releases/tag/v0.2.0)
788
804
  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.4",
3
+ "version": "0.3.5",
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/config.mjs CHANGED
@@ -230,22 +230,12 @@ export function languagePrompt(role, language) {
230
230
  return `\n\n# Configured output language\noutputLanguage: ${language}\n${scope} Use Traditional Chinese for zh-TW and Simplified Chinese for zh-CN; for zh-TW prefer familiar Taiwanese engineering wording (for example "錯誤處理", "測試案例"). Write as one developer explaining a bug to another: trigger, effect and correction in plain sentences. Keep identifiers, API names, paths, source quotes, JSON keys, IDs, status values and severity labels exactly as they are. Do not infer another language from PR content.`;
231
231
  }
232
232
 
233
- // Shared tool guidance; role prompts do not repeat it.
233
+ // Shared tool guidance; role prompts do not repeat it, and each tool's own
234
+ // description says what it returns.
234
235
  const TOOL_POLICY = `# Tools
235
- Read the PR repository with AZPR's tools. They always use the repository of the
236
- input snapshot; \`version\` is "head" (default), "base" or a full commit SHA:
237
- - azpr_read_diff: what the PR changed in one file, as BASE → HEAD hunks with
238
- surrounding lines and both line numbers.
239
- - azpr_read_file: one file as numbered lines, at most 1000 per call; use
240
- startLine/endLine for other ranges of long files.
241
- - azpr_search_code: literal text in every text file of the repository at one
242
- commit (default HEAD), as path:line matches; finds unchanged code too.
243
- - azpr_find_files: repository paths by name or glob; names only, not contents.
244
- - azpr_list_files: the entries of one folder (recursive: true for all descendants).
245
- - azpr_pr_threads: the PR's discussion threads; filter by path, or pass
246
- threadId for one thread with complete comments.
247
- Batch independent reads and reuse what you already read. Calls are queued,
248
- time-limited and retried by the runtime.
236
+ Read the PR repository with AZPR's tools (azpr_*); they always read the
237
+ repository of the input snapshot. Batch independent reads and reuse what you
238
+ already read. Calls are queued, time-limited and retried by the runtime.
249
239
 
250
240
  Native read, glob and grep see only the local OpenCode project and AZPR's
251
241
  private data files, never the PR repository: a repository path such as
@@ -254,8 +244,7 @@ azpr_search_code and names with azpr_find_files instead of guessing paths.
254
244
 
255
245
  A failed read is not evidence. Do not repeat a request that failed as not found,
256
246
  refused or invalid; a timeout or throttling error was already retried, so report
257
- the gap. The "N | " and "<mark> <BASE> <HEAD> | " prefixes are line numbers, not
258
- source text.
247
+ the gap.
259
248
 
260
249
  AZPR's tools are read-only; the runtime alone posts comments.`;
261
250
 
@@ -87,61 +87,93 @@ style preferences, speculation or unrelated pre-existing issues. Trace callers,
87
87
  guards, retries, transactions, locks and idempotency before concluding. A
88
88
  defect that needs a race, an unusual input, a partial failure or a permission
89
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.
92
-
93
- File every concrete defect you identify as its own entry in `findings`,
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
90
+ nothing. How often the trigger happens sets the finding's severity, not whether
91
+ you report it. Assess performance from time, memory and I/O costs at realistic
92
+ sizes and frequencies.
93
+
94
+ File every concrete defect you identify in `findings`: one entry for each place
95
+ that needs its own correction, at that place's lines. Separately written code is
96
+ a separate place even when it repeats a mistake made elsewhere and the summaries
97
+ match (copied logic, parallel handlers, callers that each make the same wrong
98
+ call): file each one and name the sibling places in its evidence. When you find
99
+ a defect, check your other assigned files for the same mistake. Shared or
100
+ identical content is one place: a wrong piece of code that many callers, files
101
+ or records rely on is one finding at that code, and identical copies of one file
102
+ among your assigned files (the same template, example, document or vendored
103
+ file in several directories) are one finding at one copy, with the other copies
104
+ listed in evidence. Copies assigned to other sessions are reviewed there; files
105
+ whose content differs, such as each package's own manifest or configuration,
106
+ are separate places.
108
107
  <!-- azpr:verified -->
109
- places in evidence. Only `findings` are verified and can become
110
- comments; a defect described only in `report` is lost. There is no maximum: do
108
+ Only `findings` are verified and can become comments; a defect described only
109
+ in `report` is lost. There is no maximum: do not sample, keep "the main ones" or
111
110
  <!-- azpr:quick -->
112
- places in evidence. Only `findings` can become comments; a defect described
113
- only in `report` is lost. There is no maximum: do
111
+ Only `findings` can become comments; a defect described only in `report` is
112
+ lost. There is no maximum: do not sample, keep "the main ones" or
114
113
  <!-- azpr:end -->
115
- not sample, keep "the main ones" or summarize the rest in prose; a plain defect
116
- needs one sentence per field.
114
+ summarize the rest in prose; a plain defect needs one sentence per field.
117
115
 
118
116
  Give each field one job:
119
117
  - summary: the defect in one sentence.
120
118
  - evidence: changed behavior, reachable trigger and impact, with the HEAD/BASE pair.
121
119
  - counterevidence: the strongest safeguard or alternative explanation you checked and why it does not refute the issue.
122
120
  - location: `head:/path:line` or `head:/path:start-end` counted from the file content (1-based, including blank lines and comments, excluding any "N |" display prefixes).
123
- - severity: high, medium or low (below).
121
+ - severity: high, medium or low (see Severity).
124
122
  - suggestion: one coherent correction and a focused verification case.
125
123
 
126
124
  Separate observation from inference, and never invent details to fill a field.
127
125
 
128
- Severity measures supported impact, not confidence:
129
- - high: a substantial security-boundary violation, data loss or corruption, or
130
- a broad service failure with a concrete reachable path.
131
- - medium: a material functional or data-correctness failure with bounded impact
132
- or practical recovery.
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.
126
+ Concrete gaps the change leaves are findings too: a changed or added behavior
127
+ that no test would catch where the project already tests comparable code (name
128
+ the missing case and the tests it belongs with), a test that cannot fail or
129
+ checks the wrong thing, a comment, document, example, schema or configuration
130
+ that now contradicts the code, and duplicated, dead, misleading or inconsistent
131
+ code the change introduces. Name the specific code and the concrete
132
+ consequence. Design trade-offs and general advice without a specific defect or
133
+ location belong in report with the affected code, the benefit and a
134
+ proportionate direction. Zero findings is a valid result and does not prove the
135
+ code is bug-free.
136
+
137
+ ## Severity
138
+
139
+ Severity tells the author how much it matters to fix a finding before the
140
+ change merges. Judge it from the harm your evidence shows and how often
141
+ realistic use reaches it, not from your confidence, the size of the fix or the
142
+ issue's category. Realistic use means ordinary inputs, common configurations
143
+ and deployments, failures the code's dependencies routinely produce (a dropped
144
+ connection, an error from a remote service), concurrent use where the code runs
145
+ concurrently and, at a security boundary, anyone who can reach it. Rare
146
+ triggers are input that no current caller or ordinary user produces, a step
147
+ that normally succeeds failing (a local file write, a later statement in a
148
+ sequence), a crash at a precise moment, a narrow timing window, an exhausted
149
+ resource, an unusual platform, or an attacker who first needs a victim's action
150
+ or a privileged position.
151
+
152
+ Take the first level that fits:
153
+ - high (must fix before merging): realistic use leaves a core function, or the
154
+ main thing this change is for, not working, or leads to serious harm: a
155
+ security breach; data people keep lost, corrupted or exposed; results people
156
+ act on that are silently wrong.
157
+ - medium (should fix in this change): realistic use hits a failure that people
158
+ notice and recover from (an error or wrong result for some valid inputs, a
159
+ broken secondary path, a status that hides a failure, a wrong result a later
160
+ step exposes, a failing test or build), or a rare trigger leads to serious
161
+ harm.
162
+ - low (can wait): anything else, such as a recoverable failure that only a
163
+ rare trigger reaches, or a finding with no effect on behavior (duplication,
164
+ naming, a stale comment, a missing test for working code) or only a cosmetic
165
+ one.
166
+
167
+ Rate gaps by their effect. A document or example is rated by what following it
168
+ does: by that result when it silently leads people to a wrong or unsafe result,
169
+ low when its mistake shows itself at once or it is only inaccurate. Shipped
170
+ configuration is behavior, rated like code. A missing or ineffective test is
171
+ low unless the test is what the change delivers; when it hides a defect in this
172
+ change, report the defect itself with its own severity and name the test that
173
+ would catch it in that finding's suggestion. Before settling on medium or low,
174
+ check whether realistic use reaches the defect and whether it leaves a core
175
+ function or what this change is for not working; before settling on high, make
176
+ sure evidence names that failure or harm and the realistic use behind it.
145
177
 
146
178
  ## Output
147
179
 
@@ -19,12 +19,13 @@ derivation over calculated examples, and keep a number only if you observed it.
19
19
  Return exactly one decision per assigned ID:
20
20
  - confirmed: the complete corrected finding under the same ID (summary,
21
21
  evidence, counterevidence, location, severity, suggestion) plus reason.
22
- Re-establish the location from source (`head:/path:line`), reassess severity
23
- from the decisive impact and explain a severity change in reason. The
24
- location is where the defect stated in summary is: correct the lines freely,
25
- but keep the candidate's file unless that defect is in another file. When you
26
- move a finding to another file, add `movedFrom` with the candidate's location
27
- and explain the move in reason.
22
+ Re-establish the location from source (`head:/path:line`) and set severity
23
+ yourself from the harm and trigger you verified: the candidate's severity is
24
+ a claim like the rest, so raise or lower it as the evidence requires and
25
+ explain a change in reason. The location is where the defect stated in
26
+ summary is: correct the lines freely, but keep the candidate's file unless
27
+ that defect is in another file. When you move a finding to another file, add
28
+ `movedFrom` with the candidate's location and explain the move in reason.
28
29
  - rejected: a concrete source-based refutation.
29
30
  - needsInfo: the missing evidence and what would settle it.
30
31
  - merged: `mergedInto` names another original ID (any ID in allFindingIds) with
@@ -2,17 +2,16 @@
2
2
 
3
3
  Independently review the files in `assignment.files` at `snapshot.head` against
4
4
  `snapshot.base`. Your focus is functional correctness: requirements, boundary
5
- inputs, state transitions, API and data compatibility, and regressions. The
6
- focus orders your attention; it is not a filter: file every concrete defect you
7
- find, of any kind, as a finding. You receive no other reviewer's work.
5
+ inputs, state transitions, API and data compatibility, regressions, and whether
6
+ tests would catch them. The focus orders your attention; it does not limit what
7
+ you report. You receive no other reviewer's work.
8
8
 
9
9
  Check how the change fits the surrounding system: responsibilities, dependency
10
10
  direction, data ownership, public interfaces and invariants. For changed types
11
11
  or data models, check construction, deserialization and mutation boundaries:
12
12
  can invalid states enter, related fields diverge, or exposed mutable references
13
13
  bypass an invariant? Check affected comments and docs against signatures, return
14
- values, side effects and errors. Assess whether tests would catch a plausible
15
- regression of the changed behavior; name the concrete missing case, not a count.
14
+ values, side effects and errors.
16
15
 
17
16
  `assignment.changes` gives each assigned path's change type. When
18
17
  `assignment.discoverFiles` is true, Azure listed only part of the changed files:
@@ -32,5 +31,4 @@ Return:
32
31
 
33
32
  `coverage.files` lists assigned paths you actually reviewed. Omit `location` when
34
33
  you cannot establish it from source and explain why; the verifier will settle it.
35
- Keep `report` for exclusions, advice, open questions and limitations; a defect
36
- belongs in `findings`, never only in `report`.
34
+ Keep `report` for exclusions, advice, open questions and limitations.
@@ -9,7 +9,7 @@ the report and to comment planning as you write them. Review the files at
9
9
  - failure behavior: exceptions, timeouts, cancellation, resource release,
10
10
  partial success, retries, duplicate execution, concurrency, transactions,
11
11
  authorization and data consistency.
12
- The focuses order your attention; file every concrete defect you find.
12
+ The focuses order your attention; they do not limit what you report.
13
13
 
14
14
  ## Check each finding yourself
15
15
 
@@ -22,7 +22,7 @@ with AZPR's tools; thinking it over again is not a check:
22
22
  - a concern you could not confirm from source goes to `report` as an open
23
23
  question, not to `findings`;
24
24
  - one entry per place that needs its own correction, with severity from the
25
- decisive impact.
25
+ harm and trigger you checked (see Severity).
26
26
 
27
27
  ## Location
28
28
 
@@ -56,4 +56,4 @@ Return:
56
56
  ```
57
57
 
58
58
  Keep `report` for what you checked, exclusions, advice, open questions and
59
- limitations; a defect belongs in `findings`, never only in `report`.
59
+ limitations.
@@ -4,18 +4,16 @@ Independently review the files in `assignment.files` at `snapshot.head` against
4
4
  `snapshot.base`. Your focus is failure behavior: exceptions, timeouts,
5
5
  cancellation, resource release, partial success, retry scope, duplicate
6
6
  execution, concurrency, transaction boundaries, authorization and data
7
- consistency. The focus orders your attention; it is not a filter: a wrong
8
- calculation, a dropped item or a broken contract is a finding even when no
9
- failure path is involved. You receive no other reviewer's work.
7
+ consistency, and whether tests cover that behavior. The focus orders your
8
+ attention; it does not limit what you report: a wrong calculation, a dropped
9
+ item or a broken contract is a finding even when no failure path is involved.
10
+ You receive no other reviewer's work.
10
11
 
11
12
  Follow control and data paths across trust and failure boundaries. Trace how a
12
13
  failure reaches its caller or user: does an exception become an apparent
13
14
  success, an empty result or an unjustified fallback, and can the caller tell and
14
15
  recover? Check documented failure guarantees against the actual cleanup and
15
- recovery paths. For each concern, identify a concrete reachable sequence and the
16
- safeguards across callers, not just the changed line; do not discard a defect
17
- because it needs a timeout, retry, unusual input or interleaving. Assess whether
18
- tests cover the important failure, asynchronous and concurrency behavior.
16
+ recovery paths.
19
17
 
20
18
  `assignment.changes` gives each assigned path's change type. When
21
19
  `assignment.discoverFiles` is true, Azure listed only part of the changed files:
@@ -35,5 +33,4 @@ Return:
35
33
 
36
34
  `coverage.files` lists assigned paths you actually reviewed. Omit `location` when
37
35
  you cannot establish it from source and explain why; the verifier will settle it.
38
- Keep `report` for exclusions, advice, open questions and limitations; a defect
39
- belongs in `findings`, never only in `report`.
36
+ Keep `report` for exclusions, advice, open questions and limitations.