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
package/CHANGELOG.md CHANGED
@@ -5,7 +5,68 @@ English | [中文](CHANGELOG.zh.md)
5
5
  All notable changes to `dsh-charter` are recorded here. The project follows a pre-1.0 version line while the
6
6
  DSH plugin ABI is still moving.
7
7
 
8
- ## 0.2.1 — 2026-11-06 (release candidate)
8
+ ## 0.3.0 — 2026-11-13
9
+
10
+ Document-feel GUI release across Workspace, Review Center, and Diagnostics & Maintenance. No record-schema,
11
+ Remote-wire, or prompt-projection change.
12
+
13
+ ### Added
14
+
15
+ - Underline area tabs replace the left vertical navigation; wide screens use a 720px document column plus a
16
+ 280px Change Set rail, and narrow screens keep the modal sheet.
17
+ - Document rows with aligned D-number/byte metadata, quiet row actions, dashed empty rows, skeleton, and inline
18
+ notice; the Change Set rail is a quiet margin note with grouped ops and quiet unstage links.
19
+ - Px-geometry execution graph: fixed 184px nodes, three-layer anatomy, candidate/staged/active edges, static
20
+ legend, compact inspector, and state-aware disclosure label.
21
+ - Approved `v0.3.0` version chip in the Pane header.
22
+ - `charter_read standing` exposes stable deliverable ids for `charter_propose.requires`; `D<n>` labels are
23
+ display-only and invalid references fail explicitly.
24
+
25
+ ### Changed
26
+
27
+ - Review Center and Diagnostics share the same document typography, row, chip, notice, and focus contracts.
28
+ - Client CSS is upserted by its owned style tag so hot reload replaces stale CSS without duplicate tags.
29
+ - Diagnostics is an explicit top-level route instead of a context-preview anchor.
30
+
31
+ ### Verification
32
+
33
+ - `npm run check`: 39 files / **492 tests** PASS; ten-version token coverage PASS;
34
+ `verify:ui-metrics -- --gate=final` PASS.
35
+ - Ten-version compatibility matrix PASS; release-candidate workflow runs exact-artifact package/recovery,
36
+ fresh-profile and Gateway gates.
37
+
38
+ ## 0.2.2 — 2026-11-11
39
+
40
+ Dependency-graph workspace view and explicit dependency-conflict confirmation. No record-schema, Host, Remote,
41
+ or prompt-projection change.
42
+
43
+ ### Added
44
+
45
+ - Dependency graph in Workspace: a local ego view with execution, candidate, and replacement-history lanes,
46
+ synchronized with the semantic dependency list.
47
+ - Isolated contracts render a bounded grid of execution nodes with an explicit "add a prerequisite" hint.
48
+ - Graph and candidate-history keyboard traversal: one Tab stop, arrow keys, `[`/`]`, Enter, Escape, and a skip
49
+ link to the semantic list.
50
+ - Two-step Apply confirmation when a Change Set adds or worsens a dependency conflict; the affected deliverables
51
+ are listed in the Change Set panel.
52
+ - Compact per-row prerequisite editor and 50-row windowing for the dependency list.
53
+
54
+ ### Changed
55
+
56
+ - The dependency list is a compact summary plus a checkbox editor instead of a native multi-select; row counts
57
+ expose "item i of N" to assistive technology.
58
+ - Graph edits and list edits produce identical `deliverable.requires` operations.
59
+ - Dense views degrade in order: hide replacement history, reduce depth, then hide the graph with an explicit
60
+ reason.
61
+
62
+ ### Fixed
63
+
64
+ - Graph-to-list and graph-to-proposal focus paths expand the visible window before moving focus.
65
+ - Local prerequisite labels are shown instead of internal item ids.
66
+ - Dependency graph edge keys include the relation kind, so requires and supersedes records with the same
67
+ endpoints cannot collide.
68
+
69
+ ## 0.2.1 — 2026-11-06
9
70
 
10
71
  Post-`0.2.0` UI, diagnostics, and recovery-cache patch. No record-schema bump; existing `0.2.0` records remain
11
72
  readable.
package/CHANGELOG.zh.md CHANGED
@@ -4,7 +4,59 @@
4
4
 
5
5
  记录 `dsh-charter` 的重要变更。DSH 插件 ABI 仍在演进,项目保持 pre-1.0 版本线。
6
6
 
