dsh-charter 0.3.0 → 0.3.1

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 (37) hide show
  1. package/CHANGELOG.md +28 -0
  2. package/CHANGELOG.zh.md +25 -0
  3. package/README.md +40 -31
  4. package/README.zh.md +41 -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-pane-0.3.1.png +0 -0
  10. package/docs/assets/charter-pane-0.3.1.zh.png +0 -0
  11. package/docs/assets/dependency-example.svg +90 -0
  12. package/docs/assets/dependency-example.zh.svg +90 -0
  13. package/docs/design/charter-dependency-graph-v1.zh.md +26 -21
  14. package/docs/design/charter-gui-v1.zh.md +15 -10
  15. package/docs/design/compatibility.md +5 -4
  16. package/docs/design/compatibility.zh.md +5 -4
  17. package/docs/design/mockups/mockup-graph.html +3 -1
  18. package/docs/design/mockups/mockup.css +4 -0
  19. package/docs/design/version-roadmap.md +8 -6
  20. package/docs/design/version-roadmap.zh.md +23 -8
  21. package/docs/release-notes/0.3.0.md +7 -3
  22. package/docs/release-notes/0.3.1.md +38 -0
  23. package/docs/release-notes/README.md +1 -1
  24. package/docs/releasing.md +2 -2
  25. package/docs/releasing.zh.md +2 -2
  26. package/docs/verification.md +46 -9
  27. package/docs/verification.zh.md +37 -5
  28. package/lib/client/DiagnosticsPage.d.ts +1 -1
  29. package/lib/client/locales.d.ts +17 -0
  30. package/lib/client/relation-graph.d.ts +0 -1
  31. package/lib/client.js +283 -23
  32. package/lib/core/standing-envelope.d.ts +31 -0
  33. package/lib/index.js +1 -1
  34. package/lib/remote.js +1 -1
  35. package/lib/{service-DO3Q9uB2.js → service-BSrE7Kbu.js} +39 -23
  36. package/lib/version.d.ts +1 -1
  37. package/package.json +15 -14
@@ -1,9 +1,9 @@
1
1
  # `dsh-charter` 依赖关系图形化视图设计(提案)
2
2
 
3
- > **状态:** `Implemented — pending release acceptance`——源码已实现并通过 source gates;真实浏览器/AT
4
- > 与 W0-1/2/3 人工门禁仍待完成,本文不描述已发布行为。进入发布前仍以[版本路线](version-roadmap.zh.md)为准
3
+ > **状态:** `Implemented — pending release acceptance`——0.3.1 已完成方向箭头、泳道标题、沿边 44px 命中路径和历史线型;
4
+ > 真实浏览器自动化已记录,真实 AT/VoiceOver 人工门禁仍待完成。进入发布前仍以[版本路线](version-roadmap.zh.md)为准
5
5
  > ([charter-workspace-v2.zh.md](charter-workspace-v2.zh.md) §1.1)。
6
- > **版本范围:** `0.2.2`(已确认,纯客户端)。源码实现已完成;发布前仍需完成真实浏览器/AT 门禁(§3.10)。
6
+ > **版本范围:** `0.2.2` / `0.3.1`(纯客户端)。源码实现已完成;发布前仍需完成真实 AT 人工门禁(§3.10)。
7
7
  > **形态:** **A —— 图形增强,语义列表常驻且为权威操作面**(已确认,§0.2)。
8
8
  > **基准:** 2026-11-09,基于已发布 `0.2.1` 之后的开发树。
9
9
  > **权威边界:** 版本范围由[版本路线](version-roadmap.zh.md)决定;不变量由 [v1 核心设计](charter-design-v1.zh.md)
@@ -12,6 +12,10 @@
12
12
  > **替代/被替代:** 无 / 无。
13
13
  > **实现就绪度:** 所有未尽事项的做法都在 **§10**,每项都有决定或"兜底值 + 测量方法 + 决策规则"。
14
14
  > 因此实现可按兜底值开工,W0 实测后**只调参数、不改结构**(§10.10)。
15
+ >
16
+ > **0.3.1 几何决策:** 实现已采用固定 px 几何(184px 节点、`PX_PER_EM=18.4`、`PX_PER_EM_Y=22`)。
17
+ > 本文 D19 与 §3.7 的 em 契约保留为历史分析;当前权威几何规格是 [charter-gui-v1.zh.md](charter-gui-v1.zh.md) §5.7。
18
+ > 200% **根字号文本缩放**尚未由 W0-2 覆盖;W0-2 现有证据是字号 10/14/22 + 200% page scale。
15
19
 
16
20
  ## 0. 目标与形态取舍
17
21
 
@@ -54,8 +58,9 @@
54
58
  候选边虚线**只读但可被方向键到达**(D9、D10、§3.4)。**替代关系同样在 v1 画出**:`supersedes` 边走第三条
55
59
  `history` 泳道,端点是只读**幽灵节点**(点线、无 `D<n>`、无 rank、可被 `[`/`]` 与 `Enter` 到达),因此执行泳道
56
60
  "rank = 执行序"的语义不受影响;本次 staged 的替代两端仍留在执行泳道并标"新增/删除"(D11、§10.1)。
57
- 8. **200% 文本缩放**:全部几何以 **em** 表达,布局输出无量纲单位,缩放/平移只对单一 wrapper 施加一个
58
- transform;节点高度取离散档位、由字符数纯函数决定,**不做运行时测量**(D19、§3.7)。
61
+ 8. **缩放**:实现采用 **固定 px 几何**;布局仍输出确定性 layout units,渲染层按 `PX_PER_EM=18.4` /
62
+ `PX_PER_EM_Y=22` 转 px,单一 wrapper transform;节点高度由字符数纯函数决定。200% **根字号文本缩放**尚未
63
+ 由 W0-2 覆盖,W0-2 证据是字号 10/14/22 + 200% page scale(D19 的历史 em 推导已被 0.3.1 决策取代)。
59
64
  9. **兼容性**:图形视图本身不动 record schema、迁移、fork、Host、Remote、wire、prompt。(§8 的 §6.5 冲突确认是
60
65
  独立事项,它确实改了 core/Host/wire/client,但 wire 上是 optional 字段、不参与任何 digest 输入。)
61
66
  **但兼容矩阵不豁免**:发布门禁仍要求对全部已声明版本与当前 untracked 版本重跑矩阵并重新绑定证据。
@@ -124,7 +129,7 @@
124
129
  | --- | --- | --- |
125
130
  | 屏幕阅读器读不到 canvas 像素;forced colors / 200% 文本缩放对位图无效;焦点需要 DOM 或手写 ARIA overlay | **外部事实** | 不能,只能适配 |
126
131
  | SVG 内 ARIA role 与焦点行为跨浏览器/AT 差异大(`role="listitem"` 在 SVG 内不等于 HTML list item) | **外部事实** | 不能,按 §3.5 规避 |
127
- | 200% 文本缩放只放大文本,不放大写死的 px 盒子 | **外部事实** | 不能,按 D19 用 em 规避 |
132
+ | 200% 文本缩放只放大文本,不放大写死的 px 盒子 | **外部事实** | 0.3.1 已接受固定 px 几何;字号 10/14/22 + page scale 已有证据,根字号 32px 尚未验证 |
128
133
  | bundle 必须单一自包含 factory,任何库都被内联 | **外部事实**(DSH 打包契约) | 不能 |
129
134
  | 兼容矩阵是发布门禁 | **外部事实**(项目治理) | 不能 |
130
135
  | §5.7 canvas 条款的措辞 | 内部选择 | 可议,但**本提案不需要改**(§1.3.1) |
@@ -221,7 +226,7 @@
221
226
  | D16 | 新增 i18n 键中英成对(§3.9) | 项目语言配对规则 |
222
227
  | D17 | **合规的可验证形式**:语义列表始终在 DOM 中、始终可聚焦可操作;隐藏图形区后**所有操作仍可在列表完成**;图上与 inspector 内不存在任何列表之外的独有操作 | §5.7 与 §1.3.1 的落点,必须有测试 |
