feat: promote verified CLI and tool gitlinks (C2→A2) #60

Merged
cflmy merged 4 commits from codex/promote-tools-2026-11-30 into main 2026-11-30 12:58:40 +08:00
Owner

概述

按 C2→A2 晋升本轮已合并的 CLI/TOOLS 组件 gitlink,保持 catalog、entry、状态与远端不变;stdlib/data(Bundle 链)与 planned 扩展不在此提交中冒充晋升。

晋升

组件 新 gitlink C2 证据
cli 36666ab52b61 PR #27;Woodpecker push #159 / PR #160 全绿;环境诊断 + 文稿结构契约 + 发行绑定
view 0b20905175ab PR #18/#20;真实 Chromium/acceptance 候选证据;--version 源 SHA + install/--embed 本机 PASS
knowledge ff6dad4bc233 PR #15;140 tests、core/release lane PASS(archive aeb82882…)
prove 931b421ba7f7 PR #10;96 tests、Tool install/--build-info/remove PASS
lint cd01607fea2d PR #15;64 tests、25 规则、real-Tool 安装验收 PASS

未晋升(附原因)

  • stdlib/text:确定性归档 PR 仍待合并(Gitea API transient 405),未合并不固定。
  • stdlib/data:严格 JSON 已合并,但会改变 Bundle 模块字节/摘要,必须与根 Bundle 生产者 + CLI bundle-pin.json 同候选更新;本提交不单方面改 gitlink。
  • extensions/http / extensions/ai:catalog 仍 planned、未登记 entry;HTTP #13/AI #3/#4 候选已合并,但 ext-ai lock 需在 HTTP 合并提交上重新 pin,留待下一候选。
  • 14 个 planned 扩展仓:本轮完成准入评估(保持 planned,逐仓 docs/ADMISSION.md + issue #1 结论),不激活/不登记 entry/不进本组合。
  • extensions/web 领域:同候选 Design/Preview + 真实浏览器领域验收 UNVERIFIED,不改领域 gitlink。

根校验(本候选实测)

python3 scripts/check-layout.py                      PASS
python3 scripts/check-layout.py --checkouts          PASS(递归域/依赖图/固定提交/入口)
python3 scripts/check-repo-conventions.py            PASS (38 components)
python3 -m unittest discover -s tests/integration    PASS

证据:docs/evidence/2026-11-30-tools-promotion.md。

UNVERIFIED(不冒充)

  • scripts/integration.sh 全量生态组合与 acceptance-stdlib.py(需要与 Bundle 变更同候选;本轮 stdlib/data 未晋升)。
  • Woodpecker 根 eco lane:以本 PR 平台 CI 结果为准,未用本地脚本替代。
  • Windows/macOS 原生、strict VM 等平台 lane 仍 UNVERIFIED。

边界

只更新 5 个 active 工具 gitlink + 一份证据文档;未改组件源码、catalog、entry、发布或标签;无新增跨仓依赖。

refs #55 #56

## 概述 按 C2→A2 晋升本轮已合并的 CLI/TOOLS 组件 gitlink,保持 catalog、entry、状态与远端不变;stdlib/data(Bundle 链)与 planned 扩展不在此提交中冒充晋升。 ## 晋升 | 组件 | 新 gitlink | C2 证据 | |---|---|---| | cli | `36666ab52b61` | PR #27;Woodpecker push #159 / PR #160 全绿;环境诊断 + 文稿结构契约 + 发行绑定 | | view | `0b20905175ab` | PR #18/#20;真实 Chromium/acceptance 候选证据;`--version` 源 SHA + install/`--embed` 本机 PASS | | knowledge | `ff6dad4bc233` | PR #15;140 tests、core/release lane PASS(archive `aeb82882…`) | | prove | `931b421ba7f7` | PR #10;96 tests、Tool install/`--build-info`/remove PASS | | lint | `cd01607fea2d` | PR #15;64 tests、25 规则、real-Tool 安装验收 PASS | ## 未晋升(附原因) - `stdlib/text`:确定性归档 PR 仍待合并(Gitea API transient 405),未合并不固定。 - `stdlib/data`:严格 JSON 已合并,但会改变 Bundle 模块字节/摘要,必须与根 Bundle 生产者 + CLI `bundle-pin.json` 同候选更新;本提交不单方面改 gitlink。 - `extensions/http` / `extensions/ai`:catalog 仍 planned、未登记 entry;HTTP #13/AI #3/#4 候选已合并,但 ext-ai lock 需在 HTTP 合并提交上重新 pin,留待下一候选。 - 14 个 planned 扩展仓:本轮完成准入评估(保持 planned,逐仓 `docs/ADMISSION.md` + issue #1 结论),不激活/不登记 entry/不进本组合。 - `extensions/web` 领域:同候选 Design/Preview + 真实浏览器领域验收 UNVERIFIED,不改领域 gitlink。 ## 根校验(本候选实测) ```text python3 scripts/check-layout.py PASS python3 scripts/check-layout.py --checkouts PASS(递归域/依赖图/固定提交/入口) python3 scripts/check-repo-conventions.py PASS (38 components) python3 -m unittest discover -s tests/integration PASS ``` 证据:`docs/evidence/2026-11-30-tools-promotion.md`。 ## UNVERIFIED(不冒充) - `scripts/integration.sh` 全量生态组合与 `acceptance-stdlib.py`(需要与 Bundle 变更同候选;本轮 stdlib/data 未晋升)。 - Woodpecker 根 eco lane:以本 PR 平台 CI 结果为准,未用本地脚本替代。 - Windows/macOS 原生、strict VM 等平台 lane 仍 UNVERIFIED。 ## 边界 只更新 5 个 active 工具 gitlink + 一份证据文档;未改组件源码、catalog、entry、发布或标签;无新增跨仓依赖。 refs #55 #56
cflmy added 2 commits 2026-11-30 12:32:59 +08:00
Pin the merged component candidates for cli, view, knowledge, prove and lint in
the root gitlink tree after their C2 CI/acceptance evidence, keeping catalog
states and entries unchanged. stdlib/data stays on the previous gitlink because
its module change requires the Bundle producer/CLI bundle-pin candidate to move
together; planned extensions remain pinned as before after admission decisions.

Evidence: docs/evidence/2026-11-30-tools-promotion.md (per-component C2 commit,
CI/pipeline and acceptance facts, explicit UNVERIFIED items).
check-layout (tree + recursive checkouts), check-repo-conventions (38
components) and tests/integration all PASS on the promoted tree. The full
scripts/integration.sh ecosystem combination and Bundle-bound acceptance are
NOT claimed because the stdlib/data module change is deliberately not promoted
in this commit; they remain UNVERIFIED here and must run in the root eco lane
with the matching CLI/Bundle candidate.
cflmy added 1 commit 2026-11-30 12:37:35 +08:00
The std-text default branch a031fed already implements CI-03 with
scripts/package.sh (repeatable git-archive source candidate) and CI sha256
verification. Verified locally: two builds are byte-identical
(sha256 b5713054...), the archived modules match the pinned Bundle bytes
exactly (so the Bundle identity is unchanged) and scripts/test.sh passes.
Pin that merged commit and record it in the promotion evidence; the duplicate
source_archive.py candidate PR #15 is closed as superseded.
cflmy added 1 commit 2026-11-30 12:46:32 +08:00
The promoted CLI now refuses to package a release archive whose binaries do not
report the exact --source-sha commit (CLI #20/#26). scripts/integration.sh built
the candidate CLI without MARQDO_BUILD_SOURCE_SHA, so the ecosystem candidate
correctly failed at packaging. Export the pinned CLI gitlink SHA before the
build; the full local ecosystem integration then passes.

Evidence: scripts/integration.sh -> PASS: ecosystem candidate (single
CLI/Worker/Bundle artifact, consumers green) with the promoted gitlinks.
The stdlib/data strict-JSON Bundle combination remains out of this promotion
and is still UNVERIFIED here.
cflmy merged commit 12e2a0bfdf into main 2026-11-30 12:58:40 +08:00
Sign in to join this conversation.
No Reviewers
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: cflmy/marqdo#60