7
- ## 0.2.1 — 2026-11-06(发布候选)
7
+ ## 0.3.0 — 2026-11-13
8
+
9
+ Workspace、审阅中心、诊断与维护统一到文档感 GUI。不改变 record schema、Remote wire 或 prompt 投影。
10
+
11
+ ### 新增
12
+
13
+ - 顶部下划线 tabs 取代左侧纵向导航;宽屏为 720px 文档列 + 280px Change Set rail,窄屏保留 modal sheet。
14
+ - 文档行、D 编号/字节右对齐元信息、quiet 行动作、虚线空态、skeleton、单行 notice;Change Set rail 为安静
15
+ margin note,含分组 op 和 quiet 撤销。
16
+ - px 几何依赖图:固定 184px 节点、三层解剖、候选/暂存/生效边语言、静态 legend、紧凑 inspector 和随状态变化的
17
+ disclosure 文案。
18
+ - Pane 页头保留已批准的 `v0.3.0` 版本 chip。
19
+ - `charter_read standing` 返回交付物稳定 id,供 `charter_propose.requires` 使用;`D<n>` 明确只是展示标签,
20
+ 非法引用显式失败。
21
+
22
+ ### 变更
23
+
24
+ - 审阅中心、诊断与维护共用同一文档字号、行、chip、notice 与焦点合同。
25
+ - client CSS 按归属 style tag upsert,热更新替换旧样式且不产生重复标签。
26
+ - Diagnostics 作为显式顶层路由,不再落到 context-preview 锚点。
27
+
28
+ ### 验证
29
+
30
+ - `npm run check`:39 文件 / **492 测试** PASS;十版本 token 覆盖 PASS;
31
+ `verify:ui-metrics -- --gate=final` PASS。
32
+ - 十版本兼容矩阵 PASS;release-candidate workflow 执行 exact-artifact package/recovery、fresh profile 和
33
+ Gateway 门禁。
34
+
35
+ ## 0.2.2 — 2026-11-11
36
+
37
+ 依赖关系图形视图与显式依赖冲突确认。不改变 record schema、Host、Remote 或 prompt 投影。
38
+
39
+ ### 新增
40
+
41
+ - Workspace 依赖关系图:局部 ego 视图,含执行、候选和替代历史车道,与语义依赖列表同步。
42
+ - 无边契约显示有界孤立节点网格,并提示可以直接拖拽或编辑前置。
43
+ - 图形与候选/历史车道键盘遍历:单 Tab 停靠、方向键、`[`/`]`、Enter、Escape,以及跳到语义列表的 skip link。
44
+ - Change Set 引入或加重依赖冲突时,Apply 需要两步确认;Change Set 面板列出受影响交付物。
45
+ - 每行前置编辑改为紧凑 checkbox 编辑器,依赖列表默认窗口化为 50 行。
46
+
47
+ ### 变更
48
+
49
+ - 依赖列表改为摘要 + checkbox 编辑器,不再使用原生 multi-select;行号同时提供“第 i 条,共 N 条”的辅助技术文本。
50
+ - 图与列表的编辑产生完全相同的 `deliverable.requires` ops。
51
+ - 过密视图按顺序降级:隐藏替代历史 → 降低深度 → 隐藏图形并给出明确原因。
52
+
53
+ ### 修复
54
+
55
+ - 图→列表、图→提案的焦点路径会先扩展可见窗口,再送达焦点。
56
+ - 前置摘要使用局部 key,不再显示内部 item id。
57
+ - 图形边 key 包含关系类型,避免同一对端点的 requires 与 supersedes 键冲突。
58
+
59
+ ## 0.2.1 — 2026-11-06
8
60
 
9
61
  `0.2.0` 之后的 UI、诊断和恢复缓存补丁。不改变 record schema;已有 `0.2.0` 记录保持可读。
10
62
 
package/README.md CHANGED
@@ -2,9 +2,9 @@
2
2
 
