feat: promote verified CLI and tool gitlinks (C2→A2) #60
No files matched your search
+1
-1
Submodule cli updated: 63776735e9...36666ab52b.
@@ -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> CARGO_HOME=<writable> 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 候选。
|
||||
@@ -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
|
||||
|
||||
+1
-1
Submodule stdlib/text updated: 161600102d...a031fedb73.
+1
-1
Submodule tools/knowledge updated: 3cc477de60...ff6dad4bc2.
+1
-1
Submodule tools/lint updated: c21e1a9d8a...cd01607fea.
+1
-1
Submodule tools/prove updated: 5201d8b6a3...931b421ba7.
+1
-1
Submodule tools/view updated: 13f89f758d...0b20905175.
Reference in new issue
Block a user