dsh-charter 0.3.0 → 0.3.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 (46) hide show
  1. package/CHANGELOG.md +55 -0
  2. package/CHANGELOG.zh.md +48 -0
  3. package/README.md +52 -31
  4. package/README.zh.md +51 -30
  5. package/docs/README.md +2 -2
  6. package/docs/README.zh.md +3 -3
  7. package/docs/assets/charter-graph-0.3.1.png +0 -0
  8. package/docs/assets/charter-graph-0.3.1.zh.png +0 -0
  9. package/docs/assets/charter-graph-root-text-200-0.3.2.png +0 -0
  10. package/docs/assets/charter-pane-0.3.1.png +0 -0
  11. package/docs/assets/charter-pane-0.3.1.zh.png +0 -0
  12. package/docs/assets/charter-state-applied-0.3.2.png +0 -0
  13. package/docs/assets/charter-state-conflict-0.3.2.png +0 -0
  14. package/docs/assets/charter-state-empty-0.3.2.png +0 -0
  15. package/docs/assets/charter-state-forced-colors-0.3.2.png +0 -0
  16. package/docs/assets/charter-state-reduced-motion-0.3.2.png +0 -0
  17. package/docs/assets/charter-state-staged-0.3.2.png +0 -0
  18. package/docs/assets/dependency-example.svg +90 -0
  19. package/docs/assets/dependency-example.zh.svg +90 -0
  20. package/docs/design/charter-dependency-graph-v1.zh.md +27 -21
  21. package/docs/design/charter-gui-v1.zh.md +46 -28
  22. package/docs/design/compatibility.md +5 -4
  23. package/docs/design/compatibility.zh.md +5 -4
  24. package/docs/design/mockups/mockup-graph.html +3 -1
  25. package/docs/design/mockups/mockup.css +4 -0
  26. package/docs/design/version-roadmap.md +7 -6
  27. package/docs/design/version-roadmap.zh.md +28 -12
  28. package/docs/release-notes/0.3.0.md +7 -3
  29. package/docs/release-notes/0.3.1.md +41 -0
  30. package/docs/release-notes/0.3.2.md +34 -0
  31. package/docs/release-notes/README.md +1 -1
  32. package/docs/releasing.md +4 -3
  33. package/docs/releasing.zh.md +4 -3
  34. package/docs/verification.md +104 -50
  35. package/docs/verification.zh.md +94 -46
  36. package/lib/client/DependencyGraph.d.ts +2 -0
  37. package/lib/client/DiagnosticsPage.d.ts +1 -1
  38. package/lib/client/locales.d.ts +18 -0
  39. package/lib/client/relation-graph.d.ts +0 -1
  40. package/lib/client.js +409 -109
  41. package/lib/core/standing-envelope.d.ts +31 -0
  42. package/lib/index.js +1 -1
  43. package/lib/remote.js +1 -1
  44. package/lib/{service-DO3Q9uB2.js → service-BSrE7Kbu.js} +39 -23
  45. package/lib/version.d.ts +1 -1
  46. package/package.json +15 -14
@@ -3,55 +3,51 @@
3
3
  [English](verification.md) | 中文
4
4
 
5
5
  > **状态:** Active — 当前操作记录。
6
- > **版本范围:** `0.2.2`,2026-11-11 已发布。
7
- > **基准:** 2026-11-11
6
+ > **版本范围:** `0.3.1` 已于 2026-11-13 发布;`0.3.2` 为无障碍/证据候选。
7
+ > **基准:** 2026-11-16
8
8
 
9
- 验证日期:2026-11-11。当前源码版本:`0.2.2`(2026-11-11 已发布)。本文件是当前证据记录;历史逐提交的叙事保留在 Git 历史和 Changelog。临时目录、profile、
9
+ 验证日期:2026-11-16。当前源码版本:`0.3.2` 候选;最新已发布版本为 `0.3.1`。本文件是当前证据记录;历史逐提交的叙事保留在 Git 历史和 Changelog。临时目录、profile、
10
10
  tarball 和抓取内容位于 `.tmp/`,不进入发布包。
