Author SHA1 Message Date
cflmy c44b0f9438 release: finalize 3.0.0-rc.5 release records and honest gate limitations
ci/woodpecker/pr/main Pipeline was successful
ci/woodpecker/push/main Pipeline was successful
- Current release docs (README/COMPATIBILITY/STATUS/developers/spec) move to
  rc.5 with the previous release corrected to rc.4; add the rc.5 release notes.
- Record the actual gate outcome: deterministic archive, smoke, offline
  Ubuntu 24.04 cold install, migrated extensions, external conformance and the
  std: surface PASS; strict L1 UNVERIFIED because the release environment has no
  VM/namespaces (no PASS claimed) and the paired shared-node G4 comparison is
  below thresholds but not an approved-node PASS.
- CHANGELOG carries the rc.5 release record; no tag has been created yet.

Refs cflmy/marqdo#2, cflmy/marqdo-cli#11
2026-11-27 10:32:41 +08:00
cflmy 29fc0108f5 candidate: rc.5 archive evidence, rc.4 paired perf baseline and strict blocker
ci/woodpecker/push/main Pipeline failed
ci/woodpecker/pr/main Pipeline failed
- Record the deterministic rc.5 archive (sha256:446197ad...) built twice from
  the candidate commit, smoke PASS and the offline Ubuntu 24.04/glibc 2.39
  cold install PASS; still no tag/release/asset upload.
- Fix the perf comparison baseline to the previous published rc.4 instead of
  the pre-external-Bundle beta, and measure the same fixture workload in both.
  The shared-node paired run (9/9 COMPARED, max p50 +5.15%, max RSS +4.87%,
  investigate=false) remains a WARN candidate only: status SMOKE and
  environment_approved=false, so it cannot be claimed as G4 PASS.
- Record strict L1 as BLOCKED with the real failures (no namespaces/VM,
  runuser denied); no strict evidence was produced and root-only results are
  never promoted.

Refs cflmy/marqdo-cli#11, cflmy/marqdo#2
2026-11-27 10:21:11 +08:00
cflmy 9b21486c7d candidate: prepare 3.0.0-rc.5 metadata and fix the migrated perf print workload
ci/woodpecker/push/main Pipeline failed
ci/woodpecker/pr/main Pipeline failed
Version/metadata candidate only — this commit does not create a tag or release:
- workspace version 3.0.0-rc.4 -> 3.0.0-rc.5 (Cargo.toml/Cargo.lock) and an
  explicit unreleased-candidate CHANGELOG section; current release docs still
  describe rc.4 until a frozen release SHA and maintainer approval exist.
- The external-Bundle migration removed the in-repo stdlib tree, so the G4
  stdlib-print-demo workload no longer had a source. Move it to a self-contained
  tools/perf/fixtures/print-demo.mq.md, rename to print-demo, record its expected
  digest, and make performance.yml copy the same tools/perf into the baseline
  worktree so a paired run measures identical workloads.
- Evidence records the candidate measurement (MEASURED/correctness VERIFIED on
  the shared node) but explicitly does not claim G4 PASS: the beta baseline
  predates the external-Bundle harness and no approved paired node exists yet.

Refs cflmy/marqdo-cli issues #11, cflmy/marqdo#2
2026-11-27 10:08:22 +08:00
27 changed files with 268 additions and 137 deletions

No files matched your search

