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
22 lines
479 B
Markdown
22 lines
479 B
Markdown
# 电路画布组件
|
|
|
|
## @knowledge 电路画布
|
|
|
|
### 场景
|
|
|
|
| 状态 | 内容 | 初始 |
|
|
| --- | --- | --- |
|
|
| empty | [空电路](../shared/states.mq.md#空电路) | true |
|
|
| selected | [已选门](../shared/states.mq.md#已选门) | false |
|
|
|
|
### 交互
|
|
|
|
| 当前 | 事件 | 下一状态 |
|
|
| --- | --- | --- |
|
|
| empty | 模拟放置 H 门 | selected |
|
|
| selected | 模拟清空 | empty |
|
|
|
|
### 验收
|
|
|
|
- 空电路提示放置第一个门;选择门时右侧检查器同步。
|