11
11
 
12
- 环境:macOS,Node `v22.23.1`,npm `12.0.2`,pnpm `12.3.4`。本地 DSH 开发基线:`0.2.2-rc.2`(当前 npm
12
+ 环境:macOS,Node `v22.23.1`,npm `12.0.2`,pnpm `12.3.4`。本地 DSH 开发基线:`0.2.2-rc.3`(当前 npm
13
13
  `next`)。
14
14
 
15
- ## 1. 当前结论
16
-
17
- 当前发布状态(2026-11-11):
18
-
19
- - 已发布:`0.2.2`(npm `latest`/`next`;精确 SHA-256 `ccb094342ceda030b77c2c3555bc2838ee8a4f6ef2efe4f1ac80a9d39fca7875`)。GitHub Release `v0.2.2` 已公开且不可变。
20
- - `0.2.1`:上一公开版本;GitHub Release `v0.2.1` 保持不可变。
21
- - `0.2.0`:更早的公开版本;GitHub Release `v0.2.0` 保持不可变。
22
- - `0.1.0-rc.6`:更早的公开版本;使用 recovery tag `v0.1.0-rc.6-republished`。
23
- - 从 0.2.0 起版本号使用普通递增,不使用 `rc` 后缀。
24
- - 当前源码证据:0.2.2 最终树在源码提交 `f9d93c0` 上通过 37 个测试文件 / 475 个测试;九版本矩阵在该树上 475/475 通过(Node `v22.23.1` / pnpm `12.3.4`,证据 `.tmp/0.2.2-final-matrix2.json`)。
25
- - 发布后诊断:真实模型 compaction PASS(session `session-da7e7b0d-f0b0-49a2-8391-148b4782892c`);512 条性能于 2026-11-06 PASS(core read/planning p95,见下)。
26
-
27
- | 项目 | 结果 |
28
- | --- | --- |
29
- | TypeScript 严格检查 | 当前树通过 |
30
- | Vitest | 37 个测试文件 / 475 个测试通过(`npm test`,先 build) |
31
- | Host ESM 构建 + 浏览器 factory bundle | 通过 |
32
- | Remote 契约与 client smoke | 通过 |
33
- | 普通 package smoke | 通过 |
34
- | exact-artifact package smoke | 对已发布 `0.2.1` `.tgz` 字节(`d4ae14e1…`)通过,不重建 |
35
- | packed recovery smoke | 通过:export、删除 target、restore、receipt replay、两次 restart、健康目标拒绝、packed fault 子集 |
36
- | 真实 `TypertGatewayService` | 精确 artifact 在隔离的 DSH `0.2.1-rc.3` / `rc.4` 依赖图上通过 |
37
- | 兼容 sentinel | `0.1.7-rc.2`、`0.2.1-rc.2`、`0.2.1-rc.4`、`0.2.1-rc.5`、`0.2.2-rc.1` 通过 |
38
- | Fresh Web profile matrix (historical rc.6) | PASS:历史 rc.6 artifact 曾在 DSH `0.1.7-rc.2`、`0.2.0-rc.2`、`0.2.1-rc.2`、`0.2.1-rc.4`、`0.2.1-rc.5` 上安装并启动 |
39
- | Fresh Web(历史 0.2.2 DSH / 0.2.0 插件) | 2026-11-05 PASS:全新 `DSH_HOME` + `dsh@0.2.2-rc.1 plugin --profile web add` 安装 `dsh-charter-0.2.0.tgz`(SHA-256 `fde5531d457effc713f4423f8b46c8f0e591770e59c55e19956f000c11bdeffc`);Web 启动、页面 HTTP 200、charter bundle HTTP 200;boot graph 含 `dsh-charter`,页面 index 含 `dsh-charter/client.js` |
40
- | 0.2.2 promotion | 2026-11-11 PASS:候选 run `43024720739`(C `51789db`),checksum-only C+1 `d65a4d6`,promotion run `43026165062`;npm `latest`/`next` 均为 `0.2.2`,GitHub Release `v0.2.2` 已公开并带 tarball、`SHA256SUMS`、`release-evidence.json`。 |
41
- | 0.2.2 精确 artifact smoke | 2026-11-11 PASS:已发布 `dsh-charter-0.2.2.tgz`(98 个文件,SHA-256 `ccb094342ceda030b77c2c3555bc2838ee8a4f6ef2efe4f1ac80a9d39fca7875`);package smoke 在空 consumer 中安装精确字节,packed recovery smoke 的 export/restore/两次重启/故障检查全部通过。 |
42
- | 九版本全量 rerun | tracked `compat-matrix --versions all --allow-new-release` 通过(每版本 475/475) |
43
- | 未跟踪 `0.2.2-alpha.2` probe | strict-peer install fails because DSH requires Cordis ~4.0.6-alpha.1 while rc.6 pins 4.0.5; no tests run;rc.6 明确不支持 |
44
- | 本地 Web + Desktop profile | 0.2.0 开发 artifact 已装入本地 web/desktop profile;Desktop app 为 `0.2.2-rc.1`,真实 Electron ABI/交互仍需人工门禁 |
45
- | 真实浏览器恢复 | 受保护的人工 evidence gate;未自动化 |
46
- | 真实模型 compaction | 2026-10-22 记录 PASS;仍是人工发布门禁 |
47
- | 0.2.2 兼容矩阵 | 2026-11-11 PASS:源码 `f9d93c031eabfe5e44cf17e302729eb7093d7e94`,Node `v22.23.1` / pnpm `12.3.4`;九个声明 DSH 版本全部通过 typecheck、build 和 475/475 测试(`.tmp/0.2.2-final-matrix2.json`)。 |
48
- | 0.2.2 全新 profile 安装 | 2026-11-11 PASS:隔离 `DSH_HOME=/tmp/dsh-charter-fresh-022-home` 初始化全新 Web profile,安装精确本地 `dsh-charter-0.2.2.tgz`;`dsh web` 提供 Pane 入口(HTTP 303 token redirect)。已验证 CLI/tarball 路径;Desktop、真实 Pane 交互和中英切换仍需人工。 |
49
- | 0.2.2 依赖图源码 | 2026-11-11 PASS:`npm run check` 37 个文件 / 475 个测试;W0-0 原型 41/41(旧契约;无边孤立节点网格例外由 `tests/client/relation-graph.spec.ts` 的产品测试覆盖);Web Pane 在 3 条 active + 4 条 pending 交付物的 Session 上渲染图形、候选泳道、inspector 和常驻语义列表;浏览器 console 无错误。UI 自测(2026-11-11):三节点孤立图 + 空提示、紧凑列表、添加依赖/隐藏/显示、本地 key 前置摘要均正常,无 console 错误。W0-1/2/3 与真实 AT/人工门禁仍待完成。 |
50
- | 0.2.2 依赖图 bundle | 2026-11-11 以 `d362d6f` 为基线,按统一预算方法 `gzip -9 -c lib/client.js | wc -c` 实测:113,990 → 130,474 B(+16,484 B),`<40 KB` gzip 预算通过。raw 仅作诊断:`lib/client.js` 591,936 → 670,173 字节(+78,237 B),CSS output 47,230 → 55,540 B(+8,310 B);raw 不作为预算口径。 |
51
-
52
- ## 1.2 0.3.0 GUI 开发候选(未发布,待本地人工验收)
53
-
54
- - 分支 `feat/0.3.0-gui`;W6 实现提交 `f3ac8f2`/`2ad1df3`/`bb576cd`/`840d202` 及后续文档提交已完成,审计时工作树干净。**未推送/未合并/未 tag/未发布**,无 0.3.0 可用性声明。
15
+ ## 1. 当前状态(2026-11-16)
16
+
17
+ - 最新已发布版本:`0.3.1`(npm `latest`/`next`,GitHub Release `v0.3.1`,artifact SHA-256
18
+ `62fd230209dbf5c58aed09f0870775aa6d0d69feb4eff18aebf83f9803f28353`)。
19
+ - 更早发布:`0.3.0`、`0.2.2`;已发布 tag 与字节不可变。
20
+ - 当前源码线:`0.3.2` 无障碍/证据补丁(尚未发布)。只改客户端图形呈现与 README/文档;record schema 仍为 2,
21
+ Remote 仍为 18 个方法,prompt 投影未变。
22
+ - 当前源码门禁:`npm run check`(最终 0.3.2 树 42 文件 / 500 测试)、token 覆盖 41 static + 1 dynamic、
23
+ 11 个声明 DSH 版本,以及 `verify:ui-metrics --gate=final`。
24
+ - 兼容矩阵:11 个声明版本在候选证据 run `43445530821` 中验证通过。
25
+ - 0.3.2 候选 artifact:`dist/dsh-charter-0.3.2.tgz` SHA-256
26
+ `9ff018d9139a39a553abe46d9bc350200f41af6f5f5e9bee9db59d44bdcdb842`(client `6ef68d25…`);`dist/` 只保留
27
+ 这一个候选文件名,旧的 0.3.1 同名开发包已删除,本地 profile 指向该文件。根 `SHA256SUMS` 在 0.3.2
28
+ release candidate 前仍记录已发布 0.3.1。exact-artifact package smoke 与 packed recovery smoke PASS。
29
+ - 0.3.2 根字号证据:根字号 16/24/32 px 时图形画布整体缩放 1/1.5/2;实测文本无新增裁切,viewport 在 200%
30
+ 下可横向滚动。证据:`docs/assets/charter-graph-root-text-200-0.3.2.png`。
31
+ - 真实 AT/VoiceOver、最终六状态截图、Desktop 原生窗口矩阵、W0-1/W0-2 实测和 0.3.2 candidate/promotion
32
+ 仍未完成;这些在下方按门禁跟踪,不写成已完成。
33
+
34
+ ### 0.3.2 残留门禁
35
+
36
+ | 区域 | 当前状态 | 证据 / 下一步 |
37
+ | --- | --- | --- |
38
+ | A1 200% 根字号 | 已实现并实测(CDP 强制根字号) | 画布 scale 1/1.5/2;文本 scroll 指标不变;真实浏览器字号/最小字号设置并入 A2 人工走查 |
39
+ | A2 VoiceOver/NVDA | 未完成 | 真实 AT 走查 tabs/sheet/graph/meter/notice;不能用 AX-tree 代替 |
40
+ | A3 六状态 + media | 部分完成 | 已采 empty/staged/applied/conflict-confirmation + forced-colors/reduced-motion;unknown/replay 待补(`docs/assets/charter-state-*-0.3.2.png`) |
41
+ | A4 冻结稿并排 | 未完成 | 人工并排评审记录 |
42
+ | A5 Desktop 原生窗口 | 未完成 | Electron 窗口/ABI 矩阵 |
43
+ | A6 W0-1/W0-2 | 未完成 | px 化后的断点/栏宽与行容量实测 |
44
+ | B1–B6 文档/治理 | 本次处理 | 状态头、附录 D 对账、verification/index/tag 清理 |
45
+
46
+ ## 1.2 0.3.0 GUI 正式版本(2026-11-13 已发布)
47
+
48
+ - 已从 `main` 发布 `0.3.0`;候选 run `43360673386`(producer commit `0613ead…`),release commit
49
+ `4331cbc…`,提升 run `43361855799`;tag 与 GitHub Release `v0.3.0` 已公开,npm `latest`/`next` 均为 `0.3.0`。
50
+ 分支/工作树干净且已推送。
55
51
  - 源码门禁(2026-11-12):`npm run check` = 39 文件 / **492 测试** PASS(typecheck、build、remote/client
56
52
  smoke、Vitest、token gate);`npm run verify:ui-metrics -- --gate=css|ia` PASS。
57
53
  - 度量记录(W1/W2/W4):CSS gate — 字号档 6、字重 3、颜色字面量 0、非 token 圆角 0、非 token shadow 0、
@@ -59,7 +55,7 @@ tarball 和抓取内容位于 `.tmp/`,不进入发布包。
59
55
  yes、操作条仅 dirty yes;final gate PASS。隔离 profile 与 CDP 矩阵均在已安装 livery 层
60
56
  (`body[data-dsh-livery]` 存在)下采集暗/亮两套;没有第二个 livery preset 可做更广抽查。记录:
61
57
  `.tmp/gui-acceptance/2026-11-12/livery-spotcheck.md`。
62
- - Token 覆盖审计(W0):`charter.css` 使用的 41 个静态 host token 在全部 10 个声明 DSH 版本的
58
+ - Token 覆盖审计(W0):`charter.css` 使用的 41 个静态 host token 在全部 11 个声明 DSH 版本的
63
59
  `@deepseek-ai/dsh-client-ui-theme` 中均有定义;`--dsh-content-font-size` 带 `14px` fallback;兼容块有意为空。
64
60
  门禁:`npm run verify:tokens`。
65
61
  - 真实浏览器证据(把新 bundle 通过 CDP 注入已安装 Web Host;除特别说明外**不等于**已安装 artifact):
@@ -68,6 +64,40 @@ tarball 和抓取内容位于 `.tmp/`,不进入发布包。
68
64
  - 隔离 profile 证据:当前树的 WIP artifact 曾安装到 `DSH_HOME=/tmp/dsh-w4-home`,安装后 `lib/client.js`
69
65
  hash 与仓库 build 一致;该开发包曾命名为 `dsh-charter-0.2.2.tgz`,因与已发布不可变 0.2.2 的
70
66
  artifact/digest 冲突,**审查后已删除**。今后 dev pack 必须先 bump 版本(如 `0.3.0`)再打包。
67
+ - 正式发布(2026-11-13):候选 run `43360673386`,producer commit
68
+ `0613ead1ffbf73b47c54a767aa09c3c5d257bf32`;release commit `4331cbc21f46be910e74e7b65c6a76bffcbebb88`;
69
+ 提升 run `43361855799`。已发布 artifact `dsh-charter-0.3.0.tgz`,SHA-256
70
+ `31daf17dbc823837c1b0c1ba7bc1033444db1059a2f2cd6f1a481f8d330b5d78`;npm `latest`/`next` 均为 `0.3.0`,
71
+ GitHub Release `v0.3.0` 已公开且不可变。安装以该发布 artifact 取代本地 `w6-final` 开发包。
72
+ - 0.3.1 GUI 收敛候选(2026-11-13):`npm run check` 41 文件 / **499 测试** PASS;
73
+ token 覆盖 41 static + 1 dynamic、11 个声明 DSH 版本 PASS;十一版本矩阵在候选兼容证据(run `43445530821`)中 PASS。共享 standing-envelope 构造函数由 Host 与
74
+ Diagnostics 共用;64 个交付物、生产长度 id 的 fixture 证明 id 开销恰为 49 B/交付物且 envelope 不超过 32 KiB。
75
+ - `traffic-check` 的 propose 遥测改为解析真实 JSON tool-result envelope(`{ok, message}`),不再对序列化
76
+ 文本做正则。fixture 覆盖单个 `D1` 拒绝、未知 id、非 requires 类失败和 accepted:display-key=1、
77
+ unknown-id=1、other=1、accepted=1;不再出现 `D1"}` 尾串污染。
78
+ - 依赖图浏览器审计(2026-11-13,Chromium 1440×1000,合成 applied session):泳道标题、5 个箭头 marker、
79
+ SVG 沿路径命中描边(`vector-effect: non-scaling-stroke`;1440 px 实测 21–22 px 在带内 / 23 px 在带外,即 44 px 宽)、`max-height: none`;860/900/1000/1100/1200/1440 与 200% 页面缩放均无横向
80
+ 溢出。1100 视口下 app shell 内容容器为 813 px,低于 880 px 折叠阈值,图形区保持折叠但语义列表可用;
81
+ 记录为布局观察,不宣称 W0-1 双栏通过。真实 VoiceOver/AT 仍是人工门禁。
82
+ - 流量取证(2026-11-13):`traffic-check` 增加 `charter_propose` 调用/拒绝统计、display-key/unknown-id 分类
83
+ 和 active charter surface hash;`traffic-diff` 对比前后 JSON 基线。纯本地只读,无运行时埋点/上报。
84
+ - 旧版流量基线样本(2026-11-13):一个 65,491 events / 234 turns 的 0.3 前会话报告 4 次 `charter_read`
85
+ (共 182 B)、0 次 `charter_propose`;10 份 active `charter:standing` 全部字节相同(630 B),整个 active
86
+ runtime 的重复率 95.3%。该样本只用于确定 0.3.x 基线,不据此断言重复由插件造成或构成回归。报告:
87
+ `.tmp/traffic-baseline/session-0651-0.2x.json`(本地,不随包发布)。
88
+ - Diagnostics envelope UI(2026-11-13):显示精确估算字节、32 KiB cap、条目/交付物数、`maxPromptBytes`、
89
+ id 开销和 80%/超限三态。
90
+ - 0.3.1 README 截图由精确本地构建注入运行中的 Web app 后重采:
91
+ `docs/assets/charter-pane-0.3.1.png`、`charter-pane-0.3.1.zh.png`、`charter-graph-0.3.1.zh.png`。
92
+ - 0.3.1 正式发布(2026-11-13):候选 run `43445530821`,producer commit
93
+ `de1b83be004aecc63b09cfaeaf647ca94fb7567a`;release commit `0c00715d85be0e873d43175a4a26b724ea6c14d4`;
94
+ 提升 run `43449411538`。已发布 artifact `dsh-charter-0.3.1.tgz`,SHA-256
95
+ `62fd230209dbf5c58aed09f0870775aa6d0d69feb4eff18aebf83f9803f28353`;npm `latest`/`next` 均为 `0.3.1`,
96
+ GitHub Release `v0.3.1` 已公开且不可变。候选兼容证据覆盖 11 个声明 DSH 版本(含 `0.2.2-rc.3`)。
97
+ - 本地验收 artifact(2026-11-13):`dist/dsh-charter-0.3.1.tgz` SHA-256
98
+ `9f779443fd83c8e320d94d1981c18dc896d9d5905a7cc3f7dc8673f307806860`;exact-artifact package smoke 与 packed
99
+ recovery smoke PASS。`dist/dsh-charter-0.3.1.tgz`(同一字节)已安装到本地 `web` 与 `desktop` profile;
100
+ 两端 client 均为 `fcd56a48…`。Host 版本 chip 在干净重启 Host 后更新。
71
101
  - 本地验收部署(2026-11-12):W6 验收构建为 `dist/dsh-charter-0.3.0-w6-final.tgz`
72
102
  (SHA-256 `ab74591c…`,client `986f8403…`)。已安装到本地 `web` 与 `desktop` profile,包版本 `0.3.0`,
73
103
  `engines.dsh` 为有界 0.2 线范围。另按用户要求恢复 Pane 页头版本 chip(`v0.3.0`)。
@@ -91,7 +121,7 @@ tarball 和抓取内容位于 `.tmp/`,不进入发布包。
91
121
 
92
122
  - 机械并排对照(2026-11-13):`.tmp/gui-acceptance/2026-11-13/side-by-side/` 下用冻结稿与 `w6-final` 构建合成了 dirty/graph 两张对照图;这是参考材料,不等于人工并排评审,empty/applied/conflict 截图仍缺。
93
123
 
94
- - 十版本源码矩阵(2026-11-12):全部声明版本 `0.1.7-rc.2` … `0.2.2-rc.2` 通过 typecheck、build 与测试;
124
+ - 十一版本源码矩阵(2026-11-13):全部声明版本 `0.1.7-rc.2` … `0.2.2-rc.3` 通过 typecheck、build 与测试;
95
125
  因 rc.2 仍在 pnpm 24 小时 `minimumReleaseAge` 窗口内,矩阵以 `--allow-new-release` 运行;已生成并跟踪 rc.2
96
126
  的兼容 lockfile。证据:`.tmp/compat-matrix-0.3.0.json`。
97
127
  - 兼容范围策略:`engines.dsh` 现为 `0.1.7-rc.2 || >=0.2.0-rc.1 <0.3.0-0`。DSH 以 `includePrerelease` 求值,
@@ -246,3 +276,21 @@ rm -rf .tmp
246
276
  ```
247
277
 
248
278
  `.tmp/` 不进入 Git 和 npm 包。
279
+
280
+ ## 1.3 0.3.2 无障碍/证据候选(2026-11-16,进行中)
281
+
282
+ - 源码:`npm run check` 42 文件 / **500 测试** PASS;11 个声明 DSH 版本 token 覆盖 PASS;
283
+ `verify:ui-metrics -- --gate=final` PASS;十一版本源码矩阵 PASS(`.tmp/compat-032-release.json`,source commit `0425a06`)。
284
+ - A1 根字号:根字号 16/24/32px 时图形画布整体 scale 1/1.5/2;节点文本 scrollWidth/clientWidth 与
285
+ scrollHeight/clientHeight 未新增裁切;viewport 在 200% 下可横向滚动。证据:
286
+ `docs/assets/charter-graph-root-text-200-0.3.2.png`。
287
+ - A3 状态/媒体证据:空/暂存/已应用/冲突确认(`docs/assets/charter-state-empty-0.3.2.png`、`docs/assets/charter-state-staged-0.3.2.png`、
288
+ `docs/assets/charter-state-applied-0.3.2.png`、`docs/assets/charter-state-conflict-0.3.2.png`)以及 forced-colors/reduced-motion 截图(`docs/assets/charter-state-forced-colors-0.3.2.png`、`docs/assets/charter-state-reduced-motion-0.3.2.png`);
289
+ 已截取冲突确认态;unknown/replay 仍需最终复核。staged 截图已重采,画面不含前置编辑器或残留 bootstrap notice。
290
+ - A6 断点:860/900/1000/1100/1200/1440 无横向溢出、无节点重叠、列表行无溢出;1100 下 graphcard
291
+ 因 app shell 内容容器窄于 880px 折叠,语义列表仍可用,记为 layout observation。
292
+ - B:GUI 方案状态头、附录 D 对账、dependency-graph 状态、verification 当前状态、roadmap/docs index
293
+ pending 措辞已清理;本地已 fetch `v0.3.0`/`v0.3.1` tag。
294
+ - A2/A4/A5 仍待人工/受环境阻塞:VoiceOver 可启动但 Apple Events/辅助功能授权缺失,不能声称真实 AT 已跑;
295
+ 冻结稿并排签收仍是人工门禁;Desktop 原生截图被 macOS Screen Recording 权限阻塞(`screencapture` 报
296
+ `could not create image from display`)。未有证据前不标记完成。
@@ -16,4 +16,6 @@ export interface DependencyGraphProps {
16
16
  readonly onProposal: (id: string) => void;
17
17
  readonly t: (key: string, values?: Record<string, string | number>) => string;
18
18
  }
19
+ /** Scale the whole graph canvas when the user enlarges the root text size. */
20
+ export declare function graphTextScale(rootFontPx: number): number;
19
21
  export declare function DependencyGraph({ layout, model, focusId, activeKey, showSupersedes, editable, onFocus, onActiveKey, onShowSupersedes, onStageRequires, onLocateList, onProposal, t, }: DependencyGraphProps): JSX.Element;
@@ -1,4 +1,4 @@
1
- import type { ReactNode } from 'react';
1
+ import { type ReactNode } from 'react';
2
2
  import type { PaneScope } from './pane-scope.js';
3
3
  export declare function DiagnosticsPage({ scope }: {
4
4
  readonly scope: PaneScope;
@@ -145,6 +145,11 @@ declare const en: {
145
145
  readonly 'deps.depth2': "2 hops";
146
146
  readonly 'deps.showSupersedes': "Show replacements";
147
147
  readonly 'deps.historyToggle': "History";
148
+ readonly 'deps.laneExecution': "Execution";
149
+ readonly 'deps.laneCandidate': "Candidate";
150
+ readonly 'deps.laneHistory': "History";
151
+ readonly 'deps.legendHistory': "Dash-dot = replacement history";
152
+ readonly 'deps.textScaleHint': "Text scaling {percent}%: the graph is enlarged and can be scrolled horizontally.";
148
153
  readonly 'deps.zoomIn': "Zoom in";
149
154
  readonly 'deps.zoomOut': "Zoom out";
150
155
  readonly 'deps.resetLayout': "Reset zoom";
@@ -476,6 +481,19 @@ declare const en: {
476
481
  readonly 'tag.verifiedUser': "verified (marked)";
477
482
  readonly 'tag.verifiedValidator': "verified (validator)";
478
483
  readonly 'diagnostics.kicker': "Diagnostics";
484
+ readonly 'diagnostics.envelopeTitle': "Standing tool envelope";
485
+ readonly 'diagnostics.envelopeUnavailable': "The envelope estimate is unavailable for the current record.";
486
+ readonly 'diagnostics.envelopeHint': "Estimated `charter_read standing` result. This is the model tool result, not the prompt budget.";
487
+ readonly 'diagnostics.envelopeUsage': "Estimated bytes";
488
+ readonly 'diagnostics.envelopePercent': "Cap used";
489
+ readonly 'diagnostics.envelopeItems': "Items";
490
+ readonly 'diagnostics.envelopeDeliverables': "Deliverables";
491
+ readonly 'diagnostics.envelopePromptCap': "Prompt cap";
492
+ readonly 'diagnostics.envelopeIdCost': "ID overhead";
493
+ readonly 'diagnostics.envelopeIdCostValue': "{count} deliverables, included";
494
+ readonly 'diagnostics.envelopeOk': "Under 80% of the standing tool cap.";
495
+ readonly 'diagnostics.envelopeNear': "At or above 80% of the standing tool cap; trim items before the next model call.";
496
+ readonly 'diagnostics.envelopeOver': "Over the standing tool cap: the next charter_read standing call will return LIMIT_EXCEEDED.";
479
497
  readonly 'validity.unassessed': "Validity unassessed";
480
498
  readonly 'validity.attested': "Attested";
481
499
  readonly 'validity.valid': "Valid";
@@ -113,7 +113,6 @@ export interface GraphLayout {
113
113
  export interface BuildRelationGraphInput {
114
114
  readonly committed: readonly GraphInputItem[];
115
115
  readonly projected: readonly GraphInputItem[];
116
- readonly ops?: readonly unknown[];
117
116
  readonly showSupersedes?: boolean;
118
117
  }
119
118
  export declare function buildRelationGraph(input: BuildRelationGraphInput): RelationGraphModel;