dsh-charter 0.2.1 → 0.3.0

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 (64) hide show
  1. package/CHANGELOG.md +62 -1
  2. package/CHANGELOG.zh.md +53 -1
  3. package/README.md +64 -33
  4. package/README.zh.md +49 -27
  5. package/docs/README.md +7 -3
  6. package/docs/README.zh.md +7 -3
  7. package/docs/assets/charter-graph-0.3.0.zh.png +0 -0
  8. package/docs/assets/charter-pane-0.3.0.png +0 -0
  9. package/docs/assets/charter-pane-0.3.0.zh.png +0 -0
  10. package/docs/assets/charter-pane.zh.png +0 -0
  11. package/docs/design/charter-dependency-graph-v1.zh.md +1101 -0
  12. package/docs/design/charter-design-v1.md +2 -2
  13. package/docs/design/charter-design-v1.zh.md +2 -2
  14. package/docs/design/charter-gui-v1.zh.md +868 -0
  15. package/docs/design/charter-workspace-v2.zh.md +29 -1
  16. package/docs/design/compatibility.md +22 -6
  17. package/docs/design/compatibility.zh.md +21 -6
  18. package/docs/design/mockups/README.md +29 -0
  19. package/docs/design/mockups/mockup-graph.html +152 -0
  20. package/docs/design/mockups/mockup-home-clean.html +146 -0
  21. package/docs/design/mockups/mockup-home-dirty.html +191 -0
  22. package/docs/design/mockups/mockup.css +425 -0
  23. package/docs/design/mockups/style-tile.html +146 -0
  24. package/docs/design/mockups/tokens.css +670 -0
  25. package/docs/design/version-roadmap.md +28 -11
  26. package/docs/design/version-roadmap.zh.md +38 -8
  27. package/docs/release-notes/0.2.1.md +8 -6
  28. package/docs/release-notes/0.2.2.md +60 -0
  29. package/docs/release-notes/0.3.0.md +66 -0
  30. package/docs/release-notes/README.md +1 -2
  31. package/docs/releasing.md +7 -8
  32. package/docs/releasing.zh.md +7 -8
  33. package/docs/user-guide.md +36 -16
  34. package/docs/user-guide.zh.md +33 -14
  35. package/docs/verification.md +105 -32
  36. package/docs/verification.zh.md +90 -28
  37. package/lib/client/ChangeSetPanel.d.ts +24 -0
  38. package/lib/client/DependencyGraph.d.ts +19 -0
  39. package/lib/client/DiagnosticsPage.d.ts +5 -0
  40. package/lib/client/ReviewCenterPage.d.ts +5 -0
  41. package/lib/client/SectionNav.d.ts +14 -0
  42. package/lib/client/WorkspacePage.d.ts +5 -0
  43. package/lib/client/change-set-model.d.ts +55 -0
  44. package/lib/client/draft-store.d.ts +1 -1
  45. package/lib/client/locales.d.ts +94 -7
  46. package/lib/client/page-order.d.ts +26 -0
  47. package/lib/client/pane-format.d.ts +48 -0
  48. package/lib/client/pane-scope.d.ts +382 -0
  49. package/lib/client/pane-ui.d.ts +39 -0
  50. package/lib/client/relation-graph.d.ts +135 -0
  51. package/lib/client/section-routing.d.ts +12 -0
  52. package/lib/client/use-change-set-sheet.d.ts +13 -0
  53. package/lib/client.js +4589 -2413
  54. package/lib/core/change-set.d.ts +7 -0
  55. package/lib/core/dependencies.d.ts +29 -0
  56. package/lib/core.js +1 -1
  57. package/lib/{fork-D5HVDV1i.js → fork-KSL6sovw.js} +70 -1
  58. package/lib/host/types.d.ts +8 -1
  59. package/lib/index.js +2 -2
  60. package/lib/remote/wire.d.ts +37 -3
  61. package/lib/remote.js +23 -3
  62. package/lib/{service-CNjnvioR.js → service-DO3Q9uB2.js} +10 -5
  63. package/lib/version.d.ts +1 -1
  64. package/package.json +23 -18
@@ -1,12 +1,13 @@
1
- # `dsh-charter` Version Roadmap: 0.1 Stabilization and the 0.2 Product Upgrade
1
+ # `dsh-charter` Version Roadmap: 0.1 Stabilization, 0.2 Product Upgrade, and 0.3 GUI Refactor
2
2
 
3
3
  English | [中文](version-roadmap.zh.md)
4
4
 
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 and current 0.2 development line.
9
- > **Baseline:** 2026-11-06; current line `0.2.1` is a post-`0.2.0` release candidate (plain increments, no `rc`).
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).
10
11
  > **Authority:** Chinese [version-roadmap.zh.md](version-roadmap.zh.md) is normative for scope.
11
12
  > **Supersedes / Superseded by:** none / none
12
13
 
@@ -24,6 +25,8 @@ The release path is:
24
25
  → 0.1.1 only if stable needs a compatible patch
25
26
  → 0.2.0 development → 0.2.0
26
27
  → 0.2.1 post-0.2.0 UI/diagnostics/recovery-cache patch
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)
27
30
  ```
28
31
 
29
32
  **`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.
@@ -34,16 +37,16 @@ rc.5 fixed the correctness defect inside the promised 0.1 workflow: previously e
34
37
 
