dsh-trajectory-traceview-plus 0.11.12 → 0.11.13

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
@@ -1,5 +1,18 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.11.13 — 留脏即报(2026-11-29)
4
+
5
+ - **段内共享 store 的留脏,现在当场就能看见。** 四段探针各自在结尾检查 store 是否回到
6
+ 种子状态(18 个事件节点 / 3 个请求 / 无 partial),不一致就点名**是哪一段**留脏了。
7
+ 起因很具体:我写 23o/23p 时用局部快照收尾,坑掉了后面的英文界面组,而当时的报错
8
+ (`no step station to open the English detail panel on`)**指向的是受害者,不是肇事者**。
9
+ 变异(把最后一处恢复改成留空 store)→ 两条错误同时出现:新的
10
+ `this half left 0 event nodes behind` 和老的 `no step station …`,因果关系就摆在一起了。
11
+
12
+ 先说清楚**没做什么**:我没有把 51 个组都改成自建 fixture。实测四段跑完 store 都回到了
13
+ 种子状态,说明当前**没有**系统性污染——为一个不存在的问题重写 51 个组,风险和收益不成比例。
14
+ 加的是"留脏即报",它让未来新增组时的问题立刻定位到段。
15
+
3
16
  ## 0.11.12 — 声明审计(2026-11-29)
4
17
 
5
18
  - **「声明审计」第一轮:挖掉两处会自己腐化的数字,并给其中一处加了守卫。**
package/README.en.md CHANGED
@@ -136,7 +136,7 @@ dsh-trajectory-traceview-plus/ # repo root (directory name == npm package name
136
136
  Install from npm (recommended — **pin the exact version**):
137
137
 
138
138
  ```powershell
139
- dsh plugin --profile web add dsh-trajectory-traceview-plus@0.11.12
139
+ dsh plugin --profile web add dsh-trajectory-traceview-plus@0.11.13
140
140
  ```
141
141
 
142
142
  > **Why not `@latest`**: `dsh plugin` forwards to pnpm, and **pnpm 12 ships a supply-chain delay** (`minimumReleaseAge`, default **1440 minutes = 24 hours**): a version published less than a day ago is not selected by `@latest`, and pnpm **silently falls back to the previous release** — no warning at all. Right after 0.11.0 was published, `pnpm add pkg@latest` installed 0.10.0, which the newer DSH hosts skip entirely. An exact version has no such ambiguity (verified with both cold and warm caches).
@@ -148,10 +148,10 @@ dsh plugin --profile web add dsh-trajectory-traceview-plus@0.11.12
148
148
  Install from GitHub (**always pin the tag**):
149
149
 
150
150
  ```powershell
151
- dsh plugin --profile web add "github:MisonL/dsh-trajectory-traceview-plus#v0.11.12"
151
+ dsh plugin --profile web add "github:MisonL/dsh-trajectory-traceview-plus#v0.11.13"
152
152
  ```
153
153
 
154
- > **Why the `#v0.11.12` matters**: a `github:` spec without a ref installs the **default branch HEAD**, not any released version. This repository keeps committing after a release (v0.11.0 was followed by five docs/scripts commits), so an unpinned install can hand you different code tomorrow while still reporting version 0.11.0. Pinning the tag is what makes "installed" and "released" the same code.
154
+ > **Why the `#v0.11.13` matters**: a `github:` spec without a ref installs the **default branch HEAD**, not any released version. This repository keeps committing after a release (v0.11.0 was followed by five docs/scripts commits), so an unpinned install can hand you different code tomorrow while still reporting version 0.11.0. Pinning the tag is what makes "installed" and "released" the same code.
155
155
 
156
156
  Then **restart `dsh web`** to take effect.
157
157
 
@@ -268,7 +268,7 @@ The tests run the helper region against mock snapshots covering: tree building /
268
268
  **What needs a real browser** (`react-dom/server` cannot see scroll, focus, clipboard, intervals or layout):
269
269
 
270
270
  ```powershell
271
- node scripts/browser-check.mjs # builds the harness; 332 assertions over 51 recorded groups
271
+ node scripts/browser-check.mjs # builds the harness; 340 assertions over 51 recorded groups
272
272
  node scripts/browser-check.mjs --shots # saves screenshots and adds 1 more group / 3 assertions: 375px overflow (52 total)
273
273
  ```
274
274
 
@@ -332,10 +332,10 @@ node scripts/browser-check.mjs # 4.5 run the real browser probe (needs
332
332
  npm run check # 5. the 11 local gates; all green before going further
333
333
  git add -A; git commit -m "..." # 6.
334
334
  git push origin main # 7.
335
- git tag -a v0.11.12 -m "..." # 8.
336
- git push origin v0.11.12 # 9.
335
+ git tag -a v0.11.13 -m "..." # 8.
336
+ git push origin v0.11.13 # 9.
337
337
  npm publish # 10. runs prepublishOnly -> the whole check again
338
- gh release create v0.11.12 --notes-file … # 11. the badge reads the Release, not the tag
338
+ gh release create v0.11.13 --notes-file … # 11. the badge reads the Release, not the tag
339
339
 
340
340
  node scripts/release-status.mjs # 12. do all four agree? (tag / Release / npm metadata / tarball)
