dsh-charter 0.3.1 → 0.3.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -3,56 +3,49 @@
3
3
  English | [中文](verification.zh.md)
4
4
 
5
5
  > **Status:** Active — current operating record.
6
- > **Version scope:** `0.3.1` development candidate (0.3.0 published 2026-11-13).
7
- > **Baseline:** 2026-11-13
6
+ > **Version scope:** `0.3.1` released 2026-11-13; `0.3.2` accessibility/evidence candidate.
7
+ > **Baseline:** 2026-11-16
8
8
 
9
- Verification date: 2026-11-13. Current source version: `0.3.1` development candidate; latest published release is `0.3.0`. This is the current evidence record; historical per-commit narratives live in Git
9
+ Verification date: 2026-11-16. Current source version: `0.3.2` candidate; latest published release is `0.3.1`. This is the current evidence record; historical per-commit narratives live in Git
10
10
  history and the Changelog. Temporary directories, profiles, tarballs, and fetched HTML live under `.tmp/` and are
11
11
  excluded from the published package.
12
12
 
13
13
  Environment: macOS, Node `v22.23.1`, npm `12.0.2`, pnpm `12.3.4`. Local DSH development baseline:
14
14
  `0.2.2-rc.3` (the current npm `next`).
15
15
 
16
- ## 1. Current conclusion
17
-
18
- Current release state (2026-11-11):
19
-
20
- - Published: `0.2.2` (npm `latest`/`next`; exact SHA-256 `ccb094342ceda030b77c2c3555bc2838ee8a4f6ef2efe4f1ac80a9d39fca7875`). GitHub Release `v0.2.2` is public and immutable.
21
- - `0.2.1`: previous public release; GitHub Release `v0.2.1` remains immutable.
22
- - `0.2.0`: earlier public release; GitHub Release `v0.2.0` remains immutable.
23
- - `0.1.0-rc.6`: earlier public release; recovery tag `v0.1.0-rc.6-republished`.
24
- - Versioning from 0.2.0 onward uses plain increments and never an `rc` suffix.
25
- - Current source evidence: 37 files / 475 tests on the final 0.2.2 tree at `f9d93c0`; the nine-version matrix passes 475/475 on that tree (Node `v22.23.1` / pnpm `12.3.4`, evidence `.tmp/0.2.2-final-matrix2.json`).
26
- - Post-release diagnostics: real-model compaction PASS (session `session-da7e7b0d-f0b0-49a2-8391-148b4782892c`); 512-item performance PASS on 2026-11-06 (core read/planning p95, see below).
27
-
28
- | Item | Result |
29
- | --- | --- |
30
- | Strict TypeScript check | Pass on the current tree |
31
- | Vitest | 37 files / 475 tests pass (`npm test`, which builds first) |
32
- | Host ESM build + browser factory bundle | Pass |
33
- | Remote contract and client smoke | Pass |
34
- | Normal package smoke | Pass |
35
- | Exact-artifact package smoke | Pass on the published `0.2.1` `.tgz` bytes (`d4ae14e1…`) from the root `SHA256SUMS`, without rebuild |
36
- | Packed-artifact recovery smoke | Pass: export, target removal, restore, receipt replay, two restarts, healthy-target refusal, packed fault subset |
37
- | Real `TypertGatewayService` | Pass on exact artifact with isolated DSH `0.2.1-rc.3` and `rc.4` graphs |
38
- | Compatibility sentinels | Pass on `0.1.7-rc.2`, `0.2.1-rc.2`, `0.2.1-rc.4`, `0.2.1-rc.5` |
39
- | 0.2.2 promotion | PASS on 2026-11-11: release candidate run `43024720739` (C `51789db`), checksum-only C+1 `d65a4d6`, promotion run `43026165062`; npm `latest`/`next` both `0.2.2`, GitHub Release `v0.2.2` public with tarball `SHA256SUMS` and `release-evidence.json`. |
40
- | 0.2.2 exact artifact smoke | PASS on 2026-11-11: published `dsh-charter-0.2.2.tgz` (98 files, SHA-256 `ccb094342ceda030b77c2c3555bc2838ee8a4f6ef2efe4f1ac80a9d39fca7875`); package smoke installed the exact bytes in an empty consumer and the packed recovery smoke passed all export/restore/two-restart/fault checks. |
41
- | Nine-version full rerun | Pass via tracked `compat-matrix --versions all --allow-new-release` (475/475 each) |
42
- | Fresh Web profile matrix (historical rc.6) | PASS: local rc.6 artifact (pre-withdrawal) installed and served on DSH `0.1.7-rc.2`, `0.2.0-rc.2`, `0.2.1-rc.2`, `0.2.1-rc.4`, `0.2.1-rc.5` |
43
- | Fresh Web profile (historical 0.2.2 DSH / 0.2.0 plugin) | PASS on 2026-11-05: fresh `DSH_HOME` + `dsh@0.2.2-rc.1 plugin --profile web add` of `dsh-charter-0.2.0.tgz` (SHA-256 `fde5531d457effc713f4423f8b46c8f0e591770e59c55e19956f000c11bdeffc`); Web boot, page HTTP 200, charter bundle HTTP 200; boot graph contains `dsh-charter` and the page index contains `dsh-charter/client.js` |
44
- | Untracked `0.2.2-alpha.2` / `0.2.2-alpha.3` probes | strict-peer install fails because these alpha lines require a Cordis 4.0.6 alpha graph; the 0.2.2-rc.1 line pins Cordis 4.1.0; no tests run; explicitly unsupported. |
45
- | 0.2.1 real Web Pane | PASS on 2026-11-06: local Web profile installed the `0.2.1` candidate artifact; Pane reports `v0.2.1`, diagnostics/recovery cache and the editable message proposal render, and the browser console is clean. |
46
- | 0.2.1 local human acceptance | PASS on 2026-11-06: user completed local acceptance of the 0.2.1 UI/interaction batch. |
47
- | 0.2.1 Desktop ABI | PASS on 2026-11-06: Desktop profile installed the exact candidate, the Electron process was restarted, and the Pane/tab ABI was confirmed. |
48
- | 0.2.2 compatibility matrix | PASS on 2026-11-11: source `f9d93c031eabfe5e44cf17e302729eb7093d7e94`, Node `v22.23.1` / pnpm `12.3.4`; all nine declared DSH versions passed typecheck, build, and 475/475 tests (`.tmp/0.2.2-final-matrix2.json`). |
49
- | 0.2.2 fresh profile install | PASS on 2026-11-11: isolated `DSH_HOME=/tmp/dsh-charter-fresh-022-home` initialized a fresh Web profile and installed the exact local `dsh-charter-0.2.2.tgz`; `dsh web` served the Pane entry (HTTP 303 token redirect). CLI/tarball path verified; Desktop, real Pane interaction, and zh/en switch remain manual. |
50
- | 0.2.2 dependency graph source | PASS on 2026-11-11: `npm run check` 37 files / 475 tests; W0-0 prototype 41/41 (pre-isolated-grid contract; product isolated-grid tests are in `tests/client/relation-graph.spec.ts`); Web Pane rendered the graph, candidate lane, inspector, and always-present semantic list for a session with 3 active + 4 pending deliverables; browser console clean. UI self-check on 2026-11-11: isolated three-node graph + empty hint, compact list, add-edge/hide/show, and local-key prerequisite summary all rendered without console errors. W0-1/2/3 and real AT/manual gates remain pending. |
51
- | 0.2.2 dependency graph bundle | Measured on 2026-11-11 against `d362d6f` with the standardized budget method `gzip -9 -c lib/client.js | wc -c`: 113,990 → 130,474 B (+16,484 B), so the `<40 KB` gzip budget passes. Raw diagnostic: `lib/client.js` 591,936 → 670,173 B (+78,237 B); raw CSS output 47,230 → 55,540 B (+8,310 B). Raw bytes are not the budget channel. |
52
- | Real-model compaction | PASS on 2026-11-06 for `session-da7e7b0d-f0b0-49a2-8391-148b4782892c`: latest compaction seq 32610–32614, post-compaction snapshot seq 32623, `charter_read` call/result seq 32631/32632; injected, digest match, injection-after-compaction, survival, authenticated standing read, and no-checkpoint-leak all pass. |
53
- | 512-item performance | PASS on 2026-11-06, local Node `22.23.1`: 512 pending items, 300 warm-ups then 30 samples; full pagination query p95 5.2 ms and 5-op Change Set planning p95 0.6 ms against the 100 ms budget. This measures the pure core read/planning path, not UI/network. |
54
- | Real browser diagnostics | Local manual checks recorded; not a release gate |
55
- | Real-model compaction | Separately recorded PASS (2026-10-22); still a manual release gate |
16
+ ## 1. Current status (2026-11-16)
17
+
18
+ - Latest published release: `0.3.1` (npm `latest`/`next`, GitHub Release `v0.3.1`, artifact SHA-256
19
+ `62fd230209dbf5c58aed09f0870775aa6d0d69feb4eff18aebf83f9803f28353`).
20
+ - Previous releases: `0.3.0`, `0.2.2`; published tags and bytes are immutable.
21
+ - Current source line: `0.3.2` accessibility/evidence patch (not yet published). It changes the client
22
+ graph presentation/readme docs only; record schema remains 2, Remote remains 18 methods, prompt projection
23
+ is unchanged.
24
+ - Source gates on the current tree: `npm run check` (42 files / 500 tests on the final 0.3.2 tree),
25
+ token coverage 41 static + 1 dynamic over 11 declared DSH versions, and `verify:ui-metrics --gate=final`.
26
+ - Compatibility: eleven declared DSH versions are matrix-verified in candidate evidence run `43445530821`.
27
+ - 0.3.2 candidate artifact: `dist/dsh-charter-0.3.2.tgz` SHA-256
28
+ `9ff018d9139a39a553abe46d9bc350200f41af6f5f5e9bee9db59d44bdcdb842` (client `6ef68d25…`); only this
29
+ candidate name remains in `dist/`, the stale 0.3.1-name dev tarball was removed, and local profiles point to
30
+ this exact file. Root `SHA256SUMS` still records published `0.3.1` until a 0.3.2 release candidate exists.
31
+ Exact-artifact package smoke and packed recovery smoke PASS.
32
+ - 0.3.2 root-text evidence: graph canvas scales as a unit at root font 16/24/32 px (scale 1/1.5/2); measured
33
+ text has no new clipping and the viewport becomes horizontally scrollable. Evidence:
34
+ `docs/assets/charter-graph-root-text-200-0.3.2.png`.
35
+ - Real AT/VoiceOver, final six-state screenshots, Desktop native-window matrix, W0-1/W0-2 measurements, and
36
+ the 0.3.2 candidate/promotion runs remain open gates. They are tracked below rather than described as done.
37
+
38
+ ### 0.3.2 residual gates
39
+
40
+ | Area | Current status | Evidence / next action |
41
+ | --- | --- | --- |
42
+ | A1 200% root text | implemented + measured (CDP-forced root font) | canvas scale 1/1.5/2; text scroll metrics unchanged; real browser font-size/min-font settings join A2 manual walk |
43
+ | A2 VoiceOver/NVDA | open | real AT walk of tabs/sheet/graph/meter/notice; not replaced by AX-tree checks |
44
+ | A3 six states + media | partial | empty/staged/applied/conflict-confirmation + forced-colors/reduced-motion captured; unknown/replay pending |
45
+ | A4 frozen mockup review | open | side-by-side human review record |
46
+ | A5 Desktop native window | open | Electron window/ABI matrix |
47
+ | A6 W0-1/W0-2 | open | breakpoint/column and line-capacity measurements after px geometry |
48
+ | B1–B6 docs/governance | this change | status headers, appendix D reconciliation, verification/index/tag cleanup |
56
49
 