35
38
  `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.
36
39
 
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.
41
+
37
42
  ## 2. Current Release State
38
43
 
39
- - `0.2.0` is published on npm (`latest`/`next`) and as GitHub Release `v0.2.0`; its tag, assets, and npm bytes
40
- are immutable.
41
- - `0.2.1` is the current release candidate on the local development line. It is not tagged, released, or
42
- published; local acceptance and promotion remain pending.
43
- - `0.2.1` is a compatible post-`0.2.0` patch: editable message proposals, clearer diagnostics/typography, and an
44
- owner-only bounded recovery cache. It does not change `recordSchemaVersion` 2 or the model tool surface; the
45
- `dsh_charter_archives_v1` domain is a bounded derivative cache, not a second authority.
46
- - `0.1.0-rc.6` remains the previous public release. Historical rc tags and releases are immutable.
44
+ - `0.2.2` was published on 2026-11-11 to npm (`latest`/`next`) and as GitHub Release `v0.2.2`; its tag, assets, and npm bytes are immutable.
45
+ - `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
+ - `0.2.0` is an earlier public release.
47
+ - `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.
49
+ - `0.1.0-rc.6` remains an earlier public release. Historical rc tags and releases are immutable.
47
50
 
48
51
  ## 3. Why rc.5
49
52
 
@@ -299,3 +302,17 @@ Alpha milestones may change the schema, but every change must ship fixture migra
299
302
  | `0.1.0` | rc.5 stabilization | New features |
300
303
  | `0.1.1` | Compatible stable bug/security/DSH/accessibility patches | New persistent state, API, or workflow |
301
304
  | `0.2.0` | Four product pillars, record v2, query plane, three-area UI, architecture refactor | General memory, execution policy, arbitrary validators, unnecessary domain migration |
305
+ | `0.2.2` | Client-side dependency graph, §6.5 conflict confirmation, optional preview fields | New record schema/domain, new Remote methods, model-visible capability changes, graph-only capabilities |
306
+ | `0.3.0` | All-section GUI refactor: design system, IA/routing, Change Set contract, Pane/store split, a11y/screenshot evidence | New record schema/domain, new Remote/model capability, compatibility declaration changes, pushing/merging/tagging/publishing or availability claims before human acceptance |
307
+
308
+ ## 16. `0.3.0` GUI Refactor (in development)
309
+
310
+ The 0.3.0 line unifies the GUI of all Pane areas (Workspace, Review Center, Diagnostics & Maintenance) under one
311
+ design system and interaction contract: token-based styling, real scroll/focus routing, the workspace-v2 Change Set
312
+ contract, the Pane/store split, and DOM/browser accessibility and screenshot evidence. It is client-only: no record
313
+ schema, migration, Host service, Remote/wire, prompt projection, model capability, or compatibility declaration
314
+ changes.
315
+
316
+ Authority: [charter-gui-v1.zh.md](charter-gui-v1.zh.md) (`Active`). Status: W0 started; not implemented and not
317
+ released. Until human acceptance passes, the local `feat/0.3.0-gui` branch is not pushed, `main` is not merged, and
318
+ nothing may be tagged/released/published or described as available.
@@ -1,10 +1,10 @@
1
- # `dsh-charter` 版本路线:0.1 稳定化与 0.2 产品升级
1
+ # `dsh-charter` 版本路线:0.1 稳定化、0.2 产品升级与 0.3 GUI 重构
2
2
 
3
3
  [English](version-roadmap.md) | 中文
4
4
 
5
5
  > **状态:** Active — 版本与范围权威。
6
- > **版本范围:** 0.1 历史与当前 0.2 开发线。
7
- > **基准:** 2026-11-06;当前线 `0.2.1` 是 `0.2.0` 之后的发布候选(普通递增,不使用 `rc` 后缀)。
6
+ > **版本范围:** 0.1 历史、已发布的 0.2 线与 0.3 GUI 重构开发线。
7
+ > **基准:** 2026-11-12;`0.2.2` 已发布;`0.3.0` 为全栏目 GUI 全面重构开发线(进行中,未发布;普通递增,不使用 `rc` 后缀)。
8
8
  > **权威:** 中文版本为 scope 的 normative。
9
9
  > **替代/被替代:** 无 / 无
10
10
 
@@ -22,6 +22,8 @@
22
22
  → 0.1.1(仅在 stable 后确有兼容补丁时)
23
23
  → 0.2.0 开发线 → 0.2.0
24
24
  → 0.2.1:0.2.0 之后的 UI、诊断与恢复缓存补丁
25
+ → 0.2.2:依赖关系图形视图 + §6.5 冲突确认(纯客户端补丁线,已发布)
26
+ → 0.3.0:全栏目 GUI 全面重构(纯客户端,进行中,未发布)
25
27
  ```
26
28
 
27
29
  **`0.1.0-rc.5`** 已发布到 npm,是最新发布版本;其规范 GitHub tag/release 待恢复。**`0.1.0-rc.6`** 在验收前
@@ -33,14 +35,21 @@ rc.5 修复了与产品承诺冲突的审阅正确性问题:此前历史草案
33
35
 
34
36
  `0.2.0` 不作为零散功能的收纳版本。它是一轮完整的契约工作流升级,同时包含现有能力改进、新功能、信息架构与交互重构、数据模型演进以及查询/客户端架构调整。
35
37
 
38
+ `0.3.0` 是当前开发线:把 Workspace、Review Center、Diagnostics & Maintenance 所有栏目统一迁移到同一设计
39
+ 系统与交互合同,并完成真实路由、Change Set 合同与 Pane/store 收口。范围与验收由
40
+ [charter-gui-v1.zh.md](charter-gui-v1.zh.md)(`Active`)持有;`0.3.0` 未实现完成、未发布,人工验收通过前
41
+ 不得推送开发分支、不 tag/publish、不得声称可用。
42
+
36
43
  ## 2. 当前发布状态
37
44
 