341
341
  ```
package/README.md CHANGED
@@ -139,7 +139,7 @@ dsh-trajectory-traceview-plus/ # 仓库根(目录名 = npm 包名)
139
139
  从 npm 安装(推荐,**写死版本号**):
140
140
 
141
141
  ```powershell
142
- dsh plugin --profile web add dsh-trajectory-traceview-plus@0.11.12
142
+ dsh plugin --profile web add dsh-trajectory-traceview-plus@0.11.13
143
143
  ```
144
144
 
145
145
  > **为什么不用 `@latest`**:`dsh plugin` 底层是 pnpm,而 **pnpm 12 有供应链延迟保护**
@@ -160,10 +160,10 @@ dsh plugin --profile web add dsh-trajectory-traceview-plus@0.11.12
160
160
  从 GitHub 安装(**必须带 tag**):
161
161
 
162
162
  ```powershell
163
- dsh plugin --profile web add "github:MisonL/dsh-trajectory-traceview-plus#v0.11.12"
163
+ dsh plugin --profile web add "github:MisonL/dsh-trajectory-traceview-plus#v0.11.13"
164
164
  ```
165
165
 
166
- > **为什么必须带 `#v0.11.12`**:`github:` 规格不带 ref 时装的是**默认分支的 HEAD**,
166
+ > **为什么必须带 `#v0.11.13`**:`github:` 规格不带 ref 时装的是**默认分支的 HEAD**,
167
167
  > 不是任何发布版本。而这个仓库在发版后还会继续提交(本轮 v0.11.0 之后就有 5 个
168
168
  > 文档/脚本提交),所以"不带 ref"装到的东西**明天可能是另一个样子**,而版本号
169
169
  > 仍写着 0.11.0。带 tag 才能让"装到的"和"发布过的"是同一份代码。
@@ -286,7 +286,7 @@ npm test # 只跑 smoke
286
286
  **需要真实浏览器的部分**(`react-dom/server` 测不到滚动、焦点、剪贴板、定时器、响应式):
287
287
 
288
288
  ```powershell
289
- node scripts/browser-check.mjs # 起 harness,跑 332 条断言 / 记录 51 组观测
289
+ node scripts/browser-check.mjs # 起 harness,跑 340 条断言 / 记录 51 组观测
290
290
  node scripts/browser-check.mjs --shots # 另存截图,并另加 1 组 / 3 条断言(375px 溢出,共 52 组)
291
291
  ```
292
292
 
@@ -360,10 +360,10 @@ node scripts/browser-check.mjs # 4.5 跑真正的浏览器探针(需
360
360
  npm run check # 5. 11 步门禁,全绿再往下(含凭证校验)
361
361
  git add -A; git commit -m "..." # 6.
362
362
  git push origin main # 7.
363
- git tag -a v0.11.12 -m "..." # 8.
364
- git push origin v0.11.12 # 9.
363
+ git tag -a v0.11.13 -m "..." # 8.
364
+ git push origin v0.11.13 # 9.
365
365
  npm publish # 10. 触发 prepublishOnly → 再跑一遍 check
366
- gh release create v0.11.12 --notes-file … # 11. 徽章读的是 Release,不是 tag
366
+ gh release create v0.11.13 --notes-file … # 11. 徽章读的是 Release,不是 tag
367
367
 
368
368
  node scripts/release-status.mjs # 12. 四处对齐了吗?(tag / Release / npm 元数据 / tarball)
369
369
  ```
package/docs/DESIGN.md CHANGED
@@ -10801,6 +10801,7 @@ boundary: false ← 没有渲染失败卡
10801
10801
  | 32 | 详情面板打开 1 MB 消息 488 ms | 全文当 markdown 一次灌进 DOM | 折叠到 50k + 「显示全文」,探针 23q(变异 → 红) |
10802
10802
  | 33 | 折叠按钮的 `aria-expanded` 永远为 false | 按钮点完即消失,状态无从翻转 | 改成真 toggle + `aria-controls`,探针 23q(变异 → 红) |
10803
10803
  | 34 | 文档里写死探针数字,两天就过期 | 「48 组 / 314 条」写进 DESIGN 与脚本注释 | 删除 + `readme-numbers` 核对文件数(变异 → 红) |
10804
+ | 35 | 探针组留脏,报错指向受害者 | 每段共享一个 store,无结束态检查 | 四段各自检查 `__h.seed()`(变异 → 两条同时红) |
10804
10805
 
10805
10806
  ### 13.82.9 夹具与官方契约的一处偏差:`callSchemas` 是 Map,不是对象
10806
10807
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dsh-trajectory-traceview-plus",
3
- "version": "0.11.12",
3
+ "version": "0.11.13",
4
4
  "description": "轨迹视图增强版(Plus):在「轨迹」标签旁新增可回放的横向时间轴——minimap、窗口内检索(显式标注覆盖边界)、回放、轮次跳转、跟随模式、历史分页、步骤/子调用耗时与吞吐、时钟轴切换、稳定锚点复制与深链、孤立工具结果站点、提示词变更对比、原始请求分析与 Markdown 导出。基于 AFAP/dsh-trajectory-traceview (MIT) 改造。",
5
5
  "type": "module",
6
6
  "main": "lib/index.js",