From ad88b1e9e50aec978cb23d4e5fe316bbb779967f Mon Sep 17 00:00:00 2001 From: cflmy Date: Mon, 30 Nov 2026 13:05:21 +0800 Subject: [PATCH 1/4] feat: bump the official Bundle to 0.3.0 with strict JSON data MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Pin the merged std-data component (json.严格解析: duplicate-key and non-finite-number rejection) and bump the Bundle version explicitly, so the content change is never hidden behind the same version. The root Bundle producer remains the only writer; this commit is the ecosystem-side input for the paired CLI bundle-pin candidate. --- scripts/stdlib-bundle.json | 15 ++++++++++----- stdlib/data | 2 +- 2 files changed, 11 insertions(+), 6 deletions(-) diff --git a/scripts/stdlib-bundle.json b/scripts/stdlib-bundle.json index 6684ddb..2cc7548 100644 --- a/scripts/stdlib-bundle.json +++ b/scripts/stdlib-bundle.json @@ -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" + ] } ] } diff --git a/stdlib/data b/stdlib/data index 0775c1a..250633f 160000 --- a/stdlib/data +++ b/stdlib/data @@ -1 +1 @@ -Subproject commit 0775c1af3c3a195053dbc06e988480769092e57e +Subproject commit 250633fdca18d8f7d5968561c8dfb51eaeb1ceac -- 2.54.1 From 15213ea2cdc9187e2b15b85c78a54efef7728590 Mon Sep 17 00:00:00 2001 From: cflmy Date: Mon, 30 Nov 2026 13:09:16 +0800 Subject: [PATCH 2/4] feat: pair root Bundle 0.3.0 with the CLI pin candidate Update the cli gitlink to the CLI candidate that pins marqdo-stdlib 0.3.0 (tree sha256:4e47b0ff..., source root commit ad88b1e9). Root config, root gitlinks and the CLI pin now describe one candidate combination; the Bundle is still produced only by scripts/build-stdlib.py. --- cli | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cli b/cli index 36666ab..8e43a3d 160000 --- a/cli +++ b/cli @@ -1 +1 @@ -Subproject commit 36666ab52b611c26003b15a9e1c7e23d6c99ebb2 +Subproject commit 8e43a3d82c74402da53b7e5dfaeaadcdf4a18ed5 -- 2.54.1 From a0f9fe690ffa1dcda559825ff9636698b687987a Mon Sep 17 00:00:00 2001 From: cflmy Date: Mon, 30 Nov 2026 13:11:30 +0800 Subject: [PATCH 3/4] docs: record the paired Bundle 0.3.0 candidate evidence Record the explicit Bundle 0.2.0 -> 0.3.0 version bump, the strict JSON data input, the CLI pin candidate, the local Bundle-producer/fetch/workspace tests and the paired-candidate integration PASS (smoke verified stdlib 0.3.0 tree 4e47b0ff...). Formal release/tag remains a maintainer action. --- .../2026-11-30-stdlib-bundle-0.3.0.md | 57 +++++++++++++++++++ 1 file changed, 57 insertions(+) create mode 100644 docs/evidence/2026-11-30-stdlib-bundle-0.3.0.md diff --git a/docs/evidence/2026-11-30-stdlib-bundle-0.3.0.md b/docs/evidence/2026-11-30-stdlib-bundle-0.3.0.md new file mode 100644 index 0000000..33f5ff0 --- /dev/null +++ b/docs/evidence/2026-11-30-stdlib-bundle-0.3.0.md @@ -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 → `8e43a3d82c74402da53b7e5dfaeaadcdf4a18ed5` +(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= 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 候选 `15213ea2`(+ evidence):CLI gitlink → CLI 合并提交;根平台 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。 -- 2.54.1 From 388500ff229eb5356cf9d1a07995a86c7ab7e36c Mon Sep 17 00:00:00 2001 From: cflmy Date: Mon, 30 Nov 2026 13:20:17 +0800 Subject: [PATCH 4/4] feat: pin the merged CLI Bundle-0.3.0 candidate CLI PR #28 merged as 8ad2f2cffabcea1072f772b4748606eb01dd0744. Pin that exact merge commit in the root tree so the A2 candidate references a merged C2, and record it in the Bundle 0.3.0 evidence. --- cli | 2 +- docs/evidence/2026-11-30-stdlib-bundle-0.3.0.md | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/cli b/cli index 8e43a3d..8ad2f2c 160000 --- a/cli +++ b/cli @@ -1 +1 @@ -Subproject commit 8e43a3d82c74402da53b7e5dfaeaadcdf4a18ed5 +Subproject commit 8ad2f2cffabcea1072f772b4748606eb01dd0744 diff --git a/docs/evidence/2026-11-30-stdlib-bundle-0.3.0.md b/docs/evidence/2026-11-30-stdlib-bundle-0.3.0.md index 33f5ff0..8e0ae8d 100644 --- a/docs/evidence/2026-11-30-stdlib-bundle-0.3.0.md +++ b/docs/evidence/2026-11-30-stdlib-bundle-0.3.0.md @@ -3,7 +3,7 @@ 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 → `8e43a3d82c74402da53b7e5dfaeaadcdf4a18ed5` +(PR #14, `json.严格解析`); CLI candidate → merged `8ad2f2cffabcea1072f772b4748606eb01dd0744` (PR #28, Bundle pin 0.3.0). ## 1. 候选身份 @@ -46,7 +46,7 @@ PASS: ecosystem candidate (single CLI/Worker/Bundle artifact, consumers green) 1. 根候选 `ad88b1e9`:`stdlib/data` gitlink + Bundle 版本 bump(已推送,供 CLI pin 引用)。 2. CLI C2 `8e43a3d`:bundle-pin 0.3.0 + 断言/文档同步;CLI 组件 CI 真实运行。 -3. 根 A2 候选 `15213ea2`(+ evidence):CLI gitlink → CLI 合并提交;根平台 CI 在 PR 中运行完整 eco lane。 +3. 根 A2 候选:CLI gitlink → CLI 合并提交 `8ad2f2c`;根平台 CI 在 PR 中运行完整 eco lane。 4. 合并后根 main 固定新组合;Bundle 正式发布/tag 仍为维护者动作(本证据不冒充 Release)。 ## 4. UNVERIFIED / 边界 -- 2.54.1