38
- - `0.2.0` 已发布到 npm(`latest`/`next`)和 GitHub Release `v0.2.0`;tag、资产和 npm 字节不可变。
39
- - `0.2.1` 是当前本地开发线上的发布候选;尚未打 tag、发布 GitHub Release 或发布 npm,本地验收与 promotion
40
- 仍待完成。
45
+ - `0.2.2` 已于 2026-11-11 发布到 npm(`latest`/`next`)和 GitHub Release `v0.2.2`;tag、资产和 npm 字节不可变。
46
+ - `0.2.1` 已发布到 npm(`latest`/`next`)和 GitHub Release `v0.2.1`;tag、资产和 npm 字节不可变。
47
+ - `0.2.0` 是更早的公开版本。
41
48
  - `0.2.1` 是 `0.2.0` 之后的兼容补丁:可编辑消息提案、更清晰的诊断/排版、owner-only 有界恢复缓存。不改变
42
49
  `recordSchemaVersion` 2 或模型工具面;`dsh_charter_archives_v1` 是有界派生物缓存,不是第二正本。
43
- - `0.1.0-rc.6` 仍是上一个公开版本。历史 rc tag/release 不可变。
50
+ - `0.3.0` 为当前开发线(全栏目 GUI 全面重构):未实现完成、未发布;本地分支 `feat/0.3.0-gui` 不推送,
51
+ 人工验收前不合并 `main`、不 tag/release/publish,不声称可用。
52
+ - `0.1.0-rc.6` 仍是更早的公开版本。历史 rc tag/release 不可变。
44
53
 
45
54
  ## 3. 为什么是 rc.5
46
55
 
@@ -146,7 +155,7 @@ rc.5 定位为 **审阅正确性、交互安全与稳定版证据收敛**。不
146
155
 
147
156
  rc.4 已把 `0.2.1-rc.3` 和 `rc.4` 加入 `engines.dsh` 与 peer ranges。rc.5 补齐遗漏的 `dsh.compatibility.dshReleases`,提交可重复的版本矩阵 runner,并重新验证当时声明的七版本证据。
148
157
 
149
- 最低版 `0.1.7-rc.2`、旧 resource 边界 `0.2.0-rc.2`、当前推荐版 `0.2.2-rc.1` 必须完成完整矩阵;其余已支持版本至少运行 typecheck、build、tests 和 smoke。
158
+ 最低版 `0.1.7-rc.2`、旧 resource 边界 `0.2.0-rc.2`、当前推荐版 `0.2.2-rc.2` 必须完成完整矩阵;其余已支持版本至少运行 typecheck、build、tests 和 smoke。
150
159
 
151
160
  未经验证不再扩大范围。若上游新版本破坏公开契约,应记录未支持,而不是在 rc.5 维护第二套实现。
152
161
 
@@ -431,6 +440,25 @@ v1 item/proposal 的来源映射:可证明的 fork 保留 fork 引用;其余
431
440
 
432
441
  alpha 阶段允许 schema 调整,但每次都要提供测试 fixture 迁移;beta 起冻结持久化与 Remote 主契约;rc 起冻结功能。
433
442
 
443
+ ### 14.1 `0.2.2` 新增范围:依赖关系图形视图与 §6.5 确认
444
+
445
+ 范围严格限定在客户端展示层与既有 §6.5 正确性修复:新增客户端关系图语义/几何纯函数、Workspace 图形区与
446
+ inspector、中英 locales、客户端测试,以及 Change Set 的新增/加重依赖冲突标注和两步确认。不改 record schema、
447
+ 迁移、fork、Host service、Remote/wire(预览字段为 optional)、prompt 投影与字节,不改 `engines.dsh`/peer
448
+ ranges/`dshReleases`。对里程碑的影响:不新增人工门禁类别,但新增客户端布局/渲染性能与图形区无障碍证据;
449
+ 沿用 §5.7 与既有 W0/W2 验收方式。W0/真实浏览器门禁未通过则本范围整体退出 0.2.2,不拆分半成品进版本。
450
+
451
+ ### 14.2 `0.3.0` 新增范围:全栏目 GUI 全面重构(已决策,开发中)
452
+
453
+ 范围:Workspace、Review Center、Diagnostics & Maintenance 所有栏目统一迁移到同一设计系统与交互合同;
454
+ 设计 token 化、真实路由/滚动/焦点、Change Set v2 最小合同与完整 rail/sheet、Pane/store 拆分、DOM/浏览器
455
+ 可访问性与截图证据。纯客户端:不改 record schema、迁移、Host service、Remote/wire、prompt 投影、模型能力、
456
+ DSH ABI/wire。本分支另做仅声明层的兼容维护:rc.2 的 engines/peer/`dshReleases` 精确声明与有界 0.2 线范围,论证见 [compatibility.zh.md](compatibility.zh.md)。
457
+
458
+ 权威与状态:设计与执行细节由 [charter-gui-v1.zh.md](charter-gui-v1.zh.md) 持有(`Active`);W0–W6 源码与构建完成,机器门禁通过,
459
+ 人工验收与最终对照证据仍待完成。人工验收前置约束:开发分支 `feat/0.3.0-gui` 不推送、不合并 `main`、不 tag/release/publish,
460
+ 不得声称 `0.3.0` 可用或已发布。退出条件:GUI 方案 §8 证据与人工验收;W0–W6 完成后才进入发布流程。
461
+
434
462
  ## 14. 0.2.0 非目标
435
463
 
436
464
  - 不增加 decision/environment 等新 item kind。
@@ -497,3 +525,5 @@ alpha 阶段允许 schema 调整,但每次都要提供测试 fixture 迁移;
497
525
  | `0.1.0` | rc.5 稳定化与发布状态收敛 | 新功能 |