57
50
  ### 1.1 0.2.0 development acceptance
58
51
 
@@ -99,8 +92,8 @@ and the remaining full-design gates must be recorded separately before declaring
99
92
  `31daf17dbc823837c1b0c1ba7bc1033444db1059a2f2cd6f1a481f8d330b5d78`; npm `latest`/`next` both `0.3.0`, GitHub
100
93
  Release `v0.3.0` public and immutable. This supersedes the local `w6-final` development artifact for installation.
101
94
  - 0.3.1 GUI convergence candidate (2026-11-13): `npm run check` 41 files / **499 tests** PASS;
102
- token coverage 41 static + 1 dynamic over 11 declared DSH versions PASS; ten-version source matrix PASS
103
- (`.tmp/compat-031-final.json`). Shared standing-envelope builder
95
+ token coverage 41 static + 1 dynamic over 11 declared DSH versions PASS; eleven-version matrix PASS in
96
+ candidate compatibility evidence (run `43445530821`). Shared standing-envelope builder
104
97
  (`src/core/standing-envelope.ts`) is used by both Host and Diagnostics; a 64-deliverable fixture with
105
98
  production-length ids proves the id cost is exactly 49 B/deliverable and the envelope stays under 32 KiB.
106
99
  - `traffic-check` propose telemetry parses the actual JSON tool-result envelope (`{ok, message}`), not
