From 2ae5d5b0621322ffe64c2765bf11d1d1ac014457 Mon Sep 17 00:00:00 2001 From: cflmy Date: Mon, 30 Nov 2026 12:31:58 +0800 Subject: [PATCH 1/4] feat: promote verified CLI and tool gitlinks 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). --- cli | 2 +- docs/evidence/2026-11-30-tools-promotion.md | 43 +++++++++++++++++++++ tools/knowledge | 2 +- tools/lint | 2 +- tools/prove | 2 +- tools/view | 2 +- 6 files changed, 48 insertions(+), 5 deletions(-) create mode 100644 docs/evidence/2026-11-30-tools-promotion.md diff --git a/cli b/cli index 6377673..36666ab 160000 --- a/cli +++ b/cli @@ -1 +1 @@ -Subproject commit 63776735e924ade279cdf59d5c733dc24bfdabbb +Subproject commit 36666ab52b611c26003b15a9e1c7e23d6c99ebb2 diff --git a/docs/evidence/2026-11-30-tools-promotion.md b/docs/evidence/2026-11-30-tools-promotion.md new file mode 100644 index 0000000..a943b19 --- /dev/null +++ b/docs/evidence/2026-11-30-tools-promotion.md @@ -0,0 +1,43 @@ +# 工具组件 C2 → A2 晋升(2026-11-30) + +本轮把 CLI/TOOLS 的已合并组件候选固定到主仓库 gitlink;领域/标准库 Bundle 链 +与计划中扩展单独记录,不在本提交中冒充完成。 + +## 1. 晋升表 + +| 组件 | 路径 | 旧 gitlink | 新 gitlink(C2 合并提交) | C2 证据 | +|---|---|---|---|---| +| cli | `cli` | `63776735…` | `36666ab52b611c26003b15a9e1c7e23d6c99ebb2` | PR #27;Woodpecker push #159 / PR #160 全绿 | +| view | `tools/view` | `13f89f75…` | `0b20905175ab915024ed4a15e28e92d9ead44009` | PR #18/#20;真实 Chromium/acceptance 记录于候选 PR;`--version` 源 SHA、install/`--embed` 本机 PASS | +| knowledge | `tools/knowledge` | `3cc477de…` | `ff6dad4bc2336ff4fee8316d0557d41af4fcff2f` | PR #15;140 tests、core/release lane PASS(archive `aeb82882…`) | +| prove | `tools/prove` | `5201d8b6…` | `931b421ba7f75f09590851df12e998b098d80614` | PR #10;96 tests、Tool install/`--build-info`/remove PASS | +| lint | `tools/lint` | `c21e1a9d…` | `cd01607fea2d89752f58afc8a4cbaa77a02759ff` | PR #15;64 tests、25 条规则、real-Tool 安装验收 PASS | + +## 2. 本提交未晋升的组件(附原因) + +| 组件 | 原因 | +|---|---| +| `stdlib/text` | 确定性源码归档 PR `marqdo-std-text#15` 仍待 Gitea 合并(API 405 transient);未合并前不固定。 | +| `stdlib/data` | 严格 JSON 已合并(`250633fd…`),但它改变 Bundle 模块字节/摘要;必须与根 Bundle 生产者、CLI `bundle-pin.json` 在同一候选组合更新,不能只改 gitlink。 | +| `marqdo-ext-http` / `marqdo-ext-ai` | catalog 仍 `planned` 且未登记 entry;HTTP #13/AI AI-U2 候选已合并但 ext-ai lock 依赖链(HTTP 合并提交重 pin)留待下一候选。 | +| 其它 planned 扩展 | 本轮完成准入评估(保持 planned,逐仓 `docs/ADMISSION.md` + issue #1 结论),不激活、不登记 entry、不进入本组合。 | +| `marqdo-ext-web` 领域 | 同候选 Design/Preview + 真实浏览器领域验收 `UNVERIFIED`;不修改领域 gitlink。 | + +## 3. 校验 + +```text +python3 scripts/check-layout.py +python3 scripts/check-layout.py --checkouts +python3 -m unittest discover -s tests/integration +python3 scripts/check-repo-conventions.py +``` + +结果记录在 PR 与本文后续更新中;未运行项写 `UNVERIFIED`,不以父级通过推导 Bleaf +CI 通过。根 `scripts/integration.sh` 全量组合需要同候选 CLI/Bundle 重建(stdlib +data 变更未晋升),本提交不冒充运行。 + +## 4. 边界 + +- catalog/components、entry、状态与远端均未改动;只固定已合并的 active 工具提交。 +- 未创建 tag/release,未修改子仓源码,未新增跨仓依赖。 +- 逐层顺序保持:先子仓 C2 合并,再由本提交更新根 gitlink 形成 A2 候选。 diff --git a/tools/knowledge b/tools/knowledge index 3cc477d..ff6dad4 160000 --- a/tools/knowledge +++ b/tools/knowledge @@ -1 +1 @@ -Subproject commit 3cc477de60632bfe10acb83fdf8979729f74e28e +Subproject commit ff6dad4bc2336ff4fee8316d0557d41af4fcff2f diff --git a/tools/lint b/tools/lint index c21e1a9..cd01607 160000 --- a/tools/lint +++ b/tools/lint @@ -1 +1 @@ -Subproject commit c21e1a9d8ae2bff95a02e632b912053e4c28e75a +Subproject commit cd01607fea2d89752f58afc8a4cbaa77a02759ff diff --git a/tools/prove b/tools/prove index 5201d8b..931b421 160000 --- a/tools/prove +++ b/tools/prove @@ -1 +1 @@ -Subproject commit 5201d8b6a3300326ec22a8d0ed3c650d465ca16d +Subproject commit 931b421ba7f75f09590851df12e998b098d80614 diff --git a/tools/view b/tools/view index 13f89f7..0b20905 160000 --- a/tools/view +++ b/tools/view @@ -1 +1 @@ -Subproject commit 13f89f758d869efcfa6e4c2b494898f3c4590ad9 +Subproject commit 0b20905175ab915024ed4a15e28e92d9ead44009 -- 2.54.1 From 958991f268a027700123d1c82016299404e67138 Mon Sep 17 00:00:00 2001 From: cflmy Date: Mon, 30 Nov 2026 12:32:39 +0800 Subject: [PATCH 2/4] docs: record root layout, conventions and integration validation 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. --- docs/evidence/2026-11-30-tools-promotion.md | 21 ++++++++++++++++++--- 1 file changed, 18 insertions(+), 3 deletions(-) diff --git a/docs/evidence/2026-11-30-tools-promotion.md b/docs/evidence/2026-11-30-tools-promotion.md index a943b19..729e0d4 100644 --- a/docs/evidence/2026-11-30-tools-promotion.md +++ b/docs/evidence/2026-11-30-tools-promotion.md @@ -32,9 +32,24 @@ python3 -m unittest discover -s tests/integration python3 scripts/check-repo-conventions.py ``` -结果记录在 PR 与本文后续更新中;未运行项写 `UNVERIFIED`,不以父级通过推导 Bleaf -CI 通过。根 `scripts/integration.sh` 全量组合需要同候选 CLI/Bundle 重建(stdlib -data 变更未晋升),本提交不冒充运行。 +本候选实测(Linux x86_64 / glibc 2.43,root commit `2ae5d5b` 树,子模块已按 +新 gitlink 检出): + +```text +$ python3 scripts/check-layout.py +PASS(active/planned/entry/远端校验;新 gitlink 出现在输出版本) +$ python3 scripts/check-layout.py --checkouts +PASS(递归域、全局依赖图、web-design/web-preview 固定提交与入口) +$ python3 scripts/check-repo-conventions.py +PASS (38 components) +$ python3 -m unittest discover -s tests/integration +PASS(全部集成测试通过) +``` + +未运行/未冒充:`scripts/integration.sh` 全量生态组合(需要同候选 CLI/Bundle 重建 +与受影响组合验收;stdlib/data 变更未在本提交晋升,Bundle 链保持旧候选); +`scripts/acceptance-stdlib.py` 与受影响 Tool 冷安装组合留待包含 Bundle 的候选。 +Woodpecker 根 PR/eco lane 结果以 PR 记录为准;本环境未以本地脚本代替平台 CI。 ## 4. 边界 -- 2.54.1 From 6ef834cd914ce5c46f2abcfa3a882f4121ab4121 Mon Sep 17 00:00:00 2001 From: cflmy Date: Mon, 30 Nov 2026 12:37:28 +0800 Subject: [PATCH 3/4] feat: pin std-text CI-03 merge 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. --- docs/evidence/2026-11-30-tools-promotion.md | 2 +- stdlib/text | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/evidence/2026-11-30-tools-promotion.md b/docs/evidence/2026-11-30-tools-promotion.md index 729e0d4..136fe33 100644 --- a/docs/evidence/2026-11-30-tools-promotion.md +++ b/docs/evidence/2026-11-30-tools-promotion.md @@ -12,12 +12,12 @@ | knowledge | `tools/knowledge` | `3cc477de…` | `ff6dad4bc2336ff4fee8316d0557d41af4fcff2f` | PR #15;140 tests、core/release lane PASS(archive `aeb82882…`) | | prove | `tools/prove` | `5201d8b6…` | `931b421ba7f75f09590851df12e998b098d80614` | PR #10;96 tests、Tool install/`--build-info`/remove PASS | | lint | `tools/lint` | `c21e1a9d…` | `cd01607fea2d89752f58afc8a4cbaa77a02759ff` | PR #15;64 tests、25 条规则、real-Tool 安装验收 PASS | +| std-text | `stdlib/text` | `161600102d…` | `a031fedb73028ef2581e2a9679c3638be6cc063b` | 默认分支 CI-03 `scripts/package.sh`;两次打包字节一致 `b5713054…`;归档模块与 pinned Bundle 逐字节 MATCH;`scripts/test.sh` PASS 2 cases(#12 已关闭) | ## 2. 本提交未晋升的组件(附原因) | 组件 | 原因 | |---|---| -| `stdlib/text` | 确定性源码归档 PR `marqdo-std-text#15` 仍待 Gitea 合并(API 405 transient);未合并前不固定。 | | `stdlib/data` | 严格 JSON 已合并(`250633fd…`),但它改变 Bundle 模块字节/摘要;必须与根 Bundle 生产者、CLI `bundle-pin.json` 在同一候选组合更新,不能只改 gitlink。 | | `marqdo-ext-http` / `marqdo-ext-ai` | catalog 仍 `planned` 且未登记 entry;HTTP #13/AI AI-U2 候选已合并但 ext-ai lock 依赖链(HTTP 合并提交重 pin)留待下一候选。 | | 其它 planned 扩展 | 本轮完成准入评估(保持 planned,逐仓 `docs/ADMISSION.md` + issue #1 结论),不激活、不登记 entry、不进入本组合。 | diff --git a/stdlib/text b/stdlib/text index 1616001..a031fed 160000 --- a/stdlib/text +++ b/stdlib/text @@ -1 +1 @@ -Subproject commit 161600102d548d00f7badda7da49dd8fd0414bf3 +Subproject commit a031fedb73028ef2581e2a9679c3638be6cc063b -- 2.54.1 From 06258d0ba26bf28a2ef567aa1d6a7addf4e0f8cf Mon Sep 17 00:00:00 2001 From: cflmy Date: Mon, 30 Nov 2026 12:46:28 +0800 Subject: [PATCH 4/4] fix: embed the CLI source commit in the integration build 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. --- docs/evidence/2026-11-30-tools-promotion.md | 19 +++++++++++++++---- scripts/integration.sh | 3 +++ 2 files changed, 18 insertions(+), 4 deletions(-) diff --git a/docs/evidence/2026-11-30-tools-promotion.md b/docs/evidence/2026-11-30-tools-promotion.md index 136fe33..b1a8807 100644 --- a/docs/evidence/2026-11-30-tools-promotion.md +++ b/docs/evidence/2026-11-30-tools-promotion.md @@ -46,10 +46,21 @@ $ python3 -m unittest discover -s tests/integration PASS(全部集成测试通过) ``` -未运行/未冒充:`scripts/integration.sh` 全量生态组合(需要同候选 CLI/Bundle 重建 -与受影响组合验收;stdlib/data 变更未在本提交晋升,Bundle 链保持旧候选); -`scripts/acceptance-stdlib.py` 与受影响 Tool 冷安装组合留待包含 Bundle 的候选。 -Woodpecker 根 PR/eco lane 结果以 PR 记录为准;本环境未以本地脚本代替平台 CI。 +全量生态组合(本候选实测 PASS): + +```text +$ PATH= CARGO_HOME= bash scripts/integration.sh +... +PASS: ecosystem candidate (single CLI/Worker/Bundle artifact, consumers green) +``` + +修复项:`scripts/integration.sh` 现在在构建 CLI/Worker 前 +`export MARQDO_BUILD_SOURCE_SHA="$source_sha"`,满足 CLI #20/#26 的发行身份绑定 +(否则 `package.py` 正确拒绝未内嵌源码的二进制)。 + +仍未冒充:`scripts/acceptance-stdlib.py` 中 stdlib/data 严格入口的 Bundle 组合 +(本提交未晋升 stdlib/data;Bundle 链仍为旧候选);Woodpecker 根 eco lane 以 +PR 平台结果为准,本地 PASS 不替代平台 CI。 ## 4. 边界 diff --git a/scripts/integration.sh b/scripts/integration.sh index e3ec8f1..26753e5 100755 --- a/scripts/integration.sh +++ b/scripts/integration.sh @@ -77,6 +77,9 @@ test -f "$work/stdlib/stdlib.json" # 2. CLI and Worker from the exact pinned CLI gitlink. source_sha="$(git -C cli rev-parse HEAD)" +# The release packager proves the staged binaries report this exact source +# commit and the archived Bundle (CLI #20/#26); embed it at build time. +export MARQDO_BUILD_SOURCE_SHA="$source_sha" # The CLI release packager resolves its binaries from the pinned CLI checkout's # own target directory; keep this build there so the package step consumes the # same artifacts without a second build. Do not export CARGO_TARGET_DIR: the -- 2.54.1