candidate: pin CLI Phase B and derive every artifact from the root candidate
M3 candidate for cflmy/marqdo#9: the root cli gitlink now points at the CLI Phase B commit that removed the in-repo stdlib sources and pinned the accepted ecosystem Bundle. scripts/integration.sh no longer takes a CLI artifact from View's frozen RC.4 script. One candidate derives every input: the root-owned Bundle producer assembles the Bundle from pinned gitlinks, the CLI and Worker are built from the pinned cli commit, the release archive is packaged with --stdlib-dir, and Conformance/View/Knowledge/Prove/Lint plus acceptance-stdlib all use that same installed binary and adjacent Bundle. Evidence records the exact identities. Composition gains the print-format equivalence fixture (moved from the CLI) and a pure-mode Table case; the root acceptance compares stdout line pairs so the official print/打印 aliases must produce identical formatting. Refs cflmy/marqdo#9, cflmy/marqdo-cli#11
This commit is contained in:
1 parent
48189243f7
commit
380d4f95a3
9 files changed
+514
-35
No files matched your search
+1
-1
@@ -52,7 +52,7 @@ bash scripts/integration.sh # 生态候选:真实 CLI 制品 +
|
||||
- 生态候选使用**固定、可验证**的 CLI/Worker/Stdlib 候选制品;输入必须绑定 CLI gitlink SHA、目标平台、归档/二进制/Bundle digest、工具链与锁。
|
||||
- 标准库 Bundle 的唯一生产者是根仓库的 `scripts/build-stdlib.py`:它从根提交的精确组件 gitlink 读取各 active `kind = "stdlib"` 组件的 `modules/`,校验发布路径(只发布 `.mq.md`、拒绝 symlink/子模块/大小写与 NFC 冲突、`tests/` 不入库),生成现行 `stdlib.json`(tree digest + aliases digest),配置在 `scripts/stdlib-bundle.json`。版本变化必须显式(`--baseline-manifest` 拒绝同版本不同摘要)。组件仓继续拥有源码与测试,根不复制模块。
|
||||
- 组合验收入口是根仓库的 `scripts/acceptance-stdlib.py`:只接受显式 `--cli` 与 `--bundle`(或按根 gitlink 构建),运行各 active 组件的 `entry`、跨仓组合 fixture(别名、Table 切分、默认 Bundle smoke)和必须失败的负例;提供 `--pack-tool` 时用 CLI 自己的打包器做两次确定性打包并核对摘要。CLI 自身打包请使用 Phase A 之后的 `--stdlib-dir` 输入,不再默认读取 CLI 源码树。
|
||||
- 当前候选的冻结制品适配器以正式 RC.4 为基线,临时从 View 的 `frozen-beta.sh` 获取;这属于待替换的过渡实现,CLI 版本不得由任一消费者决定。主仓库统一制品准备落地后,在此切换并记录证据。
|
||||
- 统一制品输入已落地(ECO-02 核心):`scripts/integration.sh` 不再从 View 的冻结脚本取 CLI 制品,而是由同一根候选派生全部输入——根唯一生产者 `scripts/build-stdlib.py` 按固定 gitlink 生成 Bundle;`cli/` 固定提交构建 CLI 与 Worker;`cli/tools/release/package.py --stdlib-dir <Bundle>` 生成发行归档;随后 Conformance、View、Knowledge、Prove、Lint 与根 `acceptance-stdlib.py` 全部使用同一安装后二进制与相邻 Bundle。任何消费者都不能决定 CLI 版本,也不再有浮动或隐式制品。
|
||||
- 组件验收只读取传入制品,不自行下载未知版本;开发目录覆盖入口(如 `MARQDO_STDLIB_DIR`)不得当作发行行为。缺失、摘要不符或平台不符必须拒绝。
|
||||
|
||||
## 影响范围与调度
|
||||
|
||||
Reference in new issue
Block a user