@@ -124,11 +117,16 @@ and the remaining full-design gates must be recorded separately before declaring
124
117
  `.tmp/gui-acceptance/2026-11-13/diagnostics-envelope-031.png`.
125
118
  - 0.3.1 README screenshots were recaptured from the exact local build injected into the running Web app:
126
119
  `docs/assets/charter-pane-0.3.1.png`, `charter-pane-0.3.1.zh.png`, `charter-graph-0.3.1.zh.png`.
120
+ - 0.3.1 release publication (2026-11-13): candidate run `43445530821` at producer commit
121
+ `de1b83be004aecc63b09cfaeaf647ca94fb7567a`; release commit `0c00715d85be0e873d43175a4a26b724ea6c14d4`;
122
+ promotion run `43449411538`. Published artifact `dsh-charter-0.3.1.tgz` SHA-256
123
+ `62fd230209dbf5c58aed09f0870775aa6d0d69feb4eff18aebf83f9803f28353`; npm `latest`/`next` both `0.3.1`, GitHub
124
+ Release `v0.3.1` public and immutable. Candidate compatibility evidence covers 11 declared DSH versions,
125
+ including `0.2.2-rc.3`.
127
126
  - Local acceptance artifact (2026-11-13): `dist/dsh-charter-0.3.1.tgz` SHA-256