498
526
  | `0.1.1` | stable 后兼容 bug/security/DSH/a11y patch | 新持久状态、新 API、新工作流 |
499
527
  | `0.2.0` | 四个产品支柱、record v2、查询面、三中心 UI、架构重构 | 通用记忆、执行策略、任意 validator、无必要的新 domain |
528
+ | `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/宣称可用 |
@@ -1,13 +1,14 @@
1
1
  # dsh-charter 0.2.1
2
2
 
3
- > **Status:** Release candidate — local acceptance and promotion pending.
3
+ > **Status:** Released 2026-11-06 — npm and GitHub Release published.
4
4
  > **Version scope:** `0.2.1`
5
5
  > **Baseline:** 2026-11-06
6
6
  > **Authority:** [version roadmap](../design/version-roadmap.md); [verification](../verification.md) for evidence.
7
7
  > **Supersedes / Superseded by:** `0.2.0` / none.
8
8
 
9
9
  `0.2.1` is the post-`0.2.0` patch for the message-proposal form, diagnostics presentation, Pane typography, and
10
- bounded recovery cache. No tag, GitHub Release, or npm publication exists yet.
10
+ bounded recovery cache. It is published as npm `dsh-charter@0.2.1` (`latest` and `next`) and GitHub Release
11
+ `v0.2.1`.
11
12
 
12
13
  ## Status
13
14
 
@@ -15,10 +16,11 @@ bounded recovery cache. No tag, GitHub Release, or npm publication exists yet.
15
16
  - DSH compatibility: unchanged from `0.2.0`; all nine declared versions are matrix targets.
16
17
  - Record schema: unchanged (`recordSchemaVersion: 2`); the new `dsh_charter_archives_v1` domain is a bounded,
17
18
  owner-only recovery derivative, not a second authority.
18
- - Source acceptance: strict TypeScript, build/smoke, Vitest, and the nine-version compatibility matrix run on the
19
- final candidate tree. Record the exact count and commit in [verification](../verification.md).
20
- - Pending: local human acceptance, real browser/Desktop ABI, real-model compaction, 512-item performance, final
21
- artifact digests, and promotion.
19
+ - Source acceptance: strict TypeScript, build/smoke, 36 files / 441 tests, and the nine-version compatibility
20
+ matrix; candidate and promotion workflows passed.
21
+ - Local acceptance and real Web/Desktop ABI passed on 2026-11-06.
22
+ - Post-release: real-model compaction PASS (post-compaction `charter_read` recorded); 512-item core
23
+ read/planning performance PASS (p95 5.2 ms / 0.6 ms). See [verification](../verification.md).
22
24
 
23
25
  ## Added
24
26
 
@@ -0,0 +1,60 @@
1
+ # dsh-charter 0.2.2
2
+
3
+ > **Status:** Released 2026-11-11 — npm `latest`/`next` and GitHub Release `v0.2.2` published.
4
+ > **Version scope:** `0.2.2`
5
+ > **Baseline:** 2026-11-11
6
+ > **Authority:** [version roadmap](../design/version-roadmap.md); [verification](../verification.md) for evidence.
7
+ > **Supersedes / Superseded by:** none / none.
8
+
9
+ `0.2.2` adds a dependency-graph workspace view and closes the existing §6.5 dependency-conflict confirmation
10
+ gap. It is a client-focused patch: no record schema, migration, Host service, Remote wire, or prompt-projection
11
+ change.
12
+
13
+ ## Status
14
+
15
+ - Package version: `0.2.2` (published).
16
+ - DSH compatibility: unchanged; the nine declared versions passed the final-tree matrix on 2026-11-11
17
+ (Node `v22.23.1`, pnpm `12.3.4`, source `f9d93c0`, 475/475 tests each).
18
+ - Record schema: unchanged (`recordSchemaVersion: 2`); no new storage domain, Remote method, or model-visible
19
+ capability.
20
+ - Source acceptance: strict TypeScript, build/smoke, 37 files / 475 tests, dependency-graph product tests, and
21
+ package smoke.
22
+ - Bundle budget: `gzip -9 -c lib/client.js` 113,990 → 130,474 B (+16,484 B), within the `<40 KB` budget; raw
23
+ bytes are diagnostic only.
24
+ - Artifact: `dsh-charter-0.2.2.tgz` (98 files, SHA-256 `ccb094342ceda030b77c2c3555bc2838ee8a4f6ef2efe4f1ac80a9d39fca7875`),
25
+ exact-artifact package/recovery smokes passed; an isolated fresh Web profile installed and booted it.
26
+ - Release evidence: GitHub Release `v0.2.2`, tag `v0.2.2` at `d65a4d61f21475c76de155260fb7b8c5b72c84da`, artifact
27
+ SHA-256 `ccb094342ceda030b77c2c3555bc2838ee8a4f6ef2efe4f1ac80a9d39fca7875`. See [verification](../verification.md).
28
+
29
+ ## Added
30
+
31
+ - **Dependency graph in Workspace.** Local ego view with execution, candidate, and replacement-history lanes,
32
+ synchronized with the always-present semantic list.
33
+ - **Bounded isolated fallback.** Contracts without dependency edges show a grid of at most 20 execution nodes and
34
+ a short “add a prerequisite” hint; larger unlinked contracts hide the graph with an isolated-specific message.
35
+ - **Keyboard graph contract.** One Tab stop, arrow/`[`/`]` traversal, Enter for details, Escape to close and
36
+ return toward the list, and a skip link to the semantic list.
37
+ - **Dependency-conflict confirmation.** A Change Set that adds or worsens a dependency conflict lists affected
38
+ deliverables and requires a second Apply confirmation.
39
+ - **Compact prerequisite editing and windowing.** Each dependency row is a summary; its checkbox editor is opened
40
+ on demand. The list renders 50 rows at a time with a “show more” path.
41
+
42
+ ## Changed
43
+
44
+ - The dependency list no longer renders a native multi-select with up to 511 options per row.
45
+ - Graph and list edits produce byte-identical `deliverable.requires` Change Set ops; Apply remains the only
46
+ commit point.
47
+ - Dense graph views degrade in order: hide replacement history, reduce depth, then hide the graph with a reason.
48
+
49
+ ## Fixed
50
+
51
+ - Graph-to-list and graph-to-proposal focus paths expand the visible window before moving focus.
52
+ - Dependency summaries show local `D<n>` keys rather than internal item ids.
53
+ - Edge keys include the relation kind so matching requires/supersedes endpoints cannot collide.
54
+
55
+ ## Upgrade notes
56
+
57
+ - Existing `0.2.1` records need no migration.
58
+ - The graph is a view over the existing relationship data; it is not a second source of truth.
59
+ - A dependency conflict still allows an explicit user override after the two-step confirmation; the graph never
60
+ changes progress or lifecycle automatically.
@@ -0,0 +1,66 @@
1
+ # dsh-charter 0.3.0
2
+
3
+ > **Status:** Release candidate — promotion run pending.
4
+ > **Version scope:** `0.3.0`
5
+ > **Baseline:** 2026-11-13
6
+ > **Authority:** [version roadmap](../design/version-roadmap.md); [verification](../verification.md) for evidence.
7
+ > **Supersedes / Superseded by:** none / none.
8
+
9
+ `0.3.0` is the document-feel GUI release. It replaces the previous Pane's stacked-card presentation with one
10
+ readable contract document across Workspace, Review Center, and Diagnostics & Maintenance, while keeping the
11
+ record schema, Host tools, Remote wire, and prompt projection compatible with `0.2.2`.
12
+
13
+ ## Status
14
+
15
+ - Package version: `0.3.0`.
16
+ - DSH compatibility: ten declared versions (`0.1.7-rc.2` … `0.2.2-rc.2`) are matrix-verified;
17
+ `engines.dsh` remains the bounded 0.2-line range `0.1.7-rc.2 || >=0.2.0-rc.1 <0.3.0-0`.
18
+ - Record schema: unchanged from `0.2.2`; no migration is required.
19
+ - Source acceptance: strict TypeScript, build/smoke, ten-version source matrix, **39 files / 492 tests**, and the
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.
23
+
24
+ ## Added
25
+
26
+ - **Underline area tabs** replace the left vertical navigation at every width.
27
+ - **Document column + Change Set rail**: a 720px reading column, with a 280px quiet Change Set margin note on
28
+ wide screens and the existing modal sheet on narrow screens.
29
+ - **Document rows**: objective lead, invariant/deliverable rows, aligned D-number/byte metadata, quiet row
30
+ actions, 36px dashed empty rows, a three-row skeleton, and a single inline notice.
31
+ - **Change Set rail**: title/count, prompt/item delta, grouped operation rows, quiet unstage links, and one
32
+ closing hint.
33
+ - **Execution-path graph**: disclosure summary with state-aware action label, fixed 184px nodes, three-layer
34
+ anatomy, candidate/staged/active edge language, static legend, and a compact inspector.
35
+ - **Version chip**: the Pane header keeps the approved `v0.3.0` version identifier beside revision and prompt
36
+ meter.
37
+ - **Host tool fix**: `charter_read standing` exposes stable deliverable ids so `charter_propose.requires` can
38
+ reference real deliverables; `D<n>` labels are documented as display-only.
39
+
40
+ ## Changed
41
+
42
+ - Workspace, Review Center, and Diagnostics now share the same document typography, spacing, row, chip, notice,
43
+ empty-state, and focus contracts.
44
+ - The Change Set sheet and rail share one content anatomy.
45
+ - Client CSS is upserted by its owned `data-plugin-css` style tag, so a hot-reloaded bundle replaces stale CSS
46
+ without duplicating style tags.
47
+ - The Pane adds `diagnostics` as an explicit top-level route so the Diagnostics tab lands at the top rather
48
+ than a context-preview anchor.
49
+
50
+ ## Verification and evidence
51
+
52
+ - `npm run check`: 39 files / 492 tests PASS; token coverage PASS; `verify:ui-metrics -- --gate=final` PASS.
53
+ - Ten-version compatibility matrix PASS; exact artifact/package smoke, packed recovery, fresh Web profile,
54
+ Gateway acceptance, and final visual acceptance are release-workflow gates.
55
+ - Desktop and Web hot reload was exercised through profile dependency replacement: bundle in 824ms, CSS in
56
+ 402ms, final state in 886ms; three tabs and exactly one owned style tag remained, with no page exceptions.
57
+ - Local visual evidence is recorded under `.tmp/gui-acceptance/`; the release workflow attaches the exact
58
+ candidate evidence to the public GitHub Release.
59
+
60
+ ## Upgrade notes
61
+
62
+ - No record migration is required from `0.2.2`.
63
+ - The Pane's visual structure changed; bookmarks to removed section navigation should use the top tabs and the
64
+ stable section anchor behavior.
65
+ - Install exact version `0.3.0` for reproducible profiles; `latest`/`next` are moved by the promotion workflow
66
+ only after the exact candidate is verified.
@@ -4,8 +4,7 @@
4
4
  > **Version scope:** all release notes.
5
5
  > **Authority:** [version roadmap](../design/version-roadmap.md).
6
6
 
7
- The latest published release is [0.2.0](0.2.0.md). [0.2.1](0.2.1.md) is the current release candidate
8
- (local acceptance and promotion pending); [0.1.0-rc.6](0.1.0-rc.6.md) is the previous public release.
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.
9
8
 
10
9
  Published release history is summarized in [CHANGELOG.md](../../CHANGELOG.md) and remains available through the
11
10
  immutable Git tags and GitHub Releases. Older per-release note files were removed during the rc.5 documentation
package/docs/releasing.md CHANGED
@@ -10,14 +10,13 @@ This is the current release checklist. It replaces the older per-rc staging note
10
10
  Releases, and npm versions are immutable: never move a tag, delete a published release, or rebuild bytes after
11
11
  tagging.
12
12
 
13
- ## Current state (2026-11-06)
14
-
15
- - **Published:** `0.2.0` — npm `latest`/`next`, GitHub Release `v0.2.0`; exact artifact SHA-256
16
- `7bafffc24c18c9655d68a9a61017db54920839a159dfeeba0643337c3aae4286`.
17
- - **Release candidate:** `0.2.1` on a local development branch; no tag, GitHub Release, or npm publication yet.
18
- - **Previous release:** `0.1.0-rc.6` (recovery tag `v0.1.0-rc.6-republished`).
19
- - **Pending:** local acceptance, real browser/Desktop ABI, real-model compaction, 512-item performance, final
20
- artifact/SHA256SUMS, candidate and promotion workflows.
13
+ ## Current state (2026-11-13)
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`.
18
+ - **Earlier release:** `0.2.1`.
19
+ - **Post-release diagnostics:** real-model compaction and 512-item core performance both passed.
21
20
  - Do not manually publish or bypass the protected gates.
