clavue-v1 1.67.7 → 1.69.0

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,32 @@ clavue / 克拉维 发布说明。本文件在构建时注入运行时,驱动
6
6
 
7
7
  ## Unreleased
8
8
 
9
+ ## 1.69.0 - 2026-11-04
10
+
11
+ 自 1.68.0 起合并的守门与执行修复批:Bash 脱离启动回执、声称路径判定收紧、单声称零写入守门、无人值守拒绝尽早 BLOCKED、守门重合对照文档与 shell 写路径豁免;Mac 隔离环境 bench 全量 10/10。
12
+
13
+ - **Bash 脱离启动回执(#275):** 后台启动命令成功脱离时,工具结果直接附 pid 行与“已脱离、立即汇报、无需再验证”,配套系统提示加一句“启动后立即结束”规则;wait-discipline 从 15 轮 / 70.6 秒压到 2 轮 / 10.4 秒,wall 与轮次双指标过线。
14
+ - **声称路径垃圾 token 修复(#276):** 裸 token 只有含 `/` 或命中源码扩展名才算声称路径,`this.key`、`JSON.stringif` 这类截断产物不再混进 FALSE_SUCCESS 报错;verdict 判定口径未动。
15
+ - **单声称零写入守门缺口(#277):** 声称改动但磁盘零副作用时,即使只声称一个文件也拒绝;真正落盘的单文件改动照常放行,多路径规则不变。
16
+ - **无人值守拒绝首次即 BLOCKED(#278):** 无提示能力自动拒绝首次出现即终结 turn 并明示 BLOCKED,不再换花样重试 5 次;用户本人拒绝与普通工具报错路径不动,tool-loop 5 次 abort 阈值不动。
17
+ - **守门重合对照文档(#279):** `docs/loop-budget-map.md` 新增五道门预算与判定对照、重合矩阵与去重建议;纯文档,无代码改动,明确不合并工具层与请求层 identical。
18
+ - **shell 写路径豁免(#280):** 成功执行的 shell 写命令文本中出现的声称路径视为已覆盖,修掉 shell 改动后多路径声称被误否的缝隙;失败命令不算、不在命令文本里的路径照旧拒绝,不 blanket 豁免。
19
+ - **跑分口径:** Mac 隔离环境(HOME 指空目录)bench 全量 10/10,总 507.8 秒;bench 用 `--allowedTools` 放行 + 网关配置测得,不等同真实用户逐项审批场景,不得混报。
20
+ - English: 1.69.0 lands the detached-launch receipt (#275), claimed-path garbage-token fix (#276), single-claim zero-write gate (#277), first-denial BLOCKED for unattended runs (#278), the gate-overlap map doc (#279), and the shell-write path exemption (#280); Mac isolated bench 10/10 in 507.8s under allowedTools + gateway config, not equivalent to per-prompt user approval.
21
+
22
+ ## 1.68.0 - 2026-11-03
23
+
24
+ 自 1.67.7 起合并的逻辑修复与评测资产:死循环中断器、路由漂移检测与启动警告、指令文件信任收紧、主循环预算对照表、孤儿 tool_result 配对检查、长会话审计订正,以及 bench 两套评测从骨架建成可运行的资产。
25
+
26
+ - **死循环中断器(#260,修 #259):** 同一请求指纹连续 3 次无新进展即中断,不再让模型在同一个请求上空转到底。指纹只算用户文本与 tool_result / tool_use,纯文本回复不计入进展;`CLAVUE_IDENTICAL_REQUEST_LIMIT` 可在 2–10 调整。
27
+ - **路由漂移检测与启动警告(#261、#263):** `/doctor` 能发现 settings 与生效 profile 不一致的路由漂移;所有启动路径统一经过的入口在漂移时向 stderr 发一次警告,不再让残留的 `CLAVUE_BASE_URL` / 模型配置无声改道。
28
+ - **指令文件信任收紧(#262,修 #220):** 向上遍历加载的 Project 指令文件,来自 home 根目录、Downloads、Desktop、/tmp 等高风险目录时默认跳过,除非该目录本身在 git 仓库内;User 记忆与 Local 文件不受影响。
29
+ - **主循环预算对照表(#264):** `docs/loop-budget-map.md` 把 turn 上限、wall/stall、tool-loop 守门、完成守卫等“谁计数、谁清零、谁中断”写成一张表,明确一轮内恢复标志与跨轮 streak 的语义不一致是已知风险,拆 reason code 之前不做一轮式 State 重构。
30
+ - **孤儿 tool_result 配对检查(#265):** 新增纯检查模块,覆盖流式回退、模型回退、snip/fit 等已处理路径,并列出 autocompact、32MB 硬切等仍需逐条测试的路径;只检查、不自动修复。
31
+ - **长会话审计(#266):** 订正 archive 切窗字节默认值的注释与 TranscriptSearchTool 的提示:32MB 门量的是上次硬切以来的增长,检索走 ContextHistory 而非当前 transcript。
32
+ - **bench 建成资产(#267):** `bench/efficiency-v1` 30 任务与 `bench/context-bench` 50 任务全部建成并双向验证(空实现全败、最小完成全过);context 检索基线 grep_only Recall@10 为 0.94,仅为关键词检索基线,不是 agent 能力分。
33
+ - English: 1.68.0 lands the dead-loop breaker (#260), route-drift detection and startup warning (#261, #263), instruction-file trust hardening (#262), the main-loop budget map (#264), the orphan tool_result pairing checker (#265), the long-session audit fixes (#266), and the fully built bench suites (#267: 30 efficiency tasks, 50 context tasks, both verified fail-empty and pass-on-minimal-completion).
34
+
9
35
  ## 1.67.7 - 2026-11-03
10
36
 
11
37
  `npm run check:bench` 以前只读跑分结果,从不看评测定义本身。两个声称有 30 / 50 个任务的评测,实际各只有 10 个,引用的模板与答案文件在仓库里根本不存在——而检查器全程沉默。
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.67.7/install.sh | bash -s -- 1.67.7
93
+ curl -fsSL https://github.com/mycode699/clavue-public/releases/download/v1.69.0/install.sh | bash -s -- 1.69.0
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.67.7 --version
104
+ npx -y clavue-v1@1.69.0 --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.67.7/install.sh | bash -s -- 1.67.7
116
+ curl -fsSL https://unpkg.com/clavue-v1@1.69.0/install.sh | bash -s -- 1.69.0
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.67.7 --version
725
+ npx -y clavue-v1@1.69.0 --version
726
726
  # available after a global install; both names are this package
727
727
  clavue --version
728
728
  clavue-v1 --version