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..b1a8807 --- /dev/null +++ b/docs/evidence/2026-11-30-tools-promotion.md @@ -0,0 +1,69 @@ +# 工具组件 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 | +| std-text | `stdlib/text` | `161600102d…` | `a031fedb73028ef2581e2a9679c3638be6cc063b` | 默认分支 CI-03 `scripts/package.sh`;两次打包字节一致 `b5713054…`;归档模块与 pinned Bundle 逐字节 MATCH;`scripts/test.sh` PASS 2 cases(#12 已关闭) | + +## 2. 本提交未晋升的组件(附原因) + +| 组件 | 原因 | +|---|---| +| `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 +``` + +本候选实测(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(全部集成测试通过) +``` + +全量生态组合(本候选实测 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. 边界 + +- catalog/components、entry、状态与远端均未改动;只固定已合并的 active 工具提交。 +- 未创建 tag/release,未修改子仓源码,未新增跨仓依赖。 +- 逐层顺序保持:先子仓 C2 合并,再由本提交更新根 gitlink 形成 A2 候选。 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 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 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