128
127
  `9f779443fd83c8e320d94d1981c18dc896d9d5905a7cc3f7dc8673f307806860`; exact-artifact package smoke and packed
129
128
  recovery smoke PASS. `dist/dsh-charter-0.3.1.tgz` (same bytes) is installed in local `web` and `desktop`
130
129
  profiles; both resolve client `fcd56a48…`. The Host version chip updates after a clean Host restart.
131
- - 0.3.1 is not published; candidate/promotion evidence is intentionally absent until human acceptance.
132
130
  - Local acceptance deployment (2026-11-12): the W6 acceptance build is
133
131
  `dist/dsh-charter-0.3.0-w6-final.tgz` (SHA-256 `ab74591c…`, client `986f8403…`). It is installed in both local
134
132
  `web` and `desktop` profiles, with the bounded `engines.dsh` range and package version `0.3.0`. Also updated:
@@ -328,3 +326,22 @@ rm -rf .tmp
328
326
  ```
329
327
 
330
328
  `.tmp/` is excluded from Git and the npm package.
329
+
330
+ ## 1.3 0.3.2 accessibility/evidence candidate (2026-11-16, in progress)
331
+
332
+ - Source: `npm run check` 42 files / **500 tests** PASS; token coverage PASS over 11 declared DSH versions;
333
+ `verify:ui-metrics -- --gate=final` PASS; eleven-version source matrix PASS (`.tmp/compat-032-release.json`, source commit `0425a06`).
334
+ - A1 root text: graph canvas scales 1/1.5/2 at root font 16/24/32px; node text scroll/client metrics show no
335
+ new clipping; the viewport is horizontally scrollable at 200%. Evidence:
336
+ `docs/assets/charter-graph-root-text-200-0.3.2.png`.
337
+ - A3 state/media evidence: empty/staged/applied/conflict-confirmation captures (`docs/assets/charter-state-empty-0.3.2.png`,
338
+ `docs/assets/charter-state-staged-0.3.2.png`, `docs/assets/charter-state-applied-0.3.2.png`, `docs/assets/charter-state-conflict-0.3.2.png`) plus forced-colors and reduced-motion captures (`docs/assets/charter-state-forced-colors-0.3.2.png`, `docs/assets/charter-state-reduced-motion-0.3.2.png`). The conflict-confirmation state is captured; the unknown/replay state still needs a final pass. The staged capture was re-taken with no prerequisite editor or stale bootstrap notice visible.
339
+ - A6 breakpoints: no horizontal page overflow, node overlap, or row overflow at 860/900/1000/1100/1200/1440;
340
+ at 1100 the graphcard is folded because the app shell content container is below 880px, while the semantic
341
+ list remains available — recorded as a layout observation.
342
+ - B: GUI design status/Appendix D reconciliation, dependency-graph status, verification current status,
343
+ roadmap/docs-index pending wording, and local v0.3.0/v0.3.1 tags are cleaned up.
344
+ - A2/A4/A5 remain manual/blocked: VoiceOver launches but Apple Events/Accessibility authorization is absent, so
345
+ no real AT claim is made; the frozen-mockup side-by-side sign-off is still human; native Desktop capture is
346
+ blocked by macOS Screen Recording permission (`screencapture` reports `could not create image from display`).
347
+ These gates are not marked complete without evidence.
@@ -3,51 +3,45 @@
3
3
  [English](verification.md) | 中文
4
4
 
5
5
  > **状态:** Active — 当前操作记录。
6
- > **版本范围:** `0.2.2`,2026-11-11 已发布。
7
- > **基准:** 2026-11-11
6
+ > **版本范围:** `0.3.1` 已于 2026-11-13 发布;`0.3.2` 为无障碍/证据候选。
7
+ > **基准:** 2026-11-16
8
8
 
9
- 验证日期:2026-11-11。当前源码版本:`0.2.2`(2026-11-11 已发布)。本文件是当前证据记录;历史逐提交的叙事保留在 Git 历史和 Changelog。临时目录、profile、
9
+ 验证日期:2026-11-16。当前源码版本:`0.3.2` 候选;最新已发布版本为 `0.3.1`。本文件是当前证据记录;历史逐提交的叙事保留在 Git 历史和 Changelog。临时目录、profile、
10
10
  tarball 和抓取内容位于 `.tmp/`,不进入发布包。
11
11
 
12
12
  环境:macOS,Node `v22.23.1`,npm `12.0.2`,pnpm `12.3.4`。本地 DSH 开发基线:`0.2.2-rc.3`(当前 npm
13
13
  `next`)。
14
14
 
15
- ## 1. 当前结论
16
-
17
- 当前发布状态(2026-11-11):
18
-
19
- - 已发布:`0.2.2`(npm `latest`/`next`;精确 SHA-256 `ccb094342ceda030b77c2c3555bc2838ee8a4f6ef2efe4f1ac80a9d39fca7875`)。GitHub Release `v0.2.2` 已公开且不可变。
20
- - `0.2.1`:上一公开版本;GitHub Release `v0.2.1` 保持不可变。
21
- - `0.2.0`:更早的公开版本;GitHub Release `v0.2.0` 保持不可变。
22
- - `0.1.0-rc.6`:更早的公开版本;使用 recovery tag `v0.1.0-rc.6-republished`。
23
- - 从 0.2.0 起版本号使用普通递增,不使用 `rc` 后缀。
24
- - 当前源码证据:0.2.2 最终树在源码提交 `f9d93c0` 上通过 37 个测试文件 / 475 个测试;九版本矩阵在该树上 475/475 通过(Node `v22.23.1` / pnpm `12.3.4`,证据 `.tmp/0.2.2-final-matrix2.json`)。
25
- - 发布后诊断:真实模型 compaction PASS(session `session-da7e7b0d-f0b0-49a2-8391-148b4782892c`);512 条性能于 2026-11-06 PASS(core read/planning p95,见下)。
26
-
27
- | 项目 | 结果 |
28
- | --- | --- |
29
- | TypeScript 严格检查 | 当前树通过 |
30
- | Vitest | 37 个测试文件 / 475 个测试通过(`npm test`,先 build) |
31
- | Host ESM 构建 + 浏览器 factory bundle | 通过 |
32
- | Remote 契约与 client smoke | 通过 |
33
- | 普通 package smoke | 通过 |
34
- | exact-artifact package smoke | 对已发布 `0.2.1` `.tgz` 字节(`d4ae14e1…`)通过,不重建 |
35
- | packed recovery smoke | 通过:export、删除 target、restore、receipt replay、两次 restart、健康目标拒绝、packed fault 子集 |
36
- | 真实 `TypertGatewayService` | 精确 artifact 在隔离的 DSH `0.2.1-rc.3` / `rc.4` 依赖图上通过 |
37
- | 兼容 sentinel | `0.1.7-rc.2`、`0.2.1-rc.2`、`0.2.1-rc.4`、`0.2.1-rc.5`、`0.2.2-rc.1` 通过 |
38
- | Fresh Web profile matrix (historical rc.6) | PASS:历史 rc.6 artifact 曾在 DSH `0.1.7-rc.2`、`0.2.0-rc.2`、`0.2.1-rc.2`、`0.2.1-rc.4`、`0.2.1-rc.5` 上安装并启动 |
39
- | Fresh Web(历史 0.2.2 DSH / 0.2.0 插件) | 2026-11-05 PASS:全新 `DSH_HOME` + `dsh@0.2.2-rc.1 plugin --profile web add` 安装 `dsh-charter-0.2.0.tgz`(SHA-256 `fde5531d457effc713f4423f8b46c8f0e591770e59c55e19956f000c11bdeffc`);Web 启动、页面 HTTP 200、charter bundle HTTP 200;boot graph 含 `dsh-charter`,页面 index 含 `dsh-charter/client.js` |
40
- | 0.2.2 promotion | 2026-11-11 PASS:候选 run `43024720739`(C `51789db`),checksum-only C+1 `d65a4d6`,promotion run `43026165062`;npm `latest`/`next` 均为 `0.2.2`,GitHub Release `v0.2.2` 已公开并带 tarball、`SHA256SUMS`、`release-evidence.json`。 |
41
- | 0.2.2 精确 artifact smoke | 2026-11-11 PASS:已发布 `dsh-charter-0.2.2.tgz`(98 个文件,SHA-256 `ccb094342ceda030b77c2c3555bc2838ee8a4f6ef2efe4f1ac80a9d39fca7875`);package smoke 在空 consumer 中安装精确字节,packed recovery smoke 的 export/restore/两次重启/故障检查全部通过。 |
42
- | 九版本全量 rerun | tracked `compat-matrix --versions all --allow-new-release` 通过(每版本 475/475) |
43
- | 未跟踪 `0.2.2-alpha.2` probe | strict-peer install fails because DSH requires Cordis ~4.0.6-alpha.1 while rc.6 pins 4.0.5; no tests run;rc.6 明确不支持 |
44
- | 本地 Web + Desktop profile | 0.2.0 开发 artifact 已装入本地 web/desktop profile;Desktop app 为 `0.2.2-rc.1`,真实 Electron ABI/交互仍需人工门禁 |
45
- | 真实浏览器恢复 | 受保护的人工 evidence gate;未自动化 |
46
- | 真实模型 compaction | 2026-10-22 记录 PASS;仍是人工发布门禁 |
47
- | 0.2.2 兼容矩阵 | 2026-11-11 PASS:源码 `f9d93c031eabfe5e44cf17e302729eb7093d7e94`,Node `v22.23.1` / pnpm `12.3.4`;九个声明 DSH 版本全部通过 typecheck、build 和 475/475 测试(`.tmp/0.2.2-final-matrix2.json`)。 |
48
- | 0.2.2 全新 profile 安装 | 2026-11-11 PASS:隔离 `DSH_HOME=/tmp/dsh-charter-fresh-022-home` 初始化全新 Web profile,安装精确本地 `dsh-charter-0.2.2.tgz`;`dsh web` 提供 Pane 入口(HTTP 303 token redirect)。已验证 CLI/tarball 路径;Desktop、真实 Pane 交互和中英切换仍需人工。 |
49
- | 0.2.2 依赖图源码 | 2026-11-11 PASS:`npm run check` 37 个文件 / 475 个测试;W0-0 原型 41/41(旧契约;无边孤立节点网格例外由 `tests/client/relation-graph.spec.ts` 的产品测试覆盖);Web Pane 在 3 条 active + 4 条 pending 交付物的 Session 上渲染图形、候选泳道、inspector 和常驻语义列表;浏览器 console 无错误。UI 自测(2026-11-11):三节点孤立图 + 空提示、紧凑列表、添加依赖/隐藏/显示、本地 key 前置摘要均正常,无 console 错误。W0-1/2/3 与真实 AT/人工门禁仍待完成。 |
50
- | 0.2.2 依赖图 bundle | 2026-11-11 以 `d362d6f` 为基线,按统一预算方法 `gzip -9 -c lib/client.js | wc -c` 实测:113,990 → 130,474 B(+16,484 B),`<40 KB` gzip 预算通过。raw 仅作诊断:`lib/client.js` 591,936 → 670,173 字节(+78,237 B),CSS output 47,230 → 55,540 B(+8,310 B);raw 不作为预算口径。 |
15
+ ## 1. 当前状态(2026-11-16)
16
+
17
+ - 最新已发布版本:`0.3.1`(npm `latest`/`next`,GitHub Release `v0.3.1`,artifact SHA-256
18
+ `62fd230209dbf5c58aed09f0870775aa6d0d69feb4eff18aebf83f9803f28353`)。
19
+ - 更早发布:`0.3.0`、`0.2.2`;已发布 tag 与字节不可变。
20
+ - 当前源码线:`0.3.2` 无障碍/证据补丁(尚未发布)。只改客户端图形呈现与 README/文档;record schema 仍为 2,
21
+ Remote 仍为 18 个方法,prompt 投影未变。
22
+ - 当前源码门禁:`npm run check`(最终 0.3.2 树 42 文件 / 500 测试)、token 覆盖 41 static + 1 dynamic、
23
+ 11 个声明 DSH 版本,以及 `verify:ui-metrics --gate=final`。
24
+ - 兼容矩阵:11 个声明版本在候选证据 run `43445530821` 中验证通过。
25
+ - 0.3.2 候选 artifact:`dist/dsh-charter-0.3.2.tgz` SHA-256
26
+ `9ff018d9139a39a553abe46d9bc350200f41af6f5f5e9bee9db59d44bdcdb842`(client `6ef68d25…`);`dist/` 只保留
27
+ 这一个候选文件名,旧的 0.3.1 同名开发包已删除,本地 profile 指向该文件。根 `SHA256SUMS` 在 0.3.2
28
+ release candidate 前仍记录已发布 0.3.1。exact-artifact package smoke 与 packed recovery smoke PASS。
29
+ - 0.3.2 根字号证据:根字号 16/24/32 px 时图形画布整体缩放 1/1.5/2;实测文本无新增裁切,viewport 在 200%
30
+ 下可横向滚动。证据:`docs/assets/charter-graph-root-text-200-0.3.2.png`。
31
+ - 真实 AT/VoiceOver、最终六状态截图、Desktop 原生窗口矩阵、W0-1/W0-2 实测和 0.3.2 candidate/promotion
32
+ 仍未完成;这些在下方按门禁跟踪,不写成已完成。
33
+
34
+ ### 0.3.2 残留门禁
35
+
36
+ | 区域 | 当前状态 | 证据 / 下一步 |
37
+ | --- | --- | --- |
38
+ | A1 200% 根字号 | 已实现并实测(CDP 强制根字号) | 画布 scale 1/1.5/2;文本 scroll 指标不变;真实浏览器字号/最小字号设置并入 A2 人工走查 |
39
+ | A2 VoiceOver/NVDA | 未完成 | 真实 AT 走查 tabs/sheet/graph/meter/notice;不能用 AX-tree 代替 |
40
+ | A3 六状态 + media | 部分完成 | 已采 empty/staged/applied/conflict-confirmation + forced-colors/reduced-motion;unknown/replay 待补(`docs/assets/charter-state-*-0.3.2.png`) |
41
+ | A4 冻结稿并排 | 未完成 | 人工并排评审记录 |
42
+ | A5 Desktop 原生窗口 | 未完成 | Electron 窗口/ABI 矩阵 |
43
+ | A6 W0-1/W0-2 | 未完成 | px 化后的断点/栏宽与行容量实测 |
44
+ | B1–B6 文档/治理 | 本次处理 | 状态头、附录 D 对账、verification/index/tag 清理 |
51
45
 
52
46
  ## 1.2 0.3.0 GUI 正式版本(2026-11-13 已发布)
53
47
 
@@ -76,7 +70,7 @@ tarball 和抓取内容位于 `.tmp/`,不进入发布包。
76
70
  `31daf17dbc823837c1b0c1ba7bc1033444db1059a2f2cd6f1a481f8d330b5d78`;npm `latest`/`next` 均为 `0.3.0`,
77
71
  GitHub Release `v0.3.0` 已公开且不可变。安装以该发布 artifact 取代本地 `w6-final` 开发包。
78
72
  - 0.3.1 GUI 收敛候选(2026-11-13):`npm run check` 41 文件 / **499 测试** PASS;
79
- token 覆盖 41 static + 1 dynamic、11 个声明 DSH 版本 PASS;十版本源码矩阵 PASS(`.tmp/compat-031-final.json`)。共享 standing-envelope 构造函数由 Host 与
73
+ token 覆盖 41 static + 1 dynamic、11 个声明 DSH 版本 PASS;十一版本矩阵在候选兼容证据(run `43445530821`)中 PASS。共享 standing-envelope 构造函数由 Host 与
80
74
  Diagnostics 共用;64 个交付物、生产长度 id 的 fixture 证明 id 开销恰为 49 B/交付物且 envelope 不超过 32 KiB。
81
75
  - `traffic-check` 的 propose 遥测改为解析真实 JSON tool-result envelope(`{ok, message}`),不再对序列化
82
76
  文本做正则。fixture 覆盖单个 `D1` 拒绝、未知 id、非 requires 类失败和 accepted:display-key=1、
@@ -95,11 +89,15 @@ tarball 和抓取内容位于 `.tmp/`,不进入发布包。
95
89
  id 开销和 80%/超限三态。
96
90
  - 0.3.1 README 截图由精确本地构建注入运行中的 Web app 后重采:
97
91
  `docs/assets/charter-pane-0.3.1.png`、`charter-pane-0.3.1.zh.png`、`charter-graph-0.3.1.zh.png`。
92
+ - 0.3.1 正式发布(2026-11-13):候选 run `43445530821`,producer commit
93
+ `de1b83be004aecc63b09cfaeaf647ca94fb7567a`;release commit `0c00715d85be0e873d43175a4a26b724ea6c14d4`;
94
+ 提升 run `43449411538`。已发布 artifact `dsh-charter-0.3.1.tgz`,SHA-256
95
+ `62fd230209dbf5c58aed09f0870775aa6d0d69feb4eff18aebf83f9803f28353`;npm `latest`/`next` 均为 `0.3.1`,
96
+ GitHub Release `v0.3.1` 已公开且不可变。候选兼容证据覆盖 11 个声明 DSH 版本(含 `0.2.2-rc.3`)。
98
97
  - 本地验收 artifact(2026-11-13):`dist/dsh-charter-0.3.1.tgz` SHA-256
99
98
  `9f779443fd83c8e320d94d1981c18dc896d9d5905a7cc3f7dc8673f307806860`;exact-artifact package smoke 与 packed
100
99
  recovery smoke PASS。`dist/dsh-charter-0.3.1.tgz`(同一字节)已安装到本地 `web` 与 `desktop` profile;
101
100
  两端 client 均为 `fcd56a48…`。Host 版本 chip 在干净重启 Host 后更新。
102
- - 0.3.1 尚未发布;人工验收前不构造 candidate/promotion 证据。
103
101
  - 本地验收部署(2026-11-12):W6 验收构建为 `dist/dsh-charter-0.3.0-w6-final.tgz`
104
102
  (SHA-256 `ab74591c…`,client `986f8403…`)。已安装到本地 `web` 与 `desktop` profile,包版本 `0.3.0`,
105
103
  `engines.dsh` 为有界 0.2 线范围。另按用户要求恢复 Pane 页头版本 chip(`v0.3.0`)。
@@ -278,3 +276,21 @@ rm -rf .tmp
278
276
  ```
