feat: promote CLI document-read capability (C2→A2) #64

Merged
cflmy merged 2 commits from codex/promote-cli-document-read into main 2026-11-30 16:05:41 +08:00
Owner

概述

按 C2→A2 晋升 marqdo-cli C2 afea4f9(PR #29,cli#24):根 gitlink 从 8ad2f2c 更新到该合并提交。只改 cli gitlink + 证据;catalog/entry/其他组件不变。

组件证据

  • 运行期只读文稿能力 document.outline/document.read(ADR-0074、spec/document-access.md、spec/evaluation.md §8)。
  • 与 check --emit Analysis 3 逐字节一致的契约测试;负例覆盖 not_loaded/unknown_unit/stale_source/too_large/invalid_request。
  • 组件本地门禁:fmt/clippy、641 tests、docs_consistency、依赖/引擎/SDK 边界、independent build PASS。
  • 平台 Woodpecker:push #167 / PR #168 success。
  • 证据:docs/evidence/2026-11-30-cli-document-runtime-access.md。

根候选本地验证

python3 scripts/check-layout.py                       PASS
python3 scripts/check-layout.py --checkouts           PASS
python3 scripts/check-repo-conventions.py             PASS
python3 -m unittest discover -s tests/integration     PASS
bash scripts/integration.sh                           PASS
  smoke: verified stdlib 0.3.0 tree=sha256:4e47b0ff…
  PASS: ecosystem candidate (single CLI/Worker/Bundle artifact, consumers green)

证据:docs/evidence/2026-11-30-cli-document-read-promotion.md。
平台 CI(本 PR eco lane)结果以 PR 记录为准,本地 PASS 不替代。

边界 / 未完成

  • 未改 catalog/entry、未改其他组件、未创建 release/tag。
  • document.* 为只读快照访问,不新增文件/网络/执行授权。
  • ext-ai 的 AI-U1 消费闭环由 ext-ai 侧在固定 CLI 候选上另行实现/验收。
  • Windows/macOS 原生 lane、strict VM、正式发布仍 UNVERIFIED。

refs #55 #56

## 概述 按 C2→A2 晋升 `marqdo-cli` C2 `afea4f9`(PR #29,`cli#24`):根 gitlink 从 `8ad2f2c` 更新到该合并提交。只改 cli gitlink + 证据;catalog/entry/其他组件不变。 ## 组件证据 - 运行期只读文稿能力 `document.outline`/`document.read`(ADR-0074、`spec/document-access.md`、`spec/evaluation.md` §8)。 - 与 `check --emit` Analysis 3 逐字节一致的契约测试;负例覆盖 not_loaded/unknown_unit/stale_source/too_large/invalid_request。 - 组件本地门禁:fmt/clippy、641 tests、docs_consistency、依赖/引擎/SDK 边界、independent build PASS。 - 平台 Woodpecker:push #167 / PR #168 success。 - 证据:`docs/evidence/2026-11-30-cli-document-runtime-access.md`。 ## 根候选本地验证 ```text python3 scripts/check-layout.py PASS python3 scripts/check-layout.py --checkouts PASS python3 scripts/check-repo-conventions.py PASS python3 -m unittest discover -s tests/integration PASS bash scripts/integration.sh PASS smoke: verified stdlib 0.3.0 tree=sha256:4e47b0ff… PASS: ecosystem candidate (single CLI/Worker/Bundle artifact, consumers green) ``` 证据:`docs/evidence/2026-11-30-cli-document-read-promotion.md`。 平台 CI(本 PR eco lane)结果以 PR 记录为准,本地 PASS 不替代。 ## 边界 / 未完成 - 未改 catalog/entry、未改其他组件、未创建 release/tag。 - `document.*` 为只读快照访问,不新增文件/网络/执行授权。 - ext-ai 的 AI-U1 消费闭环由 ext-ai 侧在固定 CLI 候选上另行实现/验收。 - Windows/macOS 原生 lane、strict VM、正式发布仍 UNVERIFIED。 refs #55 #56
cflmy added 2 commits 2026-11-30 15:55:44 +08:00
Pin marqdo-cli C2 afea4f9 (PR #29, issue #24) in the root gitlink tree. The
component adds the read-only document.outline/document.read snapshot builtins
with an Analysis-consistent contract, tests and ADR-0074; root catalog/entries
are unchanged. Evidence: docs/evidence/2026-11-30-cli-document-read-promotion.md.
Local layout/checkouts/conventions/integration validation to be recorded on the
candidate before the PR is opened.
check-layout (tree + recursive), check-repo-conventions, tests/integration and
the full scripts/integration.sh ecosystem candidate all PASS locally with
Bundle 0.3.0 verified; the platform eco lane is recorded by the root PR.
cflmy merged commit 1a2e046df3 into main 2026-11-30 16:05:41 +08:00
Author
Owner

合并结果(A2)

  • PR #64 合并:1a2e046df344c90014ac1ad6b7476aaa7291bcbb;根 main 现固定 cli afea4f947473ae4cd5688e53a6545cce7f327b2f。
  • 平台 Woodpecker pipeline #328:clone/layout/checkouts/candidate/app 全部 success。
  • 本地同候选:check-layout(tree+recursive)、check-repo-conventions、tests/integration、完整 scripts/integration.sh 均 PASS,Bundle 仍为 marqdo-stdlib 0.3.0(tree sha256:4e47b0ff…)。
  • 未创建 release/tag;Windows/macOS 原生 lane、strict VM 仍 UNVERIFIED。
## 合并结果(A2) - PR #64 合并:`1a2e046df344c90014ac1ad6b7476aaa7291bcbb`;根 main 现固定 `cli afea4f947473ae4cd5688e53a6545cce7f327b2f`。 - 平台 Woodpecker pipeline **#328**:`clone/layout/checkouts/candidate/app` 全部 success。 - 本地同候选:check-layout(tree+recursive)、check-repo-conventions、tests/integration、完整 `scripts/integration.sh` 均 PASS,Bundle 仍为 `marqdo-stdlib 0.3.0`(tree `sha256:4e47b0ff…`)。 - 未创建 release/tag;Windows/macOS 原生 lane、strict VM 仍 UNVERIFIED。
Sign in to join this conversation.
No Reviewers
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: cflmy/marqdo#64