feat: paired Bundle 0.3.0 promotion (strict JSON data) #62
No files matched your search
+1
-1
Submodule cli updated: 36666ab52b...8ad2f2cffa.
@@ -0,0 +1,57 @@
|
||||
# 官方 Bundle 0.3.0 联动候选(strict JSON 数据组件)
|
||||
|
||||
Date: 2026-11-30.
|
||||
Root candidate branch: `codex/stdlib-bundle-0.3.0`.
|
||||
Component inputs: root `stdlib/data` → merged `250633fdca18d8f7d5968561c8dfb51eaeb1ceac`
|
||||
(PR #14, `json.严格解析`); CLI candidate → merged `8ad2f2cffabcea1072f772b4748606eb01dd0744`
|
||||
(PR #28, Bundle pin 0.3.0).
|
||||
|
||||
## 1. 候选身份
|
||||
|
||||
| 项 | 值 |
|
||||
|---|---|
|
||||
| Bundle | `marqdo-stdlib 0.3.0` |
|
||||
| tree digest | `sha256:4e47b0ff4b1e17d252cc74f20837014298fed4831050d65ca0c69f9cbdac55e9` |
|
||||
| aliases digest | `sha256:5f513c0fdbb3c1e9829be3c9fa23a2d1e89cb8510073fb5eb1e8e2f5265a83bb`(不变) |
|
||||
| 生产者 | 根 `scripts/build-stdlib.py`(唯一生产者) |
|
||||
| Bundle 配置 | `scripts/stdlib-bundle.json` 显式版本 bump `0.2.0 → 0.3.0` |
|
||||
| 内容变化 | `data/json.mq.md` 增加 `json.严格解析`(同层重复键/非有限值拒绝);其余模块字节不变 |
|
||||
| CLI pin | `tools/stdlib/bundle-pin.json` version/tree/aliases/source.commit = 根候选 `ad88b1e9e50aec978cb23d4e5fe316bbb779967f` |
|
||||
|
||||
版本显式变化满足“同版本不同摘要被拒绝”的规则;不存在第二份 Bundle manifest 或发布路径。
|
||||
|
||||
## 2. 本地实测
|
||||
|
||||
```text
|
||||
$ python3 scripts/build-stdlib.py --out .build/bundle-0.3.0 \
|
||||
--root-commit ad88b1e9e50aec978cb23d4e5fe316bbb779967f
|
||||
name=marqdo-stdlib version=0.3.0
|
||||
tree=sha256:4e47b0ff4b1e17d252cc74f20837014298fed4831050d65ca0c69f9cbdac55e9
|
||||
aliases=sha256:5f513c0fdbb3c1e9829be3c9fa23a2d1e89cb8510073fb5eb1e8e2f5265a83bb
|
||||
strict entry present: true
|
||||
|
||||
$ cd cli && python3 tools/ci/fetch_ecosystem_bundle.py --out target/ecosystem-stdlib-0.3.0
|
||||
# 从 pin commit 拉取根仓库与 stdlib gitlinks,运行根生产者并校验 pin:成功
|
||||
|
||||
$ MARQDO_TEST_STDLIB_BUNDLE=.../ecosystem-stdlib-0.3.0 cargo test --workspace --locked
|
||||
638 passed, 0 failed, 2 ignored
|
||||
|
||||
$ PATH=<cargo> bash scripts/integration.sh # 根候选 15213ea2 配对树
|
||||
...
|
||||
smoke: verified stdlib 0.3.0 tree=sha256:4e47b0ff... aliases=sha256:5f513c0f... files=18
|
||||
PASS: ecosystem candidate (single CLI/Worker/Bundle artifact, consumers green)
|
||||
```
|
||||
|
||||
## 3. 配对晋升顺序
|
||||
|
||||
1. 根候选 `ad88b1e9`:`stdlib/data` gitlink + Bundle 版本 bump(已推送,供 CLI pin 引用)。
|
||||
2. CLI C2 `8e43a3d`:bundle-pin 0.3.0 + 断言/文档同步;CLI 组件 CI 真实运行。
|
||||
3. 根 A2 候选:CLI gitlink → CLI 合并提交 `8ad2f2c`;根平台 CI 在 PR 中运行完整 eco lane。
|
||||
4. 合并后根 main 固定新组合;Bundle 正式发布/tag 仍为维护者动作(本证据不冒充 Release)。
|
||||
|
||||
## 4. UNVERIFIED / 边界
|
||||
|
||||
- 根平台 CI(PR)与 CLI 合并提交的最终 gitlink 校验在平台流水线完成;本文只记录本地配对验证。
|
||||
- 正式 Bundle release 资产/tag:**未创建**(需维护者批准)。
|
||||
- stdlib/data 的扩展仓消费(ext-ai 移除词法兜底)尚未切换;ext-ai 仍 pin 旧 HTTP 候选,留待下一候选。
|
||||
- Windows/macOS 原生 lane、strict VM、view/web 浏览器域验收仍 UNVERIFIED。
|
||||
@@ -1,13 +1,18 @@
|
||||
{
|
||||
"name": "marqdo-stdlib",
|
||||
"version": "0.2.0",
|
||||
"version": "0.3.0",
|
||||
"public_aliases": [
|
||||
{
|
||||
"public_names": ["print", "打印"],
|
||||
"public_names": [
|
||||
"print",
|
||||
"\u6253\u5370"
|
||||
],
|
||||
"target_module": "io.mq.md",
|
||||
"target_function": "写值",
|
||||
"expected_signature": "params(值)",
|
||||
"effects": ["host"]
|
||||
"target_function": "\u5199\u503c",
|
||||
"expected_signature": "params(\u503c)",
|
||||
"effects": [
|
||||
"host"
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
+1
-1
Submodule stdlib/data updated: 0775c1af3c...250633fdca.
Reference in new issue
Block a user