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,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 收敛补丁;`0.3.2` 为当前无障碍/证据候选;`0.4.0` 为下一功能线。
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,20 +37,21 @@ 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
- [charter-gui-v1.zh.md](charter-gui-v1.zh.md)(`Active`)持有;`0.3.0` 未实现完成、未发布,人工验收通过前
41
- 不得推送开发分支、不 tag/publish、不得声称可用。
42
+ [charter-gui-v1.zh.md](charter-gui-v1.zh.md)(`Active`)持有;`0.3.0` 已于 2026-11-13 发布,`0.3.1` 为后续收敛补丁。
42
43
 
43
44
  ## 2. 当前发布状态
44
45
 
45
- - `0.2.2` 已于 2026-11-11 发布到 npm(`latest`/`next`)和 GitHub Release `v0.2.2`;tag、资产和 npm 字节不可变。
46
+ - `0.3.1` 已于 2026-11-13 发布到 npm(`latest`/`next`)和 GitHub Release `v0.3.1`;tag、资产和 npm 字节不可变。
47
+ - `0.3.0` 已于 2026-11-13 发布。
48
+ - `0.2.2` 已于 2026-11-11 发布到 npm 和 GitHub Release `v0.2.2`;tag、资产和 npm 字节不可变。
46
49
  - `0.2.1` 已发布到 npm(`latest`/`next`)和 GitHub Release `v0.2.1`;tag、资产和 npm 字节不可变。
47
50
  - `0.2.0` 是更早的公开版本。
48
51
  - `0.2.1` 是 `0.2.0` 之后的兼容补丁:可编辑消息提案、更清晰的诊断/排版、owner-only 有界恢复缓存。不改变
49
52
  `recordSchemaVersion` 2 或模型工具面;`dsh_charter_archives_v1` 是有界派生物缓存,不是第二正本。
50
- - `0.3.0` 为当前开发线(全栏目 GUI 全面重构):未实现完成、未发布;本地分支 `feat/0.3.0-gui` 不推送,
51
- 人工验收前不合并 `main`、不 tag/release/publish,不声称可用。
53
+ - `0.3.1` 已发布:保持零 record/Remote/prompt 变化;`0.4.0` 才允许 relation proposal 与 schema v3。
54
+ - `0.3.2` 为当前无障碍/证据收敛补丁:不改 record/Remote/prompt,不合并/发布直到人工验收完成。
52
55
  - `0.1.0-rc.6` 仍是更早的公开版本。历史 rc tag/release 不可变。
53
56
 
54
57
  ## 3. 为什么是 rc.5
@@ -155,7 +158,7 @@ rc.5 定位为 **审阅正确性、交互安全与稳定版证据收敛**。不
155
158
 
156
159
  rc.4 已把 `0.2.1-rc.3` 和 `rc.4` 加入 `engines.dsh` 与 peer ranges。rc.5 补齐遗漏的 `dsh.compatibility.dshReleases`,提交可重复的版本矩阵 runner,并重新验证当时声明的七版本证据。
157
160
 
158
- 最低版 `0.1.7-rc.2`、旧 resource 边界 `0.2.0-rc.2`、当前推荐版 `0.2.2-rc.2` 必须完成完整矩阵;其余已支持版本至少运行 typecheck、build、tests 和 smoke。
161
+ 最低版 `0.1.7-rc.2`、旧 resource 边界 `0.2.0-rc.2`、当前推荐版 `0.2.2-rc.3` 必须完成完整矩阵;其余已支持版本至少运行 typecheck、build、tests 和 smoke。
159
162
 
160
163
  未经验证不再扩大范围。若上游新版本破坏公开契约,应记录未支持,而不是在 rc.5 维护第二套实现。
161
164
 
@@ -448,7 +451,19 @@ inspector、中英 locales、客户端测试,以及 Change Set 的新增/加
448
451
  ranges/`dshReleases`。对里程碑的影响:不新增人工门禁类别,但新增客户端布局/渲染性能与图形区无障碍证据;
449
452
  沿用 §5.7 与既有 W0/W2 验收方式。W0/真实浏览器门禁未通过则本范围整体退出 0.2.2,不拆分半成品进版本。
450
453
 
