dsh-charter 0.2.2 → 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 (55) hide show
  1. package/CHANGELOG.md +31 -1
  2. package/CHANGELOG.zh.md +29 -1
  3. package/README.md +58 -43
  4. package/README.zh.md +49 -37
  5. package/docs/README.md +5 -4
  6. package/docs/README.zh.md +6 -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/design/charter-design-v1.md +2 -2
  11. package/docs/design/charter-design-v1.zh.md +2 -2
  12. package/docs/design/charter-gui-v1.zh.md +868 -0
  13. package/docs/design/charter-workspace-v2.zh.md +13 -1
  14. package/docs/design/compatibility.md +22 -6
  15. package/docs/design/compatibility.zh.md +21 -6
  16. package/docs/design/mockups/README.md +29 -0
  17. package/docs/design/mockups/mockup-graph.html +152 -0
  18. package/docs/design/mockups/mockup-home-clean.html +146 -0
  19. package/docs/design/mockups/mockup-home-dirty.html +191 -0
  20. package/docs/design/mockups/mockup.css +425 -0
  21. package/docs/design/mockups/style-tile.html +146 -0
  22. package/docs/design/mockups/tokens.css +670 -0
  23. package/docs/design/version-roadmap.md +28 -10
  24. package/docs/design/version-roadmap.zh.md +28 -8
  25. package/docs/release-notes/0.2.2.md +5 -5
  26. package/docs/release-notes/0.3.0.md +66 -0
  27. package/docs/release-notes/README.md +1 -1
  28. package/docs/releasing.md +5 -4
  29. package/docs/releasing.zh.md +5 -4
  30. package/docs/user-guide.md +9 -10
  31. package/docs/user-guide.zh.md +8 -10
  32. package/docs/verification.md +76 -9
  33. package/docs/verification.zh.md +66 -9
  34. package/lib/client/ChangeSetPanel.d.ts +24 -0
  35. package/lib/client/DependencyGraph.d.ts +1 -1
  36. package/lib/client/DiagnosticsPage.d.ts +5 -0
  37. package/lib/client/ReviewCenterPage.d.ts +5 -0
  38. package/lib/client/SectionNav.d.ts +14 -0
  39. package/lib/client/WorkspacePage.d.ts +5 -0
  40. package/lib/client/change-set-model.d.ts +55 -0
  41. package/lib/client/draft-store.d.ts +1 -1
  42. package/lib/client/locales.d.ts +32 -1
  43. package/lib/client/page-order.d.ts +26 -0
  44. package/lib/client/pane-format.d.ts +48 -0
  45. package/lib/client/pane-scope.d.ts +382 -0
  46. package/lib/client/pane-ui.d.ts +39 -0
  47. package/lib/client/section-routing.d.ts +12 -0
  48. package/lib/client/use-change-set-sheet.d.ts +13 -0
  49. package/lib/client.js +3678 -3125
  50. package/lib/host/types.d.ts +6 -1
  51. package/lib/index.js +1 -1
  52. package/lib/remote.js +1 -1
  53. package/lib/{service-MsIACddZ.js → service-DO3Q9uB2.js} +4 -2
  54. package/lib/version.d.ts +1 -1
  55. package/package.json +23 -18
