From 4bbefc92449ee480c8a2c89b0308feb4cda8d0e7 Mon Sep 17 00:00:00 2001 From: cflmy Date: Wed, 25 Nov 2026 14:17:31 +0800 Subject: [PATCH] release: publish 3.0.0-rc.4 with analysis boundary evidence Record the RC_RELEASE_CANDIDATE gate manifest, same-SHA CI #94, frozen extension 7/7, archive smoke, Ubuntu 24.04 cold install, disposable-VM strict L1 PASS (uid 1000), archived-binary VM verification and the maintainer-approved shared-node performance WARN for this named RC. Document that stable/LTS still requires a dedicated fixed node and link the downstream view/lint issues. --- CHANGELOG.md | 5 +- COMPATIBILITY.md | 9 ++- README.md | 5 +- docs/STATUS.md | 49 +++++++------- docs/architecture/CURRENT.md | 2 +- .../2026-11-25-rc.4-analysis-boundary.md | 18 ++--- .../evidence/2026-11-25-rc.4-cold-install.log | 2 +- .../2026-11-25-rc.4-extension-conformance.log | 2 +- .../2026-11-25-rc.4-extension-manifest.json | 4 +- docs/evidence/2026-11-25-rc.4-local-gate.log | 66 ++++--------------- .../2026-11-25-rc.4-release-smoke.log | 2 +- docs/evidence/2026-11-25-rc.4-release.md | 62 +++++++++++++++++ ...2026-11-25-rc.4-shared-node-performance.md | 53 +++++++++++++++ .../2026-11-25-rc.4-strict-archive-verify.log | 15 +++++ .../2026-11-25-rc.4-strict-evidence.json | 35 ++++++++++ docs/evidence/2026-11-25-rc.4-strict-lane.log | 47 +++++++++++++ .../manifest.json | 59 +++++++++++++++++ 17 files changed, 339 insertions(+), 96 deletions(-) create mode 100644 docs/evidence/2026-11-25-rc.4-release.md create mode 100644 docs/evidence/2026-11-25-rc.4-shared-node-performance.md create mode 100644 docs/evidence/2026-11-25-rc.4-strict-archive-verify.log create mode 100644 docs/evidence/2026-11-25-rc.4-strict-evidence.json create mode 100644 docs/evidence/2026-11-25-rc.4-strict-lane.log create mode 100644 docs/evidence/ci/452e9a32bd9e40dba427d4180691c58bab74449e/manifest.json diff --git a/CHANGELOG.md b/CHANGELOG.md index c6d72eb..92bfada 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -14,11 +14,12 @@ separately and do not follow the product version. Dates use ISO 8601. Older sections are release records: a retired option or spec they name is available at its tagged commit, not in the current tree. -## 3.0.0-rc.4 (2026-11-25, candidate) +## 3.0.0-rc.4 (2026-11-25) - The Rust workspace, CLI version output and protocol producers report `3.0.0-rc.4`; the supported platform remains Linux x86_64 on glibc 2.39 and - the locked Rust minimum remains 1.89. + the locked Rust minimum remains 1.89. Released as tag `v3.0.0-rc.4` at + `452e9a32bd9e40dba427d4180691c58bab74449e`. ### Closed public Analysis boundary — issue #10 (breaking in place) diff --git a/COMPATIBILITY.md b/COMPATIBILITY.md index 4d4bb0d..616dc62 100644 --- a/COMPATIBILITY.md +++ b/COMPATIBILITY.md @@ -1,7 +1,10 @@ # Compatibility and support matrix -Snapshot: product version **`3.0.0-rc.4`** (prerelease candidate, 2026-11-25). -The previous release is `3.0.0-rc.3` at source SHA +Snapshot: product version **`3.0.0-rc.4`** (prerelease, released 2026-11-25). +Tag `v3.0.0-rc.4` at source SHA +`452e9a32bd9e40dba427d4180691c58bab74449e`; release +https://git.cflmy.cn/cflmy/marqdo-cli/releases/tag/v3.0.0-rc.4. The previous +release is `3.0.0-rc.3` at source SHA `1e2a045cc78bf40972181abb44e7117c56cf4401`; its evidence remains under [`docs/evidence/`](docs/evidence/2026-11-24-rc.3-release.md). This file records what was actually verified and separates it from what is only implemented. The @@ -10,7 +13,7 @@ experimental and not claimed for this prerelease. Executed status and SHA-bound evidence are in [`docs/STATUS.md`](docs/STATUS.md) and [`docs/evidence/`](docs/evidence/). -The `3.0.0-rc.4` candidate includes the post-beta protocol convergence and the +The `3.0.0-rc.4` release includes the post-beta protocol convergence and the closed public Analysis boundary below. See the [RC acceptance procedure](docs/releasing.md). The platform evidence table records the beta, rc.1/rc.2/rc.3 and rc.4 candidate verification. diff --git a/README.md b/README.md index 4cc4ee0..c0c36f1 100644 --- a/README.md +++ b/README.md @@ -27,7 +27,10 @@ release policy. > [`docs/STATUS.md`](docs/STATUS.md) and > [`docs/migration/README.md`](docs/migration/README.md). -> **Published baseline: `3.0.0-beta.1` prerelease** — +> **Current release: `3.0.0-rc.4` prerelease** — +> [release](https://git.cflmy.cn/cflmy/marqdo-cli/releases/tag/v3.0.0-rc.4), +> source `452e9a32bd9e40dba427d4180691c58bab74449e`, Linux x86_64. The previous +> published baseline was `3.0.0-beta.1` — > [release](https://git.cflmy.cn/cflmy/marqdo-cli/releases/tag/v3.0.0-beta.1), > source `2c7c4f31e7a388d3fcfa717a77067e696ed13854`. The public beta target is **Linux x86_64 (glibc)**; macOS and Windows are experimental and not claimed, and the > C ABI plugin/provider paths are Linux-only in this beta. The language diff --git a/docs/STATUS.md b/docs/STATUS.md index bedd36c..edd5a26 100644 --- a/docs/STATUS.md +++ b/docs/STATUS.md @@ -1,7 +1,9 @@ # Marqdo Implementation Status -Snapshot: **2026-11-25**, product version **`3.0.0-rc.4`** (prerelease -candidate). The previous release is `3.0.0-rc.3` at source SHA +Snapshot: **2026-11-25**, product version **`3.0.0-rc.4`** (prerelease, +released). Tag `v3.0.0-rc.4` at source SHA +**`452e9a32bd9e40dba427d4180691c58bab74449e`**; release: +https://git.cflmy.cn/cflmy/marqdo-cli/releases/tag/v3.0.0-rc.4. The previous release is `3.0.0-rc.3` at source SHA **`1e2a045cc78bf40972181abb44e7117c56cf4401`**; release: https://git.cflmy.cn/cflmy/marqdo-cli/releases/tag/v3.0.0-rc.3. The supported platform is **Linux x86_64 (glibc 2.39)**. The rc.3 same-SHA gate aggregate is @@ -19,9 +21,11 @@ Authoritative release policy: evidence). Support matrix: [`../COMPATIBILITY.md`](../COMPATIBILITY.md). Developer entry point: [`developers/README.md`](developers/README.md). -This file records what was actually executed. "Implemented" does not mean -"verified on every platform"; the evidence column says which commands were run -and where. Status is generated from executed commands/logs; a gate row without a +The rc.4 same-SHA gate aggregate is +[`evidence/ci/452e9a32bd9e40dba427d4180691c58bab74449e/manifest.json`](evidence/ci/452e9a32bd9e40dba427d4180691c58bab74449e/manifest.json) +(decision `RC_RELEASE_CANDIDATE`). This file records what was actually executed. +"Implemented" does not mean "verified on every platform"; the evidence column +says which commands were run and where. Status is generated from executed commands/logs; a gate row without a command, log or source path is a defect, not a state. Historical snapshots (including M0.5 and the pre-beta `0.1.0` candidate) are preserved under [`history/`](history/README.md) and [`evidence/`](evidence/) and must not be read @@ -30,12 +34,10 @@ as current status. ## RC candidate The workspace reports `3.0.0-rc.4` and declares Rust 1.89 as its locked -minimum. Linux x86_64 on glibc 2.39 is the candidate platform. The -[release procedure](releasing.md) requires a green manifest bound to the -candidate SHA before publication. A candidate is not a release: it must not be -tagged or announced until the same-SHA CI, archive-only cold install, frozen -external conformance, strict VM and performance gates are executed for that -SHA. The release records below refer to their tagged binaries. +minimum. Linux x86_64 on glibc 2.39 is the supported platform. The rc.4 +manifest is green on its SHA with the documented strict-VM PASS and a +maintainer-approved shared-node performance `WARN`; stable/LTS still requires a +dedicated fixed node. The release records below refer to their tagged binaries. ## Current protocol integration @@ -73,7 +75,7 @@ The `spec/` tree contains only current contracts; retired specifications are in Git history and tagged archives. The earlier release records below describe their tagged binaries and are not current protocol claims. -## 0.10 Closed public Analysis boundary — issue #10 (RC.4 candidate) +## 0.10 Closed public Analysis boundary — issue #10 (RC.4 released) The candidate replaces the program-only Analysis projection in place under [ADR-0069](adr/0069-public-analysis-boundary.md): exact source and document @@ -107,17 +109,18 @@ Local development-container performance against the rc.3 archive binary on a `--emit` `1.210 / 1.186`, `--refs` `1.145 / 1.093`. These are smoke numbers, not a dedicated-node G4 result. -Same-SHA CI ([pipeline #89](https://ci.cflmy.cn/repos/1/pipeline/89)) is PASS -for the candidate code SHA `e0645f3` on all four lanes, and the follow-up -CI/tooling tree `b1fc211` is fully green in -[pipeline #91](https://ci.cflmy.cn/repos/1/pipeline/91); its build lane packaged the archive, ran the -archive smoke and the frozen extension suite 7/7. A local same-SHA archive -passed smoke and the archive-only Ubuntu 24.04 cold-install container, and the -frozen suite passed 7/7 from a clean worktree. The gate aggregate is -[`evidence/ci/e0645f376b03e31e342a6d3fb749a335f0840d1b/manifest.json`](evidence/ci/e0645f376b03e31e342a6d3fb749a335f0840d1b/manifest.json) -and decides `DO_NOT_RELEASE`: the RC profile still requires a same-SHA strict -VM PASS and an approved G4 node result, neither of which is available here. The -rc.3 rows below remain the last published release evidence. +Same-SHA CI ([pipeline #94](https://ci.cflmy.cn/repos/1/pipeline/94)) is PASS +for `452e9a3` on all four lanes; its build lane packaged the archive, ran smoke +and the frozen extension suite 7/7. The local same-SHA archive passed smoke, +the archive-only Ubuntu 24.04 cold-install container and frozen conformance +7/7. Strict L1 PASS is recorded from a disposable QEMU/TCG VM as non-root +`dev` (uid 1000), with the archived binary re-verified in that VM. Performance +is a maintainer-approved shared-node `WARN` for this RC only; stable/LTS still +requires a dedicated fixed node. The gate aggregate is +[`evidence/ci/452e9a32bd9e40dba427d4180691c58bab74449e/manifest.json`](evidence/ci/452e9a32bd9e40dba427d4180691c58bab74449e/manifest.json) +(`RC_RELEASE_CANDIDATE`). Release +[notes and assets](https://git.cflmy.cn/cflmy/marqdo-cli/releases/tag/v3.0.0-rc.4). +Downstream migration issues: `marqdo-view#6`, `marqdo-lint#4`. ## 0.9 Pre-stable protocol convergence — issue #8 (RC.3 candidate) diff --git a/docs/architecture/CURRENT.md b/docs/architecture/CURRENT.md index c1c9c01..88df4a6 100644 --- a/docs/architecture/CURRENT.md +++ b/docs/architecture/CURRENT.md @@ -4,7 +4,7 @@ Status: **current architecture overview**. This file summarises the tree as it is today. It is not a release promise, does not reopen a frozen ADR, and does not replace `spec/` or a recorded test log. -- Baseline: `1e2a045cc78bf40972181abb44e7117c56cf4401` (2026-11-24, tagged `v3.0.0-rc.3`; same-SHA evidence in `../STATUS.md` and `../evidence/ci/1e2a045cc78bf40972181abb44e7117c56cf4401/manifest.json`). The `3.0.0-rc.4` candidate state is recorded in `../STATUS.md` §0.10. +- Baseline: `452e9a32bd9e40dba427d4180691c58bab74449e` (2026-11-25, tagged `v3.0.0-rc.4`; same-SHA evidence in `../STATUS.md` and `../evidence/ci/452e9a32bd9e40dba427d4180691c58bab74449e/manifest.json`). - Normative behavior: `spec/`; frozen decisions: `docs/adr/`; executed evidence: `docs/STATUS.md` and `docs/evidence/`. - This is the **single current overview**. Do not add a second running "current state" file; update this file, `docs/STATUS.md` and an evidence file together. diff --git a/docs/evidence/2026-11-25-rc.4-analysis-boundary.md b/docs/evidence/2026-11-25-rc.4-analysis-boundary.md index 0579e23..5dac44b 100644 --- a/docs/evidence/2026-11-25-rc.4-analysis-boundary.md +++ b/docs/evidence/2026-11-25-rc.4-analysis-boundary.md @@ -10,7 +10,8 @@ [ADR-0068](../adr/0068-single-current-public-contracts.md) - **Contract:** `spec/analysis.md`, `spec/schemas/analysis.schema.json` - **Gate manifest:** [`ci/e0645f376b03e31e342a6d3fb749a335f0840d1b/manifest.json`](ci/e0645f376b03e31e342a6d3fb749a335f0840d1b/manifest.json) - (`DO_NOT_RELEASE`: strict VM UNVERIFIED and no approved G4 node) + (`RC_RELEASE_CANDIDATE`: strict VM PASS; shared-node performance WARN + approved for this RC only) This document records commands actually executed on the candidate tree. The raw command log is @@ -107,15 +108,14 @@ numbers and must not be cited as the dedicated-node G4 result. ## Release decision -`DO_NOT_RELEASE` for rc.4. The code/contract/CI/archive/conformance gates pass, -but the RC profile still requires a same-SHA strict-field PASS on a disposable -VM (this development container cannot create namespaces) and an approved -dedicated/shared-node G4 result. Neither is recorded for this SHA, so no tag, -archive publication or release claim is made. +`RC_RELEASE_CANDIDATE` for rc.4. A same-SHA disposable QEMU/TCG VM PASS +(uid 1000, `container: none`) and a maintainer-approved shared-node +performance `WARN` were recorded after this local gate. The tag and release are +`v3.0.0-rc.4` at `452e9a32bd9e40dba427d4180691c58bab74449e`; see +[`2026-11-25-rc.4-release.md`](2026-11-25-rc.4-release.md). ## Not claimed -- No disposable-VM strict L1 evidence for this SHA. -- No approved dedicated-node G4 measurement (the local comparison above is - smoke evidence only). +- No dedicated-node G4 PASS; the shared-node WARN is RC-only and does not + extend to stable/LTS. - No Windows/macOS support claim. diff --git a/docs/evidence/2026-11-25-rc.4-cold-install.log b/docs/evidence/2026-11-25-rc.4-cold-install.log index 9a55432..9146aea 100644 --- a/docs/evidence/2026-11-25-rc.4-cold-install.log +++ b/docs/evidence/2026-11-25-rc.4-cold-install.log @@ -1,10 +1,10 @@ 你好,Marqdo checked 2 module(s): ok checked 1 module(s): ok -6 warning[sem.inferred_signature]: /tmp/marqdo/marqdo-3.0.0-rc.4-x86_64-unknown-linux-gnu/examples/math-library/index.mq.md:5:1: function signature was inferred; declare it with `params(...)` ## @exec 最大公约数 ^ +6 warning[sem.inferred_signature]: /tmp/marqdo/marqdo-3.0.0-rc.4-x86_64-unknown-linux-gnu/examples/factorial.mq.md:3:1: function signature was inferred; declare it with `params(...)` ## @exec 阶乘 ^ diff --git a/docs/evidence/2026-11-25-rc.4-extension-conformance.log b/docs/evidence/2026-11-25-rc.4-extension-conformance.log index 02d3d4b..cfcead7 100644 --- a/docs/evidence/2026-11-25-rc.4-extension-conformance.log +++ b/docs/evidence/2026-11-25-rc.4-extension-conformance.log @@ -1,6 +1,6 @@ From https://git.cflmy.cn/cflmy/marqdo-extension-conformance * branch 015ff8ac15417b7ebbdb31ce2be2dab5362a1eba -> FETCH_HEAD -frozen CLI: /tmp/tmp.4rCUTQwVeO/install/marqdo-3.0.0-rc.4-x86_64-unknown-linux-gnu/marqdo sha256 a7306962689c635445a59043971ea2eb09298e01feeee81f0ba07b1f3e10306e +frozen CLI: /tmp/tmp.IyNn1tzjCW/install/marqdo-3.0.0-rc.4-x86_64-unknown-linux-gnu/marqdo sha256 a7306962689c635445a59043971ea2eb09298e01feeee81f0ba07b1f3e10306e [PASS] plugin_worker: plugin check is static and succeeds [PASS] plugin_worker: worker plugin executes three exports [PASS] callable_registry: missing plugin export is symbol.unknown diff --git a/docs/evidence/2026-11-25-rc.4-extension-manifest.json b/docs/evidence/2026-11-25-rc.4-extension-manifest.json index 66c2504..c8aaffd 100644 --- a/docs/evidence/2026-11-25-rc.4-extension-manifest.json +++ b/docs/evidence/2026-11-25-rc.4-extension-manifest.json @@ -1,7 +1,7 @@ { "schema": "marqdo.extension-evidence", "schema_version": 1, - "tested_sha": "e0645f376b03e31e342a6d3fb749a335f0840d1b", + "tested_sha": "452e9a32bd9e40dba427d4180691c58bab74449e", "cli_binary_sha256": "a7306962689c635445a59043971ea2eb09298e01feeee81f0ba07b1f3e10306e", "fixture_repo_sha": "015ff8ac15417b7ebbdb31ce2be2dab5362a1eba", "os": "linux", @@ -16,7 +16,7 @@ "negative_security": "PASS" }, "commands": [ - "python3 /tmp/tmp.4rCUTQwVeO/fixtures/tests/run_all.py (cwd=/tmp/tmp.4rCUTQwVeO/fixtures)" + "python3 /tmp/tmp.IyNn1tzjCW/fixtures/tests/run_all.py (cwd=/tmp/tmp.IyNn1tzjCW/fixtures)" ], "failures": [], "unverified": [], diff --git a/docs/evidence/2026-11-25-rc.4-local-gate.log b/docs/evidence/2026-11-25-rc.4-local-gate.log index 6ebed87..c336c23 100644 --- a/docs/evidence/2026-11-25-rc.4-local-gate.log +++ b/docs/evidence/2026-11-25-rc.4-local-gate.log @@ -1,5 +1,5 @@ -rc.4 final local gate 2026-11-25T03:40:44Z -source_sha: e0645f376b03e31e342a6d3fb749a335f0840d1b +rc.4 final local gate 2026-11-25T06:15:34Z +source_sha: 452e9a32bd9e40dba427d4180691c58bab74449e platform: Linux 7.0.0-43-generic x86_64 rustc: rustc 1.100.0 (0ef1bc386 2026-11-09) @@ -7,52 +7,14 @@ $ cargo fmt --all -- --check PASS $ cargo clippy --workspace --all-targets -- -D warnings - Compiling proc-macro2 v1.0.107 - Checking serde_core v1.0.229 - Checking zmij v1.0.23 - Checking num-traits v0.2.19 - Checking generic-array v0.14.7 - Checking libc v0.2.191 - Checking rustix v1.1.6 - Checking crc32fast v1.5.5 - Checking flate2 v1.1.11 - Compiling phf_generator v0.14.0 - Compiling quote v1.0.47 - Compiling phf_codegen v0.14.0 - Compiling comrak v1.0.0 - Compiling syn v3.0.10 - Checking block-buffer v0.10.4 - Checking crypto-common v0.1.7 - Checking num-integer v0.1.47 - Checking digest v0.10.7 - Checking sha2 v0.10.9 - Checking getrandom v0.4.3 - Checking getrandom v0.2.17 - Checking ring v0.17.14 - Checking tempfile v3.27.0 - Checking serde_json v1.0.154 - Checking rustls-webpki v0.103.17 - Checking rcgen v0.13.2 - Checking rustls v0.23.46 - Compiling serde_derive v1.0.229 - Compiling thiserror-impl v2.0.21 - Compiling fearless_simd_macros v0.1.0 - Compiling clap_derive v4.6.9 - Checking memchr-n v0.1.10 - Checking thiserror v2.0.21 - Checking marqdo-worker-ipc v3.0.0-rc.4 (/root/work/marqdo-cli/crates/marqdo-worker-ipc) - Checking marqdo-provider-worker v3.0.0-rc.4 (/root/work/marqdo-cli/crates/marqdo-provider-worker) - Checking clap v4.6.9 - Checking serde v1.0.229 Checking marqdo-span v3.0.0-rc.4 (/root/work/marqdo-cli/crates/marqdo-span) - Checking num-bigint v0.4.8 - Checking serde_yaml v0.9.34+deprecated + Checking marqdo-worker-ipc v3.0.0-rc.4 (/root/work/marqdo-cli/crates/marqdo-worker-ipc) Checking marqdo-sandbox v3.0.0-rc.4 (/root/work/marqdo-cli/crates/marqdo-sandbox) - Checking marqdo-markdown v3.0.0-rc.4 (/root/work/marqdo-cli/crates/marqdo-markdown) Checking marqdo-package v3.0.0-rc.4 (/root/work/marqdo-cli/crates/marqdo-package) + Checking marqdo-provider-worker v3.0.0-rc.4 (/root/work/marqdo-cli/crates/marqdo-provider-worker) Checking marqdo-value v3.0.0-rc.4 (/root/work/marqdo-cli/crates/marqdo-value) Checking marqdo-expression v3.0.0-rc.4 (/root/work/marqdo-cli/crates/marqdo-expression) - Checking num-rational v0.4.2 + Checking marqdo-markdown v3.0.0-rc.4 (/root/work/marqdo-cli/crates/marqdo-markdown) Checking marqdo-plugin-abi v3.0.0-rc.4 (/root/work/marqdo-cli/crates/marqdo-plugin-abi) Checking marqdo-foreign v3.0.0-rc.4 (/root/work/marqdo-cli/crates/marqdo-foreign) Checking marqdo-ir v3.0.0-rc.4 (/root/work/marqdo-cli/crates/marqdo-ir) @@ -61,7 +23,7 @@ $ cargo clippy --workspace --all-targets -- -D warnings Checking marqdo-frontend v3.0.0-rc.4 (/root/work/marqdo-cli/crates/marqdo-frontend) Checking marqdo-runtime v3.0.0-rc.4 (/root/work/marqdo-cli/crates/marqdo-runtime) Checking marqdo-cli v3.0.0-rc.4 (/root/work/marqdo-cli/crates/cli) - Finished `dev` profile [unoptimized + debuginfo] target(s) in 8.53s + Finished `dev` profile [unoptimized + debuginfo] target(s) in 2.36s PASS $ cargo test --workspace --locked @@ -73,26 +35,26 @@ test result: ok. 12 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; fin $ cargo test -p marqdo-cli --test docs_consistency test result: ok. 7 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s $ cargo test -p marqdo-cli --test analysis_observation -test result: ok. 11 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.34s +test result: ok. 11 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.36s $ cargo test -p marqdo-cli --test observation -test result: ok. 16 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 4.23s +test result: ok. 16 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 4.31s $ cargo test -p marqdo-cli --test tool_protocol -test result: ok. 7 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 3.09s +test result: ok. 7 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 2.94s $ cargo test -p marqdo-cli --test callable_resolution -test result: ok. 14 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.28s +test result: ok. 14 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.27s $ cargo test -p marqdo-cli --test heading_inheritance test result: ok. 4 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.07s $ cargo test -p marqdo-cli --test conformance_ast test result: ok. 4 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.02s $ cargo test -p marqdo-cli --test conformance_semantics -test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 1.69s +test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 1.66s $ cargo test -p marqdo-cli --test analysis_boundary -test result: ok. 10 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 4.97s +test result: ok. 10 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 4.98s $ python3 -m unittest discover -s tools/ci -p test_*.py -Ran 43 tests in 0.092s + OK $ cargo build --release --locked -p marqdo-cli -p marqdo-provider-worker - Finished `release` profile [optimized] target(s) in 0.05s + Finished `release` profile [optimized] target(s) in 0.24s PASS diff --git a/docs/evidence/2026-11-25-rc.4-release-smoke.log b/docs/evidence/2026-11-25-rc.4-release-smoke.log index 0a5b8f2..8b20615 100644 --- a/docs/evidence/2026-11-25-rc.4-release-smoke.log +++ b/docs/evidence/2026-11-25-rc.4-release-smoke.log @@ -1,5 +1,5 @@ smoke: verified stdlib 0.1.0 tree=sha256:5407d3665ba2fe105820d0f1af5efaafa10c277a69eb819c3225719813c8c713 aliases=sha256:5f513c0fdbb3c1e9829be3c9fa23a2d1e89cb8510073fb5eb1e8e2f5265a83bb files=42 -smoke: archive version 3.0.0-rc.4, source e0645f376b03e31e342a6d3fb749a335f0840d1b +smoke: archive version 3.0.0-rc.4, source 452e9a32bd9e40dba427d4180691c58bab74449e smoke: bundled stdlib missing -> fail-closed OK smoke: strict unsupported on this host; fail-closed refused: {'reason': 'bubblewrap cannot create the required namespaces: bwrap: No permissions to create a new namespace, likely because the kernel does not allow non-privileged user namespaces. See or .', 'state': 'unavailable'} smoke: PASS diff --git a/docs/evidence/2026-11-25-rc.4-release.md b/docs/evidence/2026-11-25-rc.4-release.md new file mode 100644 index 0000000..f5d173c --- /dev/null +++ b/docs/evidence/2026-11-25-rc.4-release.md @@ -0,0 +1,62 @@ +# RC 3.0.0-rc.4 release evidence — 452e9a32bd9e40dba427d4180691c58bab74449e + +- **Date:** 2026-11-25 +- **Product:** `3.0.0-rc.4` (prerelease; not stable, not LTS) +- **Source SHA:** `452e9a32bd9e40dba427d4180691c58bab74449e` (tag `v3.0.0-rc.4`) +- **Platform:** Linux x86_64, glibc 2.39 baseline; macOS/Windows UNSUPPORTED +- **Release archive:** `marqdo-3.0.0-rc.4-x86_64-unknown-linux-gnu.tar.gz` + sha256 `9c3f166b5e5b8840d39d10019074e4e1c42432fc23e26c69670e64fdcf4e15d8` +- **Gate manifest:** + [`ci/452e9a32bd9e40dba427d4180691c58bab74449e/manifest.json`](ci/452e9a32bd9e40dba427d4180691c58bab74449e/manifest.json) + (`RC_RELEASE_CANDIDATE`) +- **Architecture:** [ADR-0069](../adr/0069-public-analysis-boundary.md), + [spec/analysis.md](../../spec/analysis.md) +- **Downstream guide:** + [`docs/developers/analysis-consumers.md`](../developers/analysis-consumers.md) + +## Gates executed on this SHA + +| Gate | State | Evidence | +|---|---|---| +| Same-SHA CI (`contract`, `test`, `minimum-rust`, `build`) | PASS | [pipeline #94](https://ci.cflmy.cn/repos/1/pipeline/94) | +| Frozen external conformance | PASS 7/7 | [`2026-11-25-rc.4-extension-manifest.json`](2026-11-25-rc.4-extension-manifest.json) | +| Archive-only smoke | PASS | [`2026-11-25-rc.4-release-smoke.log`](2026-11-25-rc.4-release-smoke.log) | +| Clean install: archive-only Ubuntu 24.04 container, non-root, no Cargo/network | PASS | [`2026-11-25-rc.4-cold-install.log`](2026-11-25-rc.4-cold-install.log) | +| Strict L1: disposable QEMU/TCG VM, non-root `dev` (uid 1000), image sha256 `7b9059…ecab9` | PASS | [`2026-11-25-rc.4-strict-evidence.json`](2026-11-25-rc.4-strict-evidence.json), [lane log](2026-11-25-rc.4-strict-lane.log) | +| Archived binary verified inside the same strict VM | PASS | [`2026-11-25-rc.4-strict-archive-verify.log`](2026-11-25-rc.4-strict-archive-verify.log) | +| Version compatibility (Rust 1.89 minimum, CLI/product, prerelease ranges) | PASS | pipeline #94 test lane | +| Shared-node performance | WARN (maintainer-approved for this RC only) | [`2026-11-25-rc.4-shared-node-performance.md`](2026-11-25-rc.4-shared-node-performance.md) | +| Windows / macOS | UNSUPPORTED | Linux-only RC scope | + +The same-SHA CI build lane packaged its own archive +(`sha256 675ee7bdf4725e034f79ecf6d8609c1b667cb267f70df4ae686c023e8c5e3018`), +ran smoke and the frozen extension suite 7/7, and recorded CLI +`119b4d7d0431d8e958253add4b67a6ed826678b5254583d5320136b1b9a6e93b` and +provider worker `4e64bec9376c27e1b36cde510fd06159a86ae5d10f82f98137c2b8ba6ee7d908`. + +## Behaviour changes since rc.3 + +Issue [#10](https://git.cflmy.cn/cflmy/marqdo-cli/issues/10) replaced +`marqdo.analysis` revision 3 **in place**: + +- exact `source`/`source_digest`, public document AST, complete heading scopes + and anchors, entry/manifest/lock/stdlib/extension identities; +- one shared `document_refs` resolver used by Analysis, `check --refs` and + `inspect --refs`, with `resolved/not_loaded/missing/ambiguous/external/ + outside_scope/invalid`; +- removed the duplicate `commands.rs` resolver and the post-preparation lock + re-read; +- `--emit` writes owner-only exclusive bytes atomically and refuses inputs, + directories, symlinks and hard links; +- independent schema + semantic consumers and mutation fixtures; old + same-revision artifacts are rejected. + +Downstream `marqdo-view` and `marqdo-lint` must follow +[`analysis-consumers.md`](../developers/analysis-consumers.md); their tracking +issues are linked from the release announcement. + +## What this evidence does not claim + +Stable `3.0.0`, LTS, Windows/macOS support, strict L2, dedicated-node G4, or a +publisher signature. Checksums are integrity only. The shared-node performance +exception is scoped to this named RC and is not reusable for LTS. diff --git a/docs/evidence/2026-11-25-rc.4-shared-node-performance.md b/docs/evidence/2026-11-25-rc.4-shared-node-performance.md new file mode 100644 index 0000000..0c04c56 --- /dev/null +++ b/docs/evidence/2026-11-25-rc.4-shared-node-performance.md @@ -0,0 +1,53 @@ +# RC 3.0.0-rc.4 — shared-node performance evidence (WARN) + +- **Date:** 2026-11-25 +- **Product:** `3.0.0-rc.4` +- **Source SHA:** `452e9a32bd9e40dba427d4180691c58bab74449e` +- **Class:** shared-node `WARN`, **not** a dedicated-node G4 PASS +- **Approval:** the maintainer (`cflmy`) approved shared-node performance + evidence for this named RC on 2026-11-25. This exception is RC-only; a + stable/LTS release requires a dedicated fixed node. +- **Evidence generation:** `docs/evidence/2026-11-25-rc.4-analysis-boundary.md` + and the packed archives below. + +## Environment + +- Shared development host: Intel Core i7-8565U, 4 cores / 8 threads, 14 GiB RAM, + `powersave` governor, Linux `7.0.0-43-generic` x86_64, load average + `0.24 0.79 1.50` at sampling start. +- The agent runs in a container (`systemd-detect-virt --container` = + `container-other`); this is explicitly **not** a dedicated node and not a + QEMU/TCG VM. Its times are not comparable with the release G4 node. +- Baseline and candidate are the shipped release archives, five warmups and + twenty samples per command, same cwd and same fixture. + +## Fixture + +101 `.mq.md` modules, 82,094 bytes, 903 units, 100 cross-module references, +nested headings, paragraphs, formulas and code fences. The candidate emitted a +2,739,388-byte Analysis; the schema validator and independent +`analysis_consumer.py` accepted it (101 modules, 100 references). + +## Results + +| Command | rc.3 p50 / p95 (ms) | rc.4 p50 / p95 (ms) | p95 ratio | peak RSS ratio | +|---|---|---|---|---| +| `check index.mq.md --json` | 18.75 / 19.14 | 20.28 / 20.47 | 1.069 | 1.034 | +| `check index.mq.md --emit out.json` | 36.45 / 37.23 | 50.15 / 51.55 | 1.385 | 1.225 | +| `check index.mq.md --refs --json` | 20.07 / 20.33 | 23.65 / 24.05 | 1.183 | 1.107 | + +Artifact size grew from 899,146 to 2,739,388 bytes because it now carries exact +source and the document AST. `--emit` p95 and peak-RSS ratios remain below the +issue's 2.5x budget; no-emit p95 is below 1.15x. `--refs` is a diagnostic +extension, not the ordinary no-emit execution path. + +The candidate binary in this measurement is the same shipped rc.4 archive +(`sha256 9c3f166b5e5b8840d39d10019074e4e1c42432fc23e26c69670e64fdcf4e15d8`) +and the baseline is the published rc.3 archive. Correctness was verified before +accepting the timings. + +## Limits + +This is a `WARN` on a shared host. It must not be cited as a dedicated-node G4 +PASS, and it does not extend to LTS. The RC gate manifest records the approval +reference and the `WARN` state. diff --git a/docs/evidence/2026-11-25-rc.4-strict-archive-verify.log b/docs/evidence/2026-11-25-rc.4-strict-archive-verify.log new file mode 100644 index 0000000..ade318a --- /dev/null +++ b/docs/evidence/2026-11-25-rc.4-strict-archive-verify.log @@ -0,0 +1,15 @@ +Warning: Permanently added '[127.0.0.1]:2222' (ED25519) to the list of known hosts. +marqdo-3.0.0-rc.4-x86_64-unknown-linux-gnu.tar.gz: OK +SOURCE_SHA=452e9a32bd9e40dba427d4180691c58bab74449e +marqdo 3.0.0-rc.4 +available +你好,Marqdo +warning[sem.inferred_signature]: /home/dev/rc4-install/marqdo-3.0.0-rc.4-x86_64-unknown-linux-gnu/examples/factorial.mq.md:3:1: function signature was inferred; declare it with `params(...)` + ## @exec 阶乘 + ^ +warning[sem.inferred_signature]: /project/factorial.mq.md:3:1: function signature was inferred; declare it with `params(...)` + ## @exec 阶乘 + ^ +factorial=120 +checked 2 module(s): ok +analysis=marqdo.analysis 3 3.0.0-rc.4 diff --git a/docs/evidence/2026-11-25-rc.4-strict-evidence.json b/docs/evidence/2026-11-25-rc.4-strict-evidence.json new file mode 100644 index 0000000..89e6018 --- /dev/null +++ b/docs/evidence/2026-11-25-rc.4-strict-evidence.json @@ -0,0 +1,35 @@ +{ + "schema": "marqdo.strict-evidence.v1", + "tested_sha": "452e9a32bd9e40dba427d4180691c58bab74449e", + "tested_sha_source": "git-rev-parse", + "tested_sha_verified": true, + "source_archive_sha256": "sha256:3a6db40bb64779c932e101b97e83527669881a12a9c6639e9f694f71ec14fbcb", + "run": { + "command": "./tests/security/run-lane.sh", + "outcome": "PASS", + "runner_kind": "disposable-vm", + "run_url": "", + "runner_image_sha256": "sha256:7b90593f5532b49b7e3fe3d2743f0d1f0d822e5b07cebcd8e00c0df8069ecab9", + "lane_log": "/home/dev/evidence-452e9a32bd9e40dba427d4180691c58bab74449e/gc-lane.log", + "started_utc": "2026-11-25T06:03:57Z", + "finished_utc": "2026-11-25T06:05:19Z" + }, + "environment": { + "uname": "Linux-7.0.0-43-generic-x86_64-with-glibc2.43", + "kernel": "7.0.0-43-generic", + "machine": "x86_64", + "cgroup2": "cgroup2 cgroup2 rw,nsdelegate,memory_recursiveprot,memory_hugetlb_accounting", + "container": "none", + "uid": 1000, + "user": "dev", + "root": false, + "bwrap_version": "bubblewrap 0.11.1", + "rustc": "rustc 1.100.0 (0ef1bc386 2026-11-09)", + "cargo": "cargo 1.100.0 (3acc79c0c 2026-11-05)", + "python": "3.14.4", + "cc": [ + "cc (Ubuntu 15.2.0-16ubuntu1) 15.2.0" + ], + "source_archive_sha256_matches": true + } +} diff --git a/docs/evidence/2026-11-25-rc.4-strict-lane.log b/docs/evidence/2026-11-25-rc.4-strict-lane.log new file mode 100644 index 0000000..88efaa5 --- /dev/null +++ b/docs/evidence/2026-11-25-rc.4-strict-lane.log @@ -0,0 +1,47 @@ +== adversarial helper matrix == + Compiling marqdo-sandbox v3.0.0-rc.4 (/home/dev/marqdo-452e9a32bd9e40dba427d4180691c58bab74449e/crates/marqdo-sandbox) + Finished `test` profile [unoptimized + debuginfo] target(s) in 7.92s + Running tests/security_linux.rs (target/debug/build/marqdo-sandbox/05fde20fe9d1e50b/out/security_linux-05fde20fe9d1e50b) + +running 7 tests +test strict_child_cannot_escape_via_proc_or_privileges ... ok +test strict_child_cannot_reach_the_network ... ok +test strict_child_cannot_read_host_files_but_reads_the_project ... ok +test strict_child_cannot_write_outside_or_into_the_project ... ok +test strict_child_identity_is_unprivileged_and_namespaced ... ok +test strict_supervisor_enforces_fd_and_process_limits ... ok +test strict_supervisor_enforces_memory_cpu_and_output_limits ... ok + +test result: ok. 7 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 10.54s + +== build CLI == + Compiling marqdo-span v3.0.0-rc.4 (/home/dev/marqdo-452e9a32bd9e40dba427d4180691c58bab74449e/crates/marqdo-span) + Compiling marqdo-worker-ipc v3.0.0-rc.4 (/home/dev/marqdo-452e9a32bd9e40dba427d4180691c58bab74449e/crates/marqdo-worker-ipc) + Compiling marqdo-sandbox v3.0.0-rc.4 (/home/dev/marqdo-452e9a32bd9e40dba427d4180691c58bab74449e/crates/marqdo-sandbox) + Compiling marqdo-package v3.0.0-rc.4 (/home/dev/marqdo-452e9a32bd9e40dba427d4180691c58bab74449e/crates/marqdo-package) + Compiling marqdo-value v3.0.0-rc.4 (/home/dev/marqdo-452e9a32bd9e40dba427d4180691c58bab74449e/crates/marqdo-value) + Compiling marqdo-expression v3.0.0-rc.4 (/home/dev/marqdo-452e9a32bd9e40dba427d4180691c58bab74449e/crates/marqdo-expression) + Compiling marqdo-markdown v3.0.0-rc.4 (/home/dev/marqdo-452e9a32bd9e40dba427d4180691c58bab74449e/crates/marqdo-markdown) + Compiling marqdo-foreign v3.0.0-rc.4 (/home/dev/marqdo-452e9a32bd9e40dba427d4180691c58bab74449e/crates/marqdo-foreign) + Compiling marqdo-plugin-abi v3.0.0-rc.4 (/home/dev/marqdo-452e9a32bd9e40dba427d4180691c58bab74449e/crates/marqdo-plugin-abi) + Compiling marqdo-ir v3.0.0-rc.4 (/home/dev/marqdo-452e9a32bd9e40dba427d4180691c58bab74449e/crates/marqdo-ir) + Compiling marqdo-host v3.0.0-rc.4 (/home/dev/marqdo-452e9a32bd9e40dba427d4180691c58bab74449e/crates/marqdo-host) + Compiling marqdo-frontend v3.0.0-rc.4 (/home/dev/marqdo-452e9a32bd9e40dba427d4180691c58bab74449e/crates/marqdo-frontend) + Compiling marqdo-runtime v3.0.0-rc.4 (/home/dev/marqdo-452e9a32bd9e40dba427d4180691c58bab74449e/crates/marqdo-runtime) + Compiling marqdo-cli v3.0.0-rc.4 (/home/dev/marqdo-452e9a32bd9e40dba427d4180691c58bab74449e/crates/cli) + Finished `dev` profile [unoptimized + debuginfo] target(s) in 34.76s +strict mechanism: bubblewrap 0.11.1 (user/mount/PID/net/UTS/IPC namespaces + no-new-privs + rlimits) +== positive CLI contract == +warning[sem.inferred_signature]: /home/dev/marqdo-452e9a32bd9e40dba427d4180691c58bab74449e/examples/factorial.mq.md:3:1: function signature was inferred; declare it with `params(...)` + ## @exec 阶乘 + ^ +warning[sem.inferred_signature]: /project/factorial.mq.md:3:1: function signature was inferred; declare it with `params(...)` + ## @exec 阶乘 + ^ +== strict language resources are console-only == +== external-execution surfaces are refused == +== @knowledge payloads stay inert under strict == +== forged active marker is rejected == +G-C security lane: PASS +strict evidence: /home/dev/evidence-452e9a32bd9e40dba427d4180691c58bab74449e/strict-evidence.json +strict evidence: /home/dev/evidence-452e9a32bd9e40dba427d4180691c58bab74449e/strict-evidence.json diff --git a/docs/evidence/ci/452e9a32bd9e40dba427d4180691c58bab74449e/manifest.json b/docs/evidence/ci/452e9a32bd9e40dba427d4180691c58bab74449e/manifest.json new file mode 100644 index 0000000..45777ad --- /dev/null +++ b/docs/evidence/ci/452e9a32bd9e40dba427d4180691c58bab74449e/manifest.json @@ -0,0 +1,59 @@ +{ + "schema": "marqdo.release-gates.v1", + "profile": "rc", + "target_sha": "452e9a32bd9e40dba427d4180691c58bab74449e", + "recorded_utc": "2026-11-25T06:13:39Z", + "gates": { + "linux": { + "state": "PASS", + "tested_sha": "452e9a32bd9e40dba427d4180691c58bab74449e", + "run_url": "https://ci.cflmy.cn/repos/1/pipeline/94", + "recorded_utc": "2026-11-25T06:13:39Z" + }, + "extension": { + "state": "PASS", + "tested_sha": "452e9a32bd9e40dba427d4180691c58bab74449e", + "run_url": "docs/evidence/2026-11-25-rc.4-extension-manifest.json", + "recorded_utc": "2026-11-25T06:13:39Z" + }, + "clean_install": { + "state": "PASS", + "tested_sha": "452e9a32bd9e40dba427d4180691c58bab74449e", + "run_url": "docs/evidence/2026-11-25-rc.4-cold-install.log", + "recorded_utc": "2026-11-25T06:13:39Z" + }, + "version_compat": { + "state": "PASS", + "tested_sha": "452e9a32bd9e40dba427d4180691c58bab74449e", + "run_url": "https://ci.cflmy.cn/repos/1/pipeline/94", + "recorded_utc": "2026-11-25T06:13:39Z" + }, + "windows": { + "state": "UNSUPPORTED", + "tested_sha": "452e9a32bd9e40dba427d4180691c58bab74449e", + "run_url": "COMPATIBILITY.md", + "recorded_utc": "2026-11-25T06:13:39Z" + }, + "macos": { + "state": "UNSUPPORTED", + "tested_sha": "452e9a32bd9e40dba427d4180691c58bab74449e", + "run_url": "COMPATIBILITY.md", + "recorded_utc": "2026-11-25T06:13:39Z" + }, + "strict_vm": { + "state": "PASS", + "tested_sha": "452e9a32bd9e40dba427d4180691c58bab74449e", + "run_url": "docs/evidence/2026-11-25-rc.4-strict-evidence.json", + "recorded_utc": "2026-11-25T06:13:39Z" + }, + "performance": { + "state": "WARN", + "tested_sha": "452e9a32bd9e40dba427d4180691c58bab74449e", + "run_url": "docs/evidence/2026-11-25-rc.4-shared-node-performance.md", + "rc_shared_node_approval": "Maintainer cflmy approved shared-node performance WARN for v3.0.0-rc.4 on 2026-11-25; docs/evidence/2026-11-25-rc.4-shared-node-performance.md", + "recorded_utc": "2026-11-25T06:13:39Z" + } + }, + "release_decision": "RC_RELEASE_CANDIDATE", + "reasons": [] +}