dsh-skill-eval 0.0.0-stage → 1.20.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.
Files changed (48) hide show
  1. package/CHANGELOG.md +675 -0
  2. package/LICENSE +21 -0
  3. package/README.md +200 -2
  4. package/README.zh.md +157 -0
  5. package/client.js +2637 -0
  6. package/cordis.patch.yml +9 -0
  7. package/docs/ACCEPTANCE.md +71 -0
  8. package/docs/AUDIT.md +64 -0
  9. package/docs/CODE-REVIEW.md +49 -0
  10. package/docs/COMPARISON.md +33 -0
  11. package/docs/DETAIL.md +463 -0
  12. package/docs/DEV-RELOAD.md +114 -0
  13. package/docs/ENTRYPOINTS.md +65 -0
  14. package/docs/RELEASE.md +44 -0
  15. package/docs/RRSI-NOTES.md +129 -0
  16. package/docs/SCENARIOS.md +91 -0
  17. package/docs/UI-REVIEW.md +115 -0
  18. package/docs/WORKFLOW.md +108 -0
  19. package/icon.svg +9 -0
  20. package/index.js +1111 -0
  21. package/lib/accept.js +350 -0
  22. package/lib/advice.js +547 -0
  23. package/lib/critic.js +101 -0
  24. package/lib/dev.js +148 -0
  25. package/lib/history.js +140 -0
  26. package/lib/html.js +8 -0
  27. package/lib/inspect.js +142 -0
  28. package/lib/integrity.js +46 -0
  29. package/lib/loop.js +195 -0
  30. package/lib/random.js +29 -0
  31. package/lib/recorder.js +634 -0
  32. package/lib/render.js +582 -0
  33. package/lib/report.js +646 -0
  34. package/lib/score.js +525 -0
  35. package/lib/settings.js +396 -0
  36. package/lib/snapshot.js +166 -0
  37. package/lib/steps.js +141 -0
  38. package/lib/store.js +186 -0
  39. package/lib/validity.js +115 -0
  40. package/locale/en.json +6 -0
  41. package/locale/zh.json +6 -0
  42. package/package.json +96 -4
  43. package/scripts/accept.mjs +226 -0
  44. package/scripts/build-client.mjs +59 -0
  45. package/scripts/build.mjs +81 -0
  46. package/scripts/doctor.mjs +199 -0
  47. package/scripts/lib.mjs +52 -0
  48. package/scripts/verify-live.mjs +168 -0
package/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2026 dsh-skill-eval contributors
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
package/README.md CHANGED
@@ -1,3 +1,201 @@
1
- # Temporary Holding Version
1
+ # dsh-skill-eval
2
2
 
