feat: WEB-04 domain composition cases and production delivery trial

Add three composition cases driven by the same generic web Tool:
- examples/doc-site (documentation site),
- examples/research-workspace (existing section 8 workbench prototype),
- examples/quantum-editor (finite scenario/interaction design).

Add a real production delivery trial in examples/research-workbench-app
(Express + JSON persistence + static UI): validation, search, status
transitions, linked statistics, JSON errors, real file persistence; node:test
API acceptance and a Playwright browser E2E. The production app is not a runtime
dependency of the web Tool; prototype PASS is kept separate from production
PASS. docs/WEB-04-delivery.md records the design-source to implementation
mapping, intentional non-goals and task splits.

scripts/domain-acceptance.sh is the explicit domain entry: installs the built
Tool, runs check/preview/handoff for the three cases, then installs/tests the
production app incl. browser E2E, and removes the Tool. Evidence records the
real CLI/Design/Preview identities and local PASS results.

Pin the domain submodules to the merged Design (WEB-01/03) and Preview (WEB-02)
candidates; activation and root gitlink belong to WEB-05.

Refs cflmy/marqdo-ext-web#2, cflmy/marqdo#6
This commit was merged in pull request #4.
This commit is contained in:
cflmy committed 2026-11-27 09:02:27 +08:00
1 parent df4324f3e3
commit 7a2c9280c0
26 files changed
+1559 -3

No files matched your search

@@ -0,0 +1,21 @@
# 电路画布组件
## @knowledge 电路画布
### 场景
| 状态 | 内容 | 初始 |
| --- | --- | --- |
| empty | [空电路](../shared/states.mq.md#空电路) | true |
| selected | [已选门](../shared/states.mq.md#已选门) | false |
### 交互
| 当前 | 事件 | 下一状态 |
| --- | --- | --- |
| empty | 模拟放置 H 门 | selected |
| selected | 模拟清空 | empty |
### 验收
- 空电路提示放置第一个门;选择门时右侧检查器同步。
@@ -0,0 +1,11 @@
# 检查器组件
## @knowledge 检查器
### 内容
显示所选门的参数、目标比特与错误提示占位。
### 验收
- 无选择时显示空状态,不伪造成已保存。
@@ -0,0 +1,11 @@
# 门面板组件
## @knowledge 门面板
### 内容
按类别列出单比特门、双比特门与测量操作。
### 验收
- 点击门不会立即加入电路,需拖拽或选择目标比特。