@orion-agents/orion-code 0.3.51 → 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
@@ -313,21 +313,34 @@ which is **not** a pass.
313
313
 
314
314
  ## [0.3.51] — 2026-11-04
315
315
 
316
- > **Status: candidate.** Open. Receipt-backfill slice plus the Web E2E fixture
317
- > keep-alive fix that clears the chronic `WEB32-P0-08` red (plan:
318
- > `docs/plan/v0.3.51-plan.md`). A new three-version delivery-status audit
316
+ > **Status: published.** Receipt-backfill slice plus a Web E2E fixture
317
+ > keep-alive fix aimed at the chronic `WEB32-P0-08` red (plan:
318
+ > `docs/plan/v0.3.51-plan.md`). A three-version delivery-status audit
319
319
  > (0.3.48–0.3.50: tag + registry + dist-tag latest) is recorded in
320
320
  > `docs/plan/evidence/v0.3.51/status-audit.md`. The 0.3.50 `published`
321
321
  > correction landed on `main` through #311, so this slice carries no duplicate
322
322
  > status flip. Because `main` advanced past tag `v0.3.50` while `package.json`
323
323
  > still read `0.3.50`, `main`'s release-gate job failed on the
324
324
  > `Release ref (refs/tags/v0.3.50)` check; this version bump to `0.3.51` is the