451
- ### 14.2 `0.3.0` 新增范围:全栏目 GUI 全面重构(已决策,开发中)
454
+ ### 14.2 `0.3.0` 新增范围:全栏目 GUI 全面重构(已发布)
455
+
456
+ ### 14.2.1 `0.3.1` 收敛范围(已发布)
457
+
458
+ - 依赖图审计:泳道标题、方向箭头、44px 沿边命中区、历史线型、自适应高度、移除未使用 `ops`。
459
+ - Diagnostics standing envelope 预警:共享序列化函数、32 KiB cap、id 开销、80%/超限三态。
460
+ - 本地 `traffic-check`:`charter_propose` 拒绝分类、surface hash、`traffic-diff` 基线;不做运行时埋点/上报。
461
+ - 零 record schema、零 Remote wire、零 prompt 字节变化。退出条件:source gates、浏览器审计、人工验收、文档/截图一致。
462
+
463
+ ### 14.2.2 `0.4.0` 候选范围(待决策)
464
+
465
+ - 既有交付物 `requires` 的独立 relation proposal;record schema v3 + downgrade fence;
466
+ `charter.diagnostics` 仅当 checker 证明 transcript 不足时立项。
452
467
 
453
468
  范围:Workspace、Review Center、Diagnostics & Maintenance 所有栏目统一迁移到同一设计系统与交互合同;
454
469
  设计 token 化、真实路由/滚动/焦点、Change Set v2 最小合同与完整 rail/sheet、Pane/store 拆分、DOM/浏览器
@@ -526,4 +541,5 @@ DSH ABI/wire。本分支另做仅声明层的兼容维护:rc.2 的 engines/pee
526
541
  | `0.1.1` | stable 后兼容 bug/security/DSH/a11y patch | 新持久状态、新 API、新工作流 |
527
542
  | `0.2.0` | 四个产品支柱、record v2、查询面、三中心 UI、架构重构 | 通用记忆、执行策略、任意 validator、无必要的新 domain |