+10 -2
View File
@@ -15,13 +15,21 @@ steps:
- cargo build --release --locked -p marqdo-cli -p marqdo-provider-worker
- |
set -eu
baseline_sha=2c7c4f31e7a388d3fcfa717a77067e696ed13854
git fetch --no-tags origin refs/tags/v3.0.0-beta.1
# Baseline is the previous published release (rc.4), not the pre-external-
# Bundle beta: both the harness and the workload sources must be identical.
baseline_sha=452e9a32bd9e40dba427d4180691c58bab74449e
git fetch --no-tags origin refs/tags/v3.0.0-rc.5
test "$(git rev-parse 'FETCH_HEAD^{commit}')" = "$baseline_sha"
perf_dir="$(mktemp -d)"
git worktree add --detach "$perf_dir/beta" "$baseline_sha"
trap 'git worktree remove --force "$perf_dir/beta"; rm -rf "$perf_dir"' EXIT
(cd "$perf_dir/beta" && cargo build --release --locked -p marqdo-cli)
# The external-Bundle migration moved the print workload fixture out of
# the removed in-repo stdlib tree; both binaries must measure the same
# workload sources/expected digests, so copy the perf definition into
# the baseline worktree.
rm -rf "$perf_dir/beta/tools/perf"
cp -a tools/perf "$perf_dir/beta/tools/perf"
version="$(target/release/marqdo --version | cut -d ' ' -f 2)"
python3 tools/release/package.py --version "$version" --source-sha "$CI_COMMIT_SHA" \
+20 -2
View File
@@ -5,8 +5,9 @@ All notable changes to the Marqdo CLI workspace. Published prereleases:
`2c7c4f31e7a388d3fcfa717a77067e696ed13854`),
`3.0.0-rc.1` (source `f7a5a7b0163bf5229ed09adfffd892f9899e6667`) and
`3.0.0-rc.2` (source `9149ee40a48fcda692c5c112f66c465487d13dfb`) and
`3.0.0-rc.3` (2026-11-24, source `1e2a045cc78bf40972181abb44e7117c56cf4401`); the section below is the current
release record. Current
`3.0.0-rc.3` (2026-11-24, source `1e2a045cc78bf40972181abb44e7117c56cf4401`)
and `3.0.0-rc.4` (2026-11-25, source `452e9a32bd9e40dba427d4180691c58bab74449e`);
the section below is the current release record. Current
protocol contracts are Analysis v3, Observation v1, CLI Tool revision 1,
Plugin ABI v1, Foreign wire v1, Provider manifest v2 and lock v4; independent
package versions (including the bundled stdlib `0.1.0`) are versioned
@@ -14,6 +15,23 @@ 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.5 (2026-11-27)
Release record for tag `v3.0.0-rc.5` (Linux x86_64, glibc 2.39 prerelease).
The Gitea release carries the archive; known limitations (strict L1 UNVERIFIED
in the release environment, shared-node G4 WARN only) are recorded in
`docs/releases/3.0.0-rc.5.md`.
- The CLI and provider worker consume one explicit external stdlib Bundle
(`--stdlib-dir`/Bundle pin) and the repository no longer carries a `stdlib/`
source tree (issue #11 Phase B). Contract lanes and product tests materialize
the ecosystem Bundle through `tools/ci/fetch_ecosystem_bundle.py`.
- Tooling, docs and test support reference the external Bundle; the release
archive still ships exactly one verified stdlib Bundle.
- Version metadata is `3.0.0-rc.5` on this candidate branch only. Remaining
release gates: frozen SHA, same-SHA CI, strict VM, G4 performance and
maintainer approval.
## 3.0.0-rc.4 (2026-11-25)
- The Rust workspace, CLI version output and protocol producers report
+17 -14
View File
@@ -1,19 +1,18 @@
# Compatibility and support matrix
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
Snapshot: product version **`3.0.0-rc.5`** (prerelease, released 2026-11-27).
Tag `v3.0.0-rc.5` on the tagged release commit; release
https://git.cflmy.cn/cflmy/marqdo-cli/releases/tag/v3.0.0-rc.5. The previous
release is `3.0.0-rc.4` at source SHA
`452e9a32bd9e40dba427d4180691c58bab74449e`; its evidence remains under
[`docs/evidence/`](docs/evidence/2026-11-25-rc.4-release.md). This file records
what was actually verified and separates it from what is only implemented. The
supported release platform is **Linux x86_64 (glibc 2.39)**; everything else is
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` release includes the post-beta protocol convergence and the
The `3.0.0-rc.5` 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.
@@ -56,7 +55,7 @@ Consequences for compatibility:
## Post-`3.0.0-beta.1` boundary changes (RFC-EXT-0003)
These landed after the beta tag and **are included in the `3.0.0-rc.4` candidate**; they are
These landed after the beta tag and **are included in the `3.0.0-rc.5` candidate**; they are
intentional beta-line incompatibilities. Frozen decisions: ADR-0060..0063; executed
evidence: [`docs/evidence/2026-11-22-rfc-ext-0003-core-hardcoding.md`](docs/evidence/2026-11-22-rfc-ext-0003-core-hardcoding.md).
@@ -91,7 +90,7 @@ consume this candidate's `check --emit` output.
| Surface | Version | Compatibility rule |
|---|---|---|
| Markdown profile | `marqdo.md.v1` | Frozen parser/options. The RFC-LANG-0002 mapping rewrite keeps this profile; the source-language break is tracked above, not by a new profile id. |
| Language / CLI | `3.0.0-rc.4` (candidate) | SemVer prerelease: breaking changes inside the 3.0 beta line are allowed and announced in the changelog. The `.mq.md` source language changed incompatibly (RFC-LANG-0002); there is no old-syntax execution path or downgrade. CLI flags may change with a changelog note; `strict` refusal is contractual. |
| Language / CLI | `3.0.0-rc.5` (candidate) | SemVer prerelease: breaking changes inside the 3.0 beta line are allowed and announced in the changelog. The `.mq.md` source language changed incompatibly (RFC-LANG-0002); there is no old-syntax execution path or downgrade. CLI flags may change with a changelog note; `strict` refusal is contractual. |
| `marqdo.lock` | v4 | v3 is rejected with an explicit `marqdo lock` migration error; v1/v2 are rejected with a relock instruction; `run`/`call`/`check` never rewrite or fetch the lock. `extensions:` records manifest/artifact identity (integrity, not publisher auth). |
| Analysis | v3 | One writer and one current major for every project, including projects without loop transfers. Consumers reject other majors; the retired v2 selector, schema and documents are gone (ADR-0068). |
| Observation | v1 | One `run_id`/`seq` event sequence per execution, delivered as JSONL, JSON snapshot or file snapshot from the same run. Values are opt-in and bounded; consumers reject other identifiers (spec/observation.md). |
@@ -199,12 +198,16 @@ the Windows C ABI/provider paths remain fail-closed.
## Release decision
**`3.0.0-rc.4` prerelease — released as a Linux x86_64 RC.** The RC profile in
**`3.0.0-rc.5` prerelease — released as a Linux x86_64 RC.** The RC profile in
[`docs/MARQDO_3_0_PRERELEASE_PLAN.md`](docs/MARQDO_3_0_PRERELEASE_PLAN.md) §3 was
used: Linux is the only supported platform, macOS/Windows are UNSUPPORTED for
this scope, strict L1 has same-SHA disposable-VM evidence, and G4 performance is
a maintainer-approved shared-node `WARN` for this named RC only. The aggregate
decision and per-gate evidence are in
this scope. This cycle's external-Bundle migration was verified with
deterministic archive builds, the archive-only Ubuntu 24.04 cold install, the
three migrated extensions and frozen external conformance. Known limitations are
recorded in the release notes: the disposable-VM strict L1 lane could not run in
the release environment (UNVERIFIED, no PASS claimed) and the paired shared-node
G4 result is below the regression thresholds but not an approved-node PASS. The
aggregate decision and per-gate evidence are in
[`docs/evidence/ci/1e2a045cc78bf40972181abb44e7117c56cf4401/manifest.json`](docs/evidence/ci/1e2a045cc78bf40972181abb44e7117c56cf4401/manifest.json)
(`RC_RELEASE_CANDIDATE`) and the release assets; see
[`docs/evidence/2026-11-24-rc.3-release.md`](docs/evidence/2026-11-24-rc.3-release.md).
Generated
+17 -17
View File
@@ -412,7 +412,7 @@ checksum = "32a66949e030da00e8c7d4434b251670a91556f4144941d37452769c25d58a53"
[[package]]
name = "marqdo-cli"
version = "3.0.0-rc.4"
version = "3.0.0-rc.5"
dependencies = [
"clap",
"hex",
@@ -439,7 +439,7 @@ dependencies = [
[[package]]
name = "marqdo-expression"
version = "3.0.0-rc.4"
version = "3.0.0-rc.5"
dependencies = [
"marqdo-span",
"num-bigint",
@@ -450,7 +450,7 @@ dependencies = [
[[package]]
name = "marqdo-foreign"
version = "3.0.0-rc.4"
version = "3.0.0-rc.5"
dependencies = [
"hex",
"libc",
@@ -466,7 +466,7 @@ dependencies = [
[[package]]
name = "marqdo-frontend"
version = "3.0.0-rc.4"
version = "3.0.0-rc.5"
dependencies = [
"marqdo-expression",
"marqdo-ir",
@@ -481,7 +481,7 @@ dependencies = [
[[package]]
name = "marqdo-host"
version = "3.0.0-rc.4"
version = "3.0.0-rc.5"
dependencies = [
"flate2",
"getrandom 0.4.3",
@@ -510,7 +510,7 @@ dependencies = [
[[package]]
name = "marqdo-host-contract"
version = "3.0.0-rc.4"
version = "3.0.0-rc.5"
dependencies = [
"marqdo-span",
"marqdo-value",
@@ -518,7 +518,7 @@ dependencies = [
[[package]]
name = "marqdo-ir"
version = "3.0.0-rc.4"
version = "3.0.0-rc.5"
dependencies = [
"marqdo-expression",
"marqdo-span",
@@ -528,7 +528,7 @@ dependencies = [
[[package]]
name = "marqdo-markdown"
version = "3.0.0-rc.4"
version = "3.0.0-rc.5"
dependencies = [
"comrak",
"marqdo-span",
@@ -539,7 +539,7 @@ dependencies = [
[[package]]
name = "marqdo-package"
version = "3.0.0-rc.4"
version = "3.0.0-rc.5"
dependencies = [
"hex",
"semver",
@@ -553,7 +553,7 @@ dependencies = [
[[package]]
name = "marqdo-plugin-abi"
version = "3.0.0-rc.4"
version = "3.0.0-rc.5"
dependencies = [
"marqdo-value",
"serde",
@@ -563,7 +563,7 @@ dependencies = [
[[package]]
name = "marqdo-plugin-sdk"
version = "3.0.0-rc.4"
version = "3.0.0-rc.5"
dependencies = [
"marqdo-plugin-abi",
"serde",
@@ -572,7 +572,7 @@ dependencies = [
[[package]]
name = "marqdo-provider-worker"
version = "3.0.0-rc.4"
version = "3.0.0-rc.5"
dependencies = [
"libloading",
"marqdo-host",
@@ -586,7 +586,7 @@ dependencies = [
[[package]]
name = "marqdo-runtime"
version = "3.0.0-rc.4"
version = "3.0.0-rc.5"
dependencies = [
"marqdo-expression",
"marqdo-frontend",
@@ -606,7 +606,7 @@ dependencies = [
[[package]]
name = "marqdo-sandbox"
version = "3.0.0-rc.4"
version = "3.0.0-rc.5"
dependencies = [
"libc",
"serde",
@@ -614,14 +614,14 @@ dependencies = [
[[package]]
name = "marqdo-span"
version = "3.0.0-rc.4"
version = "3.0.0-rc.5"
dependencies = [
"serde",
]
[[package]]
name = "marqdo-value"
version = "3.0.0-rc.4"
version = "3.0.0-rc.5"
dependencies = [
"marqdo-span",
"num-bigint",
@@ -632,7 +632,7 @@ dependencies = [
[[package]]
name = "marqdo-worker-ipc"
version = "3.0.0-rc.4"
version = "3.0.0-rc.5"
dependencies = [
"serde_json",
"thiserror",
+1 -1
View File
@@ -21,7 +21,7 @@ members = [
]
[workspace.package]
version = "3.0.0-rc.4"
version = "3.0.0-rc.5"
edition = "2021"
rust-version = "1.89"
license = "Apache-2.0"
+5 -5
View File
@@ -10,7 +10,7 @@ The official implementation is a Rust workspace; Python/Node are optional
foreign kernels, never the compiler target.
This repository is the new, independent Marqdo toolchain, now at product
version **`3.0.0-rc.4`** in this checkout. It is **not** a compatibility rewrite of
version **`3.0.0-rc.5`** in this checkout. It is **not** a compatibility rewrite of
`cflmy/marqdo`; the old syntax, package format and plugin ABI v2 are not
claimed to work here. See [docs/developers/](docs/developers/README.md) for the
third-party entry point and `docs/MARQDO_3_0_PRERELEASE_PLAN.md` for the beta
@@ -27,10 +27,10 @@ release policy.
> [`docs/STATUS.md`](docs/STATUS.md) and
> [`docs/migration/README.md`](docs/migration/README.md).
> **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` —
> **Current release: `3.0.0-rc.5` prerelease** —
> [release](https://git.cflmy.cn/cflmy/marqdo-cli/releases/tag/v3.0.0-rc.5),
> source: the tagged release commit, Linux x86_64. The previous published
> release was `3.0.0-rc.4` —
> [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
+16 -12
View File
@@ -1,10 +1,9 @@
# Marqdo Implementation Status
Snapshot: **2026-11-25**, product version **`3.0.0-rc.4`** (prerelease,
released). Tag `v3.0.0-rc.4` at source SHA
Snapshot: **2026-11-27**, product version **`3.0.0-rc.5`** (prerelease,
released). Tag `v3.0.0-rc.5` on the tagged release commit; release:
https://git.cflmy.cn/cflmy/marqdo-cli/releases/tag/v3.0.0-rc.5. The previous release is `3.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
[`evidence/ci/1e2a045cc78bf40972181abb44e7117c56cf4401/manifest.json`](evidence/ci/1e2a045cc78bf40972181abb44e7117c56cf4401/manifest.json)
@@ -33,11 +32,16 @@ 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 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.
The workspace reports `3.0.0-rc.5` and declares Rust 1.89 as its locked
minimum. Linux x86_64 on glibc 2.39 is the supported platform. rc.5 moves the
standard library to one external Bundle (CLI Phase B, no in-repo `stdlib/` tree)
and is released with deterministic archive builds, the archive-only Ubuntu 24.04
cold install, the three migrated extensions and frozen external conformance.
Known limitations are explicit in the release notes: strict L1 could not run in
the release environment (UNVERIFIED; no PASS claimed) and the paired shared-node
G4 comparison is below thresholds but not an approved-node PASS. Stable/LTS
still requires a dedicated fixed node and the remaining strict gates. The
release records below refer to their tagged binaries.
## Current protocol integration
@@ -118,7 +122,7 @@ evidence named by issue #11.
## 0.12 Engine / Host Contract boundary — issue #13 (unreleased candidate)
This is an **internal architecture candidate**, not a release. The product
version stays `3.0.0-rc.4`; no new tag or release claim is made. Baseline is
version stays `3.0.0-rc.5`; no new tag or release claim is made. Baseline is
`master` at `4bbefc92449ee480c8a2c89b0308feb4cda8d0e7`; the PR records the exact
candidate SHA and evidence is
[`evidence/2026-11-26-issue-13-engine-host-boundary.md`](evidence/2026-11-26-issue-13-engine-host-boundary.md).
@@ -230,7 +234,7 @@ Local evidence and raw numbers:
[`evidence/2026-11-25-rc.4-analysis-boundary.md`](evidence/2026-11-25-rc.4-analysis-boundary.md).
Executed 2026-11-25 in the local Linux x86_64 development container
(workspace `3.0.0-rc.4`, Rust 1.100.0):
(workspace `3.0.0-rc.5`, Rust 1.100.0):
```text
cargo fmt --all -- --check PASS
@@ -262,7 +266,7 @@ 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).
[notes and assets](https://git.cflmy.cn/cflmy/marqdo-cli/releases/tag/v3.0.0-rc.5).
Downstream migration issues: `marqdo-view#6`, `marqdo-lint#4`.
## 0.9 Pre-stable protocol convergence — issue #8 (RC.3 candidate)
+1 -1
View File
@@ -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: `452e9a32bd9e40dba427d4180691c58bab74449e` (2026-11-25, tagged `v3.0.0-rc.4`; same-SHA evidence in `../STATUS.md` and `../evidence/ci/452e9a32bd9e40dba427d4180691c58bab74449e/manifest.json`).
- Baseline: `452e9a32bd9e40dba427d4180691c58bab74449e` (2026-11-25, tagged `v3.0.0-rc.5`; 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.
+1 -1
View File
@@ -209,7 +209,7 @@ counts, harness responsibilities and known observations.
## 5. Coding conventions
* Rust edition 2021, `rust-version = 1.89`, workspace version `3.0.0-rc.4`.
* Rust edition 2021, `rust-version = 1.89`, workspace version `3.0.0-rc.5`.
* `unsafe` is forbidden in pure crates (for example `marqdo-expression` uses
`#![forbid(unsafe_code)]`); the ABI/loader crates contain the only
`unsafe` code and every block has a SAFETY comment explaining the contract.
+1 -1
View File
@@ -6,7 +6,7 @@ Rust structures, `marqdo-ir` internals, `inspect --ir`, relative paths into the
core checkout, or host memory layout. Adding a new domain function must not
require a core commit.
Product version for these docs: **`3.0.0-rc.4`** (Linux x86_64 candidate).
Product version for these docs: **`3.0.0-rc.5`** (Linux x86_64 candidate).
Current protocol contracts: Analysis, Observation, CLI Tool, Plugin ABI v1,
Foreign wire v1, Provider manifest v2, lock v4 and markdown profile
`marqdo.md.v1`. Product, protocol and package versions are independent; see
+3 -3
View File
@@ -6,9 +6,9 @@ This page summarizes the public support policy. The authoritative matrix is
## Version axes (do not conflate)
| Axis | `3.0.0-rc.4` value | Change rule |
| Axis | `3.0.0-rc.5` value | Change rule |
|---|---|---|
| Product / CLI | `3.0.0-rc.4` (candidate) | SemVer prerelease. See `CHANGELOG.md` for changes from the beta. |
| Product / CLI | `3.0.0-rc.5` (candidate) | SemVer prerelease. See `CHANGELOG.md` for changes from the beta. |
| Analysis | v3 | One writer and one current major for every project. New major for incompatible changes; consumers reject unknown majors. |
| Observation | v1 | One `run_id`/`seq` event sequence per execution; JSONL, JSON snapshot and file snapshot come from the same run. New major for incompatible required-field/ordering/redaction changes. |
| CLI Tool | revision 1 | Exact `requires.api_revision` plus optional exact `analysis`/`observation` integers; no version arrays or negotiation. |
@@ -41,7 +41,7 @@ values are off by default, and `--mode strict` refuses `--output jsonl` and
## Language compatibility
`3.0.0-rc.4` implements RFC-LANG-0002 only. Pre-RFC `.mq.md` source
`3.0.0-rc.5` implements RFC-LANG-0002 only. Pre-RFC `.mq.md` source
(Strong-execute / Emph-return / ordered-list branch / bullet-list loop /
block-quote call / first code-span signature) is **not executable**; there is no
`--legacy`, syntax switch or downgrade path. Migration is a rewrite task
+5 -5
View File
@@ -1,15 +1,15 @@
# Quickstart: install and run
Product: `3.0.0-rc.4` (Linux x86_64 candidate). Install a **release archive**, not
Product: `3.0.0-rc.5` (Linux x86_64 candidate). Install a **release archive**, not
a source checkout, when you only consume Marqdo.
## 1. Install the archive
```bash
sha256sum -c marqdo-3.0.0-rc.4-x86_64-unknown-linux-gnu.tar.gz.sha256
tar -xzf marqdo-3.0.0-rc.4-x86_64-unknown-linux-gnu.tar.gz
cd marqdo-3.0.0-rc.4-x86_64-unknown-linux-gnu
./marqdo --version # marqdo 3.0.0-rc.4
sha256sum -c marqdo-3.0.0-rc.5-x86_64-unknown-linux-gnu.tar.gz.sha256
tar -xzf marqdo-3.0.0-rc.5-x86_64-unknown-linux-gnu.tar.gz
cd marqdo-3.0.0-rc.5-x86_64-unknown-linux-gnu
./marqdo --version # marqdo 3.0.0-rc.5
./marqdo --help
```
+2 -2
View File
@@ -1,4 +1,4 @@
# Marqdo 3.0.0-rc.4 — known limitations
# Marqdo 3.0.0-rc.5 — known limitations
This file ships in the release archive as `KNOWN_LIMITATIONS.md`. It is part of
the release record: it defines the platform and feature scope for the release candidate.
@@ -57,7 +57,7 @@ Even when available:
## Compatibility and versioning
* `3.0.0-rc.4` is a **prerelease**. The changelog lists changes from the beta.
* `3.0.0-rc.5` is a **prerelease**. The changelog lists changes from the beta.
* The product version is independent of protocol versions: Analysis,
Observation, CLI Tool, Plugin ABI v1, Foreign wire v1, Provider manifest v2
and lock v4 keep their own identifiers.
+1 -1
View File
@@ -20,7 +20,7 @@ marqdo-view/
examples/
```
`tool.json` for the `3.0.0-rc.4` candidate:
`tool.json` for the `3.0.0-rc.5` candidate:
```json
{
@@ -0,0 +1,42 @@
# 3.0.0-rc.5 候选准备(未发布)
日期:2026-11-27。分支:`release/3.0.0-rc.5-candidate`。本文件记录**候选准备**,不是发布记录:没有 tag、没有 Gitea Release、没有上传资产。
## 范围
- 工作区版本 `3.0.0-rc.4` → `3.0.0-rc.5`(Cargo.toml/Cargo.lock),CHANGELOG 增加“unreleased candidate”区段。
- 内容基线:CLI `deadf6e`(外部 Bundle Phase B,无仓库内 `stdlib/` 树)+ 根外部 Bundle `marqdo-stdlib@0.2.0`(`digest sha256:db905508...`)。
- 其余当前文档仍描述上一个已发布 rc.4;正式发布前必须在冻结 SHA 上统一 README/COMPATIBILITY/STATUS/开发者文档并重跑门禁。候选分支不合并即不改变产品发布声明。
## 候选验证(本机)
- 见父仓 #2 证据 `docs/evidence/2026-11-27-issue2-release-readiness.md`:确定性归档、smoke、离线冷安装、三个迁出扩展、外部 conformance、std surface、坏摘要 fail-closed。
- 本分支版本化为 rc.5 后重新生成归档时,仅版本/元数据变化;发布前须在冻结 SHA 上重新执行全部命令并记录摘要。
## rc.5 候选归档(未发布)
- 候选提交 `9b21486`(版本/metadata + 性能 harness 修复),CLI `--release` 构建成功。
- 同输入连续两次 `package.py`:`marqdo-3.0.0-rc.5-x86_64-unknown-linux-gnu.tar.gz` sha256 均为 `446197adb3c23dde87abc389490602e27856d6eb172667208080c8072a5ddece`(确定性 PASS)。
- `smoke.py` PASS;Ubuntu 24.04/glibc 2.39、`--network none`、无 Cargo 冷安装 PASS(缺 Bundle fail-closed;语言-only 可运行)。
- 未上传、无 tag、无 Release;`SOURCE_SHA` = 候选提交。
## 性能门禁(G4)候选结果
- 迁移后发现真实 harness 缺口:`stdlib-print-demo` 工作负载仍引用已删除的 CLI 内 `stdlib/demo.mq.md`,外部 Bundle 候选无法测量。
- 修复(本候选分支):新增 `tools/perf/fixtures/print-demo.mq.md`,工作负载改名为 `print-demo` 并指向 fixture,重新记录 `tools/perf/expected/print-demo.json`;`performance.yml` 在 baseline worktree 中复制同一 `tools/perf`,保证两个二进制测同一工作负载。
- 本机共享节点 paired run(Intel i7-8565U,8 CPU,taskset pin,5 warmups/20 samples):baseline 为**上一发布 rc.4**(`452e9a32...`,同一 harness/工作负载/fixture),candidate 为 rc.5 归档二进制 + 外部 Bundle。`correctness=VERIFIED`,9/9 工作负载 COMPARED,最大 p50 +5.15%、最大 RSS +4.87%,`investigate=false`(均低于 15%/20% 阈值)。
- **仍不是 G4 PASS**:报告 `status=SMOKE`、`environment_approved=false`,本机节点未获维护者针对该 RC 的批准;按 RC 政策只能作为 shared-node WARN 候选,需维护者在获批节点/环境复跑并明确批准。
## Strict L1(BLOCKED,未运行)
- 本环境无 disposable VM;`bwrap` 无法创建命名空间(`bwrap: No permissions to create a new namespace`),`unshare -Ur` 被拒(`/proc/self/uid_map: Operation not permitted`),`runuser -u nobody` 被拒(`cannot set groups: Operation not permitted`)。
- `tests/security/run-lane.sh` 明确要求普通用户在 disposable VM/可信 self-hosted runner 上运行并拒绝 root;本机无法产生 strict 证据,记录 BLOCKED 而非 PASS。
## 未完成(阻塞发布,不冒充 PASS)
- 冻结候选 SHA 与文档/版本一致性;
- strict L1 独立 VM、非 root 同 SHA 证据;
- G4 性能固定节点或维护者批准的 shared-node WARN;
- 维护者显式 tag/Release 批准。
按 `docs/releasing.md`,自动化只可预备 RC 与证据,不得自行 tag/release。
+43
View File
@@ -0,0 +1,43 @@
# Marqdo CLI 3.0.0-rc.5 release notes
Released as a Linux x86_64 (glibc 2.39) prerelease. Tag `v3.0.0-rc.5` on the
tagged release commit; the Gitea release carries the archive, its `.sha256` and
`RELEASE_INFO.json` inside the archive.
## What changed
- The standard library is one explicit external Bundle (`--stdlib-dir`, Bundle
pin) and the CLI repository no longer contains a `stdlib/` source tree
(marqdo-cli#11 Phase B). Contract lanes, product tests and the perf harness
materialize the ecosystem Bundle instead of an in-repo copy.
- The release archive still ships exactly one verified stdlib Bundle
(`marqdo-stdlib@0.2.0`).
- The migrated performance `print-demo` workload now uses a self-contained
fixture so the G4 comparison no longer depends on the removed in-repo stdlib
tree; the paired baseline is the previous release rc.4.
## Verification on this release cycle
| Gate | Result |
| --- | --- |
| Deterministic archive (same inputs built twice) | PASS |
| `smoke.py` | PASS |
| Archive-only Ubuntu 24.04/glibc 2.39, `--network none`, non-root, no Cargo | PASS |
| Migrated extensions http/regex/archive with the archive CLI + Bundle | PASS |
| Frozen external conformance with the archive CLI/RELEASE_INFO | PASS |
| std: surface (text/JSON/FS/path/datetime/table/Console) | PASS |
| Missing/tampered Bundle fail-closed | PASS |
| Disposable-VM strict L1, non-root, same SHA | **UNVERIFIED** (no VM/namespaces in the release environment; no PASS claimed) |
| G4 paired shared-node comparison | Shared-node only: 9/9 workloads compared, max p50 +5.15%, max RSS +4.87%, below thresholds; **not an approved-node G4 PASS** |
This release was explicitly approved by the maintainer with the two limitations
above recorded; stable/LTS still requires the disposable-VM strict lane and a
maintainer-approved fixed performance node.
## Known limitations
- Linux x86_64 is the only supported platform; macOS/Windows remain UNSUPPORTED
for this prerelease line.
- `strict` availability depends on host namespaces; unsupported hosts fail
closed and do not downgrade.
- See `docs/developers/release-limits.md` for the full list.
+1 -1
View File
@@ -1,6 +1,6 @@
# Marqdo Security Model (implemented status)
Status: describes enforcement in the `3.0.0-rc.4` candidate.
Status: describes enforcement in the `3.0.0-rc.5` candidate.
Normative implementation:
+8 -8
View File
@@ -172,7 +172,7 @@ dependencies = [
[[package]]
name = "marqdo-expression"
version = "3.0.0-rc.4"
version = "3.0.0-rc.5"
dependencies = [
"marqdo-span",
"num-bigint",
@@ -182,7 +182,7 @@ dependencies = [
[[package]]
name = "marqdo-frontend"
version = "3.0.0-rc.4"
version = "3.0.0-rc.5"
dependencies = [
"marqdo-expression",
"marqdo-ir",
@@ -196,7 +196,7 @@ dependencies = [
[[package]]
name = "marqdo-host-contract"
version = "3.0.0-rc.4"
version = "3.0.0-rc.5"
dependencies = [
"marqdo-span",
"marqdo-value",
@@ -204,7 +204,7 @@ dependencies = [
[[package]]
name = "marqdo-ir"
version = "3.0.0-rc.4"
version = "3.0.0-rc.5"
dependencies = [
"marqdo-expression",
"marqdo-span",
@@ -213,7 +213,7 @@ dependencies = [
[[package]]
name = "marqdo-markdown"
version = "3.0.0-rc.4"
version = "3.0.0-rc.5"
dependencies = [
"comrak",
"marqdo-span",
@@ -224,7 +224,7 @@ dependencies = [
[[package]]
name = "marqdo-runtime"
version = "3.0.0-rc.4"
version = "3.0.0-rc.5"
dependencies = [
"marqdo-expression",
"marqdo-host-contract",
@@ -239,14 +239,14 @@ dependencies = [
[[package]]
name = "marqdo-span"
version = "3.0.0-rc.4"
version = "3.0.0-rc.5"
dependencies = [
"serde",
]
[[package]]
name = "marqdo-value"
version = "3.0.0-rc.4"
version = "3.0.0-rc.5"
dependencies = [
"marqdo-span",
"num-bigint",
+4 -4
View File
@@ -16,7 +16,7 @@ checksum = "3bd1574e617a9a6c1f8f8181bd7e841e1f20e4277607ef28945765188d6284d4"
[[package]]
name = "marqdo-plugin-abi"
version = "3.0.0-rc.4"
version = "3.0.0-rc.5"
dependencies = [
"marqdo-value",
"serde",
@@ -26,7 +26,7 @@ dependencies = [
[[package]]
name = "marqdo-plugin-sdk"
version = "3.0.0-rc.4"
version = "3.0.0-rc.5"
dependencies = [
"marqdo-plugin-abi",
"serde",
@@ -42,14 +42,14 @@ dependencies = [
[[package]]
name = "marqdo-span"
version = "3.0.0-rc.4"
version = "3.0.0-rc.5"
dependencies = [
"serde",
]
[[package]]
name = "marqdo-value"
version = "3.0.0-rc.4"
version = "3.0.0-rc.5"
dependencies = [
"marqdo-span",
"num-bigint",
+1 -1
View File
@@ -78,7 +78,7 @@ def build_dependencies(package: str, offline: bool) -> set[str]:
stripped = line.strip()
if not stripped:
continue
# Lines look like `marqdo-value v3.0.0-rc.4 (/path)` or `serde v1.0.1`.
# Lines look like `marqdo-value v3.0.0-rc.5 (/path)` or `serde v1.0.1`.
name = stripped.split(" v", 1)[0].strip()
if name:
names.add(name)
+1 -1
View File
@@ -36,7 +36,7 @@ def snapshot(run_id: str, status: str, value, extra_file: str = "/tmp/index.mq.m
"run_id": run_id,
"seq": 0,
"kind": "stream.opened",
"payload": {"producer": {"name": "marqdo", "version": "3.0.0-rc.4"}},
"payload": {"producer": {"name": "marqdo", "version": "3.0.0-rc.5"}},
},
{
"schema": "marqdo.observation",
+49
View File
@@ -0,0 +1,49 @@
{
"measure_argv": [
"call",
"tools/perf/fixtures/print-demo.mq.md",
"main"
],
"measure_sha256": "sha256:663b632142809ee1bdfa24671263228f52fe8017db0b81a15db8f2bf3028ea33",
"normalized": {
"events": {
"by_kind": {
"branch.eval": 70,
"call.enter": 9,
"call.exit": 9,
"effect": 20,
"loop.iteration": 24,
"parameter.observed": 13,
"return": 9,
"run.completed": 1,
"run.started": 1,
"stdout.chunk": 1,
"stream.opened": 1,
"variable.assigned": 83
},
"count": 241,
"sequence_sha256": "sha256:d7a9c356294e2ecace0f93b8b65c4eb0555073e1eec4846fb044dd5f395c97bd"
},
"schema": "marqdo.observation",
"status": "ok",
"stderr": {
"bytes": 0,
"sha256": "sha256:e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855"
},
"stdout": {
"bytes": 16,
"sha256": "sha256:ca03bebeb3052ad7ae18943d04dccb7921e58421c46a2d8db460fbe3e96d9d51"
},
"terminal": {
"status": "ok",
"value": {
"type": "text",
"value": "你好,Marqdo"
},
"value_type": "Text"
}
},
"schema": "marqdo.perf.expected.v1",
"wire_sha256": "sha256:a36f2476e799cc45127ebb31c1a7828115276a6bec39368b6b9f5297b7d16799",
"workload": "print-demo"
}
@@ -1,47 +0,0 @@
{
"measure_argv": [
"run",
"stdlib/demo.mq.md"
],
"measure_sha256": "sha256:4f5fcde6b4073511330c50f15bf07db13abc2cf0cf71de777e8e23ca870220fe",
"normalized": {
"events": {
"by_kind": {
"branch.eval": 1956,
"call.enter": 131,
"call.exit": 131,
"effect": 404,
"loop.iteration": 810,
"parameter.observed": 166,
"return": 131,
"run.completed": 1,
"run.started": 1,
"stdout.chunk": 6,
"stream.opened": 1,
"variable.assigned": 2533
},
"count": 6271,
"sequence_sha256": "sha256:e17ea3ebe3ecd40f9e619f06e3bd9d4370d34616caf02a6099bbffe0f686522d"
},
"schema": "marqdo.observation",
"status": "ok",
"stderr": {
"bytes": 0,
"sha256": "sha256:e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855"
},
"stdout": {
"bytes": 380,
"sha256": "sha256:4f5fcde6b4073511330c50f15bf07db13abc2cf0cf71de777e8e23ca870220fe"
},
"terminal": {
"status": "ok",
"value": {
"type": "none"
},
"value_type": "None"
}
},
"schema": "marqdo.perf.expected.v1",
"wire_sha256": "sha256:7bed5196b8cd52d1de12561f445bc2271dd5e91ed9c4065ebf79d0cb22d8a826",
"workload": "stdlib-print-demo"
}
+9
View File
@@ -0,0 +1,9 @@
# 打印工作负载
## @exec main
**问候 = "你好,Marqdo"**
> **打印(问候)**
`return 问候`
+8 -6
View File
@@ -123,18 +123,20 @@
]
},
{
"name": "stdlib-print-demo",
"name": "print-demo",
"kind": "run",
"source": "stdlib/demo.mq.md",
"source": "tools/perf/fixtures/print-demo.mq.md",
"argv": [
"run",
"stdlib/demo.mq.md",
"call",
"tools/perf/fixtures/print-demo.mq.md",
"main",
"--output",
"json"
],
"measure_argv": [
"run",
"stdlib/demo.mq.md"
"call",
"tools/perf/fixtures/print-demo.mq.md",
"main"
]
}
]
+1 -1
View File
@@ -22,7 +22,7 @@ Usage (from the repository root, after
python3 tools/release/package.py \
--source-sha "$(git rev-parse HEAD)" \
--version 3.0.0-rc.4 \
--version 3.0.0-rc.5 \
--stdlib-dir stdlib \
--bundle-pin tools/stdlib/bundle-pin.json
"""
+1 -1
View File
@@ -9,7 +9,7 @@ Provider v2 worker (positive, unauthorized and missing-helper fail-closed), and
strict mode when the host genuinely supports it.
Usage:
python3 tools/release/smoke.py --archive dist/marqdo-3.0.0-rc.4-x86_64-unknown-linux-gnu.tar.gz
python3 tools/release/smoke.py --archive dist/marqdo-3.0.0-rc.5-x86_64-unknown-linux-gnu.tar.gz
"""
from __future__ import annotations