325
- > quality-clause-B remediation for that red. This release is also the first
326
- > installable build containing the `.agents/skills` loading feature and the
327
- > self-eval / RSI skills merged as #311 (`0eaccff`), which had not shipped under
328
- > any published version. The human-labeled paid quality benchmark and real Host
329
- > + Chrome full-chain E2E remain honestly `not_run` (no model credentials in
330
- > the automation environment). Not merged, tagged or published.
325
+ > quality-clause-B remediation for that red (verified: `release:check` is green
326
+ > on the post-release run). This release is also the first installable build
327
+ > containing the `.agents/skills` loading feature and the self-eval / RSI skills
328
+ > merged as #311 (`0eaccff`), which had not shipped under any published version.
329
+ > The human-labeled paid quality benchmark and real Host + Chrome full-chain E2E
330
+ > remain honestly `not_run` (no model credentials in the automation
331
+ > environment).
332
+ >
333
+ > **Correction added in v0.3.52:** this entry originally claimed the keep-alive
334
+ > fix *clears* the `WEB32-P0-08` red. That was overstated — the fix reduced its
335
+ > frequency (the v0.3.51 PR run passed 18/18) but `WEB32-P0-08` timed out again
336
+ > in one run of the post-release `Web E2E full suite` job, so the stale-socket
337
+ > race is not a confirmed sole root cause. Diagnosis and the remaining
338
+ > clause-B remediation continue in v0.3.52.
339
+ >
340
+ > Released as `@orion-agents/orion-code@0.3.51` from `refs/tags/v0.3.51`, merged
341
+ > to `main` as `0702878` (#310). npm registry `latest=0.3.51` published
342
+ > `2026-11-04T18:11:26.062Z`. GitHub Release:
343
+ > https://github.com/orion-agents/orion-code/releases/tag/v0.3.51
331
344
 
332
345
  ### Changed
333
346
 
@@ -336,9 +349,10 @@ which is **not** a pass.
336
349
  1s close timer raced the host's pooled HTTP agent: a POST dispatched onto a
337
350
  socket the server had just closed is silently lost (Node does not retry
338
351
  non-idempotent requests), so the provider request never reached the fixture
339
- and `WEB32-P0-08` timed out at 45s. This clears the failure that red-failed
340
- the `Web E2E full suite three consecutive runs` job across five CI attempts
341
- during v0.3.50 and v0.3.51.
352
+ and `WEB32-P0-08` timed out at 45s. This reduced the failure that had
353
+ red-failed the `Web E2E full suite three consecutive runs` job across five CI
354
+ attempts during v0.3.50 and v0.3.51; it did not eliminate it (see the v0.3.52
355
+ correction).
342
356
  - feat: `main`'s `.agents/skills` filesystem-skill loading plus the
343
357
  `orion-self-eval` / `orion-rsi-loop` skills (merged as #311) ship for the
344
358
  first time in this release.
@@ -347,6 +361,112 @@ which is **not** a pass.
347
361
  versions and the `latest` dist-tag.
348
362
  - README / README.zh-CN: header summary and install pin updated to 0.3.51.
349
363
 
364
+ ## [0.3.52] — 2026-11-05
365
+
366
+ > **Status: published.** Quality-clause-B remediation of the Web E2E red
367
+ > left on `main` by v0.3.51, plus the standing receipt-backfill slice (plan:
368
+ > `docs/plan/v0.3.52-plan.md`): the 0.3.51 entry is corrected to `published`
369
+ > (with the real npm publish timestamp, the GitHub Release link, and a
370
+ > correction to its overstated keep-alive claim), and a three-version
371
+ > delivery-status audit (0.3.49–0.3.51: tag + registry + dist-tag latest) is
372
+ > recorded in `docs/plan/evidence/v0.3.52/status-audit.md`. No `src/` or `web/`
373
+ > product code changes. The human-labeled paid quality benchmark and real Host +
374
+ > Chrome full-chain E2E remain honestly `not_run` (no model credentials in the
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.
387
+
388
+ ### Changed
389
+
390
+ - test(e2e): `WEB32-P0-09` no longer reads `composer.planReview.status` once
391
+ after the revision changes. The revision lands before the status returns from
392
+ `continued` to `awaiting_review`, so the single read hit a transitional state
393
+ and red-failed `Web E2E critical journey on Node 22.12.0 floor` on `main`. The
394
+ test now polls the settled `(status, revision-changed)` pair with the same 60s
395
+ budget; a plan review that never returns to `awaiting_review` still fails.
396
+ - test(e2e): the OpenAI fixture's `waitForRequest` timeout message now reports
397
+ how many requests had arrived and the last six `(sequence, scenario,
398
+ lastUserText length)`, without payload text (evidence is secret-scanned
399
+ fail-closed). This distinguishes "the host never issued the request" from "it
400
+ issued something else" for the remaining `WEB32-P0-08` timeouts, which the
401
+ v0.3.51 keep-alive change reduced but did not eliminate.
402
+ - CHANGELOG: corrected the 0.3.51 delivery status from `candidate` to
403
+ `published` (tagged `v0.3.51`, npm registry `latest`, publish timestamp and
404
+ GitHub Release link backfilled) and corrected its keep-alive claim from
405
+ "clears" to "reduced, not eliminated".
406
+ - docs: added `docs/plan/evidence/v0.3.52/status-audit.md` — a three-version
407
+ (0.3.49–0.3.51) delivery-status audit cross-checking git tags, registry
408
+ versions and the `latest` dist-tag, plus the v0.3.51 release facts and the
409
+ post-release CI red carried into this slice.
410
+ - README / README.zh-CN: header summary and install pin updated to 0.3.52.
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
+
350
470
  ## [0.3.44] — 2026-10-28
351
471
 
352
472
  > **Status: published.** Open. Receipt backfill & delivery-status audit slice
package/README.md CHANGED
@@ -2,16 +2,20 @@
2
2
 
3
3
  Local-first, goal-driven coding agent for the terminal and browser.
4
4
 
5
- > v0.3.51 candidate — open. Receipt-backfill slice plus the Web E2E fixture
6
- > keep-alive fix that clears the chronic `WEB32-P0-08` failure
7
- > (`tests/e2e/fixtures/openai-provider.ts`: `keepAliveTimeout` 1000 → 0, closing
8
- > the stale-socket race that black-holed provider POSTs). A three-version
9
- > (0.3.48–0.3.50) delivery-status audit is recorded in
10
- > `docs/plan/evidence/v0.3.51/status-audit.md`. This release is also the first
11
- > installable build carrying the `.agents/skills` loading feature and the
12
- > self-eval / RSI skills merged on `main` as #311 (`0eaccff`). The previous
13
- > release 0.3.50 is on npm (registry `latest`), tagged `v0.3.50` (`86af06a`,
14
- > #309).
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).
15
19
 
16
20
  [中文说明](README.zh-CN.md) ·
17
21
  [v0.3.24 plan](docs/plan/v0.3.24-plan.md) ·
@@ -177,7 +181,7 @@ current development environments. Node 20 is upstream EOL and is no longer a v0.
177
181
  To install the pinned v0.3.33 package when it is available on npm:
178
182
 
179
183
  ```bash
180
- npm install -g @orion-agents/orion-code@0.3.51
184
+ npm install -g @orion-agents/orion-code@0.3.53
181
185
  orion --version
182
186
  orion doctor
183
187
  ```
package/README.zh-CN.md CHANGED
@@ -2,14 +2,15 @@
2
2
 
3
3
  面向终端与浏览器、本地优先的目标驱动 Coding Agent。
4
4
 
5
- > v0.3.51 候选版本:进行中。发布收据回填切片,并附带清除慢性
6
- > `WEB32-P0-08` 失败的 Web E2E fixture keep-alive 修复
7
- > (`tests/e2e/fixtures/openai-provider.ts`:`keepAliveTimeout` 1000 → 0,消除
8
- > 陈旧 socket 竞态吞掉 provider POST 的问题);新增
9
- > `docs/plan/evidence/v0.3.51/status-audit.md` 记录 0.3.48–0.3.50 三版交付状态
10
- > 审计。本版同时是 `.agents/skills` 加载能力与 self-eval / RSI 技能(已作为
11
- > #311 合并进 `main`,`0eaccff`)首个可安装的发布版本。上一版 0.3.50 已发布
12
- > npm(registry `latest`)、打 tag `v0.3.50`(`86af06a`,#309)。
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)。
13
14
 
14
15
  [English](README.md) ·
15
16
  [v0.3.24 方案](docs/plan/v0.3.24-plan.md) ·
@@ -107,7 +108,7 @@ Current。Node 20 已结束上游维护,不再属于 v0.3 Runtime 合同。
107
108
  v0.3.33 在 npm 可用后,可安装固定版本:
108
109
 
109
110
  ```bash
110
- npm install -g @orion-agents/orion-code@0.3.51
111
+ npm install -g @orion-agents/orion-code@0.3.53
111
112
  orion --version
112
113
  orion doctor
113
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.51",
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.51",
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.51",
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",