package/CHANGELOG.md CHANGED
@@ -5,7 +5,37 @@ 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.2 — 2026-11-11 (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
9
39
 
10
40
  Dependency-graph workspace view and explicit dependency-conflict confirmation. No record-schema, Host, Remote,
11
41
  or prompt-projection change.
package/CHANGELOG.zh.md CHANGED
@@ -4,7 +4,35 @@
4
4
 
5
5
  记录 `dsh-charter` 的重要变更。DSH 插件 ABI 仍在演进,项目保持 pre-1.0 版本线。
6
6
 
7
- ## 0.2.2 — 2026-11-11(发布候选)
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
8
36
 
9
37
  依赖关系图形视图与显式依赖冲突确认。不改变 record schema、Host、Remote 或 prompt 投影。
10
38
 
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.2 candidate](https://img.shields.io/badge/status-0.2.2%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.2 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.2** 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,32 +44,39 @@ deliverables, evidence, and dependency relationships survive compaction and rema
39
44
 
40
45
  ## Status
41
46
 
42
- - **Release candidate:** `0.2.2` — dependency-graph workspace view, compact dependency list, and explicit
43
- dependency-conflict confirmation. Local acceptance and promotion are still pending.
44
- - **Published release:** `0.2.1` — npm `latest` and `next`, GitHub Release `v0.2.1`.
45
- - **Previous release:** `0.2.0`.
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.2 highlights
50
-
51
- - **Dependency graph view:** Workspace renders a local ego graph of deliverables plus a compact, always-present
52
- semantic list. Execution, candidate, and replacement lanes are distinct; isolated contracts use a bounded grid.
53
- - **Graph and list are one editing surface:** both stage the same `deliverable.requires` Change Set ops; Apply
54
- remains the only commit point.
55
- - **Explicit dependency conflicts:** a Change Set that adds or worsens a dependency conflict lists the affected
56
- deliverables and requires a second confirmation before Apply.
57
- - **Compact prerequisite editor:** the list shows a two-line summary and opens a checkbox editor for one row at a
58
- time, avoiding hundreds of native multi-select options.
59
- - **Keyboard and degraded states:** the graph is one Tab stop with arrow/`[`/`]` traversal, a skip link to the
60
- list, and explicit dense/isolated fallbacks.
61
-
62
- ### 0.2.1 highlights
63
-
64
- - Message proposals prefill an **editable body** from the selected user message.
65
- - Diagnostics separates fact validation from evidence integrity.
66
- - Recovery restores from a bounded Host cache (five per Session, 25 per profile).
67
- - 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.
68
80
 
69
81
  ## Why
70
82
 
@@ -170,19 +182,17 @@ storage.
170
182
 
171
183
  ## Install
172
184
 
173
- The latest public release is `0.2.1`. The `0.2.2` candidate is installed from its local acceptance tarball
174
- until promotion:
185
+ The latest public release is `0.3.0`. Install the exact version for a reproducible profile:
175
186
 
176
187
  ```bash
177
- dsh plugin --profile web add ./dsh-charter-0.2.2.tgz
188
+ dsh plugin --profile web add dsh-charter@0.3.0
178
189
  ```
179
190
 
180
- For a published exact version, install `0.2.1` for now (the same path applies to `0.2.2` after promotion):
191
+ For air-gapped machines or exact-artifact verification, install the published tarball:
181
192
 
182
193
  ```bash
183
- dsh plugin --profile web add dsh-charter@0.2.1
184
- npm pack dsh-charter@0.2.1
185
- dsh plugin --profile web add ./dsh-charter-0.2.1.tgz
194
+ npm pack dsh-charter@0.3.0
195
+ dsh plugin --profile web add ./dsh-charter-0.3.0.tgz
186
196
  ```
187
197
 
188
198
  For Desktop, use **Desktop → Plugins → Install/Update**, or import the same local tarball if your Desktop build
@@ -219,8 +229,8 @@ A Session that is not live in the current Host process is shown read-only; start
219
229
 
220
230
  ## The Charter tab
221
231
 
222
- The Pane opens from the Session view. On wide screens it uses a left section navigation; on narrow screens it
223
- 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.
224
234
 
225
235
  | Area | Purpose |
226
236
  | --- | --- |
@@ -270,9 +280,14 @@ The only model-visible capacity is `maxPromptBytes`; `maxItems` and `maxPendingI
270
280
  | `0.1.7-rc.2` | Supported (minimum) |
271
281
  | `0.2.0-rc.1` / `0.2.0-rc.2` | Supported |
272
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 |
273
- | `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`) |
274
284
  | `0.3.x` | Not declared until verified |
275
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
+
276
291
  "Supported" means typecheck, build, tests, and Remote/client smoke for that version, plus the profile gates
277
292
  recorded in the [compatibility matrix](docs/design/compatibility.md). `0.1.7` and `0.2.0` have no per-Peer Remote
278
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.2 candidate](https://img.shields.io/badge/status-0.2.2%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.2 构建中的会话契约页](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.2** 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,29 +42,34 @@
38
42
 
39
43
  ## 状态
40
44
 
41
- - **发布候选:**`0.2.2` — 依赖关系图形视图、紧凑依赖列表、依赖冲突二次确认;本地验收和 promotion 尚未完成。
42
- - **已发布版本:**`0.2.1` — npm `latest` 和 `next`,GitHub Release `v0.2.1`。
43
- - **上一版本:**`0.2.0`。
44
- - **主要 DSH 基线:**`0.2.2-rc.1`;九个声明版本通过源码矩阵验证。
45
- - 从 `0.2.0` 起版本号使用普通递增(`0.2.0`、`0.2.1`…),不再使用 `rc` 后缀。
46
-
47
- ### 0.2.2 重点变化
48
-
49
- - **依赖关系图形视图:**Workspace 以局部 ego 图展示交付物前置关系,并保留紧凑语义列表;执行、候选和替代历史
50
- 车道分开;无依赖边时显示有界孤立节点网格。
51
- - **图与列表共用一个编辑面:**两侧都写同一组 `deliverable.requires` Change Set ops,Apply 仍是唯一提交点。
52
- - **显式依赖冲突:**引入或加重依赖冲突的 Change Set 会列出受影响交付物,并要求二次确认后再 Apply。
53
- - **紧凑前置编辑:**列表显示两行摘要,点“编辑前置”才展开一行的 checkbox 编辑器,避免一次渲染数百个
54
- native multi-select 选项。
55
- - **键盘与降级状态:**图形区只占一个 Tab 停靠点,方向键/`[`/`]` 遍历,skip link 跳到列表;图形过密或
56
- 无依赖时有明确降级和空状态。
57
-
58
- ### 0.2.1 重点变化
59
-
60
- - 消息提案会从所选用户消息预填**可编辑正文**。
61
- - 诊断区把事实有效性验证和证据完整性拆开。
62
- - 恢复改为从 Host 维护的缓存选择快照(每 Session 5 份、整个 profile 25 份)。
63
- - 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
+ 不产生重复标签。
64
73
 
65
74
  ## 为什么需要
66
75
 
@@ -149,18 +158,17 @@ compaction summary 返回只读草案,不写 storage。
149
158
 
150
159
  ## 安装
151
160
 
152
- 当前公开版本是 `0.2.1`。`0.2.2` 候选在 promotion 前从本地验收 tarball 安装:
161
+ 当前公开版本是 `0.3.0`。可复现 profile 请安装精确版本:
153
162
 
154
163
  ```bash
155
- dsh plugin --profile web add ./dsh-charter-0.2.2.tgz
164
+ dsh plugin --profile web add dsh-charter@0.3.0
156
165
  ```
157
166
 
158
- 已发布精确版本目前安装 `0.2.1`(promotion 后同一路径改为 `0.2.2`):
167
+ 离线机器或需要精确验证 artifact 时,安装已发布 tarball:
159
168
 
160
169
  ```bash
161
- dsh plugin --profile web add dsh-charter@0.2.1
162
- npm pack dsh-charter@0.2.1
163
- dsh plugin --profile web add ./dsh-charter-0.2.1.tgz
170
+ npm pack dsh-charter@0.3.0
171
+ dsh plugin --profile web add ./dsh-charter-0.3.0.tgz
164
172
  ```
165
173
 
166
174
  Desktop 请使用 **Desktop → Plugins → Install/Update**;若 Desktop 构建支持本地插件导入,也可导入同一
@@ -245,9 +253,13 @@ active-count 失败。
245
253
  | `0.1.7-rc.2` | 支持(最低版本) |
246
254
  | `0.2.0-rc.1` / `0.2.0-rc.2` | 支持 |
247
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` | 支持 |
248
- | `0.2.2-rc.1` | 支持(主基线) |
256
+ | `0.2.2-rc.1` / `0.2.2-rc.2` | 支持(主基线:`0.2.2-rc.2`) |
249
257
  | `0.3.x` | 验证前不声明 |
250
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
+
251
263
  “支持”表示该版本通过 typecheck、build、测试和 Remote/client smoke,并具备[兼容矩阵](docs/design/compatibility.zh.md)
252
264
  中记录的 profile 证据。`0.1.7` / `0.2.0` 没有 per-Peer Remote resource authorization,仅应在可信单操作者
253
265
  环境中使用。
package/docs/README.md CHANGED
@@ -21,7 +21,7 @@ A status block has this shape:
21
21
 
22
22
  ```text
23
23
  > **Status:** Active
24
- > **Version scope:** 0.2.2 (development candidate)
24
+ > **Version scope:** 0.2.2
25
25
  > **Baseline:** 2026-11-06
26
26
  > **Authority:** docs/design/version-roadmap.zh.md
27
27
  > **Supersedes / Superseded by:** none / <path or none>
@@ -50,8 +50,9 @@ same commit. Do not delete a historical decision just because it is inactive; mo
50
50
  | Document | Status | Version scope | Notes |
51
51
  | --- | --- | --- | --- |
52
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. |
53
- | [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. |
54
- | [design/charter-dependency-graph-v1.zh.md](design/charter-dependency-graph-v1.zh.md) | Implemented — pending release acceptance | 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. |
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). |
55
56
  | [design/version-roadmap.md](design/version-roadmap.md) | Active | whole line | Scope/version authority; Chinese is normative. |
56
57
  | [design/compatibility.md](design/compatibility.md) | Active | declared DSH versions | Compatibility claims and matrix. |
57
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. |
@@ -63,7 +64,7 @@ same commit. Do not delete a historical decision just because it is inactive; mo
63
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. |
64
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. |
65
66
  | [release-notes/0.2.0.md](release-notes/0.2.0.md) | Historical | 0.2.0 | Published npm release and GitHub Release. |
66
- | [release-notes/0.2.2.md](release-notes/0.2.2.md) | Development candidate | 0.2.2 | Dependency graph and conflict confirmation; 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. |
67
68
  | [release-notes/0.2.1.md](release-notes/0.2.1.md) | Historical | 0.2.1 | Published npm release and GitHub Release. |
68
69
 
69
70
  ## Maintenance rules
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.2(开发候选)
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,7 @@
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.2.md](release-notes/0.2.2.md) | Development candidate | 0.2.2 | 依赖图与冲突二次确认;promotion 待完成。 |
65
+ | [release-notes/0.2.2.md](release-notes/0.2.2.md) | Historical | 0.2.2 | 已发布 npm 版本和 GitHub Release;依赖图与冲突二次确认。 |
63
66
  | [release-notes/0.2.1.md](release-notes/0.2.1.md) | Historical | 0.2.1 | 已发布 npm 版本和 GitHub Release。 |
64
67
 
65
68
  ## 维护规则
@@ -13,7 +13,7 @@ English | [中文](charter-design-v1.zh.md)
13
13
  > session, and deterministically rebuild them from an independent authoritative record before every model
14
14
  > request. Compaction may rewrite history summaries; it is never a writer or recovery source for the charter.
15
15
 
16
- Research baseline: 2026-10-20. Target contract baseline: DSH `0.2.2-rc.1`; minimum supported version:
16
+ Research baseline: 2026-10-20. Target contract baseline: DSH `0.2.2-rc.2`; minimum supported version:
17
17
  `0.1.7-rc.2`.
18
18
 
19
19
  Related documents:
@@ -584,7 +584,7 @@ Current evidence:
584
584
 
585
585
  - The Vitest suite across core, host, client, and verification-helper test files (current counts and commands are
586
586
  in the verification record, which is the source of truth);
587
- - Typecheck, build, and tests pass on all nine declared DSH versions (`0.1.7-rc.2` through `0.2.2-rc.1`);
587
+ - Typecheck, build, and tests pass on all ten declared DSH versions (`0.1.7-rc.2` through `0.2.2-rc.2`);
588
588
  - Fresh Web profile install/startup passed on `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`, and `0.2.2-rc.1`;
589
589
  - Real Web UI verified on `0.2.0-rc.2`: stable-order tab placement (with `dsh-context` installed), localization,
590
590
  objective/invariant editing, preview, Apply, and reload persistence. The current rc.6 source adds
@@ -11,7 +11,7 @@
11
11
  > 定位:保存当前会话中用户明确确认的目标、硬约束和交付物,并在每次模型请求前从独立正本确定性重建。
12
12
  > 压缩可以改写历史摘要,不能成为会话契约的写入者或恢复来源。
13
13
 
14
- 调研基准日:2026-10-19。目标契约基线:DSH `0.2.2-rc.1`。
14
+ 调研基准日:2026-10-19。目标契约基线:DSH `0.2.2-rc.2`。
15
15
 
16
16
  相关文档:
17
17
 
@@ -20,7 +20,7 @@
20
20
 
21
21
  实现状态:MVP Host、纯内核、JSON storage 组合、Remote contract 和主对话页标签页 Client 已完成实现并通过版本矩阵
22
22
  验证。当前 `npm run typecheck`、`npm test`、`npm run build` 均通过(具体文件/测试数以验证记录为准);同一源码在 DSH
23
- 九个声明 DSH 版本(`0.1.7-rc.2` 至 `0.2.2-rc.1`)均通过 typecheck、build 和 Vitest 套件(计数见验证记录)。
23
+ 十个声明 DSH 版本(`0.1.7-rc.2` 至 `0.2.2-rc.2`)均通过 typecheck、build 和 Vitest 套件(计数见验证记录)。
24
24
  fresh Web profile 的安装/启动已在 `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`、`0.2.2-rc.1` 通过;DSH
25
25
  `0.2.0-rc.2` Web profile 上已用真实 Chrome 验证「对话」「轨迹」「会话契约」标签顺序、目标编辑、预览、Apply
26
26
  和刷新持久化。rc.6 源码增加了版本标识、审阅、恢复、无障碍和观测证据。