clavue-v1 1.69.1 → 1.69.3

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
@@ -6,6 +6,26 @@ clavue / 克拉维 发布说明。本文件在构建时注入运行时,驱动
6
6
 
7
7
  ## Unreleased
8
8
 
9
+ ## 1.69.3 - 2026-11-05
10
+
11
+ 架构门回绿:把 `src/query.ts` 收成薄入口(`maxQueryLines` 4788→7),循环体迁到 `src/query/queryLoopImpl.ts`;拆出 ReviewPolicySettle / SlotMeasureHelpers / ToolLoopGuardHelpers,并锁低 architecture baseline。解锁 #314/#315/#316 之后的发版。
12
+
13
+ - **query 削薄:** `src/query.ts` 只再导出 `query` / `QueryParams`;实现迁到 `src/query/queryLoopImpl.ts`(不走 phases/runtime 行数门),`scripts/architecture-baseline.json` 的 `maxQueryLines` 锁到 7。
14
+ - **runtime helpers:** `v1ReviewPolicySettle.ts`、`v1SlotMeasureHelpers.ts`、`v1ToolLoopGuardHelpers.ts` 抽出结算与度量辅助,父文件回到天花板内。
15
+ - **验收:** `npm run typecheck` 0 errors;`node scripts/check-architecture.mjs` exit 0(query 7 == baseline)。
16
+ - **发版闸清红:** route-drift doctor/API+bundle、context-bench scorers(`hit`/`rank`)、request/tool 表面预算 ceiling 对齐拆分后实测值;query 接线测试改走 `readQuerySource` / `queryLoopImpl`。
17
+ - English: 1.69.3 greens the architecture ratchet by thinning `src/query.ts` to a re-export (`maxQueryLines` 4788→7) and moving the loop body to `src/query/queryLoopImpl.ts`, plus extracting ReviewPolicySettle / SlotMeasureHelpers / ToolLoopGuardHelpers and locking the lowered baseline — unblocking ship after #314/#315/#316. Also clears tip reds that blocked release:preflight (route-drift doctor/API+bundle, context-bench hit/rank scorers, request/tool surface budget ceilings aligned to measured post-extract sizes) and retargets query-wiring tests via readQuerySource / queryLoopImpl.
18
+
19
+ ## 1.69.2 - 2026-11-05
20
+
21
+ 发布收口批:修复 dist 构建缺失包名宏导致的更新/doctor 回落,校正测试漂移与验证门禁,并把评测文档、TUI feed 对齐到当前版本。
22
+
23
+ - **更新链路宏修复:** `scripts/build-plugin.mjs` 的 `MACRO_DEFINES` 补上 `MACRO.PACKAGE_URL` / `MACRO.NATIVE_PACKAGE_URL`;此前重建的 `dist/cli-main.js` 中 `APP_NPM_PACKAGE_NAME` 会抛 `ReferenceError` 并回落到未发布的 `clavue`,而非 `clavue-v1`。重建后确认未解析的宏表达式为 0,产物内联为 `"clavue-v1"`。
24
+ - **门禁与回归:** `scripts/verify-dist.mjs` 拒绝 `dist/cli-main.js` 出现未解析的 `MACRO.PACKAGE_URL` 表达式并校验 `APP_NPM_PACKAGE_NAME` 解析到 `clavue-v1`;`tests/build-version-macro.test.mjs` 校验两个宏定义存在;`tests/check-bench-manifest.test.mjs` 与 `tests/v1-review-policy.test.mjs` 的断言分别对齐到 30/50 任务已实装、fix loop 默认开启的现状。
25
+ - **文档一致性:** `docs/evals/README.md` 的 skeleton 段改为实装事实(30/50 任务、模板与夹具路径均已存在)、`Last verified` 更新到 1.69.2;`docs/tui-feed/feed.json` 的 `latest` 与首条公告更新为本版本;新增 `docs/release-notes-v1.69.2.md`。
26
+ - **验收:** 发布前执行 `npm run test:fast`、`npm run verify:dist`、`npm run check:bench`,三条命令退出码均为 0(见发布记录)。
27
+ - English: 1.69.2 closes the release: inline the npm package name macros in the dist build (update/doctor previously fell back to an unpublished package name), align drifted bench/review tests and the verify:dist gate with the shipped tree, and refresh the eval/TUI-feed docs to the current version.
28
+
9
29
  ## 1.69.1 - 2026-11-04
10
30
 