528
543
  | `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/宣称可用 |
544
+ | `0.3.1` | GUI 收敛补丁:依赖图审计、standing envelope 预警、本地 traffic checker;零 record/Remote/prompt 变化(已发布) | 新 record schema/domain、新 Remote/模型能力、DSH ABI/wire 变更 |
545
+ | `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,41 @@
1
+ # dsh-charter 0.3.1
2
+
3
+ > **Status:** Released 2026-11-13 — npm `latest`/`next` and GitHub Release `v0.3.1` published.
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; eleven declared DSH versions (now including `0.2.2-rc.3`)
32
+ are matrix-verified in candidate run `43445530821`.
33
+ - Browser audit: lane headings, SVG arrows, a 44px edge hit path verified by point sampling (21 px inside /
34
+ 23 px outside), no horizontal overflow at 860–1440, 200% page scale. Real AT/VoiceOver is recorded separately
35
+ as a manual gate.
36
+ - The graph geometry authority document now records the 0.3.1 px decision and explicitly states that 200% root-font
37
+ text scaling is not covered by the W0-2 page-scale evidence.
38
+ - Exact artifact: `dsh-charter-0.3.1.tgz` (SHA-256
39
+ `62fd230209dbf5c58aed09f0870775aa6d0d69feb4eff18aebf83f9803f28353`), produced by release-candidate run
40
+ `43445530821` at producer commit `de1b83be004aecc63b09cfaeaf647ca94fb7567a`; release commit
41
+ `0c00715d85be0e873d43175a4a26b724ea6c14d4`; tag and GitHub Release `v0.3.1` are public.
@@ -0,0 +1,34 @@
1
+ # dsh-charter 0.3.2
2
+
3
+ > **Status:** Development candidate — accessibility/evidence gates pending.
4
+ > **Version scope:** `0.3.2`
5
+ > **Baseline:** 2026-11-16
6
+ > **Authority:** [version roadmap](../design/version-roadmap.zh.md); [verification](../verification.md) for evidence.
7
+ > **Supersedes / Superseded by:** none / none.
8
+
9
+ `0.3.2` is the accessibility/evidence convergence patch after `0.3.1`. It does not change record schema, Remote
10
+ wire, prompt projection, or the model tool surface.
11
+
12
+ ## Scope
13
+
14
+ - Root-text graph scaling: the graph canvas scales as a unit when the root font exceeds 16px, capped at 200%,
15
+ with a scrollable viewport instead of new text clipping.
16
+ - Final-build evidence for empty/staged/applied/conflict-confirmation, forced-colors, reduced-motion, breakpoints,
17
+ and root-font measurements.
18
+ - Documentation/governance reconciliation: GUI Appendix D, dependency-graph status, verification current status,
19
+ roadmap and docs-index pending wording.
20
+ - Eleven-version compatibility matrix including DSH `0.2.2-rc.3`.
21
+
22
+ ## Local candidate
23
+
24
+ - `dist/dsh-charter-0.3.2.tgz` SHA-256 `9ff018d9139a39a553abe46d9bc350200f41af6f5f5e9bee9db59d44bdcdb842`;
25
+ exact-artifact package smoke and packed recovery smoke PASS. Root `SHA256SUMS` remains published 0.3.1 until
26
+ the protected candidate flow produces the release bytes.
27
+
28
+ ## Still-open manual gates
29
+
30
+ - Real VoiceOver/NVDA walkthrough of tabs, Change Set sheet, graph keyboard semantics, meter/live region.
31
+ - Native Desktop window/ABI matrix; automated renderer screenshots are not a substitute.
32
+ - Human sign-off on the frozen mockup side-by-side review.
33
+ - A6 W0-1/W0-2 measurements, including px line-capacity recalibration after the root-text change.
34
+ - Unknown/replay state evidence; the conflict-confirmation state is captured.
@@ -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.2](0.3.2.md). The latest release is [0.3.1](0.3.1.md); [0.3.0](0.3.0.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.
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,9 +12,10 @@ 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`.
17
- - **Previous release:** `0.2.2` — npm `latest`/`next`, GitHub Release `v0.2.2`.
15
+ - **Development candidate:** `0.3.2` — accessibility/evidence convergence; not pushed/tagged/published.
16
+ - **Published:** `0.3.1` — npm `latest`/`next`, GitHub Release `v0.3.1`; exact artifact
17
+ `dsh-charter-0.3.1.tgz`, SHA-256 `62fd230209dbf5c58aed09f0870775aa6d0d69feb4eff18aebf83f9803f28353`.
18
+ - **Previous release:** `0.3.0` — GitHub Release `v0.3.0`.
18
19
  - **Earlier release:** `0.2.1`.
19
20
  - **Post-release diagnostics:** real-model compaction and 512-item core performance both passed.
20
21
  - Do not manually publish or bypass the protected gates.
@@ -11,9 +11,10 @@ tag、不删除已发布 Release、不在打 tag 后重建字节。
11
11
 
12
12
  ## 当前状态(2026-11-13)
13
13
 
14
- - **发布中:** `0.3.0` — GUI 重构版本;候选由 `release-candidate.yml` 构建,只能由
15
- `release-promote.yml` 提升。
16
- - **上一版本:** `0.2.2` — npm `latest`/`next`,GitHub Release `v0.2.2`。
14
+ - **开发候选:** `0.3.2` — 无障碍/证据收敛;未推送/未 tag/未发布。
15
+ - **已发布:** `0.3.1` — npm `latest`/`next`,GitHub Release `v0.3.1`;精确产物
16
+ `dsh-charter-0.3.1.tgz`,SHA-256 `62fd230209dbf5c58aed09f0870775aa6d0d69feb4eff18aebf83f9803f28353`。
17
+ - **上一版本:** `0.3.0` — GitHub Release `v0.3.0`。
17
18
  - **更早版本:** `0.2.1`。
18
19
  - **发布后诊断:** 真实模型 compaction 和 512 条 core 性能均已通过。
19
20
  - 不得手动 publish,也不得绕过受保护门禁。
@@ -3,56 +3,49 @@
3
3
  English | [中文](verification.zh.md)
4
4
 
5
5
  > **Status:** Active — current operating record.
6
- > **Version scope:** `0.2.2` released 2026-11-11.
7
- > **Baseline:** 2026-11-11
6
+ > **Version scope:** `0.3.1` released 2026-11-13; `0.3.2` accessibility/evidence candidate.
7
+ > **Baseline:** 2026-11-16
8
8
 
9
- Verification date: 2026-11-11. Current source version: `0.2.2` (published 2026-11-11). This is the current evidence record; historical per-commit narratives live in Git
9
+ Verification date: 2026-11-16. Current source version: `0.3.2` candidate; latest published release is `0.3.1`. This is the current evidence record; historical per-commit narratives live in Git
10
10
  history and the Changelog. Temporary directories, profiles, tarballs, and fetched HTML live under `.tmp/` and are
11
11
  excluded from the published package.
12
12
 
13
13
  Environment: macOS, Node `v22.23.1`, npm `12.0.2`, pnpm `12.3.4`. Local DSH development baseline:
14
- `0.2.2-rc.2` (the current npm `next`).
15
-
16
- ## 1. Current conclusion
17
-
18
- Current release state (2026-11-11):
19
-
20
- - Published: `0.2.2` (npm `latest`/`next`; exact SHA-256 `ccb094342ceda030b77c2c3555bc2838ee8a4f6ef2efe4f1ac80a9d39fca7875`). GitHub Release `v0.2.2` is public and immutable.
21
- - `0.2.1`: previous public release; GitHub Release `v0.2.1` remains immutable.
22
- - `0.2.0`: earlier public release; GitHub Release `v0.2.0` remains immutable.
23
- - `0.1.0-rc.6`: earlier public release; recovery tag `v0.1.0-rc.6-republished`.
24
- - Versioning from 0.2.0 onward uses plain increments and never an `rc` suffix.
25
- - Current source evidence: 37 files / 475 tests on the final 0.2.2 tree at `f9d93c0`; the nine-version matrix passes 475/475 on that tree (Node `v22.23.1` / pnpm `12.3.4`, evidence `.tmp/0.2.2-final-matrix2.json`).
26
- - Post-release diagnostics: real-model compaction PASS (session `session-da7e7b0d-f0b0-49a2-8391-148b4782892c`); 512-item performance PASS on 2026-11-06 (core read/planning p95, see below).
27
-
28
- | Item | Result |
29
- | --- | --- |
30
- | Strict TypeScript check | Pass on the current tree |
31
- | Vitest | 37 files / 475 tests pass (`npm test`, which builds first) |
32
- | Host ESM build + browser factory bundle | Pass |
33
- | Remote contract and client smoke | Pass |
34
- | Normal package smoke | Pass |
35
- | Exact-artifact package smoke | Pass on the published `0.2.1` `.tgz` bytes (`d4ae14e1…`) from the root `SHA256SUMS`, without rebuild |
36
- | Packed-artifact recovery smoke | Pass: export, target removal, restore, receipt replay, two restarts, healthy-target refusal, packed fault subset |
37
- | Real `TypertGatewayService` | Pass on exact artifact with isolated DSH `0.2.1-rc.3` and `rc.4` graphs |
38
- | Compatibility sentinels | Pass on `0.1.7-rc.2`, `0.2.1-rc.2`, `0.2.1-rc.4`, `0.2.1-rc.5` |
39
- | 0.2.2 promotion | PASS on 2026-11-11: release candidate run `43024720739` (C `51789db`), checksum-only C+1 `d65a4d6`, promotion run `43026165062`; npm `latest`/`next` both `0.2.2`, GitHub Release `v0.2.2` public with tarball `SHA256SUMS` and `release-evidence.json`. |
40
- | 0.2.2 exact artifact smoke | PASS on 2026-11-11: published `dsh-charter-0.2.2.tgz` (98 files, SHA-256 `ccb094342ceda030b77c2c3555bc2838ee8a4f6ef2efe4f1ac80a9d39fca7875`); package smoke installed the exact bytes in an empty consumer and the packed recovery smoke passed all export/restore/two-restart/fault checks. |
41
- | Nine-version full rerun | Pass via tracked `compat-matrix --versions all --allow-new-release` (475/475 each) |
42
- | Fresh Web profile matrix (historical rc.6) | PASS: local rc.6 artifact (pre-withdrawal) installed and served on 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` |
43
- | Fresh Web profile (historical 0.2.2 DSH / 0.2.0 plugin) | PASS on 2026-11-05: fresh `DSH_HOME` + `dsh@0.2.2-rc.1 plugin --profile web add` of `dsh-charter-0.2.0.tgz` (SHA-256 `fde5531d457effc713f4423f8b46c8f0e591770e59c55e19956f000c11bdeffc`); Web boot, page HTTP 200, charter bundle HTTP 200; boot graph contains `dsh-charter` and the page index contains `dsh-charter/client.js` |
44
- | Untracked `0.2.2-alpha.2` / `0.2.2-alpha.3` probes | 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; explicitly unsupported. |
45
- | 0.2.1 real Web Pane | PASS on 2026-11-06: local Web profile installed the `0.2.1` candidate artifact; Pane reports `v0.2.1`, diagnostics/recovery cache and the editable message proposal render, and the browser console is clean. |
46
- | 0.2.1 local human acceptance | PASS on 2026-11-06: user completed local acceptance of the 0.2.1 UI/interaction batch. |
47
- | 0.2.1 Desktop ABI | PASS on 2026-11-06: Desktop profile installed the exact candidate, the Electron process was restarted, and the Pane/tab ABI was confirmed. |
48
- | 0.2.2 compatibility matrix | PASS on 2026-11-11: source `f9d93c031eabfe5e44cf17e302729eb7093d7e94`, Node `v22.23.1` / pnpm `12.3.4`; all nine declared DSH versions passed typecheck, build, and 475/475 tests (`.tmp/0.2.2-final-matrix2.json`). |
49
- | 0.2.2 fresh profile install | PASS on 2026-11-11: isolated `DSH_HOME=/tmp/dsh-charter-fresh-022-home` initialized a fresh Web profile and installed the exact local `dsh-charter-0.2.2.tgz`; `dsh web` served the Pane entry (HTTP 303 token redirect). CLI/tarball path verified; Desktop, real Pane interaction, and zh/en switch remain manual. |
50
- | 0.2.2 dependency graph source | PASS on 2026-11-11: `npm run check` 37 files / 475 tests; W0-0 prototype 41/41 (pre-isolated-grid contract; product isolated-grid tests are in `tests/client/relation-graph.spec.ts`); Web Pane rendered the graph, candidate lane, inspector, and always-present semantic list for a session with 3 active + 4 pending deliverables; browser console clean. UI self-check on 2026-11-11: isolated three-node graph + empty hint, compact list, add-edge/hide/show, and local-key prerequisite summary all rendered without console errors. W0-1/2/3 and real AT/manual gates remain pending. |
51
- | 0.2.2 dependency graph bundle | Measured on 2026-11-11 against `d362d6f` with the standardized budget method `gzip -9 -c lib/client.js | wc -c`: 113,990 → 130,474 B (+16,484 B), so the `<40 KB` gzip budget passes. Raw diagnostic: `lib/client.js` 591,936 → 670,173 B (+78,237 B); raw CSS output 47,230 → 55,540 B (+8,310 B). Raw bytes are not the budget channel. |
52
- | Real-model compaction | PASS on 2026-11-06 for `session-da7e7b0d-f0b0-49a2-8391-148b4782892c`: latest compaction seq 32610–32614, post-compaction snapshot seq 32623, `charter_read` call/result seq 32631/32632; injected, digest match, injection-after-compaction, survival, authenticated standing read, and no-checkpoint-leak all pass. |
53
- | 512-item performance | PASS on 2026-11-06, local Node `22.23.1`: 512 pending items, 300 warm-ups then 30 samples; full pagination query p95 5.2 ms and 5-op Change Set planning p95 0.6 ms against the 100 ms budget. This measures the pure core read/planning path, not UI/network. |
54
- | Real browser diagnostics | Local manual checks recorded; not a release gate |
55
- | Real-model compaction | Separately recorded PASS (2026-10-22); still a manual release gate |
14
+ `0.2.2-rc.3` (the current npm `next`).
15
+
16
+ ## 1. Current status (2026-11-16)
17
+
18
+ - Latest published release: `0.3.1` (npm `latest`/`next`, GitHub Release `v0.3.1`, artifact SHA-256
19
+ `62fd230209dbf5c58aed09f0870775aa6d0d69feb4eff18aebf83f9803f28353`).
20
+ - Previous releases: `0.3.0`, `0.2.2`; published tags and bytes are immutable.
21
+ - Current source line: `0.3.2` accessibility/evidence patch (not yet published). It changes the client
22
+ graph presentation/readme docs only; record schema remains 2, Remote remains 18 methods, prompt projection
23
+ is unchanged.
24
+ - Source gates on the current tree: `npm run check` (42 files / 500 tests on the final 0.3.2 tree),
25
+ token coverage 41 static + 1 dynamic over 11 declared DSH versions, and `verify:ui-metrics --gate=final`.
26
+ - Compatibility: eleven declared DSH versions are matrix-verified in candidate evidence run `43445530821`.
27
+ - 0.3.2 candidate artifact: `dist/dsh-charter-0.3.2.tgz` SHA-256
28
+ `9ff018d9139a39a553abe46d9bc350200f41af6f5f5e9bee9db59d44bdcdb842` (client `6ef68d25…`); only this
29
+ candidate name remains in `dist/`, the stale 0.3.1-name dev tarball was removed, and local profiles point to
30
+ this exact file. Root `SHA256SUMS` still records published `0.3.1` until a 0.3.2 release candidate exists.
31
+ Exact-artifact package smoke and packed recovery smoke PASS.
32
+ - 0.3.2 root-text evidence: graph canvas scales as a unit at root font 16/24/32 px (scale 1/1.5/2); measured
33
+ text has no new clipping and the viewport becomes horizontally scrollable. Evidence:
34
+ `docs/assets/charter-graph-root-text-200-0.3.2.png`.
35
+ - Real AT/VoiceOver, final six-state screenshots, Desktop native-window matrix, W0-1/W0-2 measurements, and
36
+ the 0.3.2 candidate/promotion runs remain open gates. They are tracked below rather than described as done.
37
+
38
+ ### 0.3.2 residual gates
39
+
40
+ | Area | Current status | Evidence / next action |
41
+ | --- | --- | --- |
42
+ | A1 200% root text | implemented + measured (CDP-forced root font) | canvas scale 1/1.5/2; text scroll metrics unchanged; real browser font-size/min-font settings join A2 manual walk |
43
+ | A2 VoiceOver/NVDA | open | real AT walk of tabs/sheet/graph/meter/notice; not replaced by AX-tree checks |
44
+ | A3 six states + media | partial | empty/staged/applied/conflict-confirmation + forced-colors/reduced-motion captured; unknown/replay pending |
45
+ | A4 frozen mockup review | open | side-by-side human review record |
46
+ | A5 Desktop native window | open | Electron window/ABI matrix |
47
+ | A6 W0-1/W0-2 | open | breakpoint/column and line-capacity measurements after px geometry |
48
+ | B1–B6 docs/governance | this change | status headers, appendix D reconciliation, verification/index/tag cleanup |
56
49
 
57
50
  ### 1.1 0.2.0 development acceptance
58
51
 
@@ -69,10 +62,11 @@ The `main` tree has passed source-level acceptance for the implemented workspace
69
62
  This is source acceptance, not a release acceptance: real Desktop/browser diagnostics, real-model compaction, performance,
70
63
  and the remaining full-design gates must be recorded separately before declaring `0.2.0` stable. The Pane uses `watchSummary` plus paged queries with a full-watch compatibility fallback; the network layer still fetches all pages, so the 512-item performance gate remains separate.
71
64
 
72
- ## 1.2 0.3.0 GUI development candidate (unreleased, local acceptance pending)
65
+ ## 1.2 0.3.0 GUI release (published 2026-11-13)
73
66
 
74
- - Branch `feat/0.3.0-gui`; W6 implementation commits `f3ac8f2`/`2ad1df3`/`bb576cd`/`840d202` plus follow-up docs are committed and the
75
- worktree is clean at audit time. **Not pushed/merged/tagged/published**; no `0.3.0` availability claim.
67
+ - Released `0.3.0` from `main`; candidate run `43360673386` (producer commit `0613ead…`), release commit
68
+ `4331cbc…`, promotion run `43361855799`; tag and GitHub Release `v0.3.0` are public, npm `latest`/`next` are `0.3.0`.
69
+ Branch/worktree are clean and pushed.
76
70
  - Source gates (2026-11-12): `npm run check` = 39 files / **492 tests** PASS (typecheck, build, remote/client
77
71
  smoke, Vitest, token gate); `npm run verify:ui-metrics -- --gate=css|ia` PASS.
78
72
  - Metric record (W1/W2/W4): CSS gate — `font-size` values 6, font weights 3, literal colors 0, non-token
@@ -82,7 +76,7 @@ and the remaining full-design gates must be recorded separately before declaring
82
76
  present), dark and light; no second livery preset was available for a broader spot check. Record:
83
77
  `.tmp/gui-acceptance/2026-11-12/livery-spotcheck.md`.
84
78
  - Token coverage audit (W0): 41 static host vars used by `charter.css` are defined in
85
- `@deepseek-ai/dsh-client-ui-theme` for **all 10 declared DSH versions**; `--dsh-content-font-size` has a
79
+ `@deepseek-ai/dsh-client-ui-theme` for **all 11 declared DSH versions**; `--dsh-content-font-size` has a
86
80
  `14px` fallback; the compat block is intentionally empty. Gate: `npm run verify:tokens`.
87
81
  - Real-browser evidence (CDP-injected new bundle into the installed Web Host; explicitly **not** the same as an
88
82
  installed artifact unless stated): multi-width 320/375/560/850/1440, dark/light, forced-colors,
@@ -92,6 +86,47 @@ and the remaining full-design gates must be recorded separately before declaring
92
86
  `DSH_HOME=/tmp/dsh-w4-home` and its `lib/client.js` hash matched the repo build; the dev tarball named
93
87
  `dsh-charter-0.2.2.tgz` was **deleted** after review because it collided with the published immutable 0.2.2
94
88
  artifact/digest. Future dev packs must bump the version (e.g. `0.3.0`) before packing.
89
+ - Release publication (2026-11-13): candidate run `43360673386` at producer commit
90
+ `0613ead1ffbf73b47c54a767aa09c3c5d257bf32`; release commit `4331cbc21f46be910e74e7b65c6a76bffcbebb88`; promotion
91
+ run `43361855799`. Published artifact `dsh-charter-0.3.0.tgz` SHA-256
92
+ `31daf17dbc823837c1b0c1ba7bc1033444db1059a2f2cd6f1a481f8d330b5d78`; npm `latest`/`next` both `0.3.0`, GitHub
93
+ Release `v0.3.0` public and immutable. This supersedes the local `w6-final` development artifact for installation.
94
+ - 0.3.1 GUI convergence candidate (2026-11-13): `npm run check` 41 files / **499 tests** PASS;
95
+ token coverage 41 static + 1 dynamic over 11 declared DSH versions PASS; eleven-version matrix PASS in
96
+ candidate compatibility evidence (run `43445530821`). Shared standing-envelope builder
97
+ (`src/core/standing-envelope.ts`) is used by both Host and Diagnostics; a 64-deliverable fixture with
98
+ production-length ids proves the id cost is exactly 49 B/deliverable and the envelope stays under 32 KiB.
99
+ - `traffic-check` propose telemetry parses the actual JSON tool-result envelope (`{ok, message}`), not
100
+ serialized text. Fixture now covers a single `D1` rejection, an unknown id, a non-requires proposal failure,
101
+ and an accepted result: display-key=1, unknown-id=1, other=1, accepted=1. Raw `D1"}` contamination is gone.
102
+ - Graph browser audit (2026-11-13, Chromium 1440×1000, synthetic applied session): lane headings, 5 arrow
103
+ markers, an SVG edge hit path with `vector-effect: non-scaling-stroke`, measured 21–22 px inside / 23 px outside the segment at 1440 px (44 px stroke), `max-height: none`, and no horizontal overflow at 860/900/1000/1100/1200/1440
104
+ or at 200% page scale. At 1100 the app shell's content container is 813 px, below the 880 px graph-fold
105
+ threshold, so the graph stays folded while the semantic list remains available; recorded as a layout
106
+ observation, not a two-column W0-1 pass. Real VoiceOver/AT remains a manual gate.
107
+ - Traffic forensics (2026-11-13): `traffic-check` now counts `charter_propose` calls/rejections and classifies
108
+ raw rejection values as display-key vs unknown-id, and reports active charter-surface hashes; `traffic-diff`
109
+ compares before/after JSON baselines. This is local, read-only tooling; no runtime telemetry or upload exists.
110
+ - Legacy traffic baseline sample (2026-11-13): a 65,491-event / 234-turn pre-0.3 session reports 4
111
+ `charter_read` calls (182 B total), 0 `charter_propose` calls, and 10 active `charter:standing` surfaces all
112
+ byte-identical at 630 B (whole active runtime duplicate rate 95.3%). This is a 0.2.x sample used only to shape
113
+ the 0.3.x baseline; it does not attribute duplicates to the plugin or claim a regression. Report:
114
+ `.tmp/traffic-baseline/session-0651-0.2x.json` (local, not shipped).
115
+ - Diagnostics envelope UI (2026-11-13): shows exact estimated bytes, 32 KiB cap, item/deliverable counts,
116
+ `maxPromptBytes`, id overhead, and 80%/over-cap states. Screenshot:
117
+ `.tmp/gui-acceptance/2026-11-13/diagnostics-envelope-031.png`.
118
+ - 0.3.1 README screenshots were recaptured from the exact local build injected into the running Web app:
119
+ `docs/assets/charter-pane-0.3.1.png`, `charter-pane-0.3.1.zh.png`, `charter-graph-0.3.1.zh.png`.
120
+ - 0.3.1 release publication (2026-11-13): candidate run `43445530821` at producer commit
121
+ `de1b83be004aecc63b09cfaeaf647ca94fb7567a`; release commit `0c00715d85be0e873d43175a4a26b724ea6c14d4`;
122
+ promotion run `43449411538`. Published artifact `dsh-charter-0.3.1.tgz` SHA-256
123
+ `62fd230209dbf5c58aed09f0870775aa6d0d69feb4eff18aebf83f9803f28353`; npm `latest`/`next` both `0.3.1`, GitHub
124
+ Release `v0.3.1` public and immutable. Candidate compatibility evidence covers 11 declared DSH versions,
125
+ including `0.2.2-rc.3`.
126
+ - Local acceptance artifact (2026-11-13): `dist/dsh-charter-0.3.1.tgz` SHA-256
127
+ `9f779443fd83c8e320d94d1981c18dc896d9d5905a7cc3f7dc8673f307806860`; exact-artifact package smoke and packed
128
+ recovery smoke PASS. `dist/dsh-charter-0.3.1.tgz` (same bytes) is installed in local `web` and `desktop`
129
+ profiles; both resolve client `fcd56a48…`. The Host version chip updates after a clean Host restart.
95
130
  - Local acceptance deployment (2026-11-12): the W6 acceptance build is