22
21
 
23
22
  ## 1. Prepare the source
@@ -9,14 +9,13 @@
9
9
  这是当前发布清单,取代早期按 rc 编写的暂存说明。已发布的 tag、GitHub Release 和 npm 版本不可变:不移动
10
10
  tag、不删除已发布 Release、不在打 tag 后重建字节。
11
11
 
12
- ## 当前状态(2026-11-06)
13
-
14
- - **已发布:** `0.2.0` — npm `latest`/`next`,GitHub Release `v0.2.0`;精确产物 SHA-256
15
- `7bafffc24c18c9655d68a9a61017db54920839a159dfeeba0643337c3aae4286`。
16
- - **发布候选:** `0.2.1` 在本地开发分支;尚未打 tag、发布 GitHub Release 或 npm。
17
- - **上一版本:** `0.1.0-rc.6`(recovery tag `v0.1.0-rc.6-republished`)。
18
- - **待完成:** 本地验收、真实浏览器/Desktop ABI、真实模型 compaction、512 条性能、最终
19
- artifact/SHA256SUMS、candidate 和 promotion workflow。
12
+ ## 当前状态(2026-11-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`。
17
+ - **更早版本:** `0.2.1`。
18
+ - **发布后诊断:** 真实模型 compaction 和 512 条 core 性能均已通过。
20
19
  - 不得手动 publish,也不得绕过受保护门禁。