3
3
  [![License: MIT](https://img.shields.io/badge/license-MIT-blue.svg)](LICENSE)
4
4
  [![GitHub](https://img.shields.io/badge/GitHub-centella--cream%2Fdsh--charter-181717?logo=github)](https://github.com/centella-cream/dsh-charter)
5
- [![DSH](https://img.shields.io/badge/DSH-9%20verified%20versions-4b6bfb)](docs/design/compatibility.md)
5
+ [![DSH](https://img.shields.io/badge/DSH-10%20verified%20versions-4b6bfb)](docs/design/compatibility.md)
6
6
  [![Node](https://img.shields.io/badge/node-%5E22.19%20%7C%7C%20%3E%3D24-339933)](package.json)
7
- [![Status: 0.2.1 candidate](https://img.shields.io/badge/status-0.2.1%20candidate-orange)](#status)
7
+ [![Status: 0.3.0](https://img.shields.io/badge/status-0.3.0-brightgreen)](#status)
8
8
 
9
9
  English | [中文](README.zh.md)
10
10
 
@@ -14,17 +14,22 @@ English | [中文](README.zh.md)
14
14
  [DeepSeek Harness](https://github.com/deepseek-ai/deepseek-harness). Goals, hard constraints,
15
15
  deliverables, evidence, and dependency relationships survive compaction and remain visible and editable.
16
16
 
17
- ![Charter tab in the current 0.2.1 build](docs/assets/charter-pane.zh.png)
17
+ ![Charter Pane in the 0.3.0 document-feel layout](docs/assets/charter-pane-0.3.0.png)
18
18
 
19
- > The current **0.2.1** Pane in a local Web profile. UI strings follow the active DSH language; this image uses
20
- > demo values so no private Session content is published.
19
+ > The **0.3.0** Pane in a local Web profile: underline area tabs, a 720px document column, aligned document
20
+ > rows, and a compact execution-path disclosure. Screenshot uses synthetic demo values only.
21
+
22
+ ![Dependency graph in the 0.3.0 Pane](docs/assets/charter-graph-0.3.0.zh.png)
23
+
24
+ > The execution-path dependency graph: fixed-px nodes, three-layer node anatomy, status language, and a static
25
+ > edge legend. The semantic list remains the authoritative surface.
21
26
 
22
27
  ## Contents
23
28
 
24
29
  - [Status](#status)
25
30
  - [Why](#why)
26
- - [0.2 headline: constraint relationships](#02-headline-constraint-relationships)
27
- - [Other 0.2 capabilities](#other-02-capabilities)
31
+ - [0.3 headline: document-feel Pane](#03-headline-document-feel-pane)
32
+ - [Other 0.3 capabilities](#other-03-capabilities)
28
33
  - [How it works](#how-it-works)
29
34
  - [Install](#install)
30
35
  - [Quick start](#quick-start)
@@ -39,22 +44,39 @@ deliverables, evidence, and dependency relationships survive compaction and rema
39
44
 
40
45
  ## Status
41
46
 
42
- - **Published release:** `0.2.0` — npm `latest` and `next`, GitHub Release `v0.2.0`.
43
- - **Release candidate:** `0.2.1` — post-`0.2.0` UI, diagnostics, and recovery-cache patch; local acceptance and
44
- promotion are still pending, so do not install it from npm yet.
45
- - **Previous release:** `0.1.0-rc.6`.
46
- - **Primary DSH baseline:** `0.2.2-rc.1`; nine declared DSH versions are source-matrix verified.
47
- - Versioning from `0.2.0` onward uses plain increments (`0.2.0`, `0.2.1`, …), never an `rc` suffix.
48
-
49
- ### 0.2.1 highlights
50
-
51
- - Message proposals now prefill an **editable body** from the selected user message; the old character-range
52
- inputs are gone.
53
- - Diagnostics separates fact validation from evidence integrity, and both forms explain the target and check
54
- being run.
55
- - Recovery restores from a Host-maintained cache (five per Session, 25 per profile) without requiring a
56
- downloaded file; export stays a separate operation for analysis and backup.
57
- - The Pane header and form typography follow the lighter `dsh-context` hierarchy.
47
+ - **Current release:** `0.3.0` — the GUI redesign release. It ships the frozen document-feel Pane across
48
+ Workspace, Review Center, and Diagnostics; the dependency graph; the bounded DSH compatibility declaration;
49
+ and the Host tool fix that exposes deliverable ids to `charter_propose.requires`.
50
+ - **Previous release:** `0.2.2` — dependency-graph workspace view, compact dependency list, and explicit
51
+ dependency-conflict confirmation.
52
+ - **Earlier release:** `0.2.1`; **primary DSH baseline:** `0.2.2-rc.2`; ten declared DSH versions are
53
+ source-matrix verified.
54
+ - Versioning from `0.2.0` onward uses plain increments (`0.2.0`, `0.2.1`, `0.2.2`, `0.3.0`), never an `rc`
55
+ suffix.
56
+
57
+ ### 0.3 headline: document-feel Pane
58
+
59
+ - **One document, not a dashboard.** Workspace, Review Center, and Diagnostics share the same reading column,
60
+ type scale, row anatomy, chips, quiet links, and empty/skeleton states.
61
+ - **Underline area tabs, no left rail.** All widths use the top underline tabs; wide screens add a 720px
62
+ document column plus a 280px Change Set rail only while a Change Set is open.
63
+ - **Rows align.** Each row is `[status dot | text | right-aligned D-number and bytes]`; byte metadata and the
64
+ D-number share the text baseline. Row-level actions are quiet links, not a second button bar.
65
+ - **Staged changes speak one language.** A staged row uses a 2px business inset, a 5% tint, and a “Staged”
66
+ chip; the Change Set rail is a quiet margin note, not another card stack.
67
+ - **The graph is a real view, not a second authority.** The execution-path disclosure renders a px-geometry
68
+ graph with fixed 184px nodes, two-line truncation, status anatomy, edge states, and a compact inspector; the
69
+ semantic list remains authoritative.
70
+ - **Version visible.** The Pane header carries the approved `v0.3.0` chip, revision, and prompt meter together.
71
+
72
+ ### Other 0.3 capabilities
73
+
74
+ - DSH `0.2.2-rc.2` declarations plus a bounded `engines.dsh` 0.2-line range; exact `dshReleases`/peer list
75
+ remains the ten-version matrix-verified support set.
76
+ - `charter_read standing` now exposes stable deliverable ids so the model can propose real `requires`
77
+ references; `D<n>` labels are documented as display-only, and invalid references fail explicitly.
78
+ - Desktop and Web plugin bundles hot-reload through the Host profile recomposition/client HMR path; CSS is
79
+ upserted by its owned style tag so a rebuilt stylesheet replaces the old one without duplicate tags.
58
80
 
59
81
  ## Why
60
82
 
@@ -104,14 +126,19 @@ Migration (D2) ───────┴──> Release (D3)
104
126
  - **Derived readiness.** Readiness is computed from acceptance, lifecycle, prerequisite readiness, and progress:
105
127
  `ready`, `waiting`, `blocked`, `dependency-conflict`, `in-progress`, or `terminal`. No stale duplicate status
106
128
  is stored.
107
- - **Visible and editable.** Workspace shows a dependency plan with prerequisite selectors and status. An invalid
108
- graph is surfaced instead of breaking the Pane, and Apply is disabled while the plan is inconsistent.
129
+ - **Visible and editable.** Workspace shows the dependency graph and a compact semantic list with prerequisite
130
+ editing and readiness status. An invalid graph is surfaced instead of breaking the Pane, and Apply is disabled
131
+ while the plan is inconsistent.
109
132
  - **Lifecycle-safe.** Archive, restore, supersede, fork, and proposal acceptance validate or remap the graph.
110
133
  `proposedRequires` lets a pending deliverable reference candidates that become formal requirements on
111
134
  acceptance.
112
135
  - **Bounded.** The relation set stays inside the same record and prompt budgets; there is no second graph
113
136
  authority.
114
137
 
138
+ - **Graph lens.** The graph is a local, ego-scoped view with a candidate lane and replacement-history lane. It
139
+ never becomes a second authority: graph edits stage the same Change Set ops as the list. With no dependency
140
+ edges, a bounded isolated-node grid plus an explicit “add a prerequisite” hint keeps the graph discoverable.
141
+
115
142
  Dependencies are a user-authored **execution constraint**, not an enforced sandbox or permission system.
116
143
 
117
144
  ## Other 0.2 capabilities
@@ -155,18 +182,17 @@ storage.
155
182
 
156
183
  ## Install
157
184
 
158
- The latest public release is `0.2.0`. The `0.2.1` candidate is not on npm yet. Install the published exact
159
- version for a reproducible profile:
185
+ The latest public release is `0.3.0`. Install the exact version for a reproducible profile:
160
186
 
161
187
  ```bash
162
- dsh plugin --profile web add dsh-charter@0.2.0
188
+ dsh plugin --profile web add dsh-charter@0.3.0
163
189
  ```
164
190
 
165
191
  For air-gapped machines or exact-artifact verification, install the published tarball:
166
192
 
167
193
  ```bash
168
- npm pack dsh-charter@0.2.0
169
- dsh plugin --profile web add ./dsh-charter-0.2.0.tgz
194
+ npm pack dsh-charter@0.3.0
195
+ dsh plugin --profile web add ./dsh-charter-0.3.0.tgz
170
196
  ```
171
197
 
172
198
  For Desktop, use **Desktop → Plugins → Install/Update**, or import the same local tarball if your Desktop build
@@ -203,8 +229,8 @@ A Session that is not live in the current Host process is shown read-only; start
203
229
 
204
230
  ## The Charter tab
205
231
 
206
- The Pane opens from the Session view. On wide screens it uses a left section navigation; on narrow screens it
207
- uses a horizontal tab strip.
232
+ The Pane opens from the Session view. All widths use the top underline area tabs; wide screens keep the
233
+ document column at 720px and open the Change Set as a 280px right-side margin note only when needed.
208
234
 
209
235
  | Area | Purpose |
210
236
  | --- | --- |
@@ -254,9 +280,14 @@ The only model-visible capacity is `maxPromptBytes`; `maxItems` and `maxPendingI
254
280
  | `0.1.7-rc.2` | Supported (minimum) |
255
281
  | `0.2.0-rc.1` / `0.2.0-rc.2` | Supported |
256
282
  | `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` | Supported |
257
- | `0.2.2-rc.1` | Supported (primary baseline) |
283
+ | `0.2.2-rc.1` / `0.2.2-rc.2` | Supported (primary baseline: `0.2.2-rc.2`) |
258
284
  | `0.3.x` | Not declared until verified |
259
285
 
286
+ `engines.dsh` uses a bounded 0.2-line range (`0.1.7-rc.2 || >=0.2.0-rc.1 <0.3.0-0`), evaluated with
287
+ prereleases by DSH's gate, so future 0.2.x prerelease updates do not require a plugin rebuild; the exact
288
+ `dshReleases`/peer list above remains the matrix-verified support set. Please report any 0.2.x update that
289
+ actually breaks the Pane.
290
+
260
291
  "Supported" means typecheck, build, tests, and Remote/client smoke for that version, plus the profile gates
261
292
  recorded in the [compatibility matrix](docs/design/compatibility.md). `0.1.7` and `0.2.0` have no per-Peer Remote
262
293
  resource authorization; use them only in a trusted single-operator environment.
package/README.zh.md CHANGED
@@ -2,9 +2,9 @@
2
2
 
3
3
  [![License: MIT](https://img.shields.io/badge/license-MIT-blue.svg)](LICENSE)
4
4
  [![GitHub](https://img.shields.io/badge/GitHub-centella--cream%2Fdsh--charter-181717?logo=github)](https://github.com/centella-cream/dsh-charter)
5
- [![DSH](https://img.shields.io/badge/DSH-9%20verified%20versions-4b6bfb)](docs/design/compatibility.zh.md)
5
+ [![DSH](https://img.shields.io/badge/DSH-10%20verified%20versions-4b6bfb)](docs/design/compatibility.zh.md)
6
6
  [![Node](https://img.shields.io/badge/node-%5E22.19%20%7C%7C%20%3E%3D24-339933)](package.json)
7
- [![Status: 0.2.1 candidate](https://img.shields.io/badge/status-0.2.1%20candidate-orange)](#状态)
7
+ [![Status: 0.3.0](https://img.shields.io/badge/status-0.3.0-brightgreen)](#状态)
8
8
 
9
9
  [English](README.md) | 中文
10
10
 
@@ -13,17 +13,21 @@
13
13
  `dsh-charter` 是 [DeepSeek Harness](https://github.com/deepseek-ai/deepseek-harness) 的持久化、用户所有的
14
14
  会话契约插件。目标、硬约束、交付物、证据和依赖关系在上下文压缩后仍然保留,并且始终可查看、可编辑。
15
15
 
16
- ![当前 0.2.1 构建中的会话契约页](docs/assets/charter-pane.zh.png)
16
+ ![0.3.0 文档感布局中的会话契约页](docs/assets/charter-pane-0.3.0.zh.png)
17
17
 
18
- > 这是本地 Web profile 中当前 **0.2.1** Pane 的界面。UI 文案跟随 DSH 当前语言;截图使用演示数据,不发布
19
- > 任何私人 Session 内容。
18
+ > 本地 Web profile 中 **0.3.0** Pane:顶部下划线 tabs、720px 文档列、对齐的文档行和可折叠执行路径。
19
+ > 截图仅使用合成演示数据。
20
+
21
+ ![0.3.0 Pane 中的依赖关系图](docs/assets/charter-graph-0.3.0.zh.png)
22
+
23
+ > 执行路径中的依赖关系图:固定 px 节点、三层节点解剖、状态语言和静态边 legend;语义列表始终是权威操作面。
20
24
 
21
25
  ## 目录
22
26
 
23
27
  - [状态](#状态)
24
28
  - [为什么需要](#为什么需要)
25
- - [0.2 核心亮点:约束关系](#02-核心亮点约束关系)
26
- - [其他 0.2 能力](#其他-02-能力)
29
+ - [0.3 核心亮点:文档感 Pane](#03-核心亮点文档感-pane)
30
+ - [其他 0.3 能力](#其他-03-能力)
27
31
  - [工作原理](#工作原理)
28
32
  - [安装](#安装)
29
33
  - [快速开始](#快速开始)
@@ -38,20 +42,34 @@
38
42
 
39
43
  ## 状态
40
44
 
41
- - **已发布版本:**`0.2.0` — npm `latest` 和 `next`,GitHub Release `v0.2.0`。
42
- - **发布候选:**`0.2.1` — `0.2.0` 之后的 UI、诊断和恢复缓存补丁;本地验收与 promotion 尚未完成,暂不要从
43
- npm 安装。
44
- - **上一版本:**`0.1.0-rc.6`。
45
- - **主要 DSH 基线:**`0.2.2-rc.1`;九个声明版本通过源码矩阵验证。
46
- - 从 `0.2.0` 起版本号使用普通递增(`0.2.0`、`0.2.1`…),不再使用 `rc` 后缀。
47
-
48
- ### 0.2.1 重点变化
49
-
50
- - 消息提案会从所选用户消息预填**可编辑正文**;原来的字符范围输入已移除。
51
- - 诊断区把事实有效性验证和证据完整性拆开,两处都说明验证对象和检查内容。
52
- - 恢复改为从 Host 维护的缓存选择快照(每 Session 5 份、整个 profile 25 份),不再要求先下载文件;
53
- 导出仍是独立的分析与备份操作。
54
- - Pane 页头和表单排版对齐更轻量的 `dsh-context` 层级。
45
+ - **当前版本:**`0.3.0` — GUI 重构版本。Workspace、Review Center、Diagnostics & Maintenance 统一到冻结的
46
+ 文档感 Pane;包含依赖关系图、有界 DSH 兼容声明,以及让 `charter_propose.requires` 可用交付物 id 的
47
+ Host 工具修复。
48
+ - **上一版本:**`0.2.2` — 依赖关系图形视图、紧凑依赖列表和依赖冲突二次确认。
49
+ - **更早版本:**`0.2.1`;**主要 DSH 基线:**`0.2.2-rc.2`;十个声明版本通过源码矩阵验证。
50
+ - 从 `0.2.0` 起版本号使用普通递增(`0.2.0`、`0.2.1`、`0.2.2`、`0.3.0`),不再使用 `rc` 后缀。
51
+
52
+ ### 0.3 核心亮点:文档感 Pane
53
+
54
+ - **一份文档,不是仪表盘。** Workspace、审阅中心和诊断与维护共用同一阅读列、字号阶、行解剖、chip、
55
+ quiet link 与空态/skeleton。
56
+ - **顶部下划线 tabs,无左侧纵向导航。** 所有宽度使用顶部 tabs;宽屏只在有 Change Set 时增加
57
+ 720px 文档列 + 280px Change Set rail。
58
+ - **行对齐。** 每行是 `[状态圆点 | 正文 | 右对齐 D 编号与字节数]`;字节元信息、D 编号与正文首行共用
59
+ 20px 行盒基线。行级轻动作用 quiet link,不额外堆按钮。
60
+ - **暂存语言统一。** 暂存行使用 2px business 内嵌强调条、5% 底色和“已暂存”chip;Change Set rail 是安静的
61
+ margin note,不再套一层卡片。
62
+ - **依赖图是增强视图,不是第二权威。** 执行路径 disclosure 内是 px 几何依赖图:固定 184px 节点、两行截断、
63
+ 状态解剖、边状态和紧凑 inspector;语义列表始终是权威操作面。
64
+ - **版本可见。** Pane 页头同时显示已批准的 `v0.3.0` chip、revision 和 prompt meter。
65
+
66
+ ### 其他 0.3 能力
67
+
68
+ - DSH `0.2.2-rc.2` 声明与有界 `engines.dsh` 0.2 线范围;精确 `dshReleases`/peer 列表仍是十版本矩阵已验证支持集。
69
+ - `charter_read standing` 现在返回交付物稳定 id,模型可以提出真实 `requires` 引用;`D<n>` 明确只是展示标签,
70
+ 非法引用显式失败。
71
+ - Desktop/Web 插件通过 Host profile 重组 + client HMR 热更新;CSS 按归属 style tag upsert,重载后替换旧样式,
72
+ 不产生重复标签。
55
73
 
56
74
  ## 为什么需要
57
75
 
@@ -92,7 +110,7 @@ deliverable 的**前置约束**,而这些关系会进入存储契约、校验
92
110
  在前、依赖在后的顺序渲染,模型因此知道哪些承诺可以执行、必须先完成什么。
93
111
  - **派生 readiness。**readiness 由 acceptance、lifecycle、前置 readiness 和 progress 派生:`ready`、
94
112
  `waiting`、`blocked`、`dependency-conflict`、`in-progress` 或 `terminal`,不保存容易过期的重复状态。
95
- - **可见、可编辑。**Workspace 展示依赖计划和前置选择器;非法图会显示冲突提示而不是拖垮 Pane,图不一致
113
+ - **可见、可编辑。**Workspace 同时展示依赖图和紧凑语义列表,支持前置编辑与就绪状态;非法图会显示冲突提示而不是拖垮 Pane,图不一致
96
114
  时禁用 Apply。
97
115
  - **生命周期安全。**archive、restore、supersede、fork 和 proposal acceptance 都会校验或重映射关系;
98
116
  `proposedRequires` 让 pending deliverable 引用候选前置条件,接受时解析为正式 requires。
@@ -140,17 +158,17 @@ compaction summary 返回只读草案,不写 storage。
140
158
 
141
159
  ## 安装
142
160
 
143
- 当前公开版本是 `0.2.0`;`0.2.1` 候选尚未发布到 npm。可复现 profile 请先安装已发布的精确版本:
161
+ 当前公开版本是 `0.3.0`。可复现 profile 请安装精确版本:
144
162
 
145
163
  ```bash
146
- dsh plugin --profile web add dsh-charter@0.2.0
164
+ dsh plugin --profile web add dsh-charter@0.3.0
147
165
  ```
148
166
 
149
167
  离线机器或需要精确验证 artifact 时,安装已发布 tarball:
150
168
 
151
169
  ```bash
152
- npm pack dsh-charter@0.2.0
153
- dsh plugin --profile web add ./dsh-charter-0.2.0.tgz
170
+ npm pack dsh-charter@0.3.0
171
+ dsh plugin --profile web add ./dsh-charter-0.3.0.tgz
154
172
  ```
155
173
 
156
174
  Desktop 请使用 **Desktop → Plugins → Install/Update**;若 Desktop 构建支持本地插件导入,也可导入同一
@@ -235,9 +253,13 @@ active-count 失败。
235
253
  | `0.1.7-rc.2` | 支持(最低版本) |
236
254
  | `0.2.0-rc.1` / `0.2.0-rc.2` | 支持 |
237
255
  | `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` | 支持 |
238
- | `0.2.2-rc.1` | 支持(主基线) |
256
+ | `0.2.2-rc.1` / `0.2.2-rc.2` | 支持(主基线:`0.2.2-rc.2`) |
239
257
  | `0.3.x` | 验证前不声明 |
240
258
 
259
+ `engines.dsh` 使用有界的 0.2 线范围(`0.1.7-rc.2 || >=0.2.0-rc.1 <0.3.0-0`),DSH gate 会按 prerelease
260
+ 语义求值,因此未来的 0.2.x prerelease 更新无需插件重新发版;上方精确的 `dshReleases`/peer 列表仍是矩阵已验证
261
+ 支持集。若某个 0.2.x 更新确实破坏 Pane,请报告。
262
+
241
263
  “支持”表示该版本通过 typecheck、build、测试和 Remote/client smoke,并具备[兼容矩阵](docs/design/compatibility.zh.md)
242
264
  中记录的 profile 证据。`0.1.7` / `0.2.0` 没有 per-Peer Remote resource authorization,仅应在可信单操作者
243
265
  环境中使用。
package/docs/README.md CHANGED
@@ -9,6 +9,7 @@ Every design/plan/review document starts with a status block using exactly these
9
9
 
10
10
  | Status | Meaning |
11
11
  | --- | --- |
12
+ | `Proposed` | A design proposal that is **not implemented and not authoritative**. It records an option under consideration; it never describes existing behaviour and must not be cited as the current contract. Entering scope requires a roadmap decision first. |
12
13
  | `Active` | Current authority or current operating guide; kept up to date. |
13
14
  | `Implemented — pending release acceptance` | Source implementation exists and passes source gates, but the release/manual gates are not complete. |
14
15
  | `Historical` | Frozen record of a completed or abandoned decision; read-only and not current guidance. |
@@ -20,7 +21,7 @@ A status block has this shape:
20
21
 
21
22
  ```text
22
23
  > **Status:** Active
23
- > **Version scope:** 0.2.1
24
+ > **Version scope:** 0.2.2
24
25
  > **Baseline:** 2026-11-06
25
26
  > **Authority:** docs/design/version-roadmap.zh.md
26
27
  > **Supersedes / Superseded by:** none / <path or none>
@@ -49,7 +50,9 @@ same commit. Do not delete a historical decision just because it is inactive; mo
49
50
  | Document | Status | Version scope | Notes |
50
51
  | --- | --- | --- | --- |
51
52
  | [design/charter-design-v1.md](design/charter-design-v1.md) | Active | 0.1 core; invariants apply to 0.2 | Core Charter invariants and v1 product baseline. |
52
- | [design/charter-workspace-v2.zh.md](design/charter-workspace-v2.zh.md) | Implemented — pending release acceptance | 0.2.0 | Workspace, proposal timeline, dependencies; topic-scoped. |
53
+ | [design/charter-workspace-v2.zh.md](design/charter-workspace-v2.zh.md) | Active | 0.2.0 / 0.3.0 | Workspace, proposal timeline, dependencies; topic-scoped. |
54
+ | [design/charter-dependency-graph-v1.zh.md](design/charter-dependency-graph-v1.zh.md) | Active | 0.2.2 | Client-side dependency graph view. Source implementation lands on the 0.2.2 line; real browser/AT and W0-1/2/3 gate evidence remains pending. |
55
+ | [design/charter-gui-v1.zh.md](design/charter-gui-v1.zh.md) | Active | 0.3.0 | All-section GUI refactor: design system, IA/routing, Change Set contract, Pane/store split, evidence gates. Frozen visual language (document-feel): [design/mockups/](design/mockups/README.md). |
53
56
  | [design/version-roadmap.md](design/version-roadmap.md) | Active | whole line | Scope/version authority; Chinese is normative. |
54
57
  | [design/compatibility.md](design/compatibility.md) | Active | declared DSH versions | Compatibility claims and matrix. |
55
58
  | [history/2026-10-19-charter-design-v1-review.md](history/2026-10-19-charter-design-v1-review.md) | Historical | 0.1 | Frozen v1 design review. |
@@ -61,7 +64,8 @@ same commit. Do not delete a historical decision just because it is inactive; mo
61
64
  | [release-notes/0.1.0-rc.5.md](release-notes/0.1.0-rc.5.md) | Historical | 0.1.0-rc.5 | Published npm release note. |
62
65
  | [release-notes/0.1.0-rc.6.md](release-notes/0.1.0-rc.6.md) | Historical | 0.1.0-rc.6 | Published/accepted release note. |
63
66
  | [release-notes/0.2.0.md](release-notes/0.2.0.md) | Historical | 0.2.0 | Published npm release and GitHub Release. |
64
- | [release-notes/0.2.1.md](release-notes/0.2.1.md) | Release candidate | 0.2.1 | Local acceptance and promotion pending. |
67
+ | [release-notes/0.2.2.md](release-notes/0.2.2.md) | Historical | 0.2.2 | Published npm release and GitHub Release; dependency graph and conflict confirmation. |
68
+ | [release-notes/0.2.1.md](release-notes/0.2.1.md) | Historical | 0.2.1 | Published npm release and GitHub Release. |
65
69
 
66
70
  ## Maintenance rules
67
71
 
package/docs/README.zh.md CHANGED
@@ -8,6 +8,7 @@
8
8
 
9
9
  | 状态 | 含义 |
10
10
  | --- | --- |
11
+ | `Proposed` | 设计提案:**未实现、非权威**;记录待选项,不得作为当前行为引用。进入版本范围前需先修订版本路线。 |
11
12
  | `Active` | 当前权威或当前操作指南,持续维护。 |
12
13
  | `Implemented — pending release acceptance` | 源码实现已存在并通过源码门禁,但发布/人工门禁尚未完成。 |
13
14
  | `Historical` | 已完成或已放弃决策的冻结记录;只读,不作为当前指导。 |
@@ -19,7 +20,7 @@
19
20
 
20
21
  ```text
21
22
  > **Status:** Active
22
- > **Version scope:** 0.2.1
23
+ > **Version scope:** 0.2.2
23
24
  > **Baseline:** 2026-11-06
24
25
  > **Authority:** docs/design/version-roadmap.zh.md
25
26
  > **Supersedes / Superseded by:** none / <路径或 none>
@@ -47,7 +48,9 @@
47
48
  | 文档 | 状态 | 版本范围 | 说明 |
48
49
  | --- | --- | --- | --- |
49
50
  | [design/charter-design-v1.md](design/charter-design-v1.md) | Active | 0.1 核心;不变量适用于 0.2 | Charter 核心不变量与 v1 产品基线。 |
50
- | [design/charter-workspace-v2.zh.md](design/charter-workspace-v2.zh.md) | Implemented — pending release acceptance | 0.2.0 | 工作区、提案时间线、依赖;专题范围。 |
51
+ | [design/charter-workspace-v2.zh.md](design/charter-workspace-v2.zh.md) | Active | 0.2.0 / 0.3.0 | 工作区、提案时间线、依赖;专题范围。 |
52
+ | [design/charter-dependency-graph-v1.zh.md](design/charter-dependency-graph-v1.zh.md) | Active | 0.2.2 | 客户端依赖关系图形视图;源码已在 0.2.2 落地,真实浏览器/AT 与 W0-1/2/3 门禁证据仍待完成。 |
53
+ | [design/charter-gui-v1.zh.md](design/charter-gui-v1.zh.md) | Active | 0.3.0 | 全栏目 GUI 全面重构:设计系统、IA/路由、Change Set 合同、Pane/store 拆分、证据门禁;视觉语言已冻结(文档感):[design/mockups/](design/mockups/README.md)。 |
51
54
  | [design/version-roadmap.md](design/version-roadmap.md) | Active | 全版本线 | 范围与版本权威;中文为 normative。 |
52
55
  | [design/compatibility.md](design/compatibility.md) | Active | 已声明 DSH 版本 | 兼容声明与矩阵。 |
53
56
  | [history/2026-10-19-charter-design-v1-review.md](history/2026-10-19-charter-design-v1-review.md) | Historical | 0.1 | 冻结的 v1 设计评审。 |
@@ -59,7 +62,8 @@
59
62
  | [release-notes/0.1.0-rc.5.md](release-notes/0.1.0-rc.5.md) | Historical | 0.1.0-rc.5 | 已发布 npm 版本的发布说明。 |
60
63
  | [release-notes/0.1.0-rc.6.md](release-notes/0.1.0-rc.6.md) | Historical | 0.1.0-rc.6 | 已发布并验收的发布说明。 |
61
64
  | [release-notes/0.2.0.md](release-notes/0.2.0.md) | Historical | 0.2.0 | 已发布 npm 版本和 GitHub Release。 |
62
- | [release-notes/0.2.1.md](release-notes/0.2.1.md) | Release candidate | 0.2.1 | 本地验收与 promotion 待完成。 |
65
+ | [release-notes/0.2.2.md](release-notes/0.2.2.md) | Historical | 0.2.2 | 已发布 npm 版本和 GitHub Release;依赖图与冲突二次确认。 |
66
+ | [release-notes/0.2.1.md](release-notes/0.2.1.md) | Historical | 0.2.1 | 已发布 npm 版本和 GitHub Release。 |
63
67
 
64
68
  ## 维护规则
65
69
 
Binary file