opencode-azure-devops-pr-review 0.3.0 → 0.3.2
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 +42 -0
- package/README.md +189 -109
- package/package.json +2 -11
- package/src/attribution.mjs +2 -2
- package/src/azure.mjs +18 -3
- package/src/config.mjs +5 -0
- package/src/host.mjs +44 -0
- package/src/plugin.js +2 -1
- package/src/runtime.mjs +27 -5
- package/src/setup.mjs +49 -21
- package/AGENTS.md +0 -164
- package/CODE_OF_CONDUCT.md +0 -83
- package/CONTRIBUTING.md +0 -84
- package/SECURITY.md +0 -38
- package/config/settings.example.json +0 -55
- package/config/settings.schema.json +0 -316
- package/docs/ARCHITECTURE.md +0 -408
- package/docs/AZURE_DEVOPS.md +0 -214
- package/docs/COMMENTING.md +0 -399
- package/docs/DEBUGGING.md +0 -144
- package/docs/DEMO.md +0 -195
- package/docs/ENTERPRISE.md +0 -205
- package/docs/QUICKSTART.md +0 -219
- package/docs/RELEASING.md +0 -95
- package/docs/ROADMAP.md +0 -241
- package/docs/VALIDATION.md +0 -2066
- package/docs/VALIDATION_HISTORY.md +0 -1845
- package/docs/VERIFICATION.md +0 -42
- package/docs/assets/RECORDING.md +0 -131
- package/docs/assets/adjust-findings-teaser.gif +0 -0
- package/docs/assets/adjust-preview.png +0 -0
- package/docs/assets/adjust-publication.png +0 -0
- package/docs/assets/example-comments.md +0 -38
- package/docs/assets/generate-demo-gif.py +0 -25
- package/docs/assets/generate-demo.mjs +0 -141
- package/docs/assets/live-azure-readback.png +0 -0
- package/docs/assets/live-preview.png +0 -0
- package/docs/assets/live-review-teaser.gif +0 -0
- package/docs/assets/live-review.png +0 -0
- package/docs/assets/quick-review-demo.gif +0 -0
- package/docs/assets/record-terminal.py +0 -124
- package/docs/assets/render-terminal-demo.py +0 -168
- package/docs/assets/review-example.svg +0 -1
- package/docs/assets/walkthrough.svg +0 -1
- package/docs/releases/v0.1.0.md +0 -74
- package/docs/releases/v0.2.0.md +0 -107
- package/docs/releases/v0.2.1.md +0 -65
- package/docs/releases/v0.2.2.md +0 -76
- package/docs/releases/v0.2.3.md +0 -93
- package/docs/releases/v0.3.0.md +0 -125
- package/install.sh +0 -171
- package/scripts/merge-settings.py +0 -120
- package/uninstall.sh +0 -50
|
@@ -1,1845 +0,0 @@
|
|
|
1
|
-
# Validation history
|
|
2
|
-
|
|
3
|
-
This archive preserves earlier validation records, failed experiments and retired
|
|
4
|
-
behavior, including the runtime and later presentation acceptances. Test counts, pending status,
|
|
5
|
-
permissions, settings, publication formats and instructions below apply to their
|
|
6
|
-
recorded revisions. They are not current setup or acceptance instructions.
|
|
7
|
-
|
|
8
|
-
Use [current validation](VALIDATION.md), [README](../README.md),
|
|
9
|
-
[project verification](VERIFICATION.md) and [commenting](COMMENTING.md) for the
|
|
10
|
-
maintained behavior. Later success does not rewrite an earlier failure, restore
|
|
11
|
-
publication authorization, or establish model accuracy for other PRs.
|
|
12
|
-
|
|
13
|
-
The target environment is `@opencode/cli@2.0.22`, official
|
|
14
|
-
`@azure-devops/mcp@2.9.0`, and Ubuntu 22.04. This is a V2-only repository.
|
|
15
|
-
Validate the installed package, actual binary, MCP process, resolved dependencies,
|
|
16
|
-
permissions, and model services separately; a package label or passing mock suite
|
|
17
|
-
is not a live compatibility certificate.
|
|
18
|
-
|
|
19
|
-
The initial rewrite was tested on Ubuntu 20.04. On 2026-10-04, installer
|
|
20
|
-
regressions and installed-package host fixtures also passed on Ubuntu 22.04.5
|
|
21
|
-
with Node.js 22.23.3 and OpenCode 2.0.22. No live Azure/model review or PR publication
|
|
22
|
-
is implied by the source audit or offline checks. Record any later host smoke
|
|
23
|
-
result with its exact scope instead of promoting it to full service acceptance.
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
## Open items as of 2026-10-23 (archived 2026-10-24)
|
|
27
|
-
|
|
28
|
-
Until 2026-10-24 the current validation page listed the following items under
|
|
29
|
-
"Not yet validated". It now keeps a shorter list of known limitations for
|
|
30
|
-
users; the items are preserved here as written.
|
|
31
|
-
|
|
32
|
-
- Automatic publication from the setting (`afterReview: publish`) with a
|
|
33
|
-
real model: the live publications above used the `--publish` flag, which
|
|
34
|
-
differs only in where the step comes from. The item checks did not trigger
|
|
35
|
-
in any live run, since real comment text had none of the held constructs;
|
|
36
|
-
they were validated with the fixture services and the saved live previews
|
|
37
|
-
only. A quick review's automatic publication has not run live. The
|
|
38
|
-
repeated-summary rule did trigger live (above).
|
|
39
|
-
- Azure DevOps's own rendering and sanitizing of comments was not tested
|
|
40
|
-
against the content checks of automatic publication: the fuzzing rendered
|
|
41
|
-
with commonmark.js and markdown-it and read the HTML with parse5.
|
|
42
|
-
- A defect whose evidence spans a test and unchanged code in different shards
|
|
43
|
-
is found by gpt-6.1-sol (2 of 2 runs on PR #4) and missed by gpt-5.6-luna and
|
|
44
|
-
gpt-6-luna; other PRs are not yet measured.
|
|
45
|
-
- Azure DevOps Server, and repository files that are not UTF-8 text.
|
|
46
|
-
- `azure.caFile` with a real proxy: the corporate network above ran with
|
|
47
|
-
`verifyTls: false`; whether its proxy inspects TLS, and trusting its root CA
|
|
48
|
-
instead, were not checked. `azure.caFile` was validated with the fixture
|
|
49
|
-
proxy and CA above only. Proxies that require NTLM or Kerberos are not
|
|
50
|
-
supported directly.
|
|
51
|
-
- The stage inactivity watchdog with a real provider: no live stall has
|
|
52
|
-
occurred since it was added. It was validated with the fixture provider's
|
|
53
|
-
stalled HTTP stream; a stalled OpenAI WebSocket stream was not produced on
|
|
54
|
-
purpose.
|
|
55
|
-
- Streamed reasoning from a real reasoning model: the fixture streams answer
|
|
56
|
-
text only. A model that thinks without streaming anything looks silent to
|
|
57
|
-
the watchdog for that time.
|
|
58
|
-
- Planning more than two pages at a time (not measured), and `/pr-stop` while
|
|
59
|
-
pages are planned side by side with a real provider (only the fixtures and
|
|
60
|
-
offline tests cancel running pages).
|
|
61
|
-
- `/pr-quick` beyond these runs on three test PRs with one model: its
|
|
62
|
-
false-positive rate and misses on other PRs and models, a published quick
|
|
63
|
-
review of a multi-shard PR (only the 1-file PR's was posted), and combining
|
|
64
|
-
duplicates on a real multi-shard PR other than the test PR.
|
|
65
|
-
|
|
66
|
-
## Previous current validation — stability revision fd604a8 (archived 2026-10-10)
|
|
67
|
-
|
|
68
|
-
This section is the validation page as it stood before AZPR replaced the Azure DevOps MCP server with its own REST client. It describes the MCP-based runtime calls and is kept unchanged below.
|
|
69
|
-
|
|
70
|
-
This page records what the current revision (branch `stability-hardening`) was
|
|
71
|
-
tested with. Host integration, provider admission, source fidelity, model
|
|
72
|
-
quality and publication are separate claims; a passing fixture establishes only
|
|
73
|
-
the first. Earlier revisions and their live acceptance runs are preserved in
|
|
74
|
-
[validation history](VALIDATION_HISTORY.md).
|
|
75
|
-
|
|
76
|
-
### Environment
|
|
77
|
-
|
|
78
|
-
Ubuntu 22.04.5 LTS (WSL2, kernel 6.18), Node 22.23.3, OpenCode CLI 2.0.22.
|
|
79
|
-
Date: 2026-10-10.
|
|
80
|
-
|
|
81
|
-
### Offline tests
|
|
82
|
-
|
|
83
|
-
`npm run check` and `npm test` pass: 225 tests across settings, host helpers,
|
|
84
|
-
session transport, the MCP queue, the Azure client and snapshot, output
|
|
85
|
-
acceptance and correction prompts, comment validation and markers, planning and
|
|
86
|
-
publication, review sharding, persistence, rendering, installation and the
|
|
87
|
-
runtime integration (fake host plus fake Azure DevOps MCP).
|
|
88
|
-
|
|
89
|
-
### Exact-host fixtures
|
|
90
|
-
|
|
91
|
-
`tests/host-v2-smoke.mjs` (fresh install and `--replace`) runs the real OpenCode
|
|
92
|
-
2.0.22 binary with a loopback fake model provider and a stdio fake Azure DevOps
|
|
93
|
-
MCP with persistent thread state. Both passed:
|
|
94
|
-
|
|
95
|
-
| Scenario | Observed |
|
|
96
|
-
| --- | --- |
|
|
97
|
-
| `/pr-check` | READY with zero model requests; runtime MCP calls only. |
|
|
98
|
-
| `/pr-review` | COMPLETE; the verifier missed one decision and was corrected by one repair turn in the same session; `shell` and `execute` were absent from every private model request; the runtime read the snapshot and rechecked versions; PROGRESS notices reached the conversation; the review was persisted. |
|
|
99
|
-
| `/pr-comment` | PREVIEW, then `--publish` POSTED one summary and one inline comment with markers and file context. |
|
|
100
|
-
| Restart | After restarting the host, `/pr-comment --publish` returned POSTED with ALREADY_PRESENT, no new writes and no model request. |
|
|
101
|
-
| `/pr-stop` | A review hanging at the provider was CANCELLED. |
|
|
102
|
-
| Private sessions | Generate and compaction on a private session sent no provider request; ordinary generation still worked. |
|
|
103
|
-
| TUI | New and existing TUI sessions kept their origin and cancelled from the same TUI. |
|
|
104
|
-
|
|
105
|
-
`tests/host-v2-comment-scale.mjs` passed on the same host:
|
|
106
|
-
|
|
107
|
-
| Property | Observed |
|
|
108
|
-
| --- | --- |
|
|
109
|
-
| Changed files | 120, reviewed in 5 shards of 24 per role |
|
|
110
|
-
| Context overflow | One functional shard reported a nearly full context; the host attempted compaction, AZPR refused it, and the shard was split into `1/5a` and `1/5b`, both COMPLETE |
|
|
111
|
-
| Functional coverage | All 120 files exactly once across the remaining shards |
|
|
112
|
-
| Verification | 30 findings in 2 verification sessions |
|
|
113
|
-
| Planning | 8 pages of at most four findings |
|
|
114
|
-
| Publication | 21 threads (20 inline, 1 summary; 10 low findings in the summary); a second publish wrote nothing |
|
|
115
|
-
| Largest provider request | 25,993 characters |
|
|
116
|
-
|
|
117
|
-
### Live runs (Azure DevOps, real model)
|
|
118
|
-
|
|
119
|
-
PR kevin888y/OpenCode #2 (one changed file), `openai/gpt-5.6-luna` for all three
|
|
120
|
-
roles, `zh-TW`, through the user's OpenCode service with the installed package.
|
|
121
|
-
|
|
122
|
-
| Run | `/pr-check` | `/pr-review` | `/pr-comment --publish` | Second publish |
|
|
123
|
-
| --- | --- | --- | --- | --- |
|
|
124
|
-
| 1 (commit 5f23776) | NOT_READY: MCP thread read failed with an empty error | COMPLETE, 186 s; a provider transport error interrupted the verifier, which restarted its answer and needed one correction turn | POSTED 4 items, 125 s; planning took 17 model requests | INCOMPLETE: thread read failed before any write; no duplicates |
|
|
125
|
-
| 2 (fixes for run 1) | READY, 5 s | COMPLETE, 75 s | POSTED 4 items, 25 s; planning took 1 request and no tools | POSTED, all 4 ALREADY_PRESENT |
|
|
126
|
-
|
|
127
|
-
Both runs confirmed the same three seeded defects; inline comments landed on the
|
|
128
|
-
expected HEAD lines (24, 29, 37) and were read back independently through the
|
|
129
|
-
REST API. Run 2 used about 80,000 input tokens against 241,000 in run 1.
|
|
130
|
-
|
|
131
|
-
### Not yet validated
|
|
132
|
-
|
|
133
|
-
- Large PRs on real Azure DevOps: PR #3 (316 files) is untested. Through MCP
|
|
134
|
-
2.9.0 the runtime would see only the first 100 changed files.
|
|
135
|
-
- Real-model behavior of correction turns, shard sizes and verifier sharding is
|
|
136
|
-
unmeasured; defaults may need tuning from live evidence.
|
|
137
|
-
- Rendered comments and anchors in the Azure DevOps UI were not inspected.
|
|
138
|
-
|
|
139
|
-
## Previous current validation — revision c450fdd (archived 2026-10-10)
|
|
140
|
-
|
|
141
|
-
This section is the validation page as it stood before the stability revision. It describes the earlier architecture (model-echoed snapshots, model-driven publication, process-memory retention, no correction turns) and is kept unchanged below.
|
|
142
|
-
|
|
143
|
-
This page describes the current validation process and the latest recorded
|
|
144
|
-
runtime evidence. The target is `@opencode/cli@2.0.22`, official
|
|
145
|
-
`@azure-devops/mcp@2.9.0`, and Ubuntu 22.04. Validate host integration, provider
|
|
146
|
-
admission, source fidelity, model quality and publication separately.
|
|
147
|
-
|
|
148
|
-
Earlier counts, retired features, intermediate failures and revision-specific
|
|
149
|
-
pending status are preserved in [validation history](VALIDATION_HISTORY.md).
|
|
150
|
-
They do not override the current behavior documented in [README](../README.md).
|
|
151
|
-
Private raw artifacts, credentials and personal settings stay outside Git.
|
|
152
|
-
|
|
153
|
-
### Latest validation: background commands and large PR recovery — 2026-10-10
|
|
154
|
-
|
|
155
|
-
Native commands now acknowledge STARTED promptly and retain workflow ownership
|
|
156
|
-
in the plugin until completion, cancellation or unload. Private MCP execution is
|
|
157
|
-
serialized without a total call/file budget. Native tools keep host scheduling;
|
|
158
|
-
execution exceptions and bounded interruption release abandoned slots. Publisher
|
|
159
|
-
failures and native denials revoke the remaining publication grants immediately.
|
|
160
|
-
|
|
161
|
-
Syntax checks and 480 offline tests passed. Exact OpenCode 2.0.22 fresh and
|
|
162
|
-
replacement fixtures passed, including original/other-project permissions,
|
|
163
|
-
missing after hooks, a failed MCP read followed by a successful read, publication
|
|
164
|
-
failure lockout, cancellation, and restart behavior. Actual PTY/TUI probes passed
|
|
165
|
-
for new and existing conversations. A new conversation remained selected for
|
|
166
|
-
320 seconds and successfully submitted `/pr-stop` from that same TUI, crossing
|
|
167
|
-
the earlier observed approximately 315-second command-disconnect point.
|
|
168
|
-
|
|
169
|
-
The actual-host scale fixture completed normal and deep review plus
|
|
170
|
-
`pr-comment --publish`, each with:
|
|
171
|
-
|
|
172
|
-
| Observed fixture property | Result |
|
|
173
|
-
| --- | --- |
|
|
174
|
-
| Retained source characters (UTF-16) | 5,507,869, including individual 3,307,749 and 2,200,000 character responses |
|
|
175
|
-
| Changed paths / inline comments | 6,001 / 70, plus one complete general summary |
|
|
176
|
-
| Retained distinct report advice | All 400 fixture entries |
|
|
177
|
-
| Comment sessions | 45 across planning, checkpoints, publication checks and publishing |
|
|
178
|
-
| Largest admitted work payload | 17,621 characters |
|
|
179
|
-
| Largest full comment provider request | 64,387 characters, including instructions, tools and accumulated messages |
|
|
180
|
-
| Saved source and outgoing text | Exact bytes and every saved comment matched |
|
|
181
|
-
| Compaction/rejected private requests | None during either successful comment workflow |
|
|
182
|
-
|
|
183
|
-
The fixture risk model has a synthetic 400,000-token context limit. Its functional
|
|
184
|
-
and verifier models use synthetic 4,000,000-token limits to create large completed
|
|
185
|
-
review evidence independently of comment transport. These tests do not measure
|
|
186
|
-
real tokenization, reasoning quality, recommendation completeness or Azure limits.
|
|
187
|
-
|
|
188
|
-
A shortened final snapshot echo now retains the admitted inventory only when
|
|
189
|
-
its identity/versions match and every returned path belongs to that inventory.
|
|
190
|
-
The original echo and warning remain available. Tests reject unknown paths,
|
|
191
|
-
changed identities/versions and malformed snapshots; restoring the inventory
|
|
192
|
-
cannot repair evidence, missing decisions or freshness. An earlier live output
|
|
193
|
-
was replayed without a model: 31 echoed paths plus two retained admitted paths
|
|
194
|
-
passed the original remaining evidence/version checks without changing raw text.
|
|
195
|
-
This repair does not claim the omitted paths were reviewed.
|
|
196
|
-
|
|
197
|
-
Controlled live acceptance on a 316-file PR passed on cycle nine within the
|
|
198
|
-
user-authorized ten-cycle limit, using unchanged `openai/gpt-5.6-luna` selections
|
|
199
|
-
and `zh-TW`. Existing test comments were cleared before publication. Independent
|
|
200
|
-
Azure readback confirmed 23 inline comments and one general summary, including
|
|
201
|
-
exact saved text, unique markers, coordinates, immutable HEAD anchors and unchanged
|
|
202
|
-
PR versions. The low-severity finding remained in the summary. All 24 seeded
|
|
203
|
-
policy defects were confirmed; independent operator execution reproduced their
|
|
204
|
-
BASE/HEAD differences and 13 concrete comment examples. These were operator tests,
|
|
205
|
-
not model-run tests. The successful batch was retained and live testing stopped.
|
|
206
|
-
|
|
207
|
-
The review completed in 638 seconds and direct `pr-comment --publish` in 1,189
|
|
208
|
-
seconds. Their command admissions returned in approximately 67 ms and 8 ms.
|
|
209
|
-
Comment work used 14 sessions: six planning sessions, five publication-check
|
|
210
|
-
sessions including two successful checkpoints, and three publishers. The largest
|
|
211
|
-
admitted comment payload was 10,487 characters. Every checking page finished
|
|
212
|
-
before the first write; exactly 24 create calls were observed. No private
|
|
213
|
-
compaction or rejected model request occurred. All runtime/prompt files matched
|
|
214
|
-
the installed live-test version through completion.
|
|
215
|
-
|
|
216
|
-
The successful run retained five initial-review tool errors and one out-of-range
|
|
217
|
-
native read during planning; the verifier had no tool errors. Seven native shell
|
|
218
|
-
commands also exited 127 because optional executables were absent, including two
|
|
219
|
-
publisher-side reads. OpenCode reports these shell executions as completed tool
|
|
220
|
-
calls, so the terminal tool-error count does not include them. No Azure write
|
|
221
|
-
failed. Oversized native reads and unavailable commands made the second checking
|
|
222
|
-
page inefficient, but exact artifacts survived both checkpoints and later bounded
|
|
223
|
-
reads completed it. Scoped one-time host approvals permitted reads/searches of
|
|
224
|
-
owned comment artifacts; no persistent host permission was added. Timings include
|
|
225
|
-
this work and are not a throughput benchmark.
|
|
226
|
-
|
|
227
|
-
The report explicitly limits coverage: it did not individually inspect all 240
|
|
228
|
-
region profiles and every test file. The summary retains minor page wording, and
|
|
229
|
-
UTC prose describes the positive-offset direction less precisely than the cited
|
|
230
|
-
modulo expression. Acceptance establishes the supported core defects and saved
|
|
231
|
-
publication fidelity, not perfect prose, severity consistency or full-PR coverage.
|
|
232
|
-
|
|
233
|
-
The first eight unsuccessful cycles and their diagnostics are retained privately. The fourth
|
|
234
|
-
completed review but failed planning: 24 short findings shared one page, repeated
|
|
235
|
-
source reads caused checkpoints, and the next response contained two competing
|
|
236
|
-
JSON envelopes. No publisher started. Planning now assigns at most four findings
|
|
237
|
-
per page and retains original inputs with completed fragments. Tests reject
|
|
238
|
-
rephrased checkpoints with identical input/result records while allowing additional
|
|
239
|
-
distinct source pages without a total-session cap.
|
|
240
|
-
The fifth retained a malformed initial review as prose because a code quotation
|
|
241
|
-
was not JSON-escaped; a genuinely changed path in that prose was absent from the
|
|
242
|
-
admitted inventory, and the verifier's added path was rejected. A review-only
|
|
243
|
-
format repair now preserves paired quotes inside closed inline code spans, with
|
|
244
|
-
raw text and correction offsets retained. Replay recovers that initial inventory
|
|
245
|
-
and findings, but does not retroactively certify final verification. Tests retain
|
|
246
|
-
the strict ambiguity/unknown-path guards and require a fresh verifier ledger.
|
|
247
|
-
Comment membership also accepts a leading slash added to a repository-relative
|
|
248
|
-
inventory path; tests reject case changes, dot segments and different files.
|
|
249
|
-
The sixth completed verification and all six planning pages, retaining 23 inline
|
|
250
|
-
comments plus a summary covering all 24 findings. A publication checker repeated
|
|
251
|
-
immutable source reads under overlapping plan/check instructions, then failed on
|
|
252
|
-
one unnecessary source read. No publisher started. Its input now excludes planning
|
|
253
|
-
reports, source indexes, coverage warnings and coordinate reconstruction; instructions
|
|
254
|
-
scope source authoring to planning and current PR/discussion checks to this phase.
|
|
255
|
-
Tests retain this phase's exact pagination observations and reject stale/incomplete
|
|
256
|
-
checks before any writes. Two imprecise phrases in that unpublished plan were also
|
|
257
|
-
recorded; independently reproducing core defects does not certify every sentence.
|
|
258
|
-
The seventh completed verification, all five planning pages and the first
|
|
259
|
-
publication-check page. Independent operator inspection caught a wrong calculated
|
|
260
|
-
example repeated from the verifier, and cancelled before any publisher started.
|
|
261
|
-
The saved defect and correction were valid, but that number was not. Guidance now
|
|
262
|
-
prefers source/contract evidence and omits calculated examples without an observed
|
|
263
|
-
calculation or reproduction. This remains prompt guidance, not a factual validator
|
|
264
|
-
or mandatory test gate. The cycle found 20 of 24 seeded regressions; the four
|
|
265
|
-
misses remain recorded separately from workflow completion.
|
|
266
|
-
The eighth completed review but its second planning page placed a successful
|
|
267
|
-
CONTINUE handoff in `reason` instead of `continuation`. The original strict field
|
|
268
|
-
check stopped before publication. A narrow correction now copies that exact text
|
|
269
|
-
only when continuation is absent; negative tests retain invalid-field, failure
|
|
270
|
-
and no-progress guards. No status is promoted to READY and no failed model stream
|
|
271
|
-
is recovered. The ninth cycle used this correction from startup; its two actual
|
|
272
|
-
checkpoints supplied the standard field, while the exact-host scale fixture
|
|
273
|
-
separately exercised the corrected alias through full publication.
|
|
274
|
-
|
|
275
|
-
Environment: Ubuntu 22.04.5, Node 22.23.3, OpenCode 2.0.22 and official Azure MCP
|
|
276
|
-
2.9.0. The host, MCP server and personal model selections were not upgraded or
|
|
277
|
-
replaced. Public CI runs fake services; live acceptance and independent Azure
|
|
278
|
-
readback are recorded separately. Credentials, source fixtures, raw failures and
|
|
279
|
-
personal configuration are excluded from Git.
|
|
280
|
-
|
|
281
|
-
### Previous live acceptance: general performance guidance — 2026-10-08
|
|
282
|
-
|
|
283
|
-
The shared reviewer/verifier prompt now considers performance and scalability
|
|
284
|
-
through time, memory and I/O costs, expected workload, existing safeguards,
|
|
285
|
-
source evidence and concrete impact. The guidance uses the existing finding and
|
|
286
|
-
improvement-recommendation rules. It adds no specific coding-pattern exemption,
|
|
287
|
-
required benchmark, configuration or model stage.
|
|
288
|
-
|
|
289
|
-
One normal review and direct `pr-comment --publish` cycle passed within a
|
|
290
|
-
five-cycle allowance, using `openai/gpt-5.6-luna` and `zh-TW`. Existing comments
|
|
291
|
-
were backed up and cleared first. Independent Azure readback confirmed one summary
|
|
292
|
-
and three medium inline comments, with exact saved text, markers, coordinates and
|
|
293
|
-
immutable HEAD anchors. The summary retained its leading robot/AI/model disclosure
|
|
294
|
-
and omitted visible Review/HEAD metadata. Inline titles began with `🟡 medium:`.
|
|
295
|
-
The published defect examples were independently checked; the successful batch
|
|
296
|
-
was retained and live testing stopped. No runtime or further prompt correction
|
|
297
|
-
was needed during acceptance. This record grants no further review, publication
|
|
298
|
-
or cleanup.
|
|
299
|
-
|
|
300
|
-
The sample retained no performance finding or independent non-defect
|
|
301
|
-
recommendation. It therefore checks the existing end-to-end workflow with the
|
|
302
|
-
new prompt; it does not measure performance-defect detection or demonstrate
|
|
303
|
-
positive advice publication. Existing offline fixtures cover retained advice,
|
|
304
|
-
suggestions-only summaries and confirmed findings without inline coverage.
|
|
305
|
-
|
|
306
|
-
An initial review gave the wrong timezone sort direction; the verifier corrected
|
|
307
|
-
it before publication. Seven successful decisive source reads matched independently
|
|
308
|
-
inspected bytes; two other decisive reads failed because of a misplaced project
|
|
309
|
-
ID, and a root-directory read also failed. These three tool errors and the
|
|
310
|
-
original initial response remain recorded. The summary still repeats the issue
|
|
311
|
-
count, and generic test suggestions overlap existing tests. This is not evidence
|
|
312
|
-
of zero model errors or uniformly polished prose.
|
|
313
|
-
|
|
314
|
-
Model reviewers did not execute tests. Three native comment-stage calls inspected
|
|
315
|
-
host-saved MCP responses. Separate operator checks used isolated immutable source
|
|
316
|
-
copies: all nine fulfillment tests passed on the target-reference source, and
|
|
317
|
-
three failed on PR HEAD. Focused published-example reproductions were checked
|
|
318
|
-
separately. These are operator checks, not model-run tests or the target project's
|
|
319
|
-
full suite.
|
|
320
|
-
|
|
321
|
-
Syntax and all 443 offline tests passed for the tested prompt. Documentation,
|
|
322
|
-
whitespace and private-data checks passed. Daily installation matches all 17
|
|
323
|
-
accepted runtime/prompt files; private settings remain byte-identical. Protected
|
|
324
|
-
host files and repositories remain unchanged, test hosts stopped, and no
|
|
325
|
-
dependencies were upgraded.
|
|
326
|
-
|
|
327
|
-
The actual environment was OpenCode 2.0.22, official Azure MCP 2.9.0, Node 22.23.3
|
|
328
|
-
and Ubuntu 22.04.5. The running MCP process resolved azure-devops-node-api 15.1.3,
|
|
329
|
-
Zod 3.25.76 and MCP SDK 1.29.0. Exact-host fake-provider fixtures were not rerun
|
|
330
|
-
locally for these bytes; CI runs fresh/replacement fixtures after push and must
|
|
331
|
-
be checked for the exact commit. Rendered-browser behavior was not checked.
|
|
332
|
-
Earlier acceptances, local-only snapshots and failures remain in
|
|
333
|
-
[validation history](VALIDATION_HISTORY.md).
|
|
334
|
-
|
|
335
|
-
### Known limits
|
|
336
|
-
|
|
337
|
-
- Correct source bytes and COMPLETE status do not guarantee correct reasoning.
|
|
338
|
-
Initial arithmetic errors were corrected before publication, but false ancillary
|
|
339
|
-
statements remain in some accepted local counterevidence. The public-output
|
|
340
|
-
criterion does not certify every initial or local sentence.
|
|
341
|
-
- Minor repeated count/coverage wording, literal terminology and severity variation
|
|
342
|
-
remain. Language guidance is not a semantic filter or a measured general gain
|
|
343
|
-
in model accuracy.
|
|
344
|
-
- Earlier runs retained version reversals, missing original-ID decisions, lost
|
|
345
|
-
reproduction outcomes, permission requests, provider failures and partial writes.
|
|
346
|
-
These are distinct failures; later success does not erase them.
|
|
347
|
-
- Native commands have ordinary host authority. Temporary source copies, test
|
|
348
|
-
provenance, side effects and detached-process cleanup require separate scrutiny.
|
|
349
|
-
- Host context limits, provider admission/quotas, incomplete MCP responses and
|
|
350
|
-
races after final PR/discussion reads still apply. No plugin spending cap or
|
|
351
|
-
exactly-once remote-write guarantee is provided.
|
|
352
|
-
- Other models, PR sizes, languages, host/MCP versions and operating systems need
|
|
353
|
-
their own evidence. Actual TUI navigation and rendered Azure Markdown remain
|
|
354
|
-
separate from headless/API checks.
|
|
355
|
-
|
|
356
|
-
### Offline checks
|
|
357
|
-
|
|
358
|
-
Run from the repository root with Node.js 22.12 or later in the 22.x line and
|
|
359
|
-
Python 3:
|
|
360
|
-
|
|
361
|
-
```sh
|
|
362
|
-
npm run check
|
|
363
|
-
npm test
|
|
364
|
-
git diff --check
|
|
365
|
-
```
|
|
366
|
-
|
|
367
|
-
No npm install, live model, Azure connection or Python package installation is
|
|
368
|
-
needed. Installer tests use disposable configurations. Record the actual test
|
|
369
|
-
count for the tested revision rather than copying an older count.
|
|
370
|
-
|
|
371
|
-
| Area | Checks |
|
|
372
|
-
| --- | --- |
|
|
373
|
-
| Registration and transport | Native commands, literal admission/context correlation, independent sessions, final text, cleanup and non-resuming notices |
|
|
374
|
-
| Permissions | Exact role/model binding, active grants, inherited host rules, native denials, ordinary-session preservation and cancellation |
|
|
375
|
-
| Review delivery | Partial/unavailable initials, independent verification, frame conflicts, original-ID accounting and readable incomplete results |
|
|
376
|
-
| Output | Local review recovery, retained ambiguity, no lost observations, strict settings/check/comment contracts |
|
|
377
|
-
| Comments | Same-origin selection, optional preview/direct publish, retained summary advice and non-inline details, saved text, severity/anchor checks, uncertain-attempt lockout |
|
|
378
|
-
| Diagnostics | Private output, original failures/corrections, safe paths, timing and source-validity limitations |
|
|
379
|
-
| Installation | Exact file list, generated package entry, current settings, conflict refusal, rollback and archival removal |
|
|
380
|
-
|
|
381
|
-
A disposable file-installation check can also be run without touching the daily
|
|
382
|
-
configuration:
|
|
383
|
-
|
|
384
|
-
```sh
|
|
385
|
-
azpr_test_root=$(mktemp -d)
|
|
386
|
-
sh install.sh --config-dir "$azpr_test_root/config"
|
|
387
|
-
sh install.sh --config-dir "$azpr_test_root/config" --replace
|
|
388
|
-
sh uninstall.sh --config-dir "$azpr_test_root/config"
|
|
389
|
-
```
|
|
390
|
-
|
|
391
|
-
The last command previews removal. Placeholder models do not make this package
|
|
392
|
-
ready for a live review. Compare the ten JavaScript modules and nine prompts
|
|
393
|
-
to source, inspect the generated regular `server.js` entry/package export and
|
|
394
|
-
check owner-only settings permissions. See the [manual file list](../README.md#manual-copying-without-git).
|
|
395
|
-
|
|
396
|
-
### Exact-host checks without live models
|
|
397
|
-
|
|
398
|
-
Use an already available absolute path to the exact OpenCode 2.0.22 binary:
|
|
399
|
-
|
|
400
|
-
```sh
|
|
401
|
-
node tests/host-v2-smoke.mjs /absolute/path/to/opencode-v2-binary
|
|
402
|
-
node tests/host-v2-smoke.mjs /absolute/path/to/opencode-v2-binary --replace
|
|
403
|
-
```
|
|
404
|
-
|
|
405
|
-
The fixture invokes the installer, isolates host configuration/data/state/cache,
|
|
406
|
-
uses a loopback fake provider and fixture MCP, and keeps private evidence under
|
|
407
|
-
`.local/`. It is separate from `npm test`. CI installs the pinned host into a
|
|
408
|
-
disposable prefix and runs both modes; a local pass is not a completed CI run.
|
|
409
|
-
Changing only the installer's `--config-dir` does not isolate an OpenCode host.
|
|
410
|
-
|
|
411
|
-
The fixture covers package discovery, commands, admitted-context correlation,
|
|
412
|
-
review/preview/direct-publication delivery, saved-text restoration, malformed
|
|
413
|
-
output and host continuation, provider rejection, explained planning failure,
|
|
414
|
-
publisher-error revocation, cancellation and restart behavior. Native project
|
|
415
|
-
checks exercise inherited allow/ask/deny decisions and more than one project.
|
|
416
|
-
Ordinary auxiliary requests have positive controls; revoked private roles cannot
|
|
417
|
-
resume or issue auxiliary requests, including after restart. Source-only readiness
|
|
418
|
-
keeps its stricter native-tool denials.
|
|
419
|
-
|
|
420
|
-
Keep failed fixtures and their actual counts. Do not fix a count mismatch until
|
|
421
|
-
the observed call groups and the test's timing allowances have been inspected.
|
|
422
|
-
Fake services cannot establish real provider admission, pricing, Azure source
|
|
423
|
-
fidelity, model accuracy or live publication.
|
|
424
|
-
|
|
425
|
-
### Authorized live acceptance
|
|
426
|
-
|
|
427
|
-
Use an explicitly authorized disposable PR with independently known defects and
|
|
428
|
-
clean controls. Keep the answer key outside reviewer-visible instructions and
|
|
429
|
-
source. A review request is not standing permission to publish or delete comments,
|
|
430
|
-
change private settings, switch models or upgrade installed tools.
|
|
431
|
-
|
|
432
|
-
1. Record the source revision, installed-file hashes, exact host/MCP binaries,
|
|
433
|
-
resolved dependencies, OS, model selection and relevant settings privately.
|
|
434
|
-
Confirm the actual catalog capability and host permissions without publishing
|
|
435
|
-
credentials or full host configuration.
|
|
436
|
-
2. Record PR identity, source/target SHAs and discussion state. `/pr-check` is an
|
|
437
|
-
optional separate diagnosis; it is not a prerequisite or a cache for review.
|
|
438
|
-
3. Retain original answers, tool failures, normalization records, verifier input,
|
|
439
|
-
final findings and all original-ID decisions. Independently compare decisive
|
|
440
|
-
source reads and any materialized test files with their claimed commits.
|
|
441
|
-
4. Audit model facts separately from completion: version direction, arithmetic,
|
|
442
|
-
reachable triggers, counterevidence, first failing assertions, severity and
|
|
443
|
-
test provenance. A source-derived prediction is not an executed test result.
|
|
444
|
-
5. When publication is authorized, inspect the saved summary and inline plan,
|
|
445
|
-
then independently check Azure content, markers, coordinates and actual thread
|
|
446
|
-
IDs. Record partial writes and uncertainty; never retry a create blindly.
|
|
447
|
-
6. Stop owned hosts and inspect final remote/local state. Preserve failed evidence
|
|
448
|
-
and respect the requested retention or cleanup scope. Do not alter daily
|
|
449
|
-
installations or unrelated repositories to make acceptance pass.
|
|
450
|
-
|
|
451
|
-
For readability, optional review notes should add useful PR-wide context beyond
|
|
452
|
-
the issue index. Review methods and test results are not required summary topics;
|
|
453
|
-
relevant evidence belongs with the findings it supports. Inline comments should
|
|
454
|
-
preserve the verified trigger, impact and correction under compact
|
|
455
|
-
Summary, Evidence and Suggested fix labels. Assess these model instructions
|
|
456
|
-
against the actual text; headings and a successful write do not prove quality.
|
|
457
|
-
Compare final retained improvement recommendations and confirmed findings with
|
|
458
|
-
the actual summary, inline text and existing substantive discussions. Check for
|
|
459
|
-
lost advice across stages, unjustified defect severity and filler topic sections.
|
|
460
|
-
|
|
461
|
-
A release report distinguishes offline checks, exact-host fixtures, live service
|
|
462
|
-
behavior, factual/presentation quality and remote publication. Mark unexercised
|
|
463
|
-
cases explicitly. See [comment acceptance](COMMENTING.md#acceptance-test-before-real-use),
|
|
464
|
-
[project verification](VERIFICATION.md) and [debugging](DEBUGGING.md) for details.
|
|
465
|
-
|
|
466
|
-
## 2026-10-06 prompt-only BASE/HEAD direction acceptance
|
|
467
|
-
|
|
468
|
-
Retained failures showed correct metadata and exact source reads followed by
|
|
469
|
-
reversed version interpretations, including a BASE file tested as claimed HEAD.
|
|
470
|
-
The shared review prompt now keeps request path/commit and returned text together,
|
|
471
|
-
establishes proposed HEAD behavior first, and compares short HEAD/BASE evidence
|
|
472
|
-
pairs within existing fields. Local reproductions must match their claimed source
|
|
473
|
-
text. The verifier applies the same check independently of the initial narrative.
|
|
474
|
-
Only prompts and documentation changed: no comparison engine, data structure,
|
|
475
|
-
persisted source, output field, eligibility gate or model round was added.
|
|
476
|
-
|
|
477
|
-
Syntax checks and 430/430 offline tests passed. Three newly authorized live
|
|
478
|
-
`pr-review` runs used identical runtime/prompt bytes and one unchanged model
|
|
479
|
-
profile on OpenCode 2.0.22, official MCP 2.9.0 and Ubuntu 22.04.5. All three
|
|
480
|
-
finished COMPLETE. Independent audits matched 55/55 exact-commit source reads,
|
|
481
|
-
12/12 metadata reads and all five materialized source files to their claimed
|
|
482
|
-
versions. All nine visible stage outputs were inspected; no BASE/HEAD reversal
|
|
483
|
-
was observed. The requested three-consecutive-run direction criterion was met,
|
|
484
|
-
and live testing stopped. Tests used temporary installations; the daily package
|
|
485
|
-
and private settings were preserved. No comment command or remote write ran.
|
|
486
|
-
|
|
487
|
-
This is narrow direction acceptance on one small PR and one model profile, not
|
|
488
|
-
general review-quality certification or an isolated causal estimate. One initial
|
|
489
|
-
was retained as unstructured PARTIAL before a COMPLETE final result. Other
|
|
490
|
-
failures remain: an incorrect equal-instant example survived one final report,
|
|
491
|
-
some initial locations were inaccurate, an initial claimed an unexecuted later
|
|
492
|
-
assertion as an observation, and model commands reused/removed fixed temporary
|
|
493
|
-
paths despite the fresh-directory instruction. Original outputs, tool failures
|
|
494
|
-
and materialized files were retained. These limits were not hidden by the
|
|
495
|
-
direction result or addressed with extra model rounds or new completion gates.
|
|
496
|
-
|
|
497
|
-
## 2026-10-06 direct comment commands and planning diagnostics
|
|
498
|
-
|
|
499
|
-
A retained real COMPLETE review had three confirmed medium findings, but its
|
|
500
|
-
planner returned an unexplained empty INCOMPLETE response after 38 successful
|
|
501
|
-
read operations, including 35 empty comment collections. No publisher started.
|
|
502
|
-
Confusion about historical empty threads is plausible, not a proven account of
|
|
503
|
-
the model's decision; the original response contained no reason.
|
|
504
|
-
|
|
505
|
-
The updated shared guidance distinguishes complete empty collections and explicit
|
|
506
|
-
deletions from omitted summary fields, incomplete pagination and unavailable
|
|
507
|
-
non-deleted comment bodies. An optional planner reason is exposed locally without
|
|
508
|
-
becoming a new eligibility field or a published comment. Missing/non-text reasons
|
|
509
|
-
do not invalidate an otherwise usable READY plan. No Azure tool/schema classifier
|
|
510
|
-
or automatic model retry was introduced.
|
|
511
|
-
|
|
512
|
-
`/pr-comment --publish` now plans and publishes in one explicitly requested
|
|
513
|
-
workflow when no saved preview exists; preview remains optional. The ID may be
|
|
514
|
-
omitted in the originating conversation, and the completed report and comment
|
|
515
|
-
result sessions can route commands back to that origin. Full and receipt reports
|
|
516
|
-
include exact commands. Review retention remains the latest 20 completed reviews
|
|
517
|
-
in process memory, with no TTL or restoration from history/diagnostic files.
|
|
518
|
-
|
|
519
|
-
Syntax checks and 430/430 offline tests passed. The final source's actual OpenCode
|
|
520
|
-
2.0.22 fresh/replacement fixtures each passed with 65 loopback provider requests,
|
|
521
|
-
13 fixture MCP calls and four one-time host permission approvals. They exercise
|
|
522
|
-
direct publication from a report session, exact saved-plan transfer, an explained
|
|
523
|
-
planning failure with no publisher, stop-on-publisher-error, and unavailable cache
|
|
524
|
-
after restart. Unit tests also cover optional preview, full report commands,
|
|
525
|
-
origin isolation, eviction, empty plans, cancellation and explicit replanning.
|
|
526
|
-
|
|
527
|
-
An initial fixture run reached the new flows but failed an outdated MCP count
|
|
528
|
-
assertion (12 instead of 13 after adding a planning-failure case). Its evidence
|
|
529
|
-
was retained and the expectation corrected. A later change ensured malformed
|
|
530
|
-
optional diagnostic reasons cannot discard usable plans; final fixtures cover
|
|
531
|
-
the resulting source. No real model/Azure request, live publication, UI rendering
|
|
532
|
-
check, or daily installation is implied by this validation. Live adherence to
|
|
533
|
-
the clarified empty-thread policy remains unmeasured.
|
|
534
|
-
|
|
535
|
-
## 2026-10-05 snapshot argument labels
|
|
536
|
-
|
|
537
|
-
The next live pair had one successful three-comment delivery, independently
|
|
538
|
-
matched and deleted, with six publisher tool calls and no repeated source reads.
|
|
539
|
-
Its counted anchor location was restored before preview and matched actual Azure
|
|
540
|
-
coordinates. The other profile reversed base/head in both initial reviews and
|
|
541
|
-
the verifier, copied base code into its claimed head tests, and produced a valid
|
|
542
|
-
empty plan. Fourteen exact-commit reads matched independent bytes; correct bytes
|
|
543
|
-
did not prevent incorrect version reasoning. A separate operator metadata read
|
|
544
|
-
also failed, and no publication started. Empty plans must not invent findings.
|
|
545
|
-
|
|
546
|
-
Numbered tool displays now label exact argument-value matches to an already
|
|
547
|
-
admitted snapshot as HEAD (PR source) or BASE (PR target reference). The labels
|
|
548
|
-
do not certify tool selector semantics, returned content or merge-base ancestry.
|
|
549
|
-
Independent initials receive no invented snapshot. No required model field,
|
|
550
|
-
model stage, permission rule or completion gate was added.
|
|
551
|
-
|
|
552
|
-
Syntax and 420/420 offline tests passed. Actual OpenCode 2.0.22 fresh/replacement
|
|
553
|
-
fixtures each passed with 63 loopback provider requests, 12 fixture MCP calls
|
|
554
|
-
and four one-time host permission approvals. They observe a snapshot label in
|
|
555
|
-
the real result hook and preserved planner handoff. Offline display replay of
|
|
556
|
-
the failed verifier's six original observations labels three HEAD and three BASE
|
|
557
|
-
argument matches without changing raw bytes. This is not a model rerun or proof
|
|
558
|
-
that version reasoning is fixed for every future review.
|
|
559
|
-
|
|
560
|
-
## 2026-10-05 publication batch and original-error diagnostics
|
|
561
|
-
|
|
562
|
-
A later live pair completed both reviews but failed publication. One publisher
|
|
563
|
-
created two of three saved comments before a tool error; independent Azure reads
|
|
564
|
-
confirmed those two matched saved text and coordinates, and both were deleted.
|
|
565
|
-
The other publisher failed a discussion read before writing. Cancellation replaced
|
|
566
|
-
both original tool errors with interruption outcomes in host history. The original
|
|
567
|
-
causes cannot be established from those records; a later identical read succeeded,
|
|
568
|
-
which does not prove that the first error was transient. All failure records remain
|
|
569
|
-
private. Twenty-two individual historical-comment reads and a host model-request
|
|
570
|
-
retry also made the first publisher slow; neither proves an Azure service defect.
|
|
571
|
-
|
|
572
|
-
Publisher input now contains only the saved target, snapshot, language and comments.
|
|
573
|
-
Planning retains full review/source context. Mutable PR/discussion checks are
|
|
574
|
-
batch-scoped, and immutable anchors can be reused without mandatory source rereads.
|
|
575
|
-
Opt-in diagnostics preserve scalar execution errors before interruption. Immediate
|
|
576
|
-
grant revocation, publication uncertainty and the prohibition on write retries remain.
|
|
577
|
-
|
|
578
|
-
Syntax and 416/416 offline tests passed. Actual OpenCode 2.0.22 fresh/replacement
|
|
579
|
-
fixtures each passed with 63 loopback provider requests, 12 fixture MCP calls and
|
|
580
|
-
four one-time host permission approvals. They verify the reduced publisher payload,
|
|
581
|
-
preserved planner observations, original MCP error retention, private receipt
|
|
582
|
-
handling and zero subsequent requests after the publisher error. These fixtures
|
|
583
|
-
do not establish live model adherence to the batch-read guidance or Azure behavior.
|
|
584
|
-
|
|
585
|
-
## 2026-10-05 comment-plan extraction and tool registration
|
|
586
|
-
|
|
587
|
-
The next live round again completed both reviews. One retained an unavailable
|
|
588
|
-
initial review and reached preview, but its valid JSON plan was rejected because
|
|
589
|
-
following verification notes contained dictionary examples. No publisher started.
|
|
590
|
-
The other delivered three comments with exact saved text and source/line-local
|
|
591
|
-
coordinates; all were deleted and absence confirmed. The 29 review-stage commit
|
|
592
|
-
content reads matched independent reference bytes. Initial tool registration
|
|
593
|
-
still lagged connected status and caused unnecessary local troubleshooting.
|
|
594
|
-
|
|
595
|
-
The subsequent local changes extract one unambiguous strict comment plan and
|
|
596
|
-
observe direct-tool registration before inference. Syntax and 404/404 offline
|
|
597
|
-
tests passed. Actual OpenCode 2.0.22 fresh and replacement fixtures each passed
|
|
598
|
-
with 62 fake-provider requests, 12 fixture MCP calls and four one-time approvals.
|
|
599
|
-
The fixtures deliberately withheld tool registration for about half a second;
|
|
600
|
-
production readiness observed its return before reviewer inference. They also
|
|
601
|
-
exercised a comment plan followed by dictionary-bearing notes without publishing
|
|
602
|
-
those notes. Cancellation, permission and publisher-error checks still pass.
|
|
603
|
-
An offline replay recovered all three original failed-preview comments with
|
|
604
|
-
exact anchors; this neither changes the historical failure nor restores its
|
|
605
|
-
publication cache. Live acceptance of these latest changes remains pending.
|
|
606
|
-
|
|
607
|
-
## 2026-10-05 numbered source-display checks
|
|
608
|
-
|
|
609
|
-
A subsequent live round produced two COMPLETE reviews. One profile delivered
|
|
610
|
-
three comments whose exact text, line ranges and line-local offsets matched the
|
|
611
|
-
saved preview on Azure; all three test comments were then deleted and absence
|
|
612
|
-
confirmed. The other profile produced a READY preview with an off-by-one line:
|
|
613
|
-
the quoted statement was on the next line. Independent pre-publication auditing
|
|
614
|
-
withheld that write. The runtime had checked plan structure, not source bytes.
|
|
615
|
-
All 40 review-stage exact-commit content reads matched reference Git bytes.
|
|
616
|
-
Model base/head confusion, missed defects and overbroad impact claims remained.
|
|
617
|
-
|
|
618
|
-
The resulting display change adds computed row numbers and adjacent request
|
|
619
|
-
arguments to matching plain-text tool responses while preserving raw output.
|
|
620
|
-
Syntax and 396/396 offline tests passed. Actual OpenCode 2.0.22 fresh and
|
|
621
|
-
replacement fixtures each passed with 62 local fake-provider requests, 12 fixture
|
|
622
|
-
MCP calls and four one-time host approvals. The fixtures verify that numbered
|
|
623
|
-
text reaches reviewer and planner provider requests. Existing permission,
|
|
624
|
-
cancellation and publisher-error revocation cases still pass. These local
|
|
625
|
-
results do not yet establish live acceptance of the numbered display or Azure
|
|
626
|
-
UI placement. Earlier results below retain their original revision scope.
|
|
627
|
-
|
|
628
|
-
## 2026-10-05 post-comparison usability checks
|
|
629
|
-
|
|
630
|
-
Five authorized live cycles exercised one unchanged release: four reviews were
|
|
631
|
-
COMPLETE and one retained a useful PARTIAL result. Three previews were rejected
|
|
632
|
-
by the provider before any tool call. Another preview incorrectly treated an
|
|
633
|
-
explicitly deleted discussion as a duplicate and produced an empty plan; explicit
|
|
634
|
-
publication returned NOTHING_TO_POST without a publisher. The last review's new
|
|
635
|
-
finding ID spelling prevented preview. No live comment was created or deleted.
|
|
636
|
-
All 70 review-stage exact-commit content reads and 16 metadata reads matched independent
|
|
637
|
-
reference checks. Correct reads did not prevent model version confusion or
|
|
638
|
-
incorrectly reconstructed test source. These samples do not establish stability,
|
|
639
|
-
model quality, or inline-coordinate/UI acceptance.
|
|
640
|
-
|
|
641
|
-
Subsequent local changes assign tracking IDs to new verifier findings, clarify
|
|
642
|
-
deleted-discussion semantics, and let comment roles inherit host project-tool
|
|
643
|
-
permissions. Syntax and 392/392 offline tests passed. Actual OpenCode 2.0.22 fresh
|
|
644
|
-
and replacement fixtures each passed with 62 loopback fake-provider requests,
|
|
645
|
-
12 fixture MCP calls, and four one-time host shell approvals. Comment-stage
|
|
646
|
-
execution, inherited asks/denials and publisher error revocation were exercised.
|
|
647
|
-
The first offline run retained one stale prompt assertion failure before its
|
|
648
|
-
correction. An offline replay of the last raw verifier output now passes the
|
|
649
|
-
COMPLETE contract without changing evidence or original decisions; this does not
|
|
650
|
-
change that historical run, recreate its cache, or verify live publication.
|
|
651
|
-
|
|
652
|
-
No additional live model review or publication tested these post-comparison
|
|
653
|
-
changes. Cold MCP tool-registration timing remains unresolved; see
|
|
654
|
-
[startup diagnostics](DEBUGGING.md#connected-mcp-before-tool-registration).
|
|
655
|
-
|
|
656
|
-
## 2026-10-05 remote-source guidance and provider diagnostics
|
|
657
|
-
|
|
658
|
-
Syntax checks and 389/389 offline tests passed on Ubuntu 22.04.5 / Node 22.23.3.
|
|
659
|
-
Actual OpenCode 2.0.22 fresh and replacement fixtures both passed, each with 56
|
|
660
|
-
loopback fake-provider requests and 12 fixture MCP calls. A new rejected-preview
|
|
661
|
-
case checks that an HTTP 403 is reported without leaking provider text, no repair
|
|
662
|
-
or fallback request starts, publication remains blocked without a saved plan,
|
|
663
|
-
and a later explicitly requested preview can reuse the COMPLETE review. Existing
|
|
664
|
-
permission, cancellation and publisher-error checks still pass.
|
|
665
|
-
|
|
666
|
-
Three harmless live admission probes used the existing selected comment-plan
|
|
667
|
-
model and production role/system, with all tool execution blocked. Each sent one
|
|
668
|
-
primary request after checking current model capability and zero catalog pricing.
|
|
669
|
-
The results were deny/403, ask/success, deny/403. The first probe ran while MCP
|
|
670
|
-
discovery was still settling and cannot isolate shell. In the last two probes,
|
|
671
|
-
the input, system and model matched, and the exposed tool catalogs differed only
|
|
672
|
-
by shell. Neither executed a tool. This is evidence of provider admission
|
|
673
|
-
sensitivity to role permissions/tool exposure, not proof of the provider's
|
|
674
|
-
internal classifier or general compatibility. Production denials were preserved.
|
|
675
|
-
Current catalog pricing is not a billing audit or a promise of future free use.
|
|
676
|
-
|
|
677
|
-
The review guidance now starts from MCP source without requiring local Git or a
|
|
678
|
-
clone. Optional experiments may materialize needed retrieved files with version
|
|
679
|
-
provenance. Source discovery follows operation-specific selector semantics and
|
|
680
|
-
avoids speculative argument variations after deterministic errors. The shared
|
|
681
|
-
quality guidance was consolidated around factual scope and coherent fixes; an
|
|
682
|
-
obsolete isolated-execution restriction was removed. No new fields, model rounds,
|
|
683
|
-
completion gate or tool-name classifier was added. These instruction changes
|
|
684
|
-
have not yet been measured in another real PR review.
|
|
685
|
-
|
|
686
|
-
One diagnostic startup failed before inference because its command was not yet
|
|
687
|
-
registered; the diagnostic runner now waits for registration. One focused test
|
|
688
|
-
initially used an inconsistent mock success outcome for a provider error; the
|
|
689
|
-
fixture now represents the host's failed terminal state. Three full-suite failures
|
|
690
|
-
were stale literal prompt assertions. All original failures and corrected results
|
|
691
|
-
remain private. The task changed no daily installation, private profile, PR
|
|
692
|
-
comments or source sandboxes, and ran no full live PR review or publication.
|
|
693
|
-
|
|
694
|
-
## 2026-10-05 native project verification acceptance
|
|
695
|
-
|
|
696
|
-
The custom isolated executor and its configuration have been removed. Syntax
|
|
697
|
-
checks and 386/386 offline tests passed on Ubuntu 22.04.5 / Node 22.23.3, with no
|
|
698
|
-
skips. Retired isolation tests were replaced by native-role, admission/model,
|
|
699
|
-
expiry and publisher-denial regressions. Installation tests reject the removed
|
|
700
|
-
settings, preserve private profiles and check the reduced manual-copy package.
|
|
701
|
-
|
|
702
|
-
Actual OpenCode 2.0.22 fresh and replacement fixtures both passed, each with 55
|
|
703
|
-
local fake-provider requests and 12 fixture MCP calls. All three review roles
|
|
704
|
-
executed real commands in the origin project, and a second project required no
|
|
705
|
-
repository mapping. Three shell approval requests paused execution until approved;
|
|
706
|
-
host denial prevented marker creation. A nonzero test exit still allowed a valid
|
|
707
|
-
COMPLETE result to enter same-origin preview. Cancellation cleared pending
|
|
708
|
-
approvals, rejected late approval, and stopped a real foreground command. Native
|
|
709
|
-
source-only denials, publisher-error revocation, ordinary auxiliary behavior and
|
|
710
|
-
private-role rejection after host restart remained effective.
|
|
711
|
-
|
|
712
|
-
Four initial offline failures were stale installer/prompt assertions. One initial
|
|
713
|
-
host run invoked review in the second project before its fixture MCP connected;
|
|
714
|
-
the fixture now waits for that project's startup. Original failure logs remain
|
|
715
|
-
private. No service-specific product retry was introduced.
|
|
716
|
-
|
|
717
|
-
These are local contract and actual-host fixture results, not real model/Azure
|
|
718
|
-
acceptance or TUI approval/rendering verification. No daily installation, private
|
|
719
|
-
settings, source sandbox or real PR comments were changed. Shell uses host authority;
|
|
720
|
-
these results do not certify isolation, arbitrary detached-process cleanup or
|
|
721
|
-
absence of command side effects. Historical custom-executor results below apply
|
|
722
|
-
only to their recorded revisions.
|
|
723
|
-
|
|
724
|
-
## 2026-10-05 configuration cleanup and live acceptance
|
|
725
|
-
|
|
726
|
-
Syntax checks and 390/390 offline tests passed on Ubuntu 22.04.5 with Node
|
|
727
|
-
22.23.3, with no skips. Tests cover twelve eligible comments reaching the complete
|
|
728
|
-
saved preview and explicit fixture publication, empty previews starting no
|
|
729
|
-
publisher, rejected obsolete settings without installation changes, and invalid
|
|
730
|
-
standalone readiness output retaining its failure without a repair request.
|
|
731
|
-
Same-origin grants, cancellation, auxiliary restrictions and immediate publisher
|
|
732
|
-
revocation after tool errors remain covered. Three initial installer-test failures
|
|
733
|
-
were stale role-count expectations after removing the publication config switch;
|
|
734
|
-
the corrected full run passed. All failure evidence is retained privately.
|
|
735
|
-
|
|
736
|
-
Fresh and replacement installations passed with the actual OpenCode 2.0.22
|
|
737
|
-
binary, each using 41 local fake-provider requests and 13 fixture MCP calls.
|
|
738
|
-
These fixtures include real isolated command execution and cleanup. They do not
|
|
739
|
-
establish real Azure publication or provider behavior.
|
|
740
|
-
|
|
741
|
-
One newly authorized live review then finished COMPLETE in 421 seconds. One
|
|
742
|
-
initial stream ended without a finish reason; the host inserted a synthetic
|
|
743
|
-
continuation, and the plugin correctly rejected the changed context. That
|
|
744
|
-
initial's output was not accepted. The sibling completed and the existing
|
|
745
|
-
verifier independently reread source and rechecked PR versions. All three
|
|
746
|
-
admitted original finding IDs were adjudicated, covering the three seeded defects.
|
|
747
|
-
The incomplete initial remains disclosed instead of becoming a second delivery
|
|
748
|
-
gate. No additional plugin output-repair round was started.
|
|
749
|
-
|
|
750
|
-
Independent auditing matched 16/16 exact-commit content reads to Git and 3/3 PR
|
|
751
|
-
metadata reads to unchanged snapshots. Four directory errors remain: the pinned
|
|
752
|
-
official MCP maps Commit directory selectors to Branch. Content reads were
|
|
753
|
-
audited separately; no server patch or tool-name special case was added. Initial
|
|
754
|
-
reviewers chose four isolated commands, including actual head/base test suites:
|
|
755
|
-
head had three failures among 23 tests, while base passed all 23. All commands
|
|
756
|
-
settled and cleaned up. Shell pipelines masked test failures in their exit codes,
|
|
757
|
-
so the test results above come from unittest output, not shell exit alone.
|
|
758
|
-
|
|
759
|
-
The main findings and overview are Traditional Chinese. Model content quality
|
|
760
|
-
remains PARTIAL independently of the COMPLETE workflow: the verifier incorrectly
|
|
761
|
-
describes initial-reviewer test execution as its own, one suggested test already
|
|
762
|
-
exists, and some correction wording is ambiguous. Original output, tool records,
|
|
763
|
-
failure analysis and quality assessment remain private and unchanged. No new
|
|
764
|
-
formatting gate, model round or prompt workaround was added for these limitations.
|
|
765
|
-
|
|
766
|
-
The daily installation was not updated in this cleanup task. An isolated install
|
|
767
|
-
used the current source and a private profile with only retired settings removed
|
|
768
|
-
and debug output redirected. Private model choices, host configuration and PAT
|
|
769
|
-
were preserved. No real comment preview/publication ran; all existing Azure thread
|
|
770
|
-
contents remained unchanged. Corrected inline coordinates and UI placement still
|
|
771
|
-
need a separately authorized real publication opportunity.
|
|
772
|
-
|
|
773
|
-
## 2026-10-04 isolated verification acceptance (historical)
|
|
774
|
-
|
|
775
|
-
This tested the former custom executor, since replaced by native project tools.
|
|
776
|
-
It does not certify the current execution behavior.
|
|
777
|
-
|
|
778
|
-
The isolated-verification working tree passed syntax checks and 387/387 tests on
|
|
779
|
-
Ubuntu 22.04.5 with Node 22.23.3. Real namespace tests used trusted, disposable
|
|
780
|
-
Node/Python toolchains and local fixture repositories. They checked exact committed
|
|
781
|
-
blobs despite a dirty worktree and export attributes, symlink containment, immutable
|
|
782
|
-
source, disposable edits, empty credential environment, inaccessible host files and
|
|
783
|
-
supervisor descriptors, local test networking, denied host/external networking and
|
|
784
|
-
VSOCK, dropped capabilities, seccomp, nonzero exits, output truncation, unavailable
|
|
785
|
-
environments, cancellation and detached-process cleanup.
|
|
786
|
-
|
|
787
|
-
Fresh and replacement installations passed against the actual OpenCode 2.0.22
|
|
788
|
-
binary. Each used 41 deterministic local fake-provider requests and 13 fixture MCP
|
|
789
|
-
calls. The added workflow executed model-selected commands through the installed
|
|
790
|
-
V2 tool, retained a nonzero test exit without losing COMPLETE or same-origin preview,
|
|
791
|
-
and cancelled a real sandbox process plus its detached child. Native permission,
|
|
792
|
-
publisher-error, auxiliary-model and host-restart checks still passed. Offline
|
|
793
|
-
runtime tests also check direct-call/admission/model guards and immediate publisher
|
|
794
|
-
grant revocation after a denied verification attempt.
|
|
795
|
-
|
|
796
|
-
These are offline/fixture execution results. No live model, official Azure MCP
|
|
797
|
-
service call, PR comment write, daily installation update or real project review
|
|
798
|
-
was performed for this feature. The new GitHub CI result is not established by
|
|
799
|
-
local tests. Other rootfs contents, languages, kernels, architectures and provider
|
|
800
|
-
schemas remained unvalidated. Historical resource limitations and failure records
|
|
801
|
-
are preserved with that revision; [verification](VERIFICATION.md) describes the
|
|
802
|
-
replacement behavior.
|
|
803
|
-
|
|
804
|
-
## Offline checks
|
|
805
|
-
|
|
806
|
-
Run from the repository root with Node.js 22 or later and Python 3:
|
|
807
|
-
|
|
808
|
-
```sh
|
|
809
|
-
npm run check
|
|
810
|
-
npm test
|
|
811
|
-
git diff --check
|
|
812
|
-
```
|
|
813
|
-
|
|
814
|
-
No npm install, Python package installation, model request, or Azure connection
|
|
815
|
-
is required for the repository tests. Installer tests use disposable configuration
|
|
816
|
-
directories. Record the actual result and count from the run; do not carry counts
|
|
817
|
-
forward from another repository or revision.
|
|
818
|
-
|
|
819
|
-
| Area | Required checks |
|
|
820
|
-
| --- | --- |
|
|
821
|
-
| V2 plugin and commands | Default definition and setup registration, native command invocation, literal text, rejected attachments/mentions, registration cleanup. |
|
|
822
|
-
| Session transport | Independent session identity and model binding, exact prompt admission, idle settlement, final-context correlation, successful text finish, compaction/mutation refusal. |
|
|
823
|
-
| Permissions and grants | Private role/model fingerprints, active command grants, role-specific native denials, ordinary-agent preservation, permission inheritance, expiry and cancellation. |
|
|
824
|
-
| Review orchestration | Two concurrent initial reviews, continuation with partial/unavailable inputs, independent verifier, visible frame conflicts and omitted decisions, COMPLETE-to-preview availability. |
|
|
825
|
-
| Output contracts | Local syntax/key/shape recovery, literal retention of ambiguous/prose output, no silent duplicate-key overwrite or lost findings, readable partial/stale reports, strict settings/checks/comments. |
|
|
826
|
-
| Comments | COMPLETE-to-preview after partial/unavailable initials, preserved warnings, same-origin scope, exact saved preview, explicit opt-in/publication, model attribution, uncertain-attempt lockout. |
|
|
827
|
-
| Diagnostics | Private output handling, original response and correction records, value-free observations, timing uncertainty, safe path/write behavior. |
|
|
828
|
-
| Installation | V2 package discovery layout, complete manual file list, preserved current settings, old-layout conflicts, rollback/recovery, archival removal, unrelated-file preservation. |
|
|
829
|
-
| Project verification | Inherited location/permissions, host allow/ask/deny behavior, model-chosen methods, nonzero/unavailable results, cancellation, active-grant enforcement and usable COMPLETE/preview delivery. No plugin isolation claim. |
|
|
830
|
-
|
|
831
|
-
Check source-only installation without touching an actual configuration:
|
|
832
|
-
|
|
833
|
-
```sh
|
|
834
|
-
azpr_test_root=$(mktemp -d)
|
|
835
|
-
sh install.sh --config-dir "$azpr_test_root/config"
|
|
836
|
-
sh install.sh --config-dir "$azpr_test_root/config" --replace
|
|
837
|
-
sh uninstall.sh --config-dir "$azpr_test_root/config"
|
|
838
|
-
```
|
|
839
|
-
|
|
840
|
-
The default example still contains generic model placeholders. Successful file
|
|
841
|
-
installation does not mean the plugin can start a review with those settings.
|
|
842
|
-
For an installation test, compare the eight JavaScript modules and nine prompts to source,
|
|
843
|
-
check the generated regular `server.js` entry and matching `package.json` export, and verify owner-only settings
|
|
844
|
-
permissions. No top-level loader or Markdown command files should be created.
|
|
845
|
-
The installer must reject a conflicting older integration without moving it.
|
|
846
|
-
|
|
847
|
-
## Exact-host checks without live models
|
|
848
|
-
|
|
849
|
-
The optional SDK/transport smoke fixture runs only when explicitly invoked:
|
|
850
|
-
|
|
851
|
-
```sh
|
|
852
|
-
node tests/host-v2-smoke.mjs /absolute/path/to/opencode-v2-binary
|
|
853
|
-
node tests/host-v2-smoke.mjs /absolute/path/to/opencode-v2-binary --replace
|
|
854
|
-
```
|
|
855
|
-
|
|
856
|
-
It creates private evidence under `.local/`, isolates host state, and uses a
|
|
857
|
-
loopback fake provider plus local fixture MCP. It is separate from `npm test`;
|
|
858
|
-
CI installs the pinned host in a disposable prefix and runs both installation modes.
|
|
859
|
-
The original Ubuntu 20.04 fixture copied source behind a top-level loader. It
|
|
860
|
-
validated runtime behavior but missed directory discovery: exports alone did
|
|
861
|
-
not load the installed package. That historical success was not installer proof.
|
|
862
|
-
|
|
863
|
-
On 2026-10-04, both fresh and replacement installations passed against the actual
|
|
864
|
-
2.0.22 binary on Ubuntu 22.04.5, each with 17 deterministic loopback provider
|
|
865
|
-
requests and exactly five fixture MCP reads. The fixture now invokes `install.sh`
|
|
866
|
-
and loads the installed package and session helpers. Replacement simulates the
|
|
867
|
-
previous exports-only layout and checks that private settings remain byte-identical.
|
|
868
|
-
With the old installer, the updated fixture failed at command discovery before
|
|
869
|
-
any provider request. Offline regressions also cover replacement of the temporary
|
|
870
|
-
entry symlink, rollback and archival uninstall. Those initial installed fixtures checked:
|
|
871
|
-
|
|
872
|
-
- Discovery of all five native commands and five enabled private roles.
|
|
873
|
-
- Native registration, exact literal prompt/context correlation, final text,
|
|
874
|
-
idle interrupt/wait, and synthetic report queue acknowledgement.
|
|
875
|
-
- `/pr-check` READY and `/pr-review` COMPLETE with both independent initials,
|
|
876
|
-
the verifier, and complete F-1/R-1 adjudication.
|
|
877
|
-
- A harmless ordinary-agent shell positive control that created its marker.
|
|
878
|
-
Private review shell and `execute` each received two distinct forced attempts,
|
|
879
|
-
stopped as INCOMPLETE, and disclosed `blocked-native-tools=2`. No private shell
|
|
880
|
-
marker was created and the forbidden CodeMode fetch endpoint received no call.
|
|
881
|
-
- A hanging fixture request cancelled through `/pr-stop`, producing CANCELLED
|
|
882
|
-
without restarting the workflow.
|
|
883
|
-
|
|
884
|
-
API inspection confirmed that the queued report description retained its full
|
|
885
|
-
text. It did not exercise actual TUI rendering. All spawned processes stopped;
|
|
886
|
-
private evidence from successful and failed fixture attempts was retained.
|
|
887
|
-
The stability regression extends each fixture to 21 loopback provider requests:
|
|
888
|
-
ordinary generation/compaction positive controls still work, while generation
|
|
889
|
-
and compaction on a revoked private session send zero requests, before and after
|
|
890
|
-
a host restart. Offline fault injection also checks cancellation during catalog
|
|
891
|
-
reads, origin-lock release, unavailable models and disconnected MCP servers.
|
|
892
|
-
This is exact-host integration evidence with deterministic fixtures. It does not
|
|
893
|
-
certify official MCP 2.9.0 connectivity, real model quality, Azure source fidelity,
|
|
894
|
-
or PR publication.
|
|
895
|
-
|
|
896
|
-
The 2026-10-04 comment-usability follow-up passed 371/371 offline tests and syntax
|
|
897
|
-
checks. Fresh and replacement installations on OpenCode 2.0.22/Ubuntu 22.04.5 each
|
|
898
|
-
passed with 29 loopback provider requests and nine fixture MCP reads. These
|
|
899
|
-
fixtures cover an initial coverage disclosure, a final JSON fence preceded by a
|
|
900
|
-
dictionary example, and COMPLETE followed by a same-origin `/pr-comment` PREVIEW.
|
|
901
|
-
Native permission, auxiliary-request, restart and cancellation controls still pass.
|
|
902
|
-
|
|
903
|
-
Two preserved live response sets were also replayed through the updated runtime
|
|
904
|
-
without external requests. A COMPLETE review previously blocked by initial gaps
|
|
905
|
-
now reaches preview; a PARTIAL result caused by surrounding dictionary braces now
|
|
906
|
-
parses as COMPLETE and reaches preview. The planner was deterministic and local:
|
|
907
|
-
this verifies the cache/preview path, not live source anchors or Azure publication.
|
|
908
|
-
The third recorded failure involved interrupted/failed sessions; its cause remains
|
|
909
|
-
unestablished. New terminal-state and clock diagnostics help investigation but do
|
|
910
|
-
not prove recovery. This follow-up made no new live review or publication request.
|
|
911
|
-
|
|
912
|
-
The subsequent publication-failure regression passed 375/375 offline tests and
|
|
913
|
-
syntax checks. Fresh and replacement 2.0.22 fixtures each passed with 30 loopback
|
|
914
|
-
provider requests and ten fixture MCP calls. The fake publisher would retry a
|
|
915
|
-
tool failure if allowed; the runtime now revokes its grants after the first error,
|
|
916
|
-
with zero subsequent model requests or tool attempts. The saved publisher payload
|
|
917
|
-
also contains line-local offsets derived from the existing anchor. This tests
|
|
918
|
-
failure containment and payload construction, not correct live Azure rendering.
|
|
919
|
-
|
|
920
|
-
Before using real services, exercise the actual V2 binary in a separate temporary
|
|
921
|
-
home/config/data/state/cache environment and a trusted fixture project. Keep the
|
|
922
|
-
ordinary user's environment and installation unchanged. Use the official package
|
|
923
|
-
version requested for validation; record the package version, binary version,
|
|
924
|
-
source revision, OS release, architecture, and relevant runtime versions.
|
|
925
|
-
|
|
926
|
-
A headless smoke test should establish package discovery, setup, native command
|
|
927
|
-
registration, agent compilation, command argument delivery, and unload cleanup.
|
|
928
|
-
A local fake model provider and fake MCP server can exercise full workflows
|
|
929
|
-
without contacting paid models or Azure. They must remain separate from real
|
|
930
|
-
credentials and use harmless fixture data.
|
|
931
|
-
|
|
932
|
-
For the exact target, relevant isolation controls include `OPENCODE_CONFIG_DIR`,
|
|
933
|
-
`XDG_CONFIG_HOME`, `XDG_DATA_HOME`, `XDG_STATE_HOME`, `XDG_CACHE_HOME`, `TMPDIR`, and
|
|
934
|
-
`OPENCODE_TEST_HOME`. Disabling project config, model catalog fetching, watchers,
|
|
935
|
-
and optional indexing avoids unrelated environment activity in a disposable
|
|
936
|
-
smoke harness. Verify these switches against the exact binary/source before
|
|
937
|
-
using them. Changing only the installer `--config-dir` is not host isolation.
|
|
938
|
-
|
|
939
|
-
Test these native permission cases with the unmodified integration:
|
|
940
|
-
|
|
941
|
-
1. Initial reviewers and the verifier use shell/read/search in the origin's
|
|
942
|
-
project. Verify two project locations without any repository mapping.
|
|
943
|
-
2. Host shell allow/ask/deny decisions remain effective. An ask must pause before
|
|
944
|
-
execution, then run only after approval. Exercise both comment stages too;
|
|
945
|
-
standalone readiness still blocks shell. All private roles block edit/write/patch, delegation, native web and
|
|
946
|
-
CodeMode `execute`. Force calls as well as inspecting schemas.
|
|
947
|
-
3. The second distinct blocked native attempt in a stage revokes the run. The
|
|
948
|
-
receipt/debug record discloses the prevented attempts without arguments.
|
|
949
|
-
4. MCP is exposed directly with `codemode: false`; host/account permission rules
|
|
950
|
-
remain effective. Do not add an MCP wildcard grant just to pass the fixture.
|
|
951
|
-
5. Ordinary development agents and their settings behave as before. Private
|
|
952
|
-
roles cannot be invoked through normal agent selection or delegation.
|
|
953
|
-
6. Cancellation revokes grants before cleanup. Delayed prompt admission, ignored
|
|
954
|
-
AbortSignals, failed interrupt, and delayed settlement must not produce a
|
|
955
|
-
falsely confirmed cancellation or a publishable completed review.
|
|
956
|
-
7. A synthetic report with `resume: false` starts no presentation model request.
|
|
957
|
-
Verify visibility separately from queue acknowledgement.
|
|
958
|
-
8. Compaction removing the exact input, injected context, model/agent switching,
|
|
959
|
-
and non-success terminal responses fail closed. Active context is not a full
|
|
960
|
-
history API; do not weaken correlation to complete a large fixture.
|
|
961
|
-
9. Private auxiliary requests are rejected at `model.request`, including after
|
|
962
|
-
completion and restart. Ordinary generation/compaction must have positive
|
|
963
|
-
controls so a disconnected provider cannot masquerade as successful denial.
|
|
964
|
-
10. Pending command/agent/model/MCP catalog reads remain cancellable. No reviewer
|
|
965
|
-
may start from a late result after cancellation or plugin disposal; an origin
|
|
966
|
-
lock must not remain held by a read-only SDK promise that ignored cancellation.
|
|
967
|
-
|
|
968
|
-
CodeMode denial is necessary because the pinned runtime exposes a `fetch` global
|
|
969
|
-
outside ordinary web-tool permission checks. Inner tool hooks alone cannot make
|
|
970
|
-
that container safe for private reviewers. CodeMode-only resource helpers are
|
|
971
|
-
unavailable; validate that missing direct evidence remains a disclosed gap.
|
|
972
|
-
See [MCP setup](https://github.com/WTLAIB/opencode-azure-devops-pr-review-v2/blob/0bc97910368d5a4a403078efc6be27bcad8f2af9/docs/AZURE_MCP.md).
|
|
973
|
-
|
|
974
|
-
These checks establish only the behavior observed in that host fixture. A fake
|
|
975
|
-
provider cannot establish real provider schema acceptance, quotas, cost, model
|
|
976
|
-
accuracy, Azure authentication, or MCP response fidelity.
|
|
977
|
-
|
|
978
|
-
## 2026-10-04 stability acceptance (before review-tolerance changes)
|
|
979
|
-
|
|
980
|
-
The final local suite passed 311/311 offline tests, syntax checks and diff checks.
|
|
981
|
-
Fresh and replacement exact-host fixtures each passed with 21 loopback provider
|
|
982
|
-
requests, five fixture MCP reads, ordinary auxiliary positive controls, and
|
|
983
|
-
private generation/compaction denial before and after restart. The CI workflow
|
|
984
|
-
included these fixtures. Subsequent [CI for the committed stability change](https://github.com/WTLAIB/opencode-azure-devops-pr-review-v2/actions/runs/37152458289)
|
|
985
|
-
passed; that historical run does not cover the later review-tolerance changes.
|
|
986
|
-
|
|
987
|
-
A separately authorized live test used OpenCode 2.0.22, official MCP 2.9.0 with
|
|
988
|
-
resolved Azure SDK 15.1.3, Ubuntu 22.04.5 and the existing three selected models.
|
|
989
|
-
Three whole-review attempts were made under a maximum-five authorization:
|
|
990
|
-
|
|
991
|
-
| Attempt | Outcome | Evidence and correction |
|
|
992
|
-
| --- | --- | --- |
|
|
993
|
-
| 1 | INCOMPLETE, about 5 seconds | Provider HTTP 403 before any tool call. The isolated profile changed the existing shell option from deny to ask while preserving the execution guard; see DEBUGGING. |
|
|
994
|
-
| 2 | INCOMPLETE, about 130 seconds | Initials used the same PR/SHAs but different project name/ID labels. The ambiguous common rule and examples were replaced with explicit stable project/repository IDs. Strict comparison remained unchanged. |
|
|
995
|
-
| 3 | COMPLETE, about 421 seconds | All three seeded defect classes found; all six original finding IDs adjudicated. |
|
|
996
|
-
|
|
997
|
-
In the completed attempt, all 19 content reads exactly matched the requested Git
|
|
998
|
-
commit bytes and all four review metadata reads matched the independently checked
|
|
999
|
-
PR identity/versions. Raw initial output, verifier handoff, accepted final output
|
|
1000
|
-
and deterministic rendering agreed. There were 17 observed HTTP responses, all
|
|
1001
|
-
200; zero native attempts, output corrections or amendment stages. The three
|
|
1002
|
-
retained tool errors were unsupported directory lookups, not content-read or
|
|
1003
|
-
Code Search failures. Earlier attempts retain their different error categories.
|
|
1004
|
-
|
|
1005
|
-
Execution acceptance passed; overall model/tool-policy quality remains PARTIAL.
|
|
1006
|
-
The final equal-instant explanation was correct and did not repeat earlier
|
|
1007
|
-
permanence overclaims. However, the overview repeated structured decisions, an
|
|
1008
|
-
exclusive caller claim exceeded the verifier's own reads, and the last metadata
|
|
1009
|
-
read ran alongside an additional supporting-file read rather than after all reads.
|
|
1010
|
-
An independent post-run check found unchanged versions. The model also repeated
|
|
1011
|
-
unsupported directory queries despite the existing policy. These limitations
|
|
1012
|
-
were retained without extra model rounds, special cases or relaxed validation.
|
|
1013
|
-
|
|
1014
|
-
All raw successes/failures and assessments remain private under `.local/`. The
|
|
1015
|
-
installed personal settings and credentials stayed byte-identical; the acceptance
|
|
1016
|
-
profile used ask only in an isolated installation. Both sandbox repositories were
|
|
1017
|
-
unchanged, test servers stopped, and PR threads remained zero. No PR publication,
|
|
1018
|
-
paid-model substitution, host/MCP upgrade, large-PR certification or TUI rendering
|
|
1019
|
-
certification is implied by this result.
|
|
1020
|
-
|
|
1021
|
-
## 2026-10-04 review-tolerance acceptance
|
|
1022
|
-
|
|
1023
|
-
The final local suite passed 350/350 offline tests and syntax checks. Fresh and
|
|
1024
|
-
replacement fixtures passed on the exact 2.0.22 host, each with 27 loopback
|
|
1025
|
-
provider requests and eight fixture MCP reads. The added cases exercise a
|
|
1026
|
-
redundant JSON closing brace and entirely unstructured initial/final review
|
|
1027
|
-
text. PARTIAL reports retain both stages' observations and omitted original IDs
|
|
1028
|
-
without a formatting model request. Existing native denial, cancellation,
|
|
1029
|
-
ordinary-agent and revoked/restarted private-session controls still pass.
|
|
1030
|
-
|
|
1031
|
-
Offline regressions cover punctuation and quoting recovery, duplicate-key
|
|
1032
|
-
ambiguity, extra fields, missing evidence, repeated IDs, conflicting snapshots,
|
|
1033
|
-
omitted decisions, and readable stale/partial results. They also reproduce and
|
|
1034
|
-
fix three content-delivery bugs: non-text snapshot paths being silently removed,
|
|
1035
|
-
incomplete confirmations hiding original observations, and a null legacy
|
|
1036
|
-
`verifiedFinding` crashing report rendering. JSON examples inside prose and
|
|
1037
|
-
commentary outside a review fence remain visible. Original failed checks are
|
|
1038
|
-
retained privately.
|
|
1039
|
-
|
|
1040
|
-
A retained real response with one redundant final `}` was replayed read-only.
|
|
1041
|
-
All three findings and their supplied values were recovered unchanged, without
|
|
1042
|
-
another model request. Seven retained responses were also replayed: six yielded
|
|
1043
|
-
review content, while a genuine provider-error response remained an execution
|
|
1044
|
-
failure. These replays establish local recovery for those samples, not a measured
|
|
1045
|
-
failure-rate reduction across providers or arbitrary malformed output.
|
|
1046
|
-
|
|
1047
|
-
A new maximum-five authorization used three whole live reviews, preserving the
|
|
1048
|
-
existing model choices and checking their advertised zero rates before each run:
|
|
1049
|
-
|
|
1050
|
-
| Attempt | Outcome | Scope |
|
|
1051
|
-
| --- | --- | --- |
|
|
1052
|
-
| 1 | COMPLETE, about 1,056 seconds | Successful development snapshot; content-retention fixes were added while it ran. |
|
|
1053
|
-
| 2 | COMPLETE, about 390 seconds | A risk reviewer stopped with only a progress statement. That PARTIAL input reached the verifier, which still verified all three defect classes. Publication eligibility stayed disabled. A separate null-rendering regression was fixed while this run was active. |
|
|
1054
|
-
| 3 | COMPLETE, about 420 seconds | Final source and isolated installed files matched exactly; all three seeded defect classes found and all six original IDs adjudicated. |
|
|
1055
|
-
|
|
1056
|
-
The final run had 15 Commit-selected content reads, all byte-identical to the
|
|
1057
|
-
requested Git versions, plus one Branch-selected test-file read whose bytes
|
|
1058
|
-
matched both PR commits. That branch request was not an exact-commit read or an
|
|
1059
|
-
identical retry of the earlier failure. The verifier independently read the test
|
|
1060
|
-
file at the exact head SHA. All four metadata reads matched independent PR
|
|
1061
|
-
snapshots; versions stayed unchanged. Raw answers, normalized results, verifier
|
|
1062
|
-
handoff and rendered report agreed. All 16 observed provider responses were HTTP
|
|
1063
|
-
200, with zero native attempts, output corrections or extra amendment stages.
|
|
1064
|
-
|
|
1065
|
-
Eight final-run tool errors remain: five Commit-selector directory queries,
|
|
1066
|
-
two explicit missing-path content queries, and one generic test-file content
|
|
1067
|
-
error. Their causes must not be collapsed into one MCP failure. The second run
|
|
1068
|
-
separately retained one denied shell attempt (`executed: false`); a successful
|
|
1069
|
-
workflow does not erase that attempted policy violation.
|
|
1070
|
-
|
|
1071
|
-
Review delivery and execution acceptance passed; model/tool-policy and
|
|
1072
|
-
presentation quality remains PARTIAL. The final report still overgeneralized
|
|
1073
|
-
caller compensation from the changed-file list and repeated findings in its
|
|
1074
|
-
overview. An initial reviewer disclosed its branch fallback yet also claimed all
|
|
1075
|
-
head reads used the exact SHA. Earlier samples retained a wrong equal-instant
|
|
1076
|
-
example and an unsupported permanence claim, with counterexamples kept privately.
|
|
1077
|
-
These limits were accepted without further model rounds or new prompt rules.
|
|
1078
|
-
|
|
1079
|
-
All three runs left PR threads at zero, preserved the sandbox repositories and
|
|
1080
|
-
private settings, and stopped their test servers. The personal plugin installation
|
|
1081
|
-
was not replaced; tests used isolated installations. No publication, paid model,
|
|
1082
|
-
tool upgrade, broad compatibility or large-PR certification is implied.
|
|
1083
|
-
|
|
1084
|
-
## Later review/comment trial
|
|
1085
|
-
|
|
1086
|
-
Two separately authorized live reviews on the same target environment returned
|
|
1087
|
-
COMPLETE. The first created three inline threads: independent Azure reads matched
|
|
1088
|
-
their saved bodies and file/line ranges, but the publisher used cumulative file
|
|
1089
|
-
offsets instead of line-local character positions. It also retried after an MCP
|
|
1090
|
-
parameter-validation error despite the stop instruction. The original threads
|
|
1091
|
-
and failed call remain recorded; this is PARTIAL publication-quality acceptance.
|
|
1092
|
-
|
|
1093
|
-
The subsequent correction derives offsets from the saved anchor and revokes the
|
|
1094
|
-
publisher on any observed tool error, as covered by the 375-test/fault-injection
|
|
1095
|
-
checks above. A second live review completed, its preview skipped all three
|
|
1096
|
-
existing discussions and one low-severity finding, and publication returned
|
|
1097
|
-
NOTHING_TO_POST without starting a publisher. This proves continued review and
|
|
1098
|
-
duplicate handling; it does not validate corrected coordinates on a new Azure
|
|
1099
|
-
create. Existing comments were not rewritten or duplicated. Factual review
|
|
1100
|
-
quality still has recorded recovery/scope overclaims and remains PARTIAL.
|
|
1101
|
-
|
|
1102
|
-
## Authorized environment acceptance
|
|
1103
|
-
|
|
1104
|
-
Use a separately authorized test repository and PR with known expected findings
|
|
1105
|
-
and clean controls. Keep the answer key outside reviewer-visible source and
|
|
1106
|
-
instructions. Do not silently change personal model choices, host permissions,
|
|
1107
|
-
MCP versions, server code, or the PR to make a run pass.
|
|
1108
|
-
|
|
1109
|
-
Before a live run, record privately:
|
|
1110
|
-
|
|
1111
|
-
- Exact OpenCode/MCP versions, MCP executable or package path, resolved Azure SDK
|
|
1112
|
-
and Node versions, OS release, and source/installed-file correspondence.
|
|
1113
|
-
- The role models and relevant AZPR settings, with no credentials in artifacts
|
|
1114
|
-
intended for publication. Both normal and deep profiles need explicit choices.
|
|
1115
|
-
- The existing host MCP configuration and permission semantics, including direct
|
|
1116
|
-
tool exposure through `codemode: false`; do not publish full host configuration.
|
|
1117
|
-
- PR/repository identity, source and target SHAs, expected changed paths, seed
|
|
1118
|
-
defects, clean controls, and PR thread count before the run.
|
|
1119
|
-
- The specific authorized operation: readiness check, review, preview, or actual
|
|
1120
|
-
publication. One operation is not standing authorization for the others.
|
|
1121
|
-
|
|
1122
|
-
An optional `/pr-check` verifies source readiness under its own policy. Normal
|
|
1123
|
-
`/pr-review` and `/pr-deep` start their independent initial reviews directly and
|
|
1124
|
-
do not inherit that check as proof or a source cache. Use a literal Azure PR URL
|
|
1125
|
-
and text context. A small successful PR does not certify a large-company PR or
|
|
1126
|
-
all models.
|
|
1127
|
-
|
|
1128
|
-
For the review itself, retain original model outputs, parsing/correction records,
|
|
1129
|
-
verifier payload, final result, and rendered report. Independently compare actual
|
|
1130
|
-
source reads with the designated repository/path/commit content; metadata and
|
|
1131
|
-
completed tool states alone do not prove correct bytes. Check each initial
|
|
1132
|
-
coverage ledger, the verifier's union of paths, all original finding IDs, exact
|
|
1133
|
-
final locations, counterevidence, and both completion-time version reads.
|
|
1134
|
-
|
|
1135
|
-
Classify observed errors individually. A Commit-selector directory error, a
|
|
1136
|
-
content-read failure, and a Code Search HTTP 400 use different operation paths.
|
|
1137
|
-
Preserve an error followed by a successful identical read and disclose the
|
|
1138
|
-
recovery; success does not prove a transient cause. For MCP 2.9.0, specifically
|
|
1139
|
-
check PR-change pagination, branch-only directory hints, indexed search versions,
|
|
1140
|
-
and the exact content selector. See the audited [MCP limitations](https://github.com/WTLAIB/opencode-azure-devops-pr-review-v2/blob/0bc97910368d5a4a403078efc6be27bcad8f2af9/docs/AZURE_MCP.md).
|
|
1141
|
-
|
|
1142
|
-
Audit authorized native commands, tested checkouts, their side effects and
|
|
1143
|
-
cancellation separately from forbidden attempts or unexpected publication. Record any
|
|
1144
|
-
prevented attempts, output corrections, amendment request, provider error, or
|
|
1145
|
-
uncertain cleanup. Confirm PR version/thread state after testing through an
|
|
1146
|
-
independent read. Stop test servers and preserve source, private settings, and
|
|
1147
|
-
failed evidence. Never retry an uncertain publication automatically.
|
|
1148
|
-
|
|
1149
|
-
## Report-quality acceptance cases
|
|
1150
|
-
|
|
1151
|
-
Assess execution integrity, factual quality, and presentation separately. A
|
|
1152
|
-
COMPLETE status means the final verifier passed its evidence/version checks and
|
|
1153
|
-
the review can enter same-origin comment preview; it does not approve the PR or
|
|
1154
|
-
prove factual perfection. PARTIAL retains results with incomplete final checks;
|
|
1155
|
-
assess review content separately from parser recovery and comment readiness.
|
|
1156
|
-
Define expected outcomes before changing prompts; inspect existing raw evidence
|
|
1157
|
-
before adding instructions when an existing rule was ignored.
|
|
1158
|
-
|
|
1159
|
-
| Case | Acceptance criterion |
|
|
1160
|
-
| --- | --- |
|
|
1161
|
-
| Reachable defect and clean control | Identify independently known defects; reject guarded, equivalent, or clean changes without inventing an issue. |
|
|
1162
|
-
| Numeric state and delta | Distinguish the final value, each operation's change, and total deviation using the actual trace. |
|
|
1163
|
-
| Static test analysis | Identify the first predicted failing assertion; never describe unexecuted later assertions as observed failures. |
|
|
1164
|
-
| Exact evidence and scope | Keep quotes exact, locations correct, and absence claims limited to inspected paths/versions. A branch listing is not commit-tree proof. |
|
|
1165
|
-
| Permanence and recovery | Support permanent impact or recovery instructions with explicit evidence; disclose unknown restoration behavior or deployment scope. |
|
|
1166
|
-
| Equal instants across time zones | Recognize equivalent timestamps as the same instant; distinguish ordering of instants from order-preservation of equal-key records. |
|
|
1167
|
-
| Cross-file contracts | Read and verify changed call paths and supporting contracts at relevant versions, including contradictory guards. |
|
|
1168
|
-
| Severity | Explain concrete affected state, authority, reachability, and recovery; a keyword or fixture label is insufficient. |
|
|
1169
|
-
| Complete, concise presentation | Render one full evidence packet per confirmed issue, preserve distinct supported impacts, and adjudicate every original ID without duplicating the report in the overview. |
|
|
1170
|
-
| Language and attribution | Apply outputLanguage to final human-facing prose, preserve source/identifiers, and retain the required AI/model disclosure. |
|
|
1171
|
-
|
|
1172
|
-
For each case, record pass, fail, or not exercised with the original claim,
|
|
1173
|
-
supporting evidence or counterexample, and practical impact. Unsupported
|
|
1174
|
-
permanence, incorrect equal-instant reasoning, and repeated summaries remain
|
|
1175
|
-
quality failures even when execution passed. Keep factual errors distinct from
|
|
1176
|
-
presentation defects and preserve failed samples when comparing revisions.
|
|
1177
|
-
|
|
1178
|
-
A publication test additionally requires an exact saved preview, explicit
|
|
1179
|
-
A saved preview, explicit `--publish`, same-origin/process state, correct
|
|
1180
|
-
threads/locations/body/disclosure, and independently inspected Azure results.
|
|
1181
|
-
`MODEL_REPORTED_POSTED` is not independent publication verification. Review
|
|
1182
|
-
validation does not authorize this write operation.
|
|
1183
|
-
|
|
1184
|
-
## Release evidence and remaining limits
|
|
1185
|
-
|
|
1186
|
-
A release report should identify what was run, what passed, what failed, and what
|
|
1187
|
-
was not exercised. Keep these categories distinct:
|
|
1188
|
-
|
|
1189
|
-
- Offline contract tests and source/package audit.
|
|
1190
|
-
- Exact-host discovery and fake-service workflows.
|
|
1191
|
-
- Ubuntu 22.04 environment acceptance.
|
|
1192
|
-
- Live MCP/provider execution and independent source/version checks.
|
|
1193
|
-
- Model factual/presentation quality and, when authorized, publication.
|
|
1194
|
-
|
|
1195
|
-
Do not claim the Ubuntu target, large-context behavior, another model, or a newer
|
|
1196
|
-
host version has passed without its own evidence. The plugin adds no iteration,
|
|
1197
|
-
stage-character, or default whole-command timeout. Finite explicit timeouts and
|
|
1198
|
-
manual cancellation remain available. Host compaction, service limits, incomplete
|
|
1199
|
-
MCP responses, model mistakes, and provider costs remain real constraints.
|
|
1200
|
-
|
|
1201
|
-
|
|
1202
|
-
## Successful host continuation and saved publication text (2026-10-05)
|
|
1203
|
-
|
|
1204
|
-
The transport now recognizes the pinned host's missing-finish text continuation
|
|
1205
|
-
for initial/final reviews, preserving raw fragments and requiring a successful
|
|
1206
|
-
final session plus ordinary review validation. A captured failed verifier
|
|
1207
|
-
replays as COMPLETE offline after joining its literal text fragments; the
|
|
1208
|
-
historical live result remains INCOMPLETE. Other interruption and identity
|
|
1209
|
-
checks still apply. Comment/check execution keeps its strict path.
|
|
1210
|
-
|
|
1211
|
-
Publisher whole-comment strings with a unique saved marker are restored to saved
|
|
1212
|
-
text through the public input hook. Fixture MCP independently receives the saved
|
|
1213
|
-
text even when the simulated publisher adds wording; target/coordinate checks
|
|
1214
|
-
remain distinct, and any publisher tool error still revokes further requests.
|
|
1215
|
-
|
|
1216
|
-
Syntax and 408 offline tests pass. Fresh and replacement actual OpenCode 2.0.22
|
|
1217
|
-
fixtures pass with 12 MCP calls each and 63 loopback provider requests in the
|
|
1218
|
-
recorded passing runs, including a real host-generated stream continuation. A
|
|
1219
|
-
cancellation sibling may finish before or after its tool-result response; the
|
|
1220
|
-
fixture accounts for that one-request race explicitly. Initial receipt-only
|
|
1221
|
-
warning and fixed-total-count test assertion failures remain in private evidence.
|
|
1222
|
-
These fixtures establish host integration, not real Azure publication or UI
|
|
1223
|
-
rendering correctness.
|
|
1224
|
-
|
|
1225
|
-
|
|
1226
|
-
## Captured review text for comments (2026-10-05)
|
|
1227
|
-
|
|
1228
|
-
A live COMPLETE review was followed by a zero-tool planner response that invented
|
|
1229
|
-
three source anchors. Its first seven-line range also hit an arbitrary five-line
|
|
1230
|
-
limit. No publisher ran. A separate same-release comparison completed review,
|
|
1231
|
-
posted three exact saved comments and confirmed their deletion. These are
|
|
1232
|
-
different outcomes; removing the line limit alone would not fix invented source.
|
|
1233
|
-
|
|
1234
|
-
Comment roles now receive successful multiline tool observations from their
|
|
1235
|
-
completed review, including original request arguments and numbered rows. This
|
|
1236
|
-
reduces source reconstruction from finding prose without a new model request,
|
|
1237
|
-
source certificate or required-tool gate. The five-line maximum is removed;
|
|
1238
|
-
positive ordered coordinates and matching anchor line count remain required.
|
|
1239
|
-
|
|
1240
|
-
Syntax and 409 offline tests pass. Fresh and replacement OpenCode 2.0.22 fixtures
|
|
1241
|
-
each pass with 63 local provider requests and 12 fixture MCP calls. They check
|
|
1242
|
-
that both comment roles receive deduplicated source observations while native
|
|
1243
|
-
shell output remains excluded. Live model adherence, source-copy correctness
|
|
1244
|
-
and Azure UI placement remain separate acceptance questions.
|
|
1245
|
-
|
|
1246
|
-
|
|
1247
|
-
## Non-publishable notes and anchor formatting (2026-10-05)
|
|
1248
|
-
|
|
1249
|
-
A live free-profile planner produced three exact anchors from captured review
|
|
1250
|
-
text but also listed four verifier-rejected IDs in skipped notes. Those harmless
|
|
1251
|
-
notes blocked the plan. A same-release comparison produced correct line numbers
|
|
1252
|
-
but omitted indentation and over-escaped one anchor's quotes; independent audit
|
|
1253
|
-
withheld publication. Both historical failures and zero writes are preserved.
|
|
1254
|
-
|
|
1255
|
-
Known excluded dispositions can now remain skipped notes without becoming
|
|
1256
|
-
eligible comments. At unchanged coordinates, a uniquely matching captured range
|
|
1257
|
-
can restore indentation/quote formatting when its argument values contain the
|
|
1258
|
-
selected path and HEAD. Ambiguity, other versions/paths and different code remain
|
|
1259
|
-
untouched. This neither interprets MCP schemas nor certifies source provenance.
|
|
1260
|
-
|
|
1261
|
-
Offline replays preserve all three comments from each original plan; the second
|
|
1262
|
-
replay restores three exact anchors and derives full-line offsets from them. No
|
|
1263
|
-
model was rerun or historical cache restored. Syntax/413 offline tests pass.
|
|
1264
|
-
Fresh/replacement OpenCode 2.0.22 fixtures each pass with 63 local provider requests
|
|
1265
|
-
and 12 MCP calls, exercising rejected-ID notes, saved-anchor restoration and its
|
|
1266
|
-
publisher input. Live model/Azure delivery still needs its own evidence.
|
|
1267
|
-
|
|
1268
|
-
|
|
1269
|
-
## Counted-location recovery (2026-10-05)
|
|
1270
|
-
|
|
1271
|
-
A live free-profile cycle completed review and independently verified three
|
|
1272
|
-
exact Azure comments, including one six-line anchor restored from captured text
|
|
1273
|
-
and one publisher body restored to saved text. All three comments were deleted.
|
|
1274
|
-
The paired comparison completed review but selected line 38 for a quote uniquely
|
|
1275
|
-
present at line 37; independent audit withheld all publication. Original failures
|
|
1276
|
-
and successful remote-write evidence remain separate.
|
|
1277
|
-
|
|
1278
|
-
Anchor recovery now prefers a matching declared location, or otherwise requires
|
|
1279
|
-
one unique quoted range in captured text with matching path/HEAD argument values.
|
|
1280
|
-
It retains original/restored coordinates and does not change claims, select
|
|
1281
|
-
ambiguous locations or bypass duplicate/attempted-finding policy. Observed-text
|
|
1282
|
-
matching cannot certify full-file content or provenance.
|
|
1283
|
-
|
|
1284
|
-
The original failed plan replays with all three exact anchors after 38 becomes 37;
|
|
1285
|
-
this does not recreate a cache or run another model. Syntax/415 offline tests and
|
|
1286
|
-
fresh/replacement OpenCode 2.0.22 fixtures pass (63 local provider requests and 12 MCP
|
|
1287
|
-
calls each), including actual saved publisher coordinates after line restoration.
|
|
1288
|
-
|
|
1289
|
-
|
|
1290
|
-
## PR summaries and readable review output (2026-10-06)
|
|
1291
|
-
|
|
1292
|
-
The report now leads with a deterministic issue index. Explicit comment publication
|
|
1293
|
-
saves and posts a general PR summary plus labelled inline findings, with separate
|
|
1294
|
-
summary attempt state and a model-reported thread ID. Optional verification prose
|
|
1295
|
-
is not a new completion requirement. Tests cover summary-only plans, exact saved
|
|
1296
|
-
text restoration, distinct thread IDs, missing summary confirmation and partial
|
|
1297
|
-
publication without retries. Exact coordinates stay exclusive to inline comments.
|
|
1298
|
-
|
|
1299
|
-
Syntax and 436 offline tests pass. Final-source fresh and replacement OpenCode
|
|
1300
|
-
2.0.22 fixtures each pass with 65 local fake-provider requests and 13 fixture MCP
|
|
1301
|
-
calls. These establish host/session/permission behavior, not live model accuracy
|
|
1302
|
-
or Azure rendering. No dependencies or daily settings were changed.
|
|
1303
|
-
|
|
1304
|
-
The first live sample completed review and publication, but both initials reversed
|
|
1305
|
-
BASE/HEAD behavior; the independent verifier corrected the findings and timezone
|
|
1306
|
-
calculation. It is retained as a quality failure. The second sample still mixed
|
|
1307
|
-
versions in initials and a local reproduction, missed one defect in verification,
|
|
1308
|
-
and stopped on a publisher create error. Independent Azure readback found no new
|
|
1309
|
-
comments from that failed publication. Neither sample counts toward acceptance.
|
|
1310
|
-
All 52 audited immutable source reads across these two samples matched the
|
|
1311
|
-
operator's independent commit reference. No programmatic source-comparison gate
|
|
1312
|
-
or additional model stage was introduced in response.
|
|
1313
|
-
|
|
1314
|
-
A free-model sample was rejected after a provider interruption introduced a host
|
|
1315
|
-
continuation outside the accepted correlation pattern; it never reached comment
|
|
1316
|
-
planning. A later sample completed review and four exact publications, but the
|
|
1317
|
-
following sample again reversed source behavior and produced a false timezone
|
|
1318
|
-
calculation. The operator cancelled that comment workflow after two read calls
|
|
1319
|
-
and before any create; independent Azure snapshots confirmed no writes. These
|
|
1320
|
-
failures reset acceptance rather than being removed from the record.
|
|
1321
|
-
|
|
1322
|
-
The final prompt revision moves a shorter literal HEAD/BASE expression pair to
|
|
1323
|
-
the opening section and removes its later repetition. It applies to material
|
|
1324
|
-
exclusions as well as findings. This changes prompt ordering and clarity without
|
|
1325
|
-
a source-comparison algorithm, new output field or additional model stage.
|
|
1326
|
-
|
|
1327
|
-
Live acceptance used eight actual reviews. The last three consecutive cycles used
|
|
1328
|
-
identical final runtime/prompt bytes and completed review, direct
|
|
1329
|
-
`pr-comment --publish`, and independent Azure readback. Each posted one general
|
|
1330
|
-
summary and three medium inline findings. Saved text, markers, thread IDs,
|
|
1331
|
-
coordinates and exact-HEAD anchors matched. The operator cleared prior comments
|
|
1332
|
-
before each cycle and retained the final batch. Two setup read failures were
|
|
1333
|
-
recorded separately; no review was dispatched during either failed preflight,
|
|
1334
|
-
and no deletion was retried after uncertainty.
|
|
1335
|
-
|
|
1336
|
-
All visible stages in those final three cycles preserved BASE/HEAD direction.
|
|
1337
|
-
Some initials still made a timezone arithmetic error, corrected by the verifier
|
|
1338
|
-
before publication. Local verifier counterevidence also included an overbroad
|
|
1339
|
-
equal-instant stability claim; it was absent from the public comments and remains
|
|
1340
|
-
a recorded quality limitation. Acceptance establishes these sampled workflows
|
|
1341
|
-
and checked public findings, not perfect reviewer prose or general factual
|
|
1342
|
-
reliability. Azure Markdown was checked through API content/coordinates, not a
|
|
1343
|
-
rendered browser UI. Final runtime bytes match all three accepted installations
|
|
1344
|
-
and both final-source actual-host fixtures. Daily installation was not updated.
|
|
1345
|
-
|
|
1346
|
-
|
|
1347
|
-
## Reader-focused review notes (2026-10-06)
|
|
1348
|
-
|
|
1349
|
-
The optional summary note now asks for the review method, actual test execution
|
|
1350
|
-
and results, and evidence limits that affect a conclusion. Routine publication
|
|
1351
|
-
checks, repeated findings and generic ancestry disclaimers stay out of that prose.
|
|
1352
|
-
The heading and honest missing-note fallback follow the configured English or
|
|
1353
|
-
Chinese language. Existing authoring stages request direct, natural explanations;
|
|
1354
|
-
there is no English-first translation pass or publisher rewrite.
|
|
1355
|
-
|
|
1356
|
-
A first live sample completed review and four publications but failed readability
|
|
1357
|
-
acceptance: the note repeated findings and an unhelpful common-ancestor warning.
|
|
1358
|
-
The captured planner context did contain the new instructions. The verifier also
|
|
1359
|
-
omitted an initial reviewer's executed reproductions from its report, which is
|
|
1360
|
-
the planner's only report input. The existing verifier report now preserves useful
|
|
1361
|
-
reported execution with attribution, separating it from independently checked
|
|
1362
|
-
results and project tests. No new field, stored artifact or model stage is added.
|
|
1363
|
-
|
|
1364
|
-
The second sample still copied the generic warning and later stopped on an MCP
|
|
1365
|
-
create error. Independent Azure readback confirmed three saved comments and no
|
|
1366
|
-
fourth comment. Publication was not retried. The final prompt revision removes
|
|
1367
|
-
the verifier's unconditional ancestry-warning instruction while retaining actual
|
|
1368
|
-
comparison and attribution limits. Saved-text, role, source, cancellation and
|
|
1369
|
-
publication-uncertainty controls are unchanged.
|
|
1370
|
-
|
|
1371
|
-
A third sample completed four exact publications without the ancestry warning,
|
|
1372
|
-
but its note repeated the finding count and public prose still copied ordinary
|
|
1373
|
-
English terms. It did not count toward acceptance. The planner now has a concrete
|
|
1374
|
-
two-sentence format example, explicitly labelled as structure rather than evidence.
|
|
1375
|
-
Language guidance distinguishes immutable identifiers/source quotes from finding
|
|
1376
|
-
prose that should be rewritten naturally. The optional field and fallback remain;
|
|
1377
|
-
these are prompt instructions, not a semantic output filter or rejection gate.
|
|
1378
|
-
|
|
1379
|
-
Syntax and 436 offline tests pass. Final-source fresh and replacement OpenCode
|
|
1380
|
-
2.0.22 fixtures pass with 65 and 64 local fake-provider requests respectively,
|
|
1381
|
-
and 13 fixture MCP calls each. The difference is the cancellation sibling's
|
|
1382
|
-
permitted one-or-two-request timing window; the remaining request groups match.
|
|
1383
|
-
Their installed runtime bytes match the final prompt revision. These fixtures
|
|
1384
|
-
establish host integration separately from live model/Azure behavior.
|
|
1385
|
-
|
|
1386
|
-
Two subsequent cycles completed review and four exact publications. The following
|
|
1387
|
-
cycle omitted three original-ID decisions from the verifier result. The runtime
|
|
1388
|
-
correctly retained it as PARTIAL with UNREVIEWED observations and never started
|
|
1389
|
-
comment planning or publication. Independent Azure snapshots were unchanged after
|
|
1390
|
-
the pre-cycle cleanup. This failure reset the acceptance streak; no decision was
|
|
1391
|
-
inferred and no additional model request or relaxed guard was added.
|
|
1392
|
-
|
|
1393
|
-
Another cycle completed and published successfully, then a later planner again
|
|
1394
|
-
included discussion/deletion checks in the note. The verifier had correctly
|
|
1395
|
-
preserved an initial reviewer's attributed reproduction result, but the planner
|
|
1396
|
-
replaced it with a no-rerun disclaimer. The operator stopped publication; Azure
|
|
1397
|
-
readback confirmed two saved comments and no remaining planned items. That sample
|
|
1398
|
-
did not count as a pass. The note instructions now explicitly select facts from
|
|
1399
|
-
the completed code-review report, separate from the planner's own preparation.
|
|
1400
|
-
|
|
1401
|
-
That initial reproduction ran nine reconstructed tests against two source files
|
|
1402
|
-
that independently matched their exact commits: HEAD had three failures with test
|
|
1403
|
-
exit 1; BASE passed with exit 0. The outer shell exited 0 after reporting both
|
|
1404
|
-
statuses. Rewritten test files, raw output and the model's fixed temporary-path
|
|
1405
|
-
reuse are preserved; this is not an original full-repository test-suite claim.
|
|
1406
|
-
|
|
1407
|
-
Two later cycles passed, but the following verifier and saved inline example
|
|
1408
|
-
retained a false numerical equality from both initials. The operator stopped
|
|
1409
|
-
publication before any create tool started; independent Azure snapshots were
|
|
1410
|
-
unchanged. That failure reset the streak even though the review status was COMPLETE.
|
|
1411
|
-
An experimental revision moved the existing numerical-normalization instruction
|
|
1412
|
-
near the opening HEAD/BASE rule. The next two samples reversed version behavior
|
|
1413
|
-
in initial exclusions despite correct source reads. One was stopped before any
|
|
1414
|
-
publication; the next had already posted all four saved items when cancellation
|
|
1415
|
-
was acknowledged. Both fail acceptance and retain their raw evidence. These
|
|
1416
|
-
observations do not establish that prompt ordering caused the mistakes.
|
|
1417
|
-
|
|
1418
|
-
The numerical-rule experiment was removed, restoring the smaller previously
|
|
1419
|
-
tested prompt while retaining all review-note and language changes. Its 17 runtime
|
|
1420
|
-
files and affected tests match the earlier passing automated checks exactly;
|
|
1421
|
-
both actual-host fixture installations were hash-checked again. No comparison
|
|
1422
|
-
algorithm, required field, extra model stage or mandatory execution was introduced.
|
|
1423
|
-
|
|
1424
|
-
The next cycle passed, followed by another loss of useful execution details. An
|
|
1425
|
-
initial reviewer ran three reduced reproductions against exact HEAD source in a
|
|
1426
|
-
fresh temporary directory; all three failed with test exit 1. An earlier invocation
|
|
1427
|
-
failed to import its test module and is preserved separately. The verifier and
|
|
1428
|
-
planner merely acknowledged that earlier results existed, omitting their outcome.
|
|
1429
|
-
The operator stopped publication; independent readback found two saved items and
|
|
1430
|
-
no remaining planned comments. This resets the streak. The verifier's existing
|
|
1431
|
-
report instructions now define execution outcomes explicitly: what ran, revision
|
|
1432
|
-
when known, pass/fail or observed behavior, material limits and attribution.
|
|
1433
|
-
|
|
1434
|
-
Four further samples used a generic supplementary request for a small reproduction
|
|
1435
|
-
when feasible. One reversed versions while rebuilding source, then reported a
|
|
1436
|
-
passing reproduction of BASE-like behavior as HEAD evidence; captured MCP bodies
|
|
1437
|
-
were correct. Another completed review, four exact publications and useful public
|
|
1438
|
-
reproduction notes, with five copied source files matching their selected commits.
|
|
1439
|
-
The next retained the false numerical equality despite executing the correct HEAD
|
|
1440
|
-
source: observing returned order did not validate the example's premise. Both
|
|
1441
|
-
failed factual samples were stopped before publication.
|
|
1442
|
-
|
|
1443
|
-
A permitted free-model comparison confirmed catalog availability, tool support
|
|
1444
|
-
and zero listed input/output prices, but requested broad temporary-directory
|
|
1445
|
-
access under the inherited host permissions. The operator rejected that request;
|
|
1446
|
-
the initial stage failed, and a later verifier request for the same access led to
|
|
1447
|
-
cancellation. No permissions were expanded and no comment workflow started.
|
|
1448
|
-
Source-writing literals and diagnostics remain available even where that model
|
|
1449
|
-
removed its temporary files before operator inspection. These results do not
|
|
1450
|
-
establish a general model-quality ranking. Subsequent acceptance uses ordinary
|
|
1451
|
-
review commands without the supplementary reproduction request.
|
|
1452
|
-
|
|
1453
|
-
Two ordinary-command cycles then completed review and four exact publications,
|
|
1454
|
-
but the next verifier again omitted the second initial reviewer's original-ID
|
|
1455
|
-
decisions. The runtime kept those observations UNREVIEWED, returned PARTIAL and
|
|
1456
|
-
never invoked comment planning. A short generic merge-row example now illustrates
|
|
1457
|
-
the existing ledger requirement: duplicate observations still need their own
|
|
1458
|
-
structured decisions. No field, quota, inferred decision or model request was added.
|
|
1459
|
-
|
|
1460
|
-
The final revision reached three consecutive accepted cycles (23, 24 and 25),
|
|
1461
|
-
using identical runtime/prompt bytes, ordinary review commands and
|
|
1462
|
-
`openai/gpt-5.6-luna`. In total, 25 actual reviews were used within the authorized
|
|
1463
|
-
50-review limit, including the one free-model comparison. Each accepted cycle
|
|
1464
|
-
completed review, saved a valid plan and completed direct `pr-comment --publish`.
|
|
1465
|
-
Independent Azure readback matched every saved item's text, marker and coordinates;
|
|
1466
|
-
inline anchors matched exact HEAD source. Earlier comments were backed up and
|
|
1467
|
-
cleared before each cycle. The final summary and two eligible inline comments
|
|
1468
|
-
remain posted; the third confirmed finding was rated low in that sample and stays
|
|
1469
|
-
in the summary index, as required by the existing publication policy.
|
|
1470
|
-
|
|
1471
|
-
Accepted notes describe review method and test status without routine publication
|
|
1472
|
-
inventories. One sample retains a failed test-file read as an evidence limitation.
|
|
1473
|
-
The final three reviews did not execute tests and do not claim that tests passed.
|
|
1474
|
-
Earlier reduced reproductions exercise the attributed-result reporting guidance
|
|
1475
|
-
separately. Initial arithmetic errors were corrected before publication, but
|
|
1476
|
-
ancillary errors remain in some local counterevidence and are preserved privately.
|
|
1477
|
-
Minor repeated coverage/count wording, literal terminology and severity variation
|
|
1478
|
-
also remain. Acceptance covers the published claims and workflow; it does not
|
|
1479
|
-
certify every initial/local sentence, natural-language consistency or general
|
|
1480
|
-
model accuracy. Azure API content/coordinate checks are not a rendered browser test.
|
|
1481
|
-
|
|
1482
|
-
Live testing stopped at acceptance. Daily installation, private settings,
|
|
1483
|
-
dependencies and the protected repositories remain unchanged. No new comparison
|
|
1484
|
-
algorithm, persistent data, output requirement, model round or publication retry
|
|
1485
|
-
was introduced.
|
|
1486
|
-
|
|
1487
|
-
|
|
1488
|
-
## Historical provider permission probes
|
|
1489
|
-
|
|
1490
|
-
The following diagnostic notes preceded the current inherited project-tool policy.
|
|
1491
|
-
They describe observations, not settings to restore or permission workarounds.
|
|
1492
|
-
|
|
1493
|
-
On 2026-10-05, isolated comment-plan admission probes on 2.0.22 held the selected
|
|
1494
|
-
model, role, system and input constant. With MCP discovery settled, exposing shell
|
|
1495
|
-
under an ask permission succeeded; removing shell under deny produced HTTP 403.
|
|
1496
|
-
Both probes executed zero tools. An earlier deny probe also failed, but MCP was
|
|
1497
|
-
still connecting, so its tool catalog is not a controlled comparison. This
|
|
1498
|
-
demonstrates compatibility sensitivity in that tested provider/profile, not the
|
|
1499
|
-
provider's internal rule or a requirement to execute shell. Those probes kept production
|
|
1500
|
-
comment-role denials intact. A later five-cycle comparison again saw three
|
|
1501
|
-
provider rejections before any comment tool call. Following the user's request
|
|
1502
|
-
to relax unnecessary restrictions, comment roles now inherit host project-tool
|
|
1503
|
-
permissions, including real shell execution. This is not an isolation guarantee;
|
|
1504
|
-
host asks and denials still apply. Never spoof client identity. End-to-end
|
|
1505
|
-
provider/publication acceptance still requires a separately authorized live test.
|
|
1506
|
-
An alternative provider/model needs explicit selection and a cost check.
|
|
1507
|
-
|
|
1508
|
-
Historical note, before native project verification: an authorized 2.0.22 live test received a provider HTTP 403 before any tool call
|
|
1509
|
-
with `shellToolPermission: "deny"`. The same selected models were admitted after
|
|
1510
|
-
using the existing `"ask"` option in an isolated test profile; the runtime guard
|
|
1511
|
-
still blocked shell execution and the installed personal settings stayed intact.
|
|
1512
|
-
This matches [upstream reports about permission-dependent free-tier rejection](https://github.com/anomalyco/opencode/issues/51241).
|
|
1513
|
-
It is a provider admission limitation, not an Azure authentication failure or
|
|
1514
|
-
proof that shell ran. Inspect the original error before changing permissions;
|
|
1515
|
-
never change models or spoof client headers to recover. The old shellToolPermission
|
|
1516
|
-
setting is now removed. Review roles inherit actual host permissions, while
|
|
1517
|
-
standalone readiness retains native execution denials. The comment-role policy
|
|
1518
|
-
has since changed as described above.
|
|
1519
|
-
|
|
1520
|
-
|
|
1521
|
-
## Presentation acceptance through 98619e5
|
|
1522
|
-
|
|
1523
|
-
The following entries were moved from the previous current-validation page. They
|
|
1524
|
-
record the state at each acceptance, including failures and checks not run locally.
|
|
1525
|
-
The cumulative presentation changes were later committed and pushed as
|
|
1526
|
-
[`98619e5`](https://github.com/WTLAIB/opencode-azure-devops-pr-review-v2/commit/98619e56c2f448f486758fb9d854f8a531f4c082).
|
|
1527
|
-
[CI run 37538412478](https://github.com/WTLAIB/opencode-azure-devops-pr-review-v2/actions/runs/37538412478)
|
|
1528
|
-
passed for that commit, including the exact-host fresh/replacement fixtures. That
|
|
1529
|
-
CI evidence is separate from the local fixture and real-model results below.
|
|
1530
|
-
These entries do not describe a newer working tree or authorize further actions.
|
|
1531
|
-
|
|
1532
|
-
### Summary metadata and overview acceptance
|
|
1533
|
-
|
|
1534
|
-
On 2026-10-07, the summary metadata/overview update passed its first actual normal
|
|
1535
|
-
review and direct `pr-comment --publish` cycle, within a new allowance of at most
|
|
1536
|
-
five cycles. The daily installation and test host used the same 17 runtime/prompt
|
|
1537
|
-
files, existing `openai/gpt-5.6-luna` / `zh-TW` settings, OpenCode 2.0.22 and official
|
|
1538
|
-
MCP 2.9.0. Private settings and dependencies remained unchanged.
|
|
1539
|
-
|
|
1540
|
-
The preceding four comments were backed up and cleared before review. Independent
|
|
1541
|
-
Azure readback confirmed one summary and three medium inline comments, including
|
|
1542
|
-
their exact saved text, markers, coordinates and HEAD source anchors. The summary
|
|
1543
|
-
opens with a refactoring overview supported by the PR title/description and has
|
|
1544
|
-
no visible Review ID or HEAD metadata. The saved review, snapshot and unique
|
|
1545
|
-
summary marker retain the version binding. The successful comments were retained
|
|
1546
|
-
and testing stopped after one actual cycle.
|
|
1547
|
-
|
|
1548
|
-
Syntax, all 436 offline tests and documentation checks passed. Regression checks
|
|
1549
|
-
cover omitted public metadata, review/HEAD marker binding, optional localized
|
|
1550
|
-
notes, reading order and exact saved-text restoration. Actual-host fake-provider
|
|
1551
|
-
fixtures and rendered-browser checks were not repeated for these bytes.
|
|
1552
|
-
|
|
1553
|
-
The risk initial reversed HEAD and BASE despite receiving correct source content
|
|
1554
|
-
and reported no findings. The verifier independently established the correct
|
|
1555
|
-
versions and confirmed all three functional findings; the published claims and
|
|
1556
|
-
UTC example were checked independently. Tool-read failures, the false initial
|
|
1557
|
-
report, generic test suggestions and technical wording remain in the evidence.
|
|
1558
|
-
Acceptance does not establish zero model errors or consistently polished prose.
|
|
1559
|
-
|
|
1560
|
-
### Earlier summary layout acceptance
|
|
1561
|
-
|
|
1562
|
-
On 2026-10-07, the preceding summary layout passed one actual normal review followed
|
|
1563
|
-
by direct `pr-comment --publish` on the disposable PR, using
|
|
1564
|
-
`openai/gpt-5.6-luna` and `zh-TW`. This was the first review in a separately
|
|
1565
|
-
authorized allowance of at most five cycles; testing stopped after acceptance.
|
|
1566
|
-
Existing comments were backed up and cleared before the review. The accepted
|
|
1567
|
-
summary and three medium inline comments were retained.
|
|
1568
|
-
|
|
1569
|
-
The daily V2 installation was updated, with all 17 runtime/prompt files matching
|
|
1570
|
-
the tested source. Existing settings and other private configuration remained
|
|
1571
|
-
unchanged. The acceptance used a fresh OpenCode 2.0.22 process with the same
|
|
1572
|
-
installed bytes and official MCP 2.9.0; it did not update host dependencies.
|
|
1573
|
-
|
|
1574
|
-
Independent Azure readback matched saved text, markers, file coordinates and
|
|
1575
|
-
exact HEAD anchors. The summary begins with the robot/AI/model disclosure and
|
|
1576
|
-
places optional context before the counts and issue table. Severity symbols and
|
|
1577
|
-
inline reading labels were present. Review/test-process narration is not required;
|
|
1578
|
-
the example described the affected behavior and a next step.
|
|
1579
|
-
|
|
1580
|
-
Syntax, all 436 offline tests and documentation checks passed. The actual-host
|
|
1581
|
-
fake-provider fresh/replacement fixtures were not repeated for these bytes; the
|
|
1582
|
-
earlier fixture evidence below has a different scope. A private harness startup
|
|
1583
|
-
failed on a missing evidence directory before any model or Azure operation; it
|
|
1584
|
-
was corrected and preserved separately from the actual review count.
|
|
1585
|
-
|
|
1586
|
-
One initial reviewer misstated two different UTC instants as equal. The verifier
|
|
1587
|
-
corrected that error, and the published example was checked independently. The
|
|
1588
|
-
summary's next-step sentence remains generic and some technical terminology
|
|
1589
|
-
remains; this single accepted sample does not establish zero model errors,
|
|
1590
|
-
consistently polished prose or broad compatibility. No rendered-browser check
|
|
1591
|
-
or repository commit/push is claimed for this acceptance.
|
|
1592
|
-
|
|
1593
|
-
### Earlier runtime and host evidence
|
|
1594
|
-
|
|
1595
|
-
Recorded on 2026-10-06 for runtime and prompts committed as
|
|
1596
|
-
[`b2047e1`](https://github.com/WTLAIB/opencode-azure-devops-pr-review-v2/commit/b2047e11abf33a903343a6a21469fb3c783986fe).
|
|
1597
|
-
The presentation acceptance above supersedes this revision's review-note layout.
|
|
1598
|
-
The host-fixture and live results below remain evidence for these earlier bytes;
|
|
1599
|
-
they were not rerun as part of the later presentation changes.
|
|
1600
|
-
|
|
1601
|
-
| Check | Recorded result | Scope |
|
|
1602
|
-
| --- | --- | --- |
|
|
1603
|
-
| Syntax and offline tests | PASS; 436 passed, 0 failed | Local contract, runtime, output, permission and installer checks |
|
|
1604
|
-
| Actual OpenCode fresh installation | PASS; 65 loopback fake-provider requests, 13 fixture MCP calls | Installed package discovery and host workflows on OpenCode 2.0.22 / Ubuntu 22.04.5 |
|
|
1605
|
-
| Actual OpenCode replacement | PASS; 64 loopback fake-provider requests, 13 fixture MCP calls | Replacement and host workflows; private fixture settings preserved |
|
|
1606
|
-
| Live review and direct publication | Final cycles 23-25 passed consecutively, out of 25 authorized review attempts | Identical runtime/prompt bytes, ordinary review commands and `openai/gpt-5.6-luna` on one disposable PR |
|
|
1607
|
-
| Independent Azure readback | Saved text, markers, thread IDs and coordinates matched; inline anchors matched exact HEAD source | API content and coordinates, not browser rendering |
|
|
1608
|
-
| Source correspondence | All 17 runtime files matched both host fixtures and all three accepted live installations | No claim that another installed copy has been updated |
|
|
1609
|
-
|
|
1610
|
-
The host fixture permits the cancellation sibling to make one or two requests;
|
|
1611
|
-
that timing window accounts for the 65/64 totals. A private aggregation script
|
|
1612
|
-
initially assumed 65 for both. Its failure was preserved and the report corrected
|
|
1613
|
-
to the actual passing fixture results, without relaxing the test assertions.
|
|
1614
|
-
Other earlier fixture and live failures remain in the history and private evidence.
|
|
1615
|
-
Local results do not establish the status of a particular GitHub Actions run.
|
|
1616
|
-
|
|
1617
|
-
The live acceptance required COMPLETE review, a valid saved plan, direct
|
|
1618
|
-
`pr-comment --publish`, independent remote readback, useful review notes and no
|
|
1619
|
-
observed material false example or BASE/HEAD reversal in the published findings.
|
|
1620
|
-
The final cycle posted one summary and two medium inline comments; its third
|
|
1621
|
-
confirmed finding was rated low and remained in the summary. Earlier comments
|
|
1622
|
-
were backed up and cleared under that task's explicit authorization. The final
|
|
1623
|
-
batch was retained and testing stopped. This record grants no further reviews,
|
|
1624
|
-
publication or cleanup.
|
|
1625
|
-
|
|
1626
|
-
The final three notes distinguish source/test inspection from execution. Those
|
|
1627
|
-
reviews did not execute tests; one disclosed a failed test-file read. Earlier
|
|
1628
|
-
reduced reproductions exercised attributed-result reporting separately. All owned
|
|
1629
|
-
live test hosts stopped, while daily installation, private settings, dependencies
|
|
1630
|
-
and the protected repositories remained unchanged in that acceptance task.
|
|
1631
|
-
|
|
1632
|
-
## Compact-title acceptance and pre-delivery local updates — archived 2026-10-08
|
|
1633
|
-
|
|
1634
|
-
The records below preserve their original scope and pending status. The compact
|
|
1635
|
-
comment-title acceptance belongs to `7820082c2ced77c6b404c515b5cff220e5f676ba`;
|
|
1636
|
-
[CI run 37541229742](https://github.com/WTLAIB/opencode-azure-devops-pr-review-v2/actions/runs/37541229742)
|
|
1637
|
-
succeeded for that commit. The two local updates were subsequently installed and
|
|
1638
|
-
accepted together as recorded in [current validation](VALIDATION.md). Their older
|
|
1639
|
-
statements about installation, live testing and delivery are historical.
|
|
1640
|
-
|
|
1641
|
-
## Local settings-documentation cleanup — 2026-10-08
|
|
1642
|
-
|
|
1643
|
-
Model-selection help now lives in README and schema descriptions. New settings
|
|
1644
|
-
omit `models._help`. Existing files remain readable, and installation omits
|
|
1645
|
-
that retired documentation with a notice while retaining operational values.
|
|
1646
|
-
The schema marks the legacy field deprecated; it is never a model instruction.
|
|
1647
|
-
|
|
1648
|
-
Syntax and all 443 offline tests passed, including the preceding summary-feedback
|
|
1649
|
-
changes. Three added regressions cover legacy read compatibility with identical
|
|
1650
|
-
agent instructions, cleanup from supplied/replacement settings and stale
|
|
1651
|
-
defaults, source-file preservation, and refusal to discard malformed help data.
|
|
1652
|
-
Existing fresh-install and failed-replacement checks now also verify the absent
|
|
1653
|
-
help field and exact rollback of older settings containing it. Already-clean
|
|
1654
|
-
settings retain their bytes. Installation tests use disposable directories.
|
|
1655
|
-
|
|
1656
|
-
Documentation, whitespace and private-data checks passed. These local changes
|
|
1657
|
-
have not been installed in the daily plugin, run against live models/Azure,
|
|
1658
|
-
committed, pushed or tested with the exact-host fixtures. Prior live acceptance
|
|
1659
|
-
does not cover either of these local updates.
|
|
1660
|
-
|
|
1661
|
-
## Local summary-feedback update — 2026-10-08
|
|
1662
|
-
|
|
1663
|
-
The local update carries retained non-defect recommendations into a conditional
|
|
1664
|
-
Improvement suggestions section and explains confirmed findings without inline
|
|
1665
|
-
coverage. It uses the existing initial/verifier report fields and optional
|
|
1666
|
-
planner `summaryDetails`, without another review round or required field.
|
|
1667
|
-
Suggestions remain separate from defect counts and do not require topic quotas.
|
|
1668
|
-
|
|
1669
|
-
Syntax and all 440 offline tests passed. Four added regressions cover detail
|
|
1670
|
-
beyond the short introduction's limit, all supplied suggestions, low-severity
|
|
1671
|
-
explanations, suggestions-only publication, malformed/absent optional details,
|
|
1672
|
-
quoted marker text, saved-text restoration and report-to-planner-to-publisher
|
|
1673
|
-
handoff. The fixture confirms five existing stages and exact saved summary
|
|
1674
|
-
content without exposing private diagnostic prose to the publisher. These are
|
|
1675
|
-
mock data-flow checks, not proof of real-model recommendation completeness.
|
|
1676
|
-
|
|
1677
|
-
Documentation, whitespace and private-data checks passed. This update has not
|
|
1678
|
-
been installed in the daily plugin, run against live models/Azure, committed,
|
|
1679
|
-
pushed or tested with the exact-host fixtures. The latest live acceptance below
|
|
1680
|
-
belongs to `7820082c2ced77c6b404c515b5cff220e5f676ba`, not these local changes.
|
|
1681
|
-
|
|
1682
|
-
## Latest live acceptance: compact comment titles
|
|
1683
|
-
|
|
1684
|
-
On 2026-10-07, the compact `🔴 high:` / `🟡 medium:` inline-title update passed
|
|
1685
|
-
one complete normal review and direct `pr-comment --publish` cycle with
|
|
1686
|
-
`openai/gpt-5.6-luna` and `zh-TW`. The environment was OpenCode 2.0.22, official
|
|
1687
|
-
MCP 2.9.0, Node 22.23.3 and Ubuntu 22.04.5. Two review attempts were started within
|
|
1688
|
-
a five-attempt allowance: the first was cancelled before planning/publication
|
|
1689
|
-
when the requested title format changed; the second completed and was accepted.
|
|
1690
|
-
|
|
1691
|
-
Existing comments were backed up and cleared before review. Independent Azure
|
|
1692
|
-
readback confirmed one summary and three medium inline comments. All inline
|
|
1693
|
-
titles began with `🟡 medium:`; saved text, markers, coordinates and exact HEAD
|
|
1694
|
-
anchors matched. The summary retained its leading robot/AI/model disclosure and
|
|
1695
|
-
omitted visible Review/HEAD metadata. The successful batch was retained and live
|
|
1696
|
-
testing stopped. This record grants no further review, publication or cleanup.
|
|
1697
|
-
|
|
1698
|
-
Syntax, all 436 offline tests and documentation checks passed. Regression checks
|
|
1699
|
-
cover compact and earlier title forms, matching severity, stable markers and
|
|
1700
|
-
exact saved-text restoration without changing targets or coordinates. All 17
|
|
1701
|
-
daily runtime/prompt files matched the tested source; private settings and
|
|
1702
|
-
protected repositories remained unchanged. Owned test hosts stopped, and no
|
|
1703
|
-
dependencies were upgraded.
|
|
1704
|
-
|
|
1705
|
-
The risk initial was PARTIAL after unavailable AGENTS reads. The verifier had
|
|
1706
|
-
project-selection read errors before obtaining the correct source; successful
|
|
1707
|
-
decisive HEAD/BASE responses matched independently inspected source byte-for-byte.
|
|
1708
|
-
The published examples, including UTC arithmetic, were checked independently.
|
|
1709
|
-
These tool failures remain in the evidence. Model reviewers did not execute
|
|
1710
|
-
project tests; native comment-stage calls inspected saved MCP output. The summary
|
|
1711
|
-
still included a test-status sentence and technical terminology. This sample does
|
|
1712
|
-
not establish zero model errors or uniformly polished prose.
|
|
1713
|
-
|
|
1714
|
-
Exact-host fake-provider fixtures were not rerun locally for these bytes;
|
|
1715
|
-
rendered-browser behavior was not checked. CI runs the fresh/replacement fixtures
|
|
1716
|
-
separately after push, and its result must be checked for the exact commit.
|
|
1717
|
-
Earlier runtime, presentation and CI records are preserved in
|
|
1718
|
-
[validation history](VALIDATION_HISTORY.md#presentation-acceptance-through-98619e5).
|
|
1719
|
-
|
|
1720
|
-
## Summary-advice acceptance and local performance guidance — archived 2026-10-08
|
|
1721
|
-
|
|
1722
|
-
The following records preserve their original scope. The summary-advice/settings
|
|
1723
|
-
acceptance belongs to `8fc9d52c1a67cfb6bfa1c6efdfbad6d308c52022`;
|
|
1724
|
-
[CI run 37689098541](https://github.com/WTLAIB/opencode-azure-devops-pr-review-v2/actions/runs/37689098541)
|
|
1725
|
-
passed for that commit. The local performance directions were subsequently
|
|
1726
|
-
installed and accepted as recorded in [current validation](VALIDATION.md).
|
|
1727
|
-
The earlier local-only and pending-delivery statements are historical.
|
|
1728
|
-
|
|
1729
|
-
## Local performance guidance — 2026-10-08
|
|
1730
|
-
|
|
1731
|
-
The shared reviewer/verifier prompt now gives general performance and scalability
|
|
1732
|
-
directions: time, memory and I/O costs, expected workload, existing safeguards,
|
|
1733
|
-
source evidence and concrete impact. Existing finding and recommendation rules
|
|
1734
|
-
apply. Syntax and all 443 offline tests passed; this does not demonstrate
|
|
1735
|
-
real-model detection of performance issues.
|
|
1736
|
-
|
|
1737
|
-
This local prompt update has not been installed, run against live models/Azure,
|
|
1738
|
-
committed or pushed. The latest live acceptance below and its successful CI
|
|
1739
|
-
belong to `8fc9d52c1a67cfb6bfa1c6efdfbad6d308c52022`, before this update.
|
|
1740
|
-
|
|
1741
|
-
## Latest acceptance: summary advice and settings documentation — 2026-10-08
|
|
1742
|
-
|
|
1743
|
-
Retained source-supported improvement recommendations can now appear in a
|
|
1744
|
-
conditional summary section. Confirmed findings without inline coverage receive
|
|
1745
|
-
useful details or references to existing substantive discussions. The existing
|
|
1746
|
-
initial/verifier reports carry this material into optional planner
|
|
1747
|
-
`summaryDetails`; no extra model round, required field or topic quota was added.
|
|
1748
|
-
Model-selection help moved to README and schema descriptions. Installation
|
|
1749
|
-
removes legacy `models._help` with a notice while preserving operational settings;
|
|
1750
|
-
existing files remain readable by the runtime.
|
|
1751
|
-
|
|
1752
|
-
Two real normal-review and direct `pr-comment --publish` cycles ran within a
|
|
1753
|
-
five-cycle allowance, using `openai/gpt-5.6-luna`, `zh-TW`, OpenCode 2.0.22,
|
|
1754
|
-
official MCP 2.9.0, Node 22.23.3 and Ubuntu 22.04.5. Existing comments were backed
|
|
1755
|
-
up and cleared before each review. The first cycle completed and published, but
|
|
1756
|
-
failed presentation acceptance because a planner-authored code example retained
|
|
1757
|
-
extra JSON escape characters. Independent readback confirmed that the publisher
|
|
1758
|
-
copied the saved text exactly. A three-line planner clarification requests a
|
|
1759
|
-
single JSON encoding layer; the second cycle passed with the corrected examples.
|
|
1760
|
-
No runtime text rewrite, additional model stage or new required field was added.
|
|
1761
|
-
A separate private-runner directory error occurred before either review started;
|
|
1762
|
-
its original failure and correction are preserved.
|
|
1763
|
-
|
|
1764
|
-
Independent Azure readback confirmed one summary and three medium inline comments
|
|
1765
|
-
from the accepted cycle. Saved content, markers, coordinates and exact HEAD
|
|
1766
|
-
anchors matched. Inline titles began with `🟡 medium:`; the summary began with its
|
|
1767
|
-
robot/AI/model disclosure and omitted visible Review/HEAD metadata. The published
|
|
1768
|
-
examples were independently checked against immutable source. The successful
|
|
1769
|
-
batch was retained and live testing stopped. This record grants no further
|
|
1770
|
-
review, publication or cleanup.
|
|
1771
|
-
|
|
1772
|
-
The final report retained no independent non-defect recommendation in this
|
|
1773
|
-
sample, so no improvement section was expected. Positive advice retention,
|
|
1774
|
-
suggestions-only publication and non-inline finding details remain covered by
|
|
1775
|
-
offline fixtures, not demonstrated by this live sample. The accepted summary
|
|
1776
|
-
still repeated some finding locations/counts, and inline test suggestions could
|
|
1777
|
-
be more specific. A false ancillary equal-instant ordering statement remains in
|
|
1778
|
-
local verifier counterevidence, outside the published text. All seven decisive
|
|
1779
|
-
source reads matched the independently inspected source byte-for-byte; six other
|
|
1780
|
-
tool errors remain recorded. This acceptance does not certify every local report
|
|
1781
|
-
sentence or establish zero model errors.
|
|
1782
|
-
|
|
1783
|
-
Model reviewers did not execute project tests. Native comment-stage calls
|
|
1784
|
-
inspected saved MCP responses. Separately, operator checks ran the existing
|
|
1785
|
-
nine-test fulfillment suite against isolated source copies: all nine passed on
|
|
1786
|
-
the target-reference source, while three failed on PR HEAD. These checks and
|
|
1787
|
-
focused published-example reproductions support the independent audit; they are
|
|
1788
|
-
not model-run tests or the target project's full test suite.
|
|
1789
|
-
|
|
1790
|
-
Syntax and all 443 offline tests passed after the prompt correction. Seven added
|
|
1791
|
-
regressions cover summary detail/advice retention, optional malformed detail,
|
|
1792
|
-
marker escaping, exact saved-text publication, the five existing stage handoffs,
|
|
1793
|
-
legacy settings compatibility, cleanup with source/value preservation and
|
|
1794
|
-
malformed-help rejection. Fresh-install and rollback checks also cover legacy
|
|
1795
|
-
help; already-clean settings retain their bytes. Documentation, whitespace and
|
|
1796
|
-
private-data checks passed. Daily runtime/prompt files match the accepted source;
|
|
1797
|
-
only documentation-only help was removed from settings, with other values and
|
|
1798
|
-
private host files preserved. Protected repositories remain unchanged, test hosts
|
|
1799
|
-
stopped, and no dependencies were upgraded.
|
|
1800
|
-
|
|
1801
|
-
Exact-host fake-provider fixtures were not rerun locally for these bytes.
|
|
1802
|
-
CI runs the fresh/replacement fixtures separately after push; its result must be
|
|
1803
|
-
checked for the exact commit. Rendered-browser behavior was not checked. Earlier
|
|
1804
|
-
acceptances, local-only snapshots and failures remain in
|
|
1805
|
-
[validation history](VALIDATION_HISTORY.md).
|
|
1806
|
-
|
|
1807
|
-
## Large comment work pages: large comment work pages — 2026-10-09
|
|
1808
|
-
|
|
1809
|
-
The comment workflow now stores original evidence and tool results privately,
|
|
1810
|
-
assigns bounded planning/report pages, accepts successful read-only checkpoints,
|
|
1811
|
-
checks all publication pages before writes, and publishes saved items through
|
|
1812
|
-
short independent sessions under one attempt ledger. It does not enable host
|
|
1813
|
-
compaction or add initial/verifier review rounds.
|
|
1814
|
-
|
|
1815
|
-
Local syntax checks and 456 offline tests passed. Exact OpenCode 2.0.22 fresh and
|
|
1816
|
-
replacement fixtures passed against deterministic loopback models and stdio MCP.
|
|
1817
|
-
A separate actual-host scale fixture completed both normal and deep review plus
|
|
1818
|
-
`pr-comment --publish`, each with:
|
|
1819
|
-
|
|
1820
|
-
| Observed fixture property | Result |
|
|
1821
|
-
| --- | --- |
|
|
1822
|
-
| Retained source characters (UTF-16) | 5,507,869, including individual 3,307,749 and 2,200,000 character responses |
|
|
1823
|
-
| Changed paths / inline comments | 6,001 / 70, plus one complete general summary |
|
|
1824
|
-
| Retained distinct report advice | All 400 fixture entries |
|
|
1825
|
-
| Comment sessions | 30 across planning, checkpoints, publication checks and publishing |
|
|
1826
|
-
| Largest admitted work payload | 20,859 characters |
|
|
1827
|
-
| Largest full comment provider request | 69,992 characters, including instructions, tools and accumulated messages |
|
|
1828
|
-
| Saved text / source | Exact file bytes and every saved outgoing comment matched |
|
|
1829
|
-
| Compaction/rejected private requests | None during either successful comment workflow |
|
|
1830
|
-
|
|
1831
|
-
The fixture risk model has a synthetic 400,000-token context limit. Its functional
|
|
1832
|
-
and verifier models have synthetic 4,000,000-token limits so the test can create
|
|
1833
|
-
large completed-review evidence independently of comment transport. Synthetic
|
|
1834
|
-
usage values and deterministic responses do not measure real tokenization,
|
|
1835
|
-
model reasoning, recommendation completeness or real Azure behavior. Output
|
|
1836
|
-
restoration and native bounded file reads were exercised on the actual host.
|
|
1837
|
-
Service comment-size limits and pathological tool catalogs remain external limits.
|
|
1838
|
-
|
|
1839
|
-
Environment: Ubuntu 22.04.5, Node 22.23.3 and OpenCode 2.0.22. No live model or Azure
|
|
1840
|
-
request was run for this workflow validation. New CI coverage runs the same
|
|
1841
|
-
scale fixture on pushed revisions; local passes alone do not establish a remote
|
|
1842
|
-
CI result. Delivery records separately verify the installed revision and
|
|
1843
|
-
preservation of private settings. Intermediate fixture failures and
|
|
1844
|
-
raw artifacts remain in ignored private storage. The earlier live acceptance below
|
|
1845
|
-
applies to its previous revision, not these new workflow bytes.
|