96
131
  `dist/dsh-charter-0.3.0-w6-final.tgz` (SHA-256 `ab74591c…`, client `986f8403…`). It is installed in both local
97
132
  `web` and `desktop` profiles, with the bounded `engines.dsh` range and package version `0.3.0`. Also updated:
@@ -119,7 +154,7 @@ and the remaining full-design gates must be recorded separately before declaring
119
154
 
120
155
  - Mechanical mockup comparison (2026-11-13): `dirty-mockup-vs-final.png` and `graph-mockup-vs-final.png` were composed from the frozen mockups and the `w6-final` build under `.tmp/gui-acceptance/2026-11-13/side-by-side/`; this is reference material only, not the human side-by-side review, and empty/applied/conflict captures remain missing.
121
156
 
122
- - Ten-version source matrix (2026-11-12): all declared DSH versions `0.1.7-rc.2` … `0.2.2-rc.2` pass
157
+ - Eleven-version source matrix (2026-11-13): all declared DSH versions `0.1.7-rc.2` … `0.2.2-rc.3` pass
123
158
  typecheck, build, and tests; run with `--allow-new-release` because rc.2 is inside the pnpm 24-hour
124
159
  `minimumReleaseAge` window. The tracked rc.2 compatibility lockfile was generated and added. Evidence:
125
160
  `.tmp/compat-matrix-0.3.0.json`.
@@ -291,3 +326,22 @@ rm -rf .tmp
291
326
  ```
292
327
 
293
328
  `.tmp/` is excluded from Git and the npm package.
329
+
330
+ ## 1.3 0.3.2 accessibility/evidence candidate (2026-11-16, in progress)
331
+
332
+ - Source: `npm run check` 42 files / **500 tests** PASS; token coverage PASS over 11 declared DSH versions;
333
+ `verify:ui-metrics -- --gate=final` PASS; eleven-version source matrix PASS (`.tmp/compat-032-release.json`, source commit `0425a06`).
334
+ - A1 root text: graph canvas scales 1/1.5/2 at root font 16/24/32px; node text scroll/client metrics show no
335
+ new clipping; the viewport is horizontally scrollable at 200%. Evidence:
336
+ `docs/assets/charter-graph-root-text-200-0.3.2.png`.
337
+ - A3 state/media evidence: empty/staged/applied/conflict-confirmation captures (`docs/assets/charter-state-empty-0.3.2.png`,
338
+ `docs/assets/charter-state-staged-0.3.2.png`, `docs/assets/charter-state-applied-0.3.2.png`, `docs/assets/charter-state-conflict-0.3.2.png`) plus forced-colors and reduced-motion captures (`docs/assets/charter-state-forced-colors-0.3.2.png`, `docs/assets/charter-state-reduced-motion-0.3.2.png`). The conflict-confirmation state is captured; the unknown/replay state still needs a final pass. The staged capture was re-taken with no prerequisite editor or stale bootstrap notice visible.
339
+ - A6 breakpoints: no horizontal page overflow, node overlap, or row overflow at 860/900/1000/1100/1200/1440;
340
+ at 1100 the graphcard is folded because the app shell content container is below 880px, while the semantic
341
+ list remains available — recorded as a layout observation.
342
+ - B: GUI design status/Appendix D reconciliation, dependency-graph status, verification current status,
343
+ roadmap/docs-index pending wording, and local v0.3.0/v0.3.1 tags are cleaned up.
344
+ - A2/A4/A5 remain manual/blocked: VoiceOver launches but Apple Events/Accessibility authorization is absent, so
345
+ no real AT claim is made; the frozen-mockup side-by-side sign-off is still human; native Desktop capture is
346
+ blocked by macOS Screen Recording permission (`screencapture` reports `could not create image from display`).
347
+ These gates are not marked complete without evidence.