Files
marqdo-view/docs/design/complete-reader.md
T
Marqdo View a802f96b6e
ci/woodpecker/push/woodpecker Pipeline was successful
feat: migrate View 0.3.0 to marqdo 3.0.0-rc.4 contracts
Replace the retired rc.2 Analysis v2/Trace v2/Execution Events v1 stack with the
single current contract family:

- Analysis v3 (ADR-0069 public boundary): one check --emit artifact carries the
  exact source, Markdown AST, heading scopes (heading_span + complete span),
  anchors, state-bearing references, calls, resources and diagnostics; the old
  revision-3 shape is rejected with a rebuild hint.
- Observation v1: one run/call --output jsonl stream (+ atomic
  --observation-file snapshot) decoded by one decoder and projected into the
  reader/SSE/export layers; stale/malformed/truncated/incomplete never render
  as success.
- CLI Tool revision 1: requires {api_revision:1, analysis:3, observation:1},
  product range >=3.0.0-rc.3,<4.0.0, only MARQDO_BIN and
  MARQDO_API_REVISION are consumed.
- Remove compatibility branches, retired flags/env vars and duplicate decoders;
  re-record Analysis v3 and Observation v1 fixtures; rewrite contract,
  integration and security tests (173 passing locally).
- Add check-no-legacy/check-docs/check-observation gates, rc.4 pins in the
  CI pipelines, 0.3.0 Tool bundle and evidence manifest support.

See issues #4, #5 and #6; acceptance baseline is CLI source
452e9a32bd9e40dba427d4180691c58bab74449e, archive
9c3f166b5e5b8840d39d10019074e4e1c42432fc23e26c69670e64fdcf4e15d8.
2026-11-25 21:58:15 +08:00

12 lines
2.0 KiB
Markdown

# 完整阅读与结果导出设计
> 契约提示:当前实现以 Analysis revision 3 与 Observation revision 1 为准,
> 见 [`docs/architecture/observation-v1-and-analysis-v3.md`](../architecture/observation-v1-and-analysis-v3.md)。
[高保真设计图](complete-reader.png)由内置 ImageGen 生成,参考旧版 View 截图。实现沿用旧版居中品牌、暖纸色、衬线正文、金色函数标记和橄榄色结果边框。示意图右侧是独立的导出确认状态,窄屏使用单列。
提示词见下方。
> Use case: ui-mockup. Asset type: high fidelity desktop Marqdo View implementation design reference. Create a wide storyboard of two product states using the provided old Marqdo View screenshot as a visual reference (retain its centered logo, warm paper, understated pale blossom upper left, amber accent, olive success and serif document typography). Left 64%: real desktop reader, with centered header Marqdo, navigation 文档, 源码, subdued filename index.mq.md, readable title 小型统计实验, a paragraph, rendered mathematical mean formula and small document figure. Continue in the same article with a gold-slash function heading 计算均值 and a small outline button 调用 on the same row. Under the function body put one thin olive-bordered collapsible 本次执行 panel, status 成功, read-only 返回值 4, stdout preview and action 导出文档(含本次结果). Right 36%: show the opened export confirmation dialog as a full flat inset panel headed 导出文档(含本次结果), target 计算均值 and status 成功, checklist with 返回值, stdout and 轨迹摘要 selected, 参数 and stderr unselected, byte counts, privacy confirmation, and an amber 下载 ZIP button beside 取消. Quiet editorial composition, no coding dashboard, no charts unrelated to document, no extra product copy. Flat straight-on browser UI, readable typography, generous whitespace, clean borders. The reference is for an existing paper-themed reader, preserve its design language.