3
- This version is a temporary placeholder for this package. An operational version to replace this has been submitted for review and is awaiting a staged release.
3
+ [![license: MIT](https://img.shields.io/badge/license-MIT-blue.svg)](LICENSE)
4
+ [![latest release](https://img.shields.io/github/v/release/carlslin/dsh-skill-eval?display_name=tag)](https://github.com/carlslin/dsh-skill-eval/releases)
5
+
6
+ Records what happens **after** a skill is loaded, scores every skill 0–100, and
7
+ turns the evidence into fixes the agent can act on. It is a DeepSeek Harness
8
+ (DSH) plugin: telemetry, the scoring board and the agent-facing
9
+ `skill_eval_report` tool ship together.
10
+
11
+ Most skill-quality tooling checks the skill _file_. This plugin checks the
12
+ _execution_: did the load succeed, did the tools that followed fail, did the user
13
+ push back, was the skill ignored, did it collide with a sibling skill, what did
14
+ it cost. Those signals only exist inside a running harness — which is why this
15
+ is a DSH plugin rather than a CLI.
16
+
17
+ ## 中文速览 · TL;DR for Chinese readers
18
+
19
+ - 在每次 `skill` 加载后收集执行遥测:加载成败、后续工具报错、用户是否推翻、是否被忽略、碰撞与成本。
20
+ - 每个技能 0–100 分(A≥90 / B≥80 / C≥70 / D≥60 / F<60),带 95% bootstrap 区间;区间重叠时排名标为不显著。
21
+ - 入口只有三个:回合下方结果条、侧边栏「技能评测」面板、设置 → 插件 → `dsh-skill-eval` 的配置页。
22
+ - 建议靠规则生成,每条都带触发数字和可执行的修复;中文界面下标题与修复为中文。
23
+ - 完整中文文档:[README.zh.md](README.zh.md);入口清单:[docs/ENTRYPOINTS.md](docs/ENTRYPOINTS.md)。
24
+
25
+ ## What you get
26
+
27
+ - **a result strip in the conversation** — under every completed turn that loaded a skill, a one-line card shows the skill scores, this turn's call/error counts and an expandable list of fixes (zero tokens, no popup). The old popup is opt-in (`window.__SEV_ENABLE_POPUP__ = true`).
28
+ - `skill_eval_report` tool — the agent reads its own telemetry instead of guessing
29
+ - `/skill-eval [skill]` command — same report in the composer
30
+ - `/skill-eval/board/<version>` — HTML board with grades, dimension bars and top fixes
31
+ - append-only JSONL telemetry in `$DSH_HOME/skill-eval/$DSH_PROFILE/events.jsonl`
32
+
33
+ ## Screenshots
34
+
35
+ | Skills board | MCP tab | Scoring settings |
36
+ | --- | --- | --- |
37
+ | ![skills board](docs/ui/board-skills.png) | ![MCP tab](docs/ui/board-mcp-1.20.2.png) | ![config dialog](docs/ui/config-dialog-1.20.2.png) |
38
+
39
+ More real-window screenshots and the per-screen notes:
40
+ [docs/UI-REVIEW.md](docs/UI-REVIEW.md).
41
+
42
+ ## Scoring in one look
43
+
44
+ | dimension | weight | signal |
45
+ | ------------- | ------ | ----------------------------------------------------------------- |
46
+ | static | 0.30 | description, trigger cues, progressive disclosure, size, examples |
47
+ | reliability | 0.25 | load success × post-load tool error rate |
48
+ | effectiveness | 0.30 | user corrections, ignored loads, sibling collisions |
49
+ | efficiency | 0.15 | tool calls per run, load latency |
50
+
51
+ Grades: `A ≥ 90`, `B ≥ 80`, `C ≥ 70`, `D ≥ 60`, `F < 60`. Every score carries a
52
+ 95% bootstrap confidence interval; overlapping intervals are reported as a
53
+ non-significant rank. Dimensions without evidence are dropped and their weight
54
+ redistributed. Full rubric, record schema and formulas: [docs/DETAIL.md](docs/DETAIL.md).
55
+
56
+ Advice is never generic. Each item carries the number that triggered it and a
57
+ concrete edit:
58
+
59
+ ```
60
+ 🛑 [critical] The user rejects the result right after the skill runs (effectiveness)
61
+ evidence: 67% of runs were followed by a correcting message (e.g. "不对,页眉没删掉")
62
+ fix: The body likely ignores stated constraints. Tighten the output contract and
63
+ the "do not" list; add a short self-check the model must run before answering.
64
+ ```
65
+
66
+ ## Entry points
67
+
68
+ Everyday use is three places only:
69
+
70
+ | Goal | Where |
71
+ | ---------------------- | ------------------------------------------------------------------------------------------ |
72
+ | See this turn's result | the result strip under a completed turn (score, calls/errors, next fix, edit history) |
73
+ | Open the board | the **Skill eval** panel icon in the sidebar (main panel, same seat as the context plugin) |
74
+ | Change scoring | **Settings → Plugins → the `dsh-skill-eval` bundle page → Configure** |
75
+
76
+ Web board: `/skill-eval/board/<version>` · web settings: `…/config` · JSON:
77
+ `…/data/<version>`. Slash commands, agent tools, terminal checks and debug
78
+ switches: [docs/ENTRYPOINTS.md](docs/ENTRYPOINTS.md).
79
+
80
+ ```bash
81
+ dsh-skill-eval-doctor # packaging pre-flight (release gate with --release)
82
+ dsh-skill-eval-accept # generation & data contract (17 checks)
83
+ dsh-skill-eval-verify # product surfaces (9 checks, after a reload)
84
+ ```
85
+
86
+ ## Install
87
+
88
+ Requirements: DeepSeek Harness with plugin bundles (the package declares
89
+ `dsh.engines.dsh >= 0.2.0`) and Node.js ≥ 20 for the CLI helpers.
90
+
91
+ From GitHub source:
92
+
93
+ ```bash
94
+ git clone https://github.com/carlslin/dsh-skill-eval.git
95
+ dsh plugin --profile desktop add "$PWD/dsh-skill-eval"
96
+ ```
97
+
98
+ From a packed release tarball (what a published build ships):
99
+
100
+ ```
101
+ dsh plugin --profile desktop add "$PWD/dist/dsh-skill-eval-<version>.tgz"
102
+ ```
103
+
104
+ Or straight from the source directory, or through the agent's
105
+ `plugin_manager` → `install_bundle`. The package ships the prebuilt browser
106
+ bundle, so installation needs no build step; editing `client/*.js` requires
107
+ `npm run build:client` (a zero-dependency concatenation script). After install,
108
+ refresh the GUI: the board is the **Skill eval** panel icon in the sidebar,
109
+ settings live under **Settings → Plugins → `dsh-skill-eval`**.
110
+
111
+ ## Use
112
+
113
+ - **Result strip** under every completed turn: score chip, calls/errors, next
114
+ fix and edit history (zero tokens).
115
+ - **Board**: skills / steps / runs / MCP / dev tabs with next steps and evidence validity, plus SVG charts (score distribution, skill trend sparkline, evidence coverage, MCP p50/p95, session activity). The **steps** tab scores every loop step and compares recent turns.
116
+ - **Agent**: ask "how did `pdf-tools` perform?" — the agent calls
117
+ `skill_eval_report`; before editing a skill it is told to call
118
+ `skill_eval_review` first.
119
+ - **Slash commands**: `/skill-eval` (summary), `/skill-eval <skill>`,
120
+ `loop [all]`, `validity`, `history`, `impact`, `mcp`, `runs`, `turns`, `dev`,
121
+ `config`, `accept`.
122
+ - **Read-only Inspect**: provider `skill-eval`, methods
123
+ `summary|skill|mcp|runs|edits|standard`.
124
+ - To improve a skill: act only on `critical`/`warning` items, apply the `fix`
125
+ lines, then re-read after a few more loads.
126
+
127
+ ## Config
128
+
129
+ The form lives in the bundle page; the same values can be seeded in config or
130
+ `settings.json`. The essentials:
131
+
132
+ ```yaml
133
+ enabled: true
134
+ windowToolCalls: 12 # tool calls that count as evidence for one load
135
+ minSamples: 3 # loads before a score stops being provisional
136
+ weights: { static: 30, reliability: 25, effectiveness: 30, efficiency: 15 }
137
+ thresholds: { excellent: 90, good: 80, pass: 70 }
138
+ tokenBudgetPerLoad: 20000 # billable tokens per load before efficiency/advice react
139
+ adviceNoiseFloor: true # advice must clear its 95% interval to stay critical
140
+ turnReports: true # one board per settled turn under reports/turns/
141
+ promptHint: true # the one-line system-prompt hint; false = zero fixed cost
142
+ registerReviewTool: true # skill_eval_review: leakage critic + audit ledger
143
+ ```
144
+
145
+ Full key list (25 settings incl. pruning, edit budget, cache weight, dashboard
146
+ path, inspect provider and MCP thresholds): [docs/DETAIL.md](docs/DETAIL.md#configuration-keys).
147
+ `DSH_SKILL_EVAL_DIR` overrides the data directory; `$DSH_HOME/skill-eval/$DSH_PROFILE`
148
+ is the default.
149
+
150
+ ## Release
151
+
152
+ See [docs/RELEASE.md](docs/RELEASE.md) for the checklist, packing commands and
153
+ the clean-profile smoke test. `npm run release:check` runs the doctor gate, the
154
+ test suite and the live acceptance; `node scripts/doctor.mjs --release` verifies
155
+ the matching `dist/` artifact.
156
+
157
+ ## Build
158
+
159
+ Editing `client/*.js` requires rebuilding the single-file browser bundle:
160
+
161
+ ```bash
162
+ npm run build # format check → lint → client build → doctor → 241 tests
163
+ npm run build:fast # client build + doctor only
164
+ npm run build:pack # full build + dist/dsh-skill-eval-<version>.tgz
165
+ npm run build:install # pack + install into the desktop profile
166
+ ```
167
+
168
+ `scripts/build.mjs` runs the same commands as the release checklist; add
169
+ `--fix` to format before checking, `--install=<profile>` for another profile.
170
+
171
+ ## Tests
172
+
173
+ ```
174
+ node --test test/
175
+ ```
176
+
177
+ 241 tests (`npm test` rebuilds the browser bundle first): scoring bands, static checks, correction detection,
178
+ window lifecycle (turn-end snapshot → correction → close), store round-trip with
179
+ a torn line, analyzer join, markdown/HTML rendering incl. escaping and bilingual
180
+ advice copy, host route registration under duplicate-route pressure, and the
181
+ client surfaces mounted in jsdom.
182
+
183
+ ## More docs
184
+
185
+ - [docs/AUDIT.md](docs/AUDIT.md) — multi-layer audit: findings, fixes, residuals
186
+ - [docs/CODE-REVIEW.md](docs/CODE-REVIEW.md) — code-hygiene review: dead code, duplication, cleanup
187
+ - [docs/UI-REVIEW.md](docs/UI-REVIEW.md) — real-window walkthrough with screenshots (`docs/ui/`)
188
+ - [docs/ENTRYPOINTS.md](docs/ENTRYPOINTS.md) — every entry point, including slash commands and debug switches
189
+ - [docs/WORKFLOW.md](docs/WORKFLOW.md) — load → measure → score with intervals → advice → screen edits → re-measure
190
+ - [docs/DETAIL.md](docs/DETAIL.md) — rubric, record schema, full configuration keys, why this exists
191
+ - [docs/RRSI-NOTES.md](docs/RRSI-NOTES.md) — research notes and what we borrowed
192
+ - [docs/COMPARISON.md](docs/COMPARISON.md) — prior art and what each misses
193
+ - [docs/DEV-RELOAD.md](docs/DEV-RELOAD.md) — hot-reload recipe and disposable-profile verification
194
+ - [CHANGELOG.md](CHANGELOG.md) — release history
195
+
196
+ ## Known limits
197
+
198
+ - Loads are recorded from `skill` tool calls and user-typed `/skill-name` invocations; a skill the harness activates without either is invisible.
199
+ - Effectiveness is inferred from the next user message, not from a task verdict.
200
+ - Advice evidence keeps measured ids/numbers in English even in the Chinese UI.
201
+ - Telemetry grows without pruning (one small record pair per load).
package/README.zh.md ADDED
@@ -0,0 +1,157 @@
1
+ # dsh-skill-eval(技能评测)
2
+
3
+ [![license: MIT](https://img.shields.io/badge/license-MIT-blue.svg)](LICENSE)
4
+ [![latest release](https://img.shields.io/github/v/release/carlslin/dsh-skill-eval?display_name=tag)](https://github.com/carlslin/dsh-skill-eval/releases)
5
+
6
+ 记录 **skill 加载之后**真实发生了什么:加载成败、后续工具报错、用户有没有推翻、
7
+ 技能是否被忽略、是否与兄弟技能碰撞、花了多少 token。每个技能打 0–100 分,并把
8
+ 证据转成 agent 可以直接执行的修复建议。
9
+
10
+ 大多数技能质量工具检查的是技能*文件*;这个插件检查的是*执行*。这些信号只存在于
11
+ 运行中的 harness 里,所以它是一个 DSH 插件,而不是一个 CLI。
12
+
13
+ ## English at a glance
14
+
15
+ - Telemetry after every skill load; 0–100 scores with 95% bootstrap intervals.
16
+ - Three human entry points: the per-turn result strip, the sidebar **Skill eval**
17
+ board panel, and **Settings → Plugins → `dsh-skill-eval`**.
18
+ - Rule-based advice with measured evidence, localized into Chinese in the
19
+ Chinese UI. Full English docs: [README.md](README.md).
20
+
21
+ ## 产出
22
+
23
+ - **对话内结果条**:每个加载过技能的完成回合下方一行,显示分数、本轮调用/报错、
24
+ 可展开的修复清单(零 token,不弹窗)。旧弹窗保留但需手动开启
25
+ (`window.__SEV_ENABLE_POPUP__ = true`)。
26
+ - `skill_eval_report` 工具 —— agent 直接读自己的遥测,不再靠猜
27
+ - `/skill-eval [技能]` 命令 —— 在输入框里看同一份报告
28
+ - `/skill-eval/board/<版本>` —— HTML 看板:等级、维度条、优先修复
29
+ - 追加式 JSONL 遥测:`$DSH_HOME/skill-eval/$DSH_PROFILE/events.jsonl`
30
+
31
+ ## 截图
32
+
33
+ | 技能看板 | MCP 标签 | 评分配置 |
34
+ | --- | --- | --- |
35
+ | ![技能看板](docs/ui/board-skills.png) | ![MCP 标签](docs/ui/board-mcp-1.20.2.png) | ![评分配置](docs/ui/config-dialog-1.20.2.png) |
36
+
37
+ 更多真实窗口截图与逐屏记录:[docs/UI-REVIEW.md](docs/UI-REVIEW.md)。
38
+
39
+ ## 评分一眼看懂
40
+
41
+ | 维度 | 权重 | 信号 |
42
+ | -------- | ---- | ------------------------------------ |
43
+ | 静态质量 | 0.30 | 描述、触发线索、渐进披露、体量、示例 |
44
+ | 可靠性 | 0.25 | 加载成功率 × 加载后工具错误率 |
45
+ | 有效性 | 0.30 | 用户纠正、加载后被忽略、兄弟技能碰撞 |
46
+ | 效率 | 0.15 | 每次运行的调用数、加载延迟 |
47
+
48
+ 等级:`A ≥ 90`、`B ≥ 80`、`C ≥ 70`、`D ≥ 60`、`F < 60`。每个分数带 95% bootstrap
49
+ 区间;区间重叠时排名标为不显著。没有证据的维度会被丢弃并重新分配权重,所以新技能
50
+ 不会因为没历史而被惩罚。完整评分规则、记录 schema 与公式:[docs/DETAIL.md](docs/DETAIL.md)。
51
+
52
+ 建议不是套话:每条都带触发它的数字和具体改法,中文界面下标题与修复为中文。
53
+
54
+ ## 入口
55
+
56
+ 日常只用三个地方:
57
+
58
+ | 目标 | 位置 |
59
+ | ------------ | -------------------------------------------------------------- |
60
+ | 看本回合结果 | 完成回合下方的结果条(分数、调用/报错、下一处修复、改动记录) |
61
+ | 打开看板 | 侧边栏 **「技能评测」** 面板图标(主面板,与上下文插件同位置) |
62
+ | 改评分标准 | **设置 → 插件 → `dsh-skill-eval` 包页面 → 配置** |
63
+
64
+ 网页版看板:`/skill-eval/board/<版本>` · 网页配置:`…/config` · JSON:
65
+ `…/data/<版本>`。对话命令、agent 工具、终端检查与调试开关见
66
+ [docs/ENTRYPOINTS.md](docs/ENTRYPOINTS.md)。
67
+
68
+ ```bash
69
+ dsh-skill-eval-doctor # 打包预检(--release 为发布门禁)
70
+ dsh-skill-eval-accept # 数据契约与生成检查(17 项)
71
+ dsh-skill-eval-verify # 产品面可达(9 项,重载后)
72
+ ```
73
+
74
+ ## 安装
75
+
76
+ 要求:带插件 bundle 能力的 DeepSeek Harness(包内声明 `dsh.engines.dsh >= 0.2.0`),
77
+ CLI 辅助脚本需要 Node.js ≥ 20。
78
+
79
+ 从 GitHub 源码安装:
80
+
81
+ ```bash
82
+ git clone https://github.com/carlslin/dsh-skill-eval.git
83
+ dsh plugin --profile desktop add "$PWD/dsh-skill-eval"
84
+ ```
85
+
86
+ 从发布 tarball 安装(发布产物):
87
+
88
+ ```
89
+ dsh plugin --profile desktop add "$PWD/dist/dsh-skill-eval-<版本>.tgz"
90
+ ```
91
+
92
+ 也可以直接从源码目录安装,或让 agent 调用 `plugin_manager` → `install_bundle`。
93
+ 发布包内含预构建的客户端 bundle,安装无需构建;修改 `client/*.js` 后要跑
94
+ `npm run build:client`(零依赖的拼接脚本)。装完刷新 GUI:看板是侧边栏的
95
+ 「技能评测」面板,配置在 **设置 → 插件 → `dsh-skill-eval`**。
96
+
97
+ ## 用法
98
+
99
+ - **结果条**:完成回合下方,分数、调用/报错、下一处修复、改动记录(零 token)。
100
+ - **看板**:技能 / 轨迹 / 运行 / MCP / 开发者标签,含下一步、效度摘要与 SVG 图表;「轨迹」逐步打分并对比最近几个回合。
101
+ - **让 agent 看**:直接问「`pdf-tools` 表现怎么样」—— agent 会调 `skill_eval_report`;
102
+ 改技能前它被告知先调 `skill_eval_review` 做泄漏审查。
103
+ - **对话命令**:`/skill-eval`、`/skill-eval <技能>`、`loop [all]`、`validity`、
104
+ `history`、`impact`、`mcp`、`runs`、`turns`、`dev`、`config`、`accept`。
105
+ - **只读 Inspect**:provider `skill-eval`,方法 `summary|skill|mcp|runs|edits|standard`。
106
+ - **怎么改技能**:只处理 `critical`/`warning`,照 `fix` 改,再用几轮真实加载重测。
107
+
108
+ ## 配置
109
+
110
+ 配置在包页面的原生表单里;也可以用 config 或 `settings.json` 预置。常用项:
111
+
112
+ ```yaml
113
+ enabled: true
114
+ windowToolCalls: 12 # 一次加载的证据窗口内工具调用数
115
+ minSamples: 3 # 样本达到多少后分数不再算临时值
116
+ weights: { static: 30, reliability: 25, effectiveness: 30, efficiency: 15 }
117
+ thresholds: { excellent: 90, good: 80, pass: 70 }
118
+ tokenBudgetPerLoad: 20000 # 单次加载可计费 token 预算
119
+ adviceNoiseFloor: true # 建议必须越过 95% 区间才保持 critical
120
+ turnReports: true # 每个结算回合写一份看板到 reports/turns/
121
+ promptHint: true # 系统提示里一行提示;false = 零固定成本
122
+ registerReviewTool: true # skill_eval_review:泄漏审查 + 审计账本
123
+ ```
124
+
125
+ 全部 25 项(含剪枝、编辑预算、缓存权重、面板路径、Inspect provider、MCP 阈值):
126
+ [docs/DETAIL.md](docs/DETAIL.md#configuration-keys)。`DSH_SKILL_EVAL_DIR` 可覆盖数据目录,
127
+ 默认 `$DSH_HOME/skill-eval/$DSH_PROFILE`。
128
+
129
+ ## 测试
130
+
131
+ ```
132
+ node --test test/
133
+ ```
134
+
135
+ 241 项(`npm test` 会先重建客户端 bundle):评分分档、静态检查、纠正识别、窗口生命周期(回合结束快照 →
136
+ 纠正 → 关闭)、带残缺行的存储往返、分析器 join、Markdown/HTML 渲染(含转义与中文
137
+ 建议文案)、重复路由压力下的宿主路由注册,以及客户端的 jsdom 挂载测试。
138
+
139
+ ## 更多文档
140
+
141
+ - [docs/AUDIT.md](docs/AUDIT.md) —— 多层审计:问题、修复与遗留
142
+ - [docs/CODE-REVIEW.md](docs/CODE-REVIEW.md) —— 代码卫生:死代码、重复实现与清理
143
+ - [docs/UI-REVIEW.md](docs/UI-REVIEW.md) —— 真实窗口逐屏记录 + 截图(`docs/ui/`)
144
+ - [docs/ENTRYPOINTS.md](docs/ENTRYPOINTS.md) —— 全部入口、命令与调试开关
145
+ - [docs/WORKFLOW.md](docs/WORKFLOW.md) —— 加载 → 测量 → 区间评分 → 建议 → 审查改动 → 重测
146
+ - [docs/DETAIL.md](docs/DETAIL.md) —— 评分规则、记录 schema、完整配置项
147
+ - [docs/RELEASE.md](docs/RELEASE.md) —— 发布检查表与干净 profile 冒烟
148
+ - [docs/COMPARISON.md](docs/COMPARISON.md) —— 公开实现对比
149
+ - [docs/DEV-RELOAD.md](docs/DEV-RELOAD.md) —— 热重载与一次性 profile 验证
150
+ - [CHANGELOG.md](CHANGELOG.md) —— 版本历史
151
+
152
+ ## 已知盲区
153
+
154
+ - 记录 `skill` 工具调用与用户输入的 `/skill-name`;harness 自动激活、既不调工具也不输命令的技能看不到。
155
+ - 有效性推断自下一条用户消息,不是任务结论。
156
+ - 中文界面下建议的 evidence 仍保留测量用的英文 id/数字。
157
+ - 遥测只追加、不自动清理(每次加载一对小记录)。