11
31
  自 1.69.0 起的槽位升级三件套:槽位度量先行、review 证据包分层 + fix loop 默认开、plan 轻量合同 + 中途再规划触发器,以及跟进项修复批;最终全量复跑 10/10。
@@ -16,6 +36,7 @@ clavue / 克拉维 发布说明。本文件在构建时注入运行时,驱动
16
36
  - **跟进项修复(#286):** pack 保真 scope/truncation 明标(CHANGE 静默丢 hunk 致假 must-fix 的根因)、合同侧裸文件名提取、PartG 链尾接分层与缺口段、度量 feed 写工具路径相对化。
17
37
  - **跑分口径:** 最终全量复跑 10/10(main 43516d26 真实内容)在 bench 放行配置(--allowedTools)+ 网关配置下测得,不等同真实用户逐项审批场景,不得混报;wall 与 token 较首账单上升,且主模型已更换,不可直接读成产品变慢或变快。
18
38
  - **已知限定:** PartG 链尾在 -p 下未触发;绝对路径 plan 引用致采纳率 null 与合同为空;合同 keyFiles 会纳入仅作上下文的文件(如 package.json);0.8 风险门致分层与缺口检测在常规改动下多回落全 transcript;架构门在 main 上已红,本版只添增量、未动基线。
39
+ - **发布记录:** 目标提交 3a700fe5(main);npm run rebuild:dist 已重建一次,dist 入口自检 1.69.1 (clavue / 克拉维)、--help 冒烟通过;npm publish 已把 1.69.1 发布到 registry.npmjs.org(tag latest、public access),tarball shasum d57e33f5e9be782fd6911860ee38894d485f17a5,dist-tags.latest 已指向 1.69.1。
19
40
  - English: 1.69.1 lands slot measurement (#282: per-usageSlot bill, review rewrite rate, plan adoption rate), layered review evidence + fix loop on by default (#284), the lightweight plan contract + mid-turn replanning triggers (#285), and follow-up fixes (#286: pack fidelity scope/truncation labels, bare-name key files on the contract side, PartG tail layered + gap section, relativized measure-feed write paths); final full bench re-run 10/10 under allowedTools + gateway config, not equivalent to per-prompt user approval; known limits (PartG tail not triggered under -p, absolute-path plan references yielding null adoption and empty contracts, keyFiles admitting context-only files, the 0.8 risk gate falling back to full transcript on routine changes, architecture gate already red on main).
20
41
 
21
42
  ## 1.69.0 - 2026-11-04
package/README.md CHANGED
@@ -90,7 +90,7 @@ clavue-v1 --version
90
90
  Pin a version:
91
91
 
92
92
  ```bash
93
- curl -fsSL https://github.com/mycode699/clavue-public/releases/download/v1.69.1/install.sh | bash -s -- 1.69.1
93
+ curl -fsSL https://github.com/mycode699/clavue-public/releases/download/v1.69.3/install.sh | bash -s -- 1.69.3
94
94
  ```
95
95
 
96
96
  Upgrade later with `clavue update` or `clavue-v1 update` (startup check / `/update` also prefer the public v1 release, then fall back to npm).
@@ -101,7 +101,7 @@ Upgrade later with `clavue update` or `clavue-v1 update` (startup check / `/upda
101
101
  npm install -g clavue-v1
102
102
  # or one-shot:
103
103
  npx -y clavue-v1
104
- npx -y clavue-v1@1.69.1 --version
104
+ npx -y clavue-v1@1.69.3 --version
105
105
  ```
106
106
 
107
107
  One-line global install via the package (npm / unpkg):
@@ -113,7 +113,7 @@ curl -fsSL https://unpkg.com/clavue-v1/install.sh | bash
113
113
  Install a specific version globally:
114
114
 
115
115
  ```bash
116
- curl -fsSL https://unpkg.com/clavue-v1@1.69.1/install.sh | bash -s -- 1.69.1
116
+ curl -fsSL https://unpkg.com/clavue-v1@1.69.3/install.sh | bash -s -- 1.69.3
117
117
  ```
118
118
 
119
119
  ```bash
@@ -722,7 +722,7 @@ Version check:
722
722
 
723
723
  ```bash
724
724
  npx -y clavue-v1 --version
725
- npx -y clavue-v1@1.69.1 --version
725
+ npx -y clavue-v1@1.69.3 --version
726
726
  # available after a global install; both names are this package
727
727
  clavue --version
728
728
  clavue-v1 --version