223
228
  | D18 | **默认焦点规则**:① `selectedItemId` 若在图中则用它;② 否则取拓扑序第一个 **`prerequisiteStatus === 'dependency-conflict'`** 的 active deliverable;③ 无冲突则第一个 `waiting`;④ 再无则拓扑序第一个 active deliverable;⑤ 无 active deliverable 但有候选边时,取 canonical order 第一个 pending 节点。展开图形区**不抢焦点** | `focusId` 可为 `undefined`,必须定义默认值。**必须看 `prerequisiteStatus` 而非 `executionDisplay`**:core 的 UI 组合规则会把冲突掩盖成 `in-progress`/`blocked`([dependencies.ts:125](../../src/core/dependencies.ts)),只看 `executionDisplay` 会选错节点——W0 原型实测复现 |
224
- | D19 | **缩放契约**:所有几何以 **em** 表达;布局函数输出**无量纲 layout units**;SVG 与 HTML 标签层在**同一 wrapper** 内、共用**一个** CSS transform;节点高度取离散档位(`3em` / `4.5em`),由摘要字符数**纯函数**决定,**不做运行时文本测量** | 200% 文本缩放只放大文本不放大 px 盒;固定 px + HTML 文本必然溢出,而运行时测量会破坏布局确定性(§3.7) |
229
+ | D19 | **缩放契约(已被 0.3.1 决策取代)**:实现为全 px 几何(184px 节点、`PX_PER_EM=18.4`、`PX_PER_EM_Y=22`);布局函数输出 layout units,渲染层转 px;SVG 与 HTML 标签层在同一 wrapper 内、共用一个 CSS transform;节点高度由字符数纯函数决定,不做运行时测量 | 旧版 em 推导与固定 px 冲突;3.1 改用 px 并保持 184px 节点/两行截断。200% 根字号(32px)文本缩放仍未覆盖,不能引用 W0-2 的 page scale 证据 |
225
230
 
226
231
  ### 3.3 接口:语义层与几何层分离
227
232
 
@@ -279,7 +284,7 @@ export function layoutRelationGraph(
279
284
  ): GraphLayout
280
285
 
