- migrate crate to RFC-0002 §5.3 Reader layout: src/protocol/{analysis_v2,
trace_v2,tool_v1}.rs, src/reader/{source,markdown,model,assemble,render,
assets}.rs, src/config.rs; lib.rs is the composition root; delete app/project/
semantic/trace/document/presentation/source_map/render/assets top-level files
- split presentation into model (types) and assemble (merge/stale/DocumentService)
- merge controlled project root/path boundary and UTF-8 byte spans into
reader/source.rs; move view.json config to config.rs
- replace GET /api/document with read-only GET /api/documents (documents list +
current outline/function/analysis summary) and add contract tests
- reading UI: drop variable/memory placeholder actions, keep one explicit
unsupported explanation, add simple dark theme toggle over the single token
layer; assert via rendering test
- reorganize tests into Cargo [[test]] suites tests/contract and
tests/integration; record docs/evidence/PR-02
- unit 41 + contract 41 + integration 33 all pass; clippy clean
验收证据
本目录保存由真实命令生成的验收证据,命名 <CLI-SOURCE-SHA>/manifest.json:
view_source_sha:生成证据时的 View Git SHA。view_binary_sha256:发布 bundle 内bin/marqdo-view摘要。cli_binary_sha256_before/after:冻结 CLI 在验收前后的 SHA-256,必须相同。cli_source_sha:CLI 发布归档SOURCE_SHA。tool/analysis/trace_protocol、target、archive_sha256。gates:tools/acceptance.sh每一步的真实退出状态。tests:contract/browser/export/security 的 PASS/FAIL/SKIP。
生成方式(不要手写/篡改):
MARQDO_BIN=/abs/path/to/frozen/marqdo tools/acceptance.sh
manifest.json 在验收的最后一步写入;若某一步失败,脚本以非零退出且不会声称 PASS。
CI URL 只有在 .woodpecker.yml 真正运行后才可补入;本仓库当前未声称远端 CI 通过。
PR-03/ 子目录保存浏览器截图证据(非协议证据),说明见其 README.md。