279
277
 
280
278
  `.tmp/` 不进入 Git 和 npm 包。
279
+
280
+ ## 1.3 0.3.2 无障碍/证据候选(2026-11-16,进行中)
281
+
282
+ - 源码:`npm run check` 42 文件 / **500 测试** PASS;11 个声明 DSH 版本 token 覆盖 PASS;
283
+ `verify:ui-metrics -- --gate=final` PASS;十一版本源码矩阵 PASS(`.tmp/compat-032-release.json`,source commit `0425a06`)。
284
+ - A1 根字号:根字号 16/24/32px 时图形画布整体 scale 1/1.5/2;节点文本 scrollWidth/clientWidth 与
285
+ scrollHeight/clientHeight 未新增裁切;viewport 在 200% 下可横向滚动。证据:
286
+ `docs/assets/charter-graph-root-text-200-0.3.2.png`。
287
+ - A3 状态/媒体证据:空/暂存/已应用/冲突确认(`docs/assets/charter-state-empty-0.3.2.png`、`docs/assets/charter-state-staged-0.3.2.png`、
288
+ `docs/assets/charter-state-applied-0.3.2.png`、`docs/assets/charter-state-conflict-0.3.2.png`)以及 forced-colors/reduced-motion 截图(`docs/assets/charter-state-forced-colors-0.3.2.png`、`docs/assets/charter-state-reduced-motion-0.3.2.png`);
289
+ 已截取冲突确认态;unknown/replay 仍需最终复核。staged 截图已重采,画面不含前置编辑器或残留 bootstrap notice。
290
+ - A6 断点:860/900/1000/1100/1200/1440 无横向溢出、无节点重叠、列表行无溢出;1100 下 graphcard
291
+ 因 app shell 内容容器窄于 880px 折叠,语义列表仍可用,记为 layout observation。
292
+ - B:GUI 方案状态头、附录 D 对账、dependency-graph 状态、verification 当前状态、roadmap/docs index
293
+ pending 措辞已清理;本地已 fetch `v0.3.0`/`v0.3.1` tag。
294
+ - A2/A4/A5 仍待人工/受环境阻塞:VoiceOver 可启动但 Apple Events/辅助功能授权缺失,不能声称真实 AT 已跑;
295
+ 冻结稿并排签收仍是人工门禁;Desktop 原生截图被 macOS Screen Recording 权限阻塞(`screencapture` 报
296
+ `could not create image from display`)。未有证据前不标记完成。
@@ -16,4 +16,6 @@ export interface DependencyGraphProps {
16
16
  readonly onProposal: (id: string) => void;
17
17
  readonly t: (key: string, values?: Record<string, string | number>) => string;
18
18
  }
19
+ /** Scale the whole graph canvas when the user enlarges the root text size. */
20
+ export declare function graphTextScale(rootFontPx: number): number;
19
21
  export declare function DependencyGraph({ layout, model, focusId, activeKey, showSupersedes, editable, onFocus, onActiveKey, onShowSupersedes, onStageRequires, onLocateList, onProposal, t, }: DependencyGraphProps): JSX.Element;
@@ -149,6 +149,7 @@ declare const en: {
149
149
  readonly 'deps.laneCandidate': "Candidate";
150
150
  readonly 'deps.laneHistory': "History";
151
151
  readonly 'deps.legendHistory': "Dash-dot = replacement history";
152
+ readonly 'deps.textScaleHint': "Text scaling {percent}%: the graph is enlarged and can be scrolled horizontally.";
152
153
  readonly 'deps.zoomIn': "Zoom in";
153
154
  readonly 'deps.zoomOut': "Zoom out";
154
155
  readonly 'deps.resetLayout': "Reset zoom";