281
286
  export interface GraphLayout {
282
- /** 坐标单位是 em 倍数(无量纲);渲染层乘以 --charter-graph-unit(D19) */
287
+ /** 坐标单位是 layout units;渲染层按 PX_PER_EM/PX_PER_EM_Y 转 px(0.3.1) */
283
288
  readonly nodes: readonly (RelationNode & {
284
289
  readonly x: number; readonly y: number
285
290
  readonly w: number; readonly h: number // h ∈ {3, 4.5}(em 倍数)
@@ -428,7 +433,7 @@ inspector 与列表看到);仍 > 60 → ② 深度锁 1;仍 > 60 → ③
428
433
 
429
434
  ### 3.7 视觉与缩放规格
430
435
 
431
- **几何(全部 em,D19)**
436
+ **几何(px 渲染,0.3.1;em 推导保留为历史)**
432
437
 
433
438
  以下数值满足两条硬不变式,否则节点必然重叠(W0 原型实测:违反时 6 节点样本出现 9 处重叠):
434
439
 
@@ -440,13 +445,13 @@ LINE_CAPACITY = floor((NODE_W − 2 × padding) / 摘要字号) (由几何
440
445
 
441
446
  | 项 | 值 | 推导 |
442
447
  | --- | --- | --- |
443
- | 单位 | `--charter-graph-unit: 1em`(继承根字号);布局输出无量纲单位,渲染层乘以该 unit | D19 |
444
- | 节点宽 | `10em`(min `9em` / max `12em`) | 初始视图宽度约束(见下) |
445
- | rank 列间距 | `12.5em` = 节点宽 `10em` + 边间距 `2.5em` | 横向不重叠 |
446
- | 同 rank 行间距 | `5.5em` = 最大节点高 `4.5em` + 行间距 `1em` | 纵向不重叠 |
447
- | 节点盒 | 高取 `3em` / `4.5em` 两档,且 `min-height: max(3em, 44px)` | D7 触控下限 |
448
+ | 单位 | layout units → px:`PX_PER_EM=18.4`、`PX_PER_EM_Y=22`(无 `--charter-graph-unit`) | 0.3.1 决策 |
449
+ | 节点宽 | `184px` = `10 × 18.4px`(min/max 由 W0 定) | 固定 px 几何 |
450
+ | rank 列间距 | `230px` = `12.5 × 18.4px` | 横向不重叠 |
451
+ | 同 rank 行间距 | `121px` = `5.5 × 22px` | 纵向不重叠 |
452
+ | 节点盒 | 高度 `66px` / `99px`(`3/4.5 × 22px`),`min-height: 44px` | D7 触控下限 |
448
453
  | 节点圆角/边框 | 7px / 1px `--charter-border-soft` | 与现有 `charter-dependency` 行一致 |
449
- | 每行容量 | `LINE_CAPACITY = floor((10 − 2×0.625) / 0.78) = 11`(CJK 计 1,拉丁/数字计 0.5) | 由几何推导;**偏保守**,W0-2 用真实渲染行数校准 |
454
+ | 每行容量 | 仍由 `NODE_W`、padding 与摘要字号推导为 11 个 CJK 等效字符 | W0-2 校准;px 化后需重新确认 |
450
455
  | 节点文本 | HTML 层:`D<n>` 用 `--charter-brand` `0.6875em`/700(复用 `charter-dependency__key` 语言),摘要 `0.78em`,状态 `0.6875em` tertiary | 与现有列表视觉一致 |
451
456
  | 边 | 三次贝塞尔水平走向,1.5px,箭头 8px,`vector-effect: non-scaling-stroke` | — |
452
457
  | hit 线 | 同路径、透明、命中宽 ≥44px 等效 | D7 |
@@ -474,11 +479,11 @@ LINE_CAPACITY = floor((NODE_W − 2 × padding) / 摘要字号) (由几何
474
479
  `weight` 按字符计权(CJK 计 1,拉丁/数字/空格计 0.5),
475
480
  `LINE_CAPACITY = floor((NODE_W_EM − 2 × NODE_PADDING_EM) / SUMMARY_EM) = floor((10 − 1.25) / 0.78) = 11`
476
481
  ——即**每行约 11 个 CJK 字符或 22 个拉丁字符**,两行合计约 22 CJK / 44 拉丁。
477
- 节点高度只由 `labelLines` 决定(`3em` / `4.5em`),**不做运行时文本测量**,因此布局确定性成立、快照测试可行。
482
+ 节点高度只由 `labelLines` 决定(`66px` / `99px`,即 `3/4.5 × 22px`),**不做运行时文本测量**,因此布局确定性成立、快照测试可行。
478
483
  该常量**偏保守**(按参考字号的等宽估算,未按实际字体度量):保守方向只会让节点偏高,不会溢出;
479
484
  W0-2 用"纯函数行数 vs 真实渲染行数"逐节点校准,若实测长期偏保守可上调常量(上调后必须重跑零重叠验收)。
480
- 3. 200% 文本缩放下,因为节点盒与文本都以 em 表达,两者**同比放大**,夹取行为不变(行数不变、溢出仍由 CSS
481
- 省略号处理),不会溢出节点盒。
485
+ 3. 实现使用固定 px 节点;用户字号只影响语义列表。200% **页面缩放**会同比放大整个画布,不能证明
486
+ 200% **根字号文本缩放**(32px)下固定 184px 盒不裁切;该场景仍待真实浏览器人工门禁。
482
487
  4. 完整正文永远可得:accessible name 含**未截断**摘要、inspector 可展开全文、hover/focus 提供等价 tooltip;
483
488
  tooltip 不承载唯一信息(§5.7)。
484
489
  5. **单一变换**:SVG 与 HTML 标签层放在同一个 `position: relative` wrapper 内,缩放/平移只对 wrapper 施加
@@ -604,7 +609,7 @@ W0-1/2/3 与人工项的**执行步骤**见 §10.11,参数**定稿规则**见
604
609
  | 图上编辑破坏 Change Set 原子性 | D4:图只 stage ops;Apply 保持唯一提交点与 previewDigest 校验;W3 等价性测试兜底 |
605
610
  | SVG 内 ARIA 跨 AT 不一致 | 只用 `role="button"`/`role="link"` + roving tabindex + `aria-label`;不用 SVG list 语义;W0-3 用真实 AT 验证 |
606
611
  | Tab 陷阱 / 键盘用户到不了列表 | D5 复合控件(图 = 1 个 Tab 停靠)+ 前置 skip 链接,卡片外到列表 ≤ 2 次 Tab |
607
- | 200% 文本缩放导致节点溢出或两层错位 | D19:全 em 几何、离散高度档位、纯函数行数、单一 wrapper transform;W0-2 实测把关 |
612
+ | 200% 文本缩放导致节点溢出或两层错位 | 0.3.1 全 px 几何、纯函数行数、单一 wrapper transform;W0-2 现有字号 10/14/22 + page scale 证据不覆盖根字号 32px,仍待人工 |
608
613
  | 大图不可读 | D2 只做 ego 图 |
609
614
  | pending 节点被误读为执行序 | D10:不给 rank/`D<n>`,独立泳道 + "未进入执行序"写进 accessible name 与角标 |
610
615
  | 引入图形库导致 bundle 与无障碍失控 | D6 自研,零新依赖;W2 记录真实 bundle delta |
@@ -849,7 +854,7 @@ col(n) = base(n) + candRank(n)
849
854
  **决定:CSS transform 施加在单一 wrapper 上,不用 viewBox 变换。**
850
855
 
851
856
  - 理由:viewBox 缩放会同时缩放 stroke 与 SVG 内文本,与"浏览器文本缩放改根字号"叠加时互相干扰;
852
- CSS transform 对 HTML 标签层与 SVG 一视同仁,正好复用 D19 的"单一 transform"约束。
857
+ CSS transform 对 HTML 标签层与 SVG 一视同仁;0.3.1 沿用 px 几何与"单一 transform"约束。
853
858
  - 缩放档位:`0.75 / 1 / 1.25`,工具条按钮 + 键盘 `+` / `-` / `0`。
854
859
  - **最小缩放 0.75**:「适应窗口」按内容与容器比值算 scale,但 clamp 到 ≥0.75;clamp 后仍放不下就保持
855
860
  0.75 并允许平移,**不无限缩小**(避免文本缩到不可读,也避免与 200% 文本缩放叠加后失效)。
@@ -972,7 +977,7 @@ col(n) = base(n) + candRank(n)
972
977
  | 参数 | 兜底值(可先按此实现) | 测量方法 | 决策规则 |
973
978
  | --- | --- | --- | --- |
974
979
  | D5 可导航元素阈值 | 60 | W0-3 真实键盘走查:从默认焦点遍历全图所需按键数与耗时(**含 history 泳道**) | 40 个元素可在 30 秒内走完且不迷失 → 保持 60;走查者报告疲劳/迷失 → 降到 40。降级路径不变(关 history → 锁深度 → 隐藏图形区) |
975
- | §3.7 几何常量 | `NODE_W 10em` / `RANK_PITCH 12.5em` / `ROW_PITCH 5.5em` / 高度 `3|4.5em`(已满足两条不变式、20 组组合零重叠) | W0-2 真实字体度量 | 只允许调 `NODE_W_EM`(9–12em)与 `SUMMARY_EM`;调后必须重算 `LINE_CAPACITY` 与两条不变式,并重跑 W0-0 零重叠 |
980
+ | §3.7 几何常量 | `NODE_W=184px` / `RANK_PITCH=230px` / `ROW_PITCH=121px` / 高度 `66|99px`(已满足两条不变式) | W0-2 真实浏览器 | 只允许按 px 调 `NODE_W`(9–12 单位 ×18.4)与摘要字号;调后必须重算 `LINE_CAPACITY` 与两条不变式,并重跑 W0-0 零重叠 |
976
981
  | `LINE_CAPACITY` | 11 | W0-2 逐节点比对纯函数行数 vs 真实行数 | 见 §10.6(按语言分别校准) |
977
982
  | §3.1 两栏断点 | 容器 `<880px` 堆叠(沿用现有 container query 断点集合) | W0-1 五档宽度自动测量 | 取"最小的全部 PASS 宽度",且必须落在现有断点集合 `{880, 560, 520}` 内,不新增断点 |
978
983
  | 图形区高度 | 基础 `22.5em`,附加带按行数增高 | W0-2 在 200% 缩放下确认能同时显示 ≥2 列 + 候选带 + history 带 | 不满足则提到 `26em`;仍不满足则改为容器高度自适应 + 内部滚动 |
@@ -190,8 +190,7 @@ GUI 全面重构**不改变 record schema、迁移、Host service、Remote/wire
190
190
  - 范围:Workspace、Review Center、Diagnostics & Maintenance **所有栏目**统一迁移到同一设计系统与交互合同;
191
191
  设计 token 化、真实路由/滚动/焦点、Change Set 合同、Pane/store 拆分、DOM/浏览器可访问性与截图证据。
192
192
  - 不做:0.2.3 单发、0.2.3+0.3.0 两段式(均不再作为实施路径)。
193
- - 状态:W0 启动;代码未完成、未发布。人工验收通过前不推送 `feat/0.3.0-gui`、不合并 `main`、不 tag/
194
- release/publish、不声称 0.3.0 可用或已发布。
193
+ - 状态:W0–W6 完成,用户已验收;`0.3.0` 已从 `main` 发布,tag/GitHub Release/npm 均已生效。
195
194
 
196
195
  ### 2.2 D0b:Change Set 呈现路径
197
196
 
@@ -554,9 +553,16 @@ canonical diff、reconcile 状态)。若 D0 选择改为内联卡片,则必
554
553
  正文 13/20 两行截断 + 完整 title / readiness 脚注 12px tertiary`;左侧 3px 状态强调条
555
554
  (done success / in-progress business / blocked warn / conflict error 且边框同色);候选 = 虚线边框;
556
555
  暂存 = focus-ring outline;选中 = business 边框。
557
- - **边状态语言**:实线 1.5px `label-tertiary` = 生效依赖(prerequisite → dependent 箭头);
558
- 2px business 虚线 = 已暂存新依赖(随 Change Set 原子提交);点线 = 候选提案依赖(接受后生效)。
559
- 画布底部一行静态 legend 说明三种边。
556
+ - **泳道**:执行 / 候选 / 历史三个泳道各有 18px 标题带(名称 + 条目数)与发丝分隔线;标题只作标识,
557
+ 不进入 Tab 顺序。泳道空时不渲染标题带。
558
+ - **边状态语言**:实线 1.5px `label-tertiary` = 生效依赖(prerequisite → dependent,带同色 SVG 箭头);
559
+ 2px business 虚线 = 已暂存新依赖(随 Change Set 原子提交);点线 = 候选提案依赖(接受后生效);
560
+ 点划线 = 替代历史;错误色虚线 = 已暂存删除。画布底部 legend 按实际出现的边状态展示,history 出现时
561
+ 增加第 4 项。箭头和线型共同表达方向/状态,不单靠列位置。
562
+ - **交互命中**:SVG 中叠一条沿 `edge.path` 的 44px 宽透明命中路径(不是中点圆钮);HTML button 仅保留
563
+ 键盘语义与焦点。节点层在其上方,点击边不会遮挡节点;键盘仍通过图形区单 Tab + roving tab 访问。
564
+ - **画布高度**:不设固定 `max-height`;画布随布局高度增长,窄屏仍由 disclosure 折叠;200% 页面缩放下
565
+ 由宿主滚动承载,不在图形区制造第二套固定像素视口。
560
566
  - **inspector**:画布下方一行式区域(顶部发丝分隔):选中节点 `Dn + 正文 + 进度 chip` /
561
567
  依赖与被依赖 outline chips / 暂存变更 chip / 右侧 [编辑][+ 依赖] ghost sm。不使用重面板。
562
568
  - **边界**:语义列表始终是权威操作面;<880px 图形区随 disclosure 默认折叠且不渲染画布;节点为
@@ -572,7 +578,7 @@ canonical diff、reconcile 状态)。若 D0 选择改为内联卡片,则必
572
578
  | W3 Review/状态收口(1d) | 次级区域与状态机 | Review 顺序、Diagnostics 预览锚点、notice 去重、skeleton、disabled 视觉权重、a11y 语义 | 六种状态各有唯一呈现;键盘遍历无死角 |
573
579
  | W4 证据与发布(1–1.5d) | 可验收 | 截图矩阵(含 320)、滚动/Change Set/a11y 证据、livery 主题抽查、README/截图/verification/CHANGELOG/release notes 同步 | §8 全部证据完成;发布门禁按 `docs/releasing.md` |
574
580
  | W5 结构终态(2–3d,0.3.0 范围内) | 宽屏与结构收口 | 完整 Change Set rail/sheet 交互(视觉按 §4.9 冻结稿)、Pane/store 拆分、DOM/浏览器 a11y 门禁工具 ADR | W1–W4 证据通过后实施;与 W1–W4 同一个 0.3.0 分支/版本 |
575
- | W6 视觉语言落地(2–3d) | 冻结稿对照实现 | 按 §4.9/§5.7 将 `mockups/mockup.css` 合入 `charter.css` 并调整页面组件:容器规则(纯展示去卡片)、行解剖与基线对齐、下划线 tabs(移除左侧纵向导航)、吸顶条/rail 构成、空态/skeleton、依赖图 px 几何重建与 inspector;rail/inspector 文案全部 `t()` | before/after × 冻结稿并排对照评审通过(明暗 × 320–1440);`--gate=final` PASS;`npm run check` 全绿;用户字号 10/14/22 下图形无文本裁切 |
581
+ | W6 视觉语言落地(2–3d) | 冻结稿对照实现(0.3.1 图审计修订 §5.7) | 按 §4.9/§5.7 将 `mockups/mockup.css` 合入 `charter.css` 并调整页面组件:容器规则(纯展示去卡片)、行解剖与基线对齐、下划线 tabs(移除左侧纵向导航)、吸顶条/rail 构成、空态/skeleton、依赖图 px 几何重建与 inspector;rail/inspector 文案全部 `t()` | before/after × 冻结稿并排对照评审通过(明暗 × 320–1440);`--gate=final` PASS;`npm run check` 全绿;用户字号 10/14/22 下图形无文本裁切 |
576
582
 
577
583
  估计:W0–W6 合计 10–15 个工程日(不含人工验收等待;W2 因 Change Set 最小合同、W5 因 rail/sheet、
578
584
  W6 因视觉落地增加),单分支、每阶段独立提交、`npm run check` 全绿才进入下一阶段。
@@ -616,9 +622,8 @@ W3 人工验收。证据:`.tmp/gui-acceptance/2026-11-12/w3-a11y-summary.md`
616
622
 
617
623
  **W4 进度(2026-11-12,部分)**:开发 artifact(W5 后曾打包为 `dsh-charter-0.2.2.tgz`,SHA-256 `67c3e005…`)
618
624
  已按审查删除,避免与已发布不可变 0.2.2 同名冲突;最终开发候选 `0.3.0`(`package.json`/`src/version.ts` 均为
619
- 0.3.0,未发布)打包为 `dist/dsh-charter-0.3.0.tgz`(rc.2 兼容构建,SHA-256 `31c4c61d…`),并已部署到本地 `web` 与 `desktop`
620
- profile(node_modules 版本 0.3.0,client bundle 含 0.3.0):Web 验收服务运行在 `http://127.0.0.1:52080/`,
621
- Desktop 的 Pane 由 Host profile 重组 + client bundle HMR 热替换(2026-11-12 实测无需重启);部署/回滚记录见 `.tmp/gui-acceptance/2026-11-12/acceptance-deploy.md`。
625
+ 0.3.0,开发期构建)打包并部署到本地 `web` 与 `desktop` profile(node_modules 版本 0.3.0,client bundle 含 0.3.0):Web 验收服务运行在 `http://127.0.0.1:52080/`,
626
+ Desktop 的 Pane 由 Host profile 重组 + client bundle HMR 热替换(2026-11-12 实测无需重启);最终 0.3.0 已于 2026-11-13 正式发布。
622
627
  exact artifact client 已通过 CDP 注入真实 Host 验证 Pane 与 Change Set rail;并完成 320/375/560/850/1440、
623
628
  明/暗、forced-colors、reduced-motion、2x page-scale 的截图矩阵。**待完成**:fresh-profile Host+Session、Desktop
624
629
  重启后的真实窗口、zh/en 切换、真实 AT 证据、README/verification 发布同步。
@@ -862,7 +867,7 @@ URL/commit、拒绝无许可证或行为不明的包;impeccable 的 launcher
862
867
  | 2026-11-12 | 审查修复:W0 token 覆盖门禁(9 版本/35 静态 token/1 动态 fallback)落盘;rail 状态文案本地化;导航 a11y 文档统一为 nav+aria-current;补 `--ch-reading-max` 并移除 sticky 60px 魔法数字;dev artifact 删除以保护已发布 0.2.2。 |
863
868
  | 2026-11-12 | 本地验收部署:`0.3.0` dev candidate(`1d1963f1…`)安装到本地 web+desktop profile;Web 验收服务 52080;Desktop 当时按重启验证。后续 2026-11-12 确认 Desktop 支持 bundle 热更新,见下方 W6 记录。 |
864
869
  | 2026-11-12 | DSH rc.2 适配:声明 `0.2.2-rc.2`(engines/peers/dshReleases/token inventory/测试/文档),十版本矩阵 PASS;rc.2 兼容 artifact `31c4c61d…` 安装 web+desktop;engines 改为有界 0.2 线范围。 |
865
- | 2026-11-12 | UX 减负:平铺 section、去除冗余小字/角标/免责声明、行内字节与重复进度标签移除、单一进度控件、空态/表单降噪;492 测试 + final gate PASS;artifact `1d1963f1…` 已部署 web+desktop。 |
870
+ | 2026-11-12 | UX 减负:平铺 section、去除冗余小字/角标/免责声明、行内字节与重复进度标签移除、单一进度控件、空态/表单降噪;498 测试 + final gate PASS;artifact `1d1963f1…` 已部署 web+desktop。 |
866
871
  | 2026-11-12 | 本地验收部署:W6 验收构建 `dist/dsh-charter-0.3.0-w6-final.tgz`(`ab74591c…`,client `986f8403…`)已安装到本地 web+desktop profile;恢复 Pane 页头 `v0.3.0` 版本标识;Desktop 实测热更新(bundle 824ms / CSS 402ms / 最终 886ms;后续披露标签修复构建 `ab74591c…` 已热更新,tabs=3、style=1、无异常),无需重启;人工验收待完成。 |
867
872
  | 2026-11-12 | W6 视觉语言落地(源码):按 docs/design/mockups 合入文档感 CSS 与组件——顶部下划线 tabs、720 文档列 + 280 Change Set rail、section/行解剖与对齐、36px 虚线空态、40/16/16 skeleton、quietlink/notice、依赖图 px 几何 + 紧凑 inspector;492/492 + final gate PASS;CDP 截图 320/850/1440,root/document 横向溢出 0,图形区 320/850 隐藏、1440 可见,字号 10/14/22 节点文本无裁切;冻结稿并排评审与人工验收仍待完成。 |
868
873
  | 2026-11-12 | 视觉语言冻结(文档感):style tile + clean 首屏 / 脏态 rail / 依赖关系图三份高保真稿入库 `docs/design/mockups/`(含 `mockup.css` 参考实现与 `tokens.css` 宿主 token 快照);新增 §4.9 视觉冻结与 §5.7 依赖图规格;更新 §4.5/§4.7/§5.1/§5.2/§5.6/§8.3、D1/D5 决策与 W6 实施阶段;区域导航定为顶部下划线 tabs(去左侧纵向导航)。 |
@@ -29,25 +29,26 @@ This document answers three questions:
29
29
  | `0.2.1-rc.4` | Supported | same |
30
30
  | `0.2.1-rc.5` | Supported | same |
31
31
  | `0.2.2-rc.1` | Supported (previous baseline) | same + real Web profile install/startup, boot graph, bundle HTTP |
32
- | `0.2.2-rc.2` | Supported (primary development baseline) | typecheck, build, Vitest suite, remote/client smoke, ten-version source matrix |
32
+ | `0.2.2-rc.2` | Supported | typecheck, build, Vitest suite, remote/client smoke |
33
+ | `0.2.2-rc.3` | Supported (primary development baseline) | typecheck, build, Vitest suite, remote/client smoke, eleven-version source matrix |
33
34
  | `0.1.5-rc.1` / `0.1.5-rc.2` / `0.1.5-rc.3` | Not supported | contract differences too large; see section 4 |
34
35
  | `0.1.6-alpha.x` | Not supported | same generation as 0.1.5; not individually verified |
35
36
  | `0.2.2-alpha.2` / `0.2.2-alpha.3` | Not supported | strict-peer install fails because these alpha lines require a Cordis 4.0.6 alpha graph; the 0.2.2-rc.1 line pins Cordis 4.1.0. No tests run. |
36
37
  | `0.3.x` | Not declared | major upgrade requires re-verification |
37
38
 
38
- The DSH peer ranges and `engines.dsh` in `package.json` are exactly the ten verified versions:
39
+ The DSH peer ranges and `engines.dsh` in `package.json` cover exactly the eleven verified versions:
39
40
 
40
41
  ```text
41
42
  engines.dsh:
42
43
  0.1.7-rc.2 || >=0.2.0-rc.1 <0.3.0-0
43
44
 
44
45
  verified peer ranges / dsh.compatibility.dshReleases:
45
- 0.1.7-rc.2 || 0.2.0-rc.1 || 0.2.0-rc.2 || 0.2.1-rc.1 || 0.2.1-rc.2 || 0.2.1-rc.3 || 0.2.1-rc.4 || 0.2.1-rc.5 || 0.2.2-rc.1 || 0.2.2-rc.2
46
+ 0.1.7-rc.2 || 0.2.0-rc.1 || 0.2.0-rc.2 || 0.2.1-rc.1 || 0.2.1-rc.2 || 0.2.1-rc.3 || 0.2.1-rc.4 || 0.2.1-rc.5 || 0.2.2-rc.1 || 0.2.2-rc.2 || 0.2.2-rc.3
46
47
  ```
47
48
 
48
49
  Token compatibility (0.3.0): the Pane consumes 41 static host design tokens plus one runtime
49
50
  `--dsh-content-font-size` variable. The audit in `scripts/verify/token-coverage.mjs` checks that every static
50
- token is defined by `@deepseek-ai/dsh-client-ui-theme` for every version above (2026-11-12: all present); the
51
+ token is defined by `@deepseek-ai/dsh-client-ui-theme` for every version above (2026-11-13: all present); the
51
52
  runtime variable has a CSS fallback. No per-version fallback block is needed today; adding a host token requires
52
53
  updating `scripts/verify/token-coverage.inventory.json` and passing the gate in `npm run check`.
53
54
 
@@ -29,25 +29,26 @@
29
29
  | `0.2.1-rc.4` | 支持 | 同上 |
30
30
  | `0.2.1-rc.5` | 支持 | 同上 |
31
31
  | `0.2.2-rc.1` | 支持(上一基线) | 同上 + typecheck/build/Vitest/remote/client smoke + 真实 Web profile 安装/启动、boot graph、bundle HTTP |
32
- | `0.2.2-rc.2` | 支持(主开发基线) | typecheck/build/Vitest/remote/client smoke + 十版本源码矩阵 |
32
+ | `0.2.2-rc.2` | 支持 | typecheck/build/Vitest/remote/client smoke |
33
+ | `0.2.2-rc.3` | 支持(主开发基线) | typecheck/build/Vitest/remote/client smoke + 十一版本源码矩阵 |
33
34
  | `0.1.5-rc.1` / `0.1.5-rc.2` / `0.1.5-rc.3` | 不支持 | 契约差异过大,见第 4 节 |
34
35
  | `0.1.6-alpha.x` | 不支持 | 与 0.1.5 同代,未逐一验证 |
35
36
  | `0.2.2-alpha.2` / `0.2.2-alpha.3` | 不支持 | strict-peer 安装失败:这些 alpha 版本要求 Cordis 4.0.6 alpha 图;0.2.2-rc.1 线固定 Cordis 4.1.0,不进入测试 |
36
37
  | `0.3.x` | 未声明 | 大版本升级需要重新核验 |
37
38
 
38
- `package.json` 的 DSH peer 范围与 `engines.dsh` 就是已验证的十个精确版本:
39
+ `package.json` 的 DSH peer 范围与 `engines.dsh` 覆盖已验证的十一个精确版本:
39
40
 
40
41
  ```text
41
42
  engines.dsh:
42
43
  0.1.7-rc.2 || >=0.2.0-rc.1 <0.3.0-0
43
44
 
44
45
  已验证的 peer ranges / dsh.compatibility.dshReleases:
45
- 0.1.7-rc.2 || 0.2.0-rc.1 || 0.2.0-rc.2 || 0.2.1-rc.1 || 0.2.1-rc.2 || 0.2.1-rc.3 || 0.2.1-rc.4 || 0.2.1-rc.5 || 0.2.2-rc.1 || 0.2.2-rc.2
46
+ 0.1.7-rc.2 || 0.2.0-rc.1 || 0.2.0-rc.2 || 0.2.1-rc.1 || 0.2.1-rc.2 || 0.2.1-rc.3 || 0.2.1-rc.4 || 0.2.1-rc.5 || 0.2.2-rc.1 || 0.2.2-rc.2 || 0.2.2-rc.3
46
47
  ```
47
48
 
48
49
  Token 兼容(0.3.0):Pane 使用 41 个静态宿主设计 token 和 1 个运行时变量
49
50
  `--dsh-content-font-size`。`scripts/verify/token-coverage.mjs` 逐版本检查每个静态 token 是否由
50
- `@deepseek-ai/dsh-client-ui-theme` 定义(2026-11-12 审计:全部存在);运行时变量带 CSS fallback。当前不需要
51
+ `@deepseek-ai/dsh-client-ui-theme` 定义(2026-11-13 审计:全部存在);运行时变量带 CSS fallback。当前不需要
51
52
  按版本兼容块;新增宿主 token 必须更新 `scripts/verify/token-coverage.inventory.json` 并通过
52
53
  `npm run check` 中的 gate。
53
54
 
@@ -71,6 +71,8 @@
71
71
  </div>
72
72
 
73
73
  <div class="canvas" role="img" aria-label="交付物依赖图:D1 已完成,D2 进行中依赖 D1,D3 等待 D2,候选 D4 提议依赖 D2,另有一条已暂存的 D1 到 D3 依赖">
74
+ <span class="lane" style="top:0">执行 <b>3</b></span>
75
+ <span class="lane" style="top:208px">候选 <b>1</b></span>
74
76
  <svg aria-hidden="true">
75
77
  <defs>
76
78
  <marker id="arrow" viewBox="0 0 8 8" refX="7" refY="4" markerWidth="7" markerHeight="7" orient="auto-start-reverse">
@@ -136,7 +138,7 @@
136
138
  </div>
137
139
  </div>
138
140
 
139
- <p class="graphnote">图形区仅作增强:语义列表始终是权威操作面,窄屏自动折叠为 disclosure。实线 = 生效依赖;蓝色虚线 = 已暂存的新依赖(随 Change Set 原子提交);点线 = 候选提案依赖(接受后生效)。节点为固定 px 几何 + 两行截断 + 完整 title,修复旧版 em 布局在用户字号变化时的文本裁切。</p>
141
+ <p class="graphnote">图形区仅作增强:语义列表始终是权威操作面,窄屏自动折叠为 disclosure。实线 = 生效依赖;蓝色虚线 = 已暂存的新依赖(随 Change Set 原子提交);点线 = 候选提案依赖(接受后生效);点划线 = 替代历史。边带方向箭头,泳道标题只作标识,不改语义列表的权威地位。节点为固定 px 几何 + 两行截断 + 完整 title,修复旧版 em 布局在用户字号变化时的文本裁切。</p>
140
142
  </div>
141
143
  </details>
142
144
  </section>
@@ -374,6 +374,10 @@ body {
374
374
  .edge { stroke: var(--dsw-alias-label-tertiary); stroke-width: 1.5; fill: none; }
375
375
  .edge--staged { stroke: var(--dsw-alias-state-business-primary); stroke-width: 2; stroke-dasharray: 5 4; }
376
376
  .edge--proposed { stroke: var(--dsw-alias-label-tertiary); stroke-dasharray: 2 4; }
377
+ .edge--history { stroke: var(--dsw-alias-label-tertiary); stroke-dasharray: 8 3 2 3; }
378
+ .lane { position:absolute; z-index:3; left:0; right:0; display:flex; align-items:center; gap:6px; height:18px; padding:0 8px; border-bottom:var(--hairline) solid var(--dsw-alias-border-l2); color:var(--dsw-alias-label-tertiary); background:var(--dsw-alias-bg-base); font-size:var(--dsw-font-xxxs-11-font-size); font-weight:600; }
379
+ .lane b { color:var(--dsw-alias-label-secondary); font-weight:500; }
380
+ .swatch--history { border-top:1.5px dashed var(--dsw-alias-label-tertiary); }
377
381
 
378
382
  /* 节点:固定 px 几何 + 两行截断(修复旧 em 布局的文本裁切) */
379
383
  .node {
@@ -5,9 +5,9 @@ English | [中文](version-roadmap.zh.md)
5
5
  > This English file is a non-normative summary. The Chinese roadmap is normative when details differ.
6
6
  >
7
7
  > **Status:** Active — version and scope authority.
8
- > **Version scope:** 0.1 history, the published 0.2 line, and the 0.3 GUI refactor development line.
9
- > **Baseline:** 2026-11-12; `0.2.2` is published; `0.3.0` is the all-section GUI refactor line (in progress,
10
- > unreleased; plain increments, no `rc` suffix).
8
+ > **Version scope:** 0.1 history, the published 0.2 line, and the 0.3 GUI line and the 0.3.1 convergence candidate.
9
+ > **Baseline:** 2026-11-13; `0.2.2` and `0.3.0` are published; `0.3.1` is the GUI convergence candidate (in
10
+ > progress, unpublished; plain increments, no `rc` suffix).
11
11
  > **Authority:** Chinese [version-roadmap.zh.md](version-roadmap.zh.md) is normative for scope.
12
12
  > **Supersedes / Superseded by:** none / none
13
13
 
@@ -26,7 +26,9 @@ The release path is:
26
26
  → 0.2.0 development → 0.2.0
27
27
  → 0.2.1 post-0.2.0 UI/diagnostics/recovery-cache patch
28
28
  → 0.2.2 dependency graph + §6.5 confirmation (client-only patch, published)
29
- → 0.3.0 all-section GUI refactor (client-only, in progress, unreleased)
29
+ → 0.3.0 all-section GUI refactor (client-only, published)
30
+ → 0.3.1 dependency-graph/a11y convergence, envelope warning, local traffic forensics (client-only, candidate)
31
+ → 0.4.0 existing-deliverable relation proposal + record schema v3 (scope decision pending)
30
32
  ```
31
33
 
32
34
  **`0.1.0-rc.6`** is published and formally accepted; its GitHub Release uses recovery tag `v0.1.0-rc.6-republished`. **`0.1.0-rc.5`** is the previous accepted release and its canonical GitHub tag/release is pending restoration. `0.1.1-rc.1` remains a post-stable patch spelling, not another rc.6.
@@ -37,7 +39,7 @@ rc.5 fixed the correctness defect inside the promised 0.1 workflow: previously e
37
39
 
38
40
  `0.2.0` is not a bucket for isolated improvements. It is a complete Charter workflow upgrade spanning existing-feature improvements, new capabilities, information architecture and interaction redesign, data-model evolution, query APIs, and client architecture.
39
41
 
40
- `0.3.0` is the current development line: it unifies the GUI of Workspace, Review Center, and Diagnostics & Maintenance under one design system and interaction contract, and completes real routing, the Change Set contract, and the Pane/store split. The scope and acceptance plan live in [charter-gui-v1.zh.md](charter-gui-v1.zh.md) (`Active`). It is not implemented or released; until human acceptance passes, the development branch is not pushed, `main` is not merged, nothing is tagged/released/published, and no availability claim may be made.
42
+ `0.3.0` is the published GUI baseline: it unifies the GUI of Workspace, Review Center, and Diagnostics & Maintenance under one design system and interaction contract, and completes real routing, the Change Set contract, and the Pane/store split. The scope and acceptance plan live in [charter-gui-v1.zh.md](charter-gui-v1.zh.md) (`Active`). It was released on 2026-11-13. `0.3.1` is the current convergence candidate and remains unpublished until human acceptance; its branch is not pushed, `main` is not merged, and nothing is tagged/released/published or described as available.
41
43
 
42
44
  ## 2. Current Release State
43
45
 
@@ -45,7 +47,7 @@ rc.5 fixed the correctness defect inside the promised 0.1 workflow: previously e
45
47
  - `0.2.1` is published on npm (`latest`/`next`) and as GitHub Release `v0.2.1`; its tag, assets, and npm bytes are immutable.
46
48
  - `0.2.0` is an earlier public release.
47
49
  - `0.2.1` is a compatible post-`0.2.0` patch: editable message proposals, clearer diagnostics/typography, and an owner-only bounded recovery cache. It does not change `recordSchemaVersion` 2 or the model tool surface; the `dsh_charter_archives_v1` domain is a bounded derivative cache, not a second authority.
48
- - `0.3.0` is the current development line (all-section GUI refactor): not implemented, not released. The local `feat/0.3.0-gui` branch is not pushed; before human acceptance `main` is not merged and nothing is tagged/released/published or described as available.
50
+ - `0.3.0` was published on 2026-11-13. `0.3.1` is the current GUI convergence candidate (dependency-graph audit, standing-envelope warning, local traffic forensics): unpublished; the local branch is not pushed and nothing is tagged/released/published before human acceptance.
49
51
  - `0.1.0-rc.6` remains an earlier public release. Historical rc tags and releases are immutable.
50
52
 
51
53
  ## 3. Why rc.5
@@ -3,8 +3,8 @@
3
3
  [English](version-roadmap.md) | 中文
4
4
 
5
5
  > **状态:** Active — 版本与范围权威。
6
- > **版本范围:** 0.1 历史、已发布的 0.2 线与 0.3 GUI 重构开发线。
7
- > **基准:** 2026-11-12;`0.2.2` 已发布;`0.3.0` 为全栏目 GUI 全面重构开发线(进行中,未发布;普通递增,不使用 `rc` 后缀)。
6
+ > **版本范围:** 0.1 历史、已发布的 0.2 线、已发布的 0.3.0 GUI 重构线,以及 0.3.1 收敛开发线。
7
+ > **基准:** 2026-11-13;`0.2.2`、`0.3.0` 已发布;`0.3.1` 为 GUI 收敛补丁(进行中,未发布;普通递增,不使用 `rc` 后缀)。
8
8
  > **权威:** 中文版本为 scope 的 normative。
9
9
  > **替代/被替代:** 无 / 无
10
10
 
@@ -23,7 +23,9 @@
23
23
  → 0.2.0 开发线 → 0.2.0
24
24
  → 0.2.1:0.2.0 之后的 UI、诊断与恢复缓存补丁
25
25
  → 0.2.2:依赖关系图形视图 + §6.5 冲突确认(纯客户端补丁线,已发布)
26
- → 0.3.0:全栏目 GUI 全面重构(纯客户端,进行中,未发布)
26
+ → 0.3.0:全栏目 GUI 全面重构(纯客户端,已发布)
27
+ → 0.3.1:依赖图/无障碍收敛、standing envelope 预警、本地流量取证(纯客户端,进行中,未发布)
28
+ → 0.4.0:既有交付物 relation proposal + record schema v3(范围待决策)
27
29
  ```
28
30
 
29
31
  **`0.1.0-rc.5`** 已发布到 npm,是最新发布版本;其规范 GitHub tag/release 待恢复。**`0.1.0-rc.6`** 在验收前
@@ -35,7 +37,7 @@ rc.5 修复了与产品承诺冲突的审阅正确性问题:此前历史草案
35
37
 
36
38
  `0.2.0` 不作为零散功能的收纳版本。它是一轮完整的契约工作流升级,同时包含现有能力改进、新功能、信息架构与交互重构、数据模型演进以及查询/客户端架构调整。
37
39
 
38
- `0.3.0` 是当前开发线:把 Workspace、Review Center、Diagnostics & Maintenance 所有栏目统一迁移到同一设计
40
+ `0.3.0` 是已发布的 GUI 重构基线:把 Workspace、Review Center、Diagnostics & Maintenance 所有栏目统一迁移到同一设计
39
41
  系统与交互合同,并完成真实路由、Change Set 合同与 Pane/store 收口。范围与验收由
40
42
  [charter-gui-v1.zh.md](charter-gui-v1.zh.md)(`Active`)持有;`0.3.0` 未实现完成、未发布,人工验收通过前
41
43
  不得推送开发分支、不 tag/publish、不得声称可用。
@@ -47,7 +49,7 @@ rc.5 修复了与产品承诺冲突的审阅正确性问题:此前历史草案
47
49
  - `0.2.0` 是更早的公开版本。
48
50
  - `0.2.1` 是 `0.2.0` 之后的兼容补丁:可编辑消息提案、更清晰的诊断/排版、owner-only 有界恢复缓存。不改变
49
51
  `recordSchemaVersion` 2 或模型工具面;`dsh_charter_archives_v1` 是有界派生物缓存,不是第二正本。
50
- - `0.3.0` 为当前开发线(全栏目 GUI 全面重构):未实现完成、未发布;本地分支 `feat/0.3.0-gui` 不推送,
52
+ - `0.3.1` 为当前开发线(GUI 收敛补丁):保持零 record/Remote/prompt 变化;`0.4.0` 才允许 relation proposal 与 schema v3。旧 `0.3.0` 分支记录仅作历史。
51
53
  人工验收前不合并 `main`、不 tag/release/publish,不声称可用。
52
54
  - `0.1.0-rc.6` 仍是更早的公开版本。历史 rc tag/release 不可变。
53
55
 
@@ -155,7 +157,7 @@ rc.5 定位为 **审阅正确性、交互安全与稳定版证据收敛**。不
155
157
 
156
158
  rc.4 已把 `0.2.1-rc.3` 和 `rc.4` 加入 `engines.dsh` 与 peer ranges。rc.5 补齐遗漏的 `dsh.compatibility.dshReleases`,提交可重复的版本矩阵 runner,并重新验证当时声明的七版本证据。
157
159
 
158
- 最低版 `0.1.7-rc.2`、旧 resource 边界 `0.2.0-rc.2`、当前推荐版 `0.2.2-rc.2` 必须完成完整矩阵;其余已支持版本至少运行 typecheck、build、tests 和 smoke。
160
+ 最低版 `0.1.7-rc.2`、旧 resource 边界 `0.2.0-rc.2`、当前推荐版 `0.2.2-rc.3` 必须完成完整矩阵;其余已支持版本至少运行 typecheck、build、tests 和 smoke。
159
161
 
160
162
  未经验证不再扩大范围。若上游新版本破坏公开契约,应记录未支持,而不是在 rc.5 维护第二套实现。
161
163
 
@@ -448,7 +450,19 @@ inspector、中英 locales、客户端测试,以及 Change Set 的新增/加
448
450
  ranges/`dshReleases`。对里程碑的影响:不新增人工门禁类别,但新增客户端布局/渲染性能与图形区无障碍证据;
449
451
  沿用 §5.7 与既有 W0/W2 验收方式。W0/真实浏览器门禁未通过则本范围整体退出 0.2.2,不拆分半成品进版本。
450
452
 
451
- ### 14.2 `0.3.0` 新增范围:全栏目 GUI 全面重构(已决策,开发中)
453
+ ### 14.2 `0.3.0` 新增范围:全栏目 GUI 全面重构(已发布)
454
+
455
+ ### 14.2.1 `0.3.1` 收敛范围(进行中)
456
+
457
+ - 依赖图审计:泳道标题、方向箭头、44px 沿边命中区、历史线型、自适应高度、移除未使用 `ops`。
458
+ - Diagnostics standing envelope 预警:共享序列化函数、32 KiB cap、id 开销、80%/超限三态。
459
+ - 本地 `traffic-check`:`charter_propose` 拒绝分类、surface hash、`traffic-diff` 基线;不做运行时埋点/上报。
460
+ - 零 record schema、零 Remote wire、零 prompt 字节变化。退出条件:source gates、浏览器审计、人工验收、文档/截图一致。
461
+
462
+ ### 14.2.2 `0.4.0` 候选范围(待决策)
463
+
464
+ - 既有交付物 `requires` 的独立 relation proposal;record schema v3 + downgrade fence;
465
+ `charter.diagnostics` 仅当 checker 证明 transcript 不足时立项。
452
466
 
453
467
  范围:Workspace、Review Center、Diagnostics & Maintenance 所有栏目统一迁移到同一设计系统与交互合同;
454
468
  设计 token 化、真实路由/滚动/焦点、Change Set v2 最小合同与完整 rail/sheet、Pane/store 拆分、DOM/浏览器
@@ -526,4 +540,5 @@ DSH ABI/wire。本分支另做仅声明层的兼容维护:rc.2 的 engines/pee
526
540
  | `0.1.1` | stable 后兼容 bug/security/DSH/a11y patch | 新持久状态、新 API、新工作流 |
527
541
  | `0.2.0` | 四个产品支柱、record v2、查询面、三中心 UI、架构重构 | 通用记忆、执行策略、任意 validator、无必要的新 domain |
528
542
  | `0.2.2` | 客户端依赖关系图形视图、§6.5 conflict 确认、预览 optional 字段 | 新 record schema/domain、新 Remote 方法、模型可见能力变更、图形独有能力 |
529
- | `0.3.0` | 全栏目 GUI 全面重构:设计系统、IA/路由、Change Set 合同、Pane/store 拆分、a11y/截图证据;仅声明层 DSH 兼容维护(rc.2 + 有界 engines 范围,须带矩阵证据) | 新 record schema/domain、新 Remote/模型能力、DSH ABI/wire 变更、人工验收前推送/合并/tag/publish/宣称可用 |
543
+ | `0.3.1` | GUI 收敛补丁:依赖图审计、standing envelope 预警、本地 traffic checker;零 record/Remote/prompt 变化 | 新 record schema/domain、新 Remote/模型能力、DSH ABI/wire 变更、人工验收前推送/合并/tag/publish/宣称可用 |
544
+ | `0.4.0` | 既有交付物 relation proposal + record schema v3 + downgrade fence(待决策) | 未经 roadmap/设计修订直接实现、无 downgrade fence、无人工验收 |
@@ -1,6 +1,6 @@
1
1
  # dsh-charter 0.3.0
2
2
 
3
- > **Status:** Release candidate — promotion run pending.
3
+ > **Status:** Released 2026-11-13 — npm `latest`/`next` and GitHub Release `v0.3.0` published.
4
4
  > **Version scope:** `0.3.0`
5
5
  > **Baseline:** 2026-11-13
6
6
  > **Authority:** [version roadmap](../design/version-roadmap.md); [verification](../verification.md) for evidence.
@@ -18,8 +18,10 @@ record schema, Host tools, Remote wire, and prompt projection compatible with `0
18
18
  - Record schema: unchanged from `0.2.2`; no migration is required.
19
19
  - Source acceptance: strict TypeScript, build/smoke, ten-version source matrix, **39 files / 492 tests**, and the
20
20
  final UI metric gate pass.
21
- - Exact artifact: produced by the protected release-candidate workflow and recorded in the root `SHA256SUMS`
22
- and release evidence; downstream jobs consume those exact bytes without rebuilding.
21
+ - Exact artifact: `dsh-charter-0.3.0.tgz` (SHA-256
22
+ `31daf17dbc823837c1b0c1ba7bc1033444db1059a2f2cd6f1a481f8d330b5d78`), produced by release-candidate run
23
+ `43360673386` at producer commit `0613ead1ffbf73b47c54a767aa09c3c5d257bf32`; GitHub Release `v0.3.0` is
24
+ published at release commit `4331cbc21f46be910e74e7b65c6a76bffcbebb88`.
23
25
 
24
26
  ## Added
25
27
 
@@ -50,6 +52,8 @@ record schema, Host tools, Remote wire, and prompt projection compatible with `0
50
52
  ## Verification and evidence
51
53
 
52
54
  - `npm run check`: 39 files / 492 tests PASS; token coverage PASS; `verify:ui-metrics -- --gate=final` PASS.
55
+ - Release candidate run `43360673386` completed successfully; promotion run `43361855799` published the exact
56
+ candidate bytes, moved both `latest` and `next` to `0.3.0`, and finalized GitHub Release `v0.3.0`.
53
57
  - Ten-version compatibility matrix PASS; exact artifact/package smoke, packed recovery, fresh Web profile,
54
58
  Gateway acceptance, and final visual acceptance are release-workflow gates.
55
59
  - Desktop and Web hot reload was exercised through profile dependency replacement: bundle in 824ms, CSS in
@@ -0,0 +1,38 @@
1
+ # dsh-charter 0.3.1
2
+
3
+ > **Status:** Development candidate — local acceptance pending.
4
+ > **Version scope:** `0.3.1`
5
+ > **Baseline:** 2026-11-13
6
+ > **Authority:** [version roadmap](../design/version-roadmap.zh.md); [verification](../verification.md) for evidence.
7
+ > **Supersedes / Superseded by:** none / none.
8
+
9
+ `0.3.1` is the GUI convergence patch after `0.3.0`. It closes the dependency-graph audit and standing-envelope
10
+ observability gaps without changing the record schema, Remote wire, or prompt projection.
11
+
12
+ ## Scope
13
+
14
+ - Graph lane headings and directional arrows; a path-wide 44px edge hit target using `non-scaling-stroke`;
15
+ distinct history line style; adaptive canvas height; removal of the unused graph `ops` input.
16
+ - Diagnostics standing-envelope estimate with exact item serialization, 32 KiB cap, `maxPromptBytes`, id
17
+ overhead, and `<80%` / `>=80%` / over-cap states.
18
+ - Local `traffic-check` parses the real JSON `{ok, message}` tool envelope for proposal rejection classification,
19
+ including non-requires failures; active-surface hashes; `traffic-diff`
20
+ before/after baseline comparison. No runtime telemetry or upload.
21
+ - Updated frozen graph mockup/spec and README screenshots.
22
+
23
+ ## Not in 0.3.1
24
+
25
+ - `requires.propose` for existing deliverables, record schema v3, and `charter.diagnostics` → 0.4.0.
26
+ - Any prompt byte change, including `dependencyAware`.
27
+ - Upload/telemetry collection.
28
+
29
+ ## Verification
30
+
31
+ - `npm run check`: 41 files / **499 tests** PASS; ten declared DSH versions remain matrix-verified.
32
+ - Browser audit: lane headings, SVG arrows, a 44px edge hit path verified by point sampling (21 px inside /
33
+ 23 px outside), no horizontal overflow at 860–1440, 200% page scale. Real AT/VoiceOver is recorded separately
34
+ as a manual gate.
35
+ - The graph geometry authority document now records the 0.3.1 px decision and explicitly states that 200% root-font
36
+ text scaling is not covered by the W0-2 page-scale evidence.
37
+ - Root `SHA256SUMS` now records the current local `0.3.1` candidate. The protected candidate/promotion workflow
38
+ re-binds the exact packed bytes before tag/publish; this file does not claim a published artifact or availability.
@@ -4,7 +4,7 @@
4
4
  > **Version scope:** all release notes.
5
5
  > **Authority:** [version roadmap](../design/version-roadmap.md).
6
6
 
7
- The latest release is [0.3.0](0.3.0.md). [0.2.2](0.2.2.md) is the previous public release; [0.2.0](0.2.0.md) precedes it; [0.1.0-rc.6](0.1.0-rc.6.md) is the earlier recovery release.
7
+ The current development candidate is [0.3.1](0.3.1.md). [0.3.0](0.3.0.md) is the latest published release; [0.2.0](0.2.0.md) precedes it; [0.1.0-rc.6](0.1.0-rc.6.md) is the earlier recovery release.
8
8
 
9
9
  Published release history is summarized in [CHANGELOG.md](../../CHANGELOG.md) and remains available through the
10
10
  immutable Git tags and GitHub Releases. Older per-release note files were removed during the rc.5 documentation
package/docs/releasing.md CHANGED
@@ -12,8 +12,8 @@ tagging.
12
12
 
13
13
  ## Current state (2026-11-13)
14
14
 
15
- - **Publishing:** `0.3.0` — GUI redesign; candidate is built by `release-candidate.yml` and promoted only by
16
- `release-promote.yml`.
15
+ - **Published:** `0.3.0` — npm `latest`/`next`, GitHub Release `v0.3.0`; exact artifact
16
+ `dsh-charter-0.3.0.tgz`, SHA-256 `31daf17dbc823837c1b0c1ba7bc1033444db1059a2f2cd6f1a481f8d330b5d78`.
17
17
  - **Previous release:** `0.2.2` — npm `latest`/`next`, GitHub Release `v0.2.2`.
18
18
  - **Earlier release:** `0.2.1`.
19
19
  - **Post-release diagnostics:** real-model compaction and 512-item core performance both passed.
@@ -11,8 +11,8 @@ tag、不删除已发布 Release、不在打 tag 后重建字节。
11
11
 
12
12
  ## 当前状态(2026-11-13)
13
13
 
14
- - **发布中:** `0.3.0` — GUI 重构版本;候选由 `release-candidate.yml` 构建,只能由
15
- `release-promote.yml` 提升。
14
+ - **已发布:** `0.3.0` — npm `latest`/`next`,GitHub Release `v0.3.0`;精确产物
15
+ `dsh-charter-0.3.0.tgz`,SHA-256 `31daf17dbc823837c1b0c1ba7bc1033444db1059a2f2cd6f1a481f8d330b5d78`。
16
16
  - **上一版本:** `0.2.2` — npm `latest`/`next`,GitHub Release `v0.2.2`。
17
17
  - **更早版本:** `0.2.1`。
18
18
  - **发布后诊断:** 真实模型 compaction 和 512 条 core 性能均已通过。