21
20
 
22
21
  ## 1. 准备源码
@@ -3,8 +3,8 @@
3
3
  English | [中文](user-guide.zh.md)
4
4
 
5
5
  > **Status:** Active — current operating record.
6
- > **Version scope:** current development line.
7
- > **Baseline:** 2026-11-03
6
+ > **Version scope:** `0.2.2` released 2026-11-11.
7
+ > **Baseline:** 2026-11-11
8
8
 
9
9
  This guide is for installing and using the plugin. For design constraints see the
10
10
  [design specification](design/charter-design-v1.md); for version differences see the
@@ -13,7 +13,7 @@ This guide is for installing and using the plugin. For design constraints see th
13
13
  ## 1. Before installing
14
14
 
15
15
  ```bash
16
- dsh --version # >= 0.1.7-rc.2; 0.2.0-rc.1+ recommended
16
+ dsh --version # a compatibility-matrix version; 0.2.2-rc.2 recommended
17
17
  node --version # ^22.19.0 || >=24.0.0
18
18
  dsh --profile web --dump-config | grep -n "charter" || true
19
19
  ```
@@ -27,24 +27,23 @@ For a Web or Desktop profile the plugin registers:
27
27
 
28
28
  ## 2. Install
29
29
 
30
- > **Install channels.** The latest published release is `0.2.0` (npm `latest`/`next`), formally accepted. Its GitHub Release uses
31
- > recovery tag `v0.2.0-republished`; the canonical 0.2.0 tag/release remains pending restoration. Install the
32
- > published rc.6 exact version for normal use.
30
+ > **Install channels.** The latest published release is `0.2.2` (npm `latest`/`next`), with GitHub Release
31
+ > `v0.2.2`.
33
32
 
34
33
  ### 2.1 Requirements
35
34
 
36
35
  - DSH: only the versions listed in the [compatibility matrix](design/compatibility.md) are supported
37
- (`0.1.7-rc.2`, `0.2.0-rc.1`/`rc.2`, `0.2.1-rc.1`/`rc.2`/`rc.3`/`rc.4`/`0.2.0`, `0.2.2-rc.1`); newer stable/release versions are not
38
- claimed until the matrix is extended. `0.2.1+` is required for per-Peer Remote resource authorization. DSH
39
- `0.2.1-0.2.0` is supported by the published rc.6 artifact; the 0.2.0 artifact does not declare it.
36
+ (`0.1.7-rc.2`, `0.2.0-rc.1`/`rc.2`, `0.2.1-rc.1`/`rc.2`/`rc.3`/`rc.4`/`0.2.0`, `0.2.2-rc.1`/`0.2.2-rc.2`); newer stable/release versions are not
37
+ claimed until the matrix is extended. `0.2.1+` is required for per-Peer Remote resource authorization.
38
+
40
39
  - Node.js **`^22.19.0 || >=24.0.0`**.
41
40
  - A Web or Desktop profile.
42
41
 
43
42
  ### 2.2 Offline / local tarball fallback
44
43
 
45
44
  ```bash
46
- npm pack dsh-charter@0.2.0
47
- dsh plugin --profile web add ./dsh-charter-0.2.0.tgz
45
+ npm pack dsh-charter@0.2.1
46
+ dsh plugin --profile web add ./dsh-charter-0.2.1.tgz
48
47
  ```
49
48
 
50
49
  For Desktop, use the Plugins page if local import is available; otherwise install the tarball through the Desktop
@@ -54,12 +53,11 @@ dependency is a local `file:` path. Prefer npm install in §2.3 when the registr
54
53
  ### 2.3 npm / Registry install (recommended) — Web profile by version or tag
55
54
 
56
55
  ```bash
57
- dsh plugin --profile web add dsh-charter@0.2.0 # exact 0.2.0 release target
58
- dsh plugin --profile web add dsh-charter@next # currently 0.1.0-rc.6 until promotion
56
+ dsh plugin --profile web add dsh-charter@0.2.2 # latest published exact version
57
+ dsh plugin --profile web add ./dsh-charter-0.2.2.tgz # published tarball fallback
59
58
  ```
60
59
 
61
- The latest published release remains `0.1.0-rc.6` until the protected `0.2.0` promotion completes. Use the exact
62
- `0.2.0` target after promotion; before that, use the candidate tarball from the release PR. npm `next`/`latest` move
60
+ The latest published release is `0.2.2`. Use the exact `0.2.2` target. npm `next`/`latest` move
63
61
  together on a stable promotion (npm keeps a `latest` tag and the project chooses where it points; this is our policy,
64
62
  not an npm requirement). Use the offline tarball fallback only when the registry is unreachable or for
65
63
  candidate verification. Pin an explicit version for reproducible profiles.
@@ -69,7 +67,7 @@ dependency and bundle selection:
69
67
 
70
68
  ```json
71
69
  {
72
- "dependencies": { "dsh-charter": "0.2.0" },
70
+ "dependencies": { "dsh-charter": "0.2.2" },
73
71
  "dsh": { "profile": { "bundles": ["...", "dsh-charter"] } }
74
72
  }
75
73
  ```
@@ -212,6 +210,28 @@ Editing and history-draft extraction require the Session to be live in the curre
212
210
  Session upgrades the tab to editable. `charter.bootstrap` therefore returns `not-live` rather than reading
213
211
  another process's event log.
214
212
 
213
+ ### 3.7 Dependency graph
214
+
215
+ The Workspace dependency card has two synchronized parts:
216
+
217
+ - a graph area showing execution, candidate, and replacement-history lanes;
218
+ - a compact semantic list that remains the authoritative editing surface.
219
+
220
+ The graph is a lens, not a second store. Adding or removing a prerequisite in the graph stages the same
221
+ `deliverable.requires` Change Set operation as the list; **Apply** remains the only commit point.
222
+
223
+ Keyboard and fallback behavior:
224
+
225
+ - `Tab` enters the graph once; `↑/↓/←/→` move through dependency relations and `[`/`]` walk every visible node
226
+ and edge; `Enter` opens details and `Esc` closes details or returns toward the list.
227
+ - The skip link moves focus directly to the semantic list.
228
+ - With no dependency edges, a bounded grid of isolated nodes is shown with an “add a prerequisite” hint.
229
+ - If there are too many isolated nodes or navigable graph elements, the graph is hidden and the list remains.
230
+
231
+ When a Change Set introduces or worsens a dependency conflict, Review/Apply lists the affected deliverables and
232
+ requires a second confirmation before Apply. The graph displays the same conflict state; it does not auto-change
233
+ progress or lifecycle.
234
+
215
235
  ## 4. Configuration
216
236
 
217
237
  Defaults live in `cordis.patch.yml`. Override the same keys in the profile's `cordis.patch.yml`:
@@ -3,8 +3,8 @@
3
3
  [English](user-guide.md) | 中文
4
4
 
5
5
  > **状态:** Active — 当前操作记录。
6
- > **版本范围:** 当前开发线。
7
- > **基准:** 2026-11-03
6
+ > **版本范围:** `0.2.2`,2026-11-11 已发布。
7
+ > **基准:** 2026-11-11
8
8
 
9
9
  本文面向安装和使用插件的用户。设计约束见[设计规格](design/charter-design-v1.zh.md),版本差异见
10
10
  [兼容矩阵](design/compatibility.zh.md)。
@@ -12,7 +12,7 @@
12
12
  ## 1. 安装前检查
13
13
 
14
14
  ```bash
15
- dsh --version # 需要 >= 0.1.7-rc.2;推荐 0.2.0-rc.1+
15
+ dsh --version # 需要兼容矩阵中的版本;推荐 0.2.2-rc.2
16
16
  node --version # ^22.19.0 || >=24.0.0
17
17
  dsh --profile web --dump-config | grep -n "charter" || true
18
18
  ```
@@ -26,22 +26,21 @@ dsh --profile web --dump-config | grep -n "charter" || true
26
26
 
27
27
  ## 2. 安装
28
28
 
29
- > **安装渠道。** 最新已发布版本 是 `0.2.0`(npm `latest`/`next`),已正式验收。GitHub Release 使用
30
- > recovery tag `v0.2.0-republished`;0.2.0 的规范 GitHub tag/release 待恢复。普通使用请安装 rc.6。
29
+ > **安装渠道。** 最新已发布版本是 `0.2.2`(npm `latest`/`next`),GitHub Release `v0.2.2`。
31
30
 
32
31
  ### 2.1 环境要求
33
32
 
34
33
  - DSH:只支持[兼容矩阵](design/compatibility.zh.md)中列出的版本(`0.1.7-rc.2`、`0.2.0-rc.1`/`rc.2`、
35
- `0.2.1-rc.1`/`rc.2`/`rc.3`/`rc.4`/`0.2.0`、`0.2.2-rc.1`)。在扩展矩阵前不声明支持更新的 stable/release 版本;完整 per-Peer Remote
36
- 资源授权要求 `0.2.1+`。DSH `0.2.1-0.2.0` 由已发布 rc.6 产物支持;已发布 0.2.0 产物未声明该版本。
34
+ `0.2.1-rc.1`/`rc.2`/`rc.3`/`rc.4`/`0.2.0`、`0.2.2-rc.1`/`0.2.2-rc.2`)。在扩展矩阵前不声明支持更新的 stable/release 版本;完整 per-Peer Remote
35
+ 资源授权要求 `0.2.1+`。
37
36
  - Node.js **`^22.19.0 || >=24.0.0`**。
38
37
  - Web 或 Desktop profile。
39
38
 
40
39
  ### 2.2 离线 / 本地 tarball 回退
41
40
 
42
41
  ```bash
43
- npm pack dsh-charter@0.2.0
44
- dsh plugin --profile web add ./dsh-charter-0.2.0.tgz
42
+ npm pack dsh-charter@0.2.1
43
+ dsh plugin --profile web add ./dsh-charter-0.2.1.tgz
45
44
  ```
46
45
 
47
46
  Desktop 若支持本地插件导入,可在 Plugins 页面安装同一个 tarball;否则通过 Desktop profile 自己的包管理器
@@ -51,12 +50,11 @@ Desktop 若支持本地插件导入,可在 Plugins 页面安装同一个 tarba
51
50
  ### 2.3 npm / Registry 安装(推荐)— Web profile 按版本或 tag
52
51
 
53
52
  ```bash
54
- dsh plugin --profile web add dsh-charter@0.2.0 # 最新已发布版本:可复现
55
- dsh plugin --profile web add dsh-charter@next # 当前指向 0.2.0
53
+ dsh plugin --profile web add dsh-charter@0.2.2 # 最新已发布精确版本
54
+ dsh plugin --profile web add ./dsh-charter-0.2.2.tgz # 已发布 tarball 回退
56
55
  ```
57
56
 
58
- 受保护的 `0.2.0` promotion 完成前,npm 最新公开版本仍是 `0.1.0-rc.6`;完成后使用精确的 `0.2.0`。在此之前
59
- 请使用 release PR 提供的候选 tarball。stable promotion 会同时移动 npm `next`/`latest`(npm 保留 `latest` tag,
57
+ 最新公开版本是 `0.2.2`。请使用精确的 `0.2.2`。stable promotion 会同时移动 npm `next`/`latest`(npm 保留 `latest` tag,
60
58
  由项目决定其指向;这是我们的策略,不是 npm 的强制要求)。只有 registry 不可达或候选验证时才使用离线 tarball 回退。固定明确版本
61
59
  可以让 profile 可复现。
62
60
 
@@ -65,7 +63,7 @@ dsh plugin --profile web add dsh-charter@next # 当前指向 0.2.0
65
63
 
66
64
  ```json
67
65
  {
68
- "dependencies": { "dsh-charter": "0.2.0" },
66
+ "dependencies": { "dsh-charter": "0.2.2" },
69
67
  "dsh": { "profile": { "bundles": ["...", "dsh-charter"] } }
70
68
  }
71
69
  ```
@@ -194,6 +192,27 @@ Web 进程可以只读显示另一个进程中 live 的 Session 的已存会话
194
192
  进程 live;Session 重连后标签页升级为可编辑。因此 `charter.bootstrap` 返回 `not-live`,而不是读取另一个
195
193
  进程的事件日志。
196
194
 
195
+ ### 3.7 依赖关系图
196
+
197
+ Workspace 的依赖卡片包含两个同步部分:
198
+
199
+ - 图形区:执行车道、候选车道和替代历史车道;
200
+ - 紧凑语义列表:始终存在的权威编辑面。
201
+
202
+ 图是透镜,不是第二份存储。图上的添加/删除前置与列表一样只 stage 同一个 `deliverable.requires` Change Set
203
+ op;**Apply** 仍是唯一提交点。
204
+
205
+ 键盘与降级:
206
+
207
+ - `Tab` 只进入图形区一次;`↑/↓/←/→` 沿依赖关系移动,`[`/`]` 遍历所有可见节点与边;`Enter` 打开详情,
208
+ `Esc` 关闭详情或回到列表。
209
+ - skip link 可直接把焦点送到语义列表。
210
+ - 没有依赖边时显示有界孤立节点网格和“添加前置”提示。
211
+ - 孤立节点或可导航图元素过多时隐藏图形区,列表保持完整。
212
+
213
+ Change Set 引入或加重依赖冲突时,Review/Apply 会列出受影响交付物并要求二次确认;图形只显示同一冲突
214
+ 状态,不会自动修改 progress 或 lifecycle。
215
+
197
216
  ## 4. 配置
198
217
 
199
218
  默认值写在 `cordis.patch.yml`。在 profile 的 `cordis.patch.yml` 中覆盖同名项: