@orion-agents/orion-code 0.3.52 → 0.3.53

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -363,7 +363,7 @@ which is **not** a pass.
363
363
 
364
364
  ## [0.3.52] — 2026-11-05
365
365
 
366
- > **Status: candidate.** Open. Quality-clause-B remediation of the Web E2E red
366
+ > **Status: published.** Quality-clause-B remediation of the Web E2E red
367
367
  > left on `main` by v0.3.51, plus the standing receipt-backfill slice (plan:
368
368
  > `docs/plan/v0.3.52-plan.md`): the 0.3.51 entry is corrected to `published`
369
369
  > (with the real npm publish timestamp, the GitHub Release link, and a
@@ -372,7 +372,18 @@ which is **not** a pass.
372
372
  > recorded in `docs/plan/evidence/v0.3.52/status-audit.md`. No `src/` or `web/`
373
373
  > product code changes. The human-labeled paid quality benchmark and real Host +
374
374
  > Chrome full-chain E2E remain honestly `not_run` (no model credentials in the
375
- > automation environment). Not merged, tagged or published.
375
+ > automation environment). Released as
376
+ > `@orion-agents/orion-code@0.3.52` from `refs/tags/v0.3.52`, merged to `main` as
377
+ > `a054c44` (#312). npm registry `latest=0.3.52` published
378
+ > `2026-11-04T23:09:25.161Z`. GitHub Release:
379
+ > https://github.com/orion-agents/orion-code/releases/tag/v0.3.52
380
+ >
381
+ > **Scope correction (v0.3.53):** the "clause-B remediation" of this release
382
+ > covered `WEB32-P0-09` only (confirmed green on the post-release run).
383
+ > `WEB32-P0-08` still failed in run-3 of
384
+ > [41930947053](https://github.com/orion-agents/orion-code/actions/runs/41930947053),
385
+ > so a Web E2E critical-journey red remains on `main` and the root cause is not
386
+ > yet established.
376
387
 
377
388
  ### Changed
378
389
 
@@ -398,6 +409,64 @@ which is **not** a pass.
398
409
  post-release CI red carried into this slice.
399
410
  - README / README.zh-CN: header summary and install pin updated to 0.3.52.
400
411
 
412
+ ## [0.3.53] — 2026-11-05
413
+
414
+ > **Status: candidate — release withheld.** Investigation round for the
415
+ > `WEB32-P0-08` Web E2E red that is still on `main`. Quality clause B forbids
416
+ > publishing over a critical-journey red, and the root cause is **not yet
417
+ > established**, so this version is deliberately **not tagged, not published to
418
+ > npm, and has no GitHub Release**; the next round completes the release of
419
+ > 0.3.53 once the failure is fixed and CI proves it. (The release gate pins
420
+ > `package.json` to the `codex/vX.Y.Z` branch name, so the candidate number
421
+ > cannot be avoided here; being `merged` without a tag/npm entry is exactly the
422
+ > `Merged` state in the delivery-status legend above.)
423
+ >
424
+ > What this slice changes: `WEB32-P0-08` now asserts the host's submit
425
+ > disposition instead of silently waiting 45s. `POST /api/v1/commands` returns
426
+ > 202 with a `contextReceipt` even when the runtime declines the turn
427
+ > (`command_ignored` at `src/runtime/agent-runtime-controller.ts:703-704`,
428
+ > surfaced as `result` at `src/web/workbench-controller.ts:2119-2125`), so a
429
+ > declined turn previously looked identical to a slow provider. The 0.3.52
430
+ > CHANGELOG entry is corrected to `published` with a scope correction (v0.3.52
431
+ > fixed `WEB32-P0-09`, not `WEB32-P0-08`), and
432
+ > `docs/plan/evidence/v0.3.53/investigation-and-audit.md` records the runtime
433
+ > facts, four static hypotheses with the code evidence that refutes two of them,
434
+ > and the three-version (0.3.50–0.3.52) delivery-status audit. No `src/` or
435
+ > `web/` changes. The paid human-labeled quality benchmark and real Host + Chrome
436
+ > full-chain E2E remain `not_run` (no model credentials), and local Playwright
437
+ > reproduction is additionally `not_run` because the E2E global setup's
438
+ > `git rev-parse` hits the Xcode license gate (needs a human
439
+ > `sudo xcodebuild -license`).
440
+
441
+ ### Changed
442
+
443
+ - test(e2e): the `WEB32-P0-08` provider-wait failure now carries the command
444
+ disposition (`disposition=started` vs `session_turn_queued`), so a timeout states
445
+ whether the turn was started and stalled before the HTTP call, or queued and
446
+ never drained. Those two shapes need different host fixes.
447
+ - test(e2e): `WEB32-P0-08` asserts `command.result` is one of `started` /
448
+ `session_turn_queued` right after the `contextReceipt` assertion, so a silently
449
+ declined turn fails fast and names the disposition (with `detail`) instead of
450
+ surfacing as a 45s provider timeout.
451
+ - test(e2e): the Web E2E release receipt now **names the dirty evidence** instead
452
+ of only reporting a boolean. `assemble-web-e2e-receipt.ts` records up to six
453
+ `scenarioId/status/counter=value` summaries and `browser_evidence_clean` appends
454
+ them to its failure detail (the counter values otherwise live only in per-run
455
+ scenario manifests inside a ~184 MB artifact). A run that is GO but not clean had
456
+ blocked v0.3.49 and this PR's first CI attempt with no diagnosable detail. The
457
+ dirtiness predicate itself is unchanged (`cleanEvidence` is now derived from the
458
+ same condition), so no check became more or less strict.
459
+ - CHANGELOG: corrected the 0.3.52 delivery status from `candidate` to
460
+ `published` (tagged `v0.3.52`, npm `latest`, publish timestamp
461
+ `2026-11-04T23:09:25.161Z`, GitHub Release link) and added the scope correction
462
+ that its clause-B remediation covered `WEB32-P0-09` only.
463
+ - docs: added `docs/plan/evidence/v0.3.53/investigation-and-audit.md` and
464
+ `docs/plan/v0.3.53-plan.md` — the evidence base for the next round's product
465
+ fix (including why a blind change to the runtime's concurrency path would be
466
+ unjustified).
467
+ - README / README.zh-CN: header summary and install pin updated to 0.3.53
468
+ (candidate, release withheld).
469
+
401
470
  ## [0.3.44] — 2026-10-28
402
471
 
403
472
  > **Status: published.** Open. Receipt backfill & delivery-status audit slice
package/README.md CHANGED
@@ -2,17 +2,20 @@
2
2
 
3
3
  Local-first, goal-driven coding agent for the terminal and browser.
4
4
 
5
- > v0.3.52 candidate — open. Quality-clause-B remediation of the Web E2E red left
6
- > on `main` by v0.3.51: `WEB32-P0-09` no longer reads `planReview.status` in a
7
- > transitional state (it polls the settled `(status, revision)` pair), and the
8
- > OpenAI fixture now reports which requests had arrived when a wait times out, so
9
- > the remaining `WEB32-P0-08` timeouts can be told apart ("never sent" vs "sent
10
- > something else"). The v0.3.51 keep-alive change reduced that failure but did
11
- > not eliminate it. Receipt side: the 0.3.51 CHANGELOG entry is corrected to
12
- > `published` (with its keep-alive claim corrected from "clears" to "reduced"),
13
- > and a three-version (0.3.49–0.3.51) delivery-status audit is recorded in
14
- > `docs/plan/evidence/v0.3.52/status-audit.md`. The previous release 0.3.51 is on
15
- > npm (registry `latest`), tagged `v0.3.51` (`0702878`, #310).
5
+ > v0.3.53 candidate — open, **release withheld**. `WEB32-P0-08` still fails
6
+ > intermittently on `main`, so quality clause B blocks publishing this version:
7
+ > no tag, no npm publish, no GitHub Release until the root cause is fixed. This
8
+ > slice only makes the failure name itself: `POST /api/v1/commands` answers 202
9
+ > with a `contextReceipt` even when the host silently declines to start the turn
10
+ > (`command_ignored`), so the scenario now asserts the response `result` before
11
+ > waiting 45s for a provider request that may never be issued. The 0.3.52
12
+ > CHANGELOG entry is corrected to `published` (with a scope correction: v0.3.52
13
+ > fixed `WEB32-P0-09`, not `WEB32-P0-08`), and
14
+ > `docs/plan/evidence/v0.3.53/investigation-and-audit.md` records the runtime
15
+ > facts, the four static hypotheses with the code evidence that refutes two of
16
+ > them, and the three-version (0.3.50–0.3.52) delivery-status audit. The
17
+ > previous release 0.3.52 is on npm (registry `latest`), tagged `v0.3.52`
18
+ > (`a054c44`, #312).
16
19
 
17
20
  [中文说明](README.zh-CN.md) ·
18
21
  [v0.3.24 plan](docs/plan/v0.3.24-plan.md) ·
@@ -178,7 +181,7 @@ current development environments. Node 20 is upstream EOL and is no longer a v0.
178
181
  To install the pinned v0.3.33 package when it is available on npm:
179
182
 
180
183
  ```bash
181
- npm install -g @orion-agents/orion-code@0.3.52
184
+ npm install -g @orion-agents/orion-code@0.3.53
182
185
  orion --version
183
186
  orion doctor
184
187
  ```
package/README.zh-CN.md CHANGED
@@ -2,15 +2,15 @@
2
2
 
3
3
  面向终端与浏览器、本地优先的目标驱动 Coding Agent。
4
4
 
5
- > v0.3.52 候选版本:进行中。按质量条款 B 清偿 v0.3.51 遗留在 `main` 的 Web E2E
6
- > 红灯:`WEB32-P0-09` 不再在状态迁移中途单次读取 `planReview.status`(改为轮询
7
- > `(status, revision)` 的稳定态);OpenAI fixture 等待超时时会报告已到达的请求
8
- > 摘要,以便区分剩余 `WEB32-P0-08` 超时是「从未发出」还是「发出但内容不同」。
9
- > v0.3.51 的 keep-alive 改动只降低了该失败频率、并未根除。收据侧:CHANGELOG
10
- > 0.3.51 条目修正为 `published`(其 keep-alive 表述由「清除」改为「降低」),并
11
- > 新增 `docs/plan/evidence/v0.3.52/status-audit.md` 记录 0.3.49–0.3.51 三版交付
12
- > 状态审计。上一版 0.3.51 已发布 npm(registry `latest`)、打 tag `v0.3.51`
13
- > (`0702878`,#310)。
5
+ > v0.3.53 候选版本:进行中,**本轮暂缓发布**。`WEB32-P0-08` 在 `main` 上仍间歇失败,
6
+ > 按质量条款 B 本版本不打 tag、不发布 npm、不建 GitHub Release,待根因修好为止。
7
+ > 本轮只让失败自我具名:host 即使静默拒绝启动轮次(`command_ignored`)也会返回
8
+ > 202 + `contextReceipt`,因此场景现在会先校验响应的 `result`,再等那条可能永不会
9
+ > 发出的 provider 请求。CHANGELOG 0.3.52 条目修正为 `published`(附范围纠正:
10
+ > v0.3.52 修的是 `WEB32-P0-09`,不是 `WEB32-P0-08`),并在
11
+ > `docs/plan/evidence/v0.3.53/investigation-and-audit.md` 记录运行时事实、四个静态
12
+ > 假设与其中两个被代码证据证伪的判据,以及 0.3.50–0.3.52 三版交付状态审计。
13
+ > 上一版 0.3.52 已发布 npm(registry `latest`)、打 tag `v0.3.52`(`a054c44`,#312)。
14
14
 
15
15
  [English](README.md) ·
16
16
  [v0.3.24 方案](docs/plan/v0.3.24-plan.md) ·
@@ -108,7 +108,7 @@ Current。Node 20 已结束上游维护,不再属于 v0.3 Runtime 合同。
108
108
  v0.3.33 在 npm 可用后,可安装固定版本:
109
109
 
110
110
  ```bash
111
- npm install -g @orion-agents/orion-code@0.3.52
111
+ npm install -g @orion-agents/orion-code@0.3.53
112
112
  orion --version
113
113
  orion doctor
114
114
  ```
@@ -130,6 +130,8 @@ export interface WebE2ERunEvidenceV1 {
130
130
  readonly manifestDigest: string;
131
131
  readonly secretScanFindings: number;
132
132
  readonly cleanEvidence: boolean;
133
+ /** Scenario/counter summaries explaining why `cleanEvidence` is false. */
134
+ readonly uncleanEvidence?: readonly string[];
133
135
  readonly decision: ReleaseGateDecisionV1;
134
136
  }
135
137
  export interface WebE2EReleaseReceiptV1 {
@@ -487,10 +487,14 @@ function createWebE2EReleaseReceiptV1(input) {
487
487
  detail: `runs=${allRuns.length} findings=${secretFindings}`,
488
488
  });
489
489
  const runEvidenceClean = allRuns.every(run => run.decision === 'GO' && run.cleanEvidence && run.browser.version.trim());
490
+ const dirtyRuns = allRuns
491
+ .filter(run => !run.cleanEvidence)
492
+ .map(run => `${run.role}${run.ordinal}[${(run.uncleanEvidence ?? []).join('|')}]`);
490
493
  checks.push({
491
494
  id: 'browser_evidence_clean',
492
495
  status: runEvidenceClean ? 'pass' : 'fail',
493
- detail: allRuns.map(run => `${run.role}${run.ordinal}=${run.decision}`).join(' '),
496
+ detail: allRuns.map(run => `${run.role}${run.ordinal}=${run.decision}`).join(' ') +
497
+ (dirtyRuns.length ? ` unclean: ${dirtyRuns.join(' ')}`.slice(0, 500) : ''),
494
498
  });
495
499
  const settingsMatrixComplete = runtimeRuns.length === exports.SUPPORTED_RELEASE_NODE_MAJORS_V1.length &&
496
500
  runtimeRuns.every(run => run.decision === 'GO' &&
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "@orion-agents/orion-code",
3
- "version": "0.3.52",
3
+ "version": "0.3.53",
4
4
  "lockfileVersion": 3,
5
5
  "requires": true,
6
6
  "packages": {
7
7
  "": {
8
8
  "name": "@orion-agents/orion-code",
9
- "version": "0.3.52",
9
+ "version": "0.3.53",
10
10
  "license": "MIT",
11
11
  "dependencies": {
12
12
  "@clack/prompts": "^0.7.0",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@orion-agents/orion-code",
3
- "version": "0.3.52",
3
+ "version": "0.3.53",
4
4
  "description": "Orion Code - local-first goal-driven coding agent for terminal and Web.",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",