diff --git a/CHANGELOG.md b/CHANGELOG.md index 6228867..76277ee 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,8 +4,9 @@ All notable changes to the Marqdo CLI workspace. Published prereleases: `3.0.0-beta.1` (2026-11-22, source `2c7c4f31e7a388d3fcfa717a77067e696ed13854`), `3.0.0-rc.1` (source `f7a5a7b0163bf5229ed09adfffd892f9899e6667`) and -`3.0.0-rc.2` (source `9149ee40a48fcda692c5c112f66c465487d13dfb`); the next -section collects changes for the current `3.0.0-rc.3` candidate. Current +`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 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 @@ -13,7 +14,7 @@ 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.3 (candidate) +## 3.0.0-rc.3 (2026-11-24) - The Rust workspace, CLI version output and protocol producers report `3.0.0-rc.3`. The locked workspace requires Rust 1.89 and targets Linux @@ -110,15 +111,20 @@ Migration for consumers: - `crates/cli/tests/architecture_boundaries.rs` forbids a second worker framing implementation and pins the workspace layer list; `docs_consistency` keeps one current overview and resolving links. -- Same-SHA Linux CI, the deterministic archive build, the from-archive smoke, - the cold-install container check and the frozen external conformance suite - (fixtures at `015ff8ac15417b7ebbdb31ce2be2dab5362a1eba`) are recorded in the - per-gate evidence bound to the release SHA; see - [`docs/releasing.md`](docs/releasing.md) and [`docs/STATUS.md`](docs/STATUS.md). -- The RC strict-L1 disposable-VM lane and the G4 shared-node comparison - (maintainer-approved `WARN` for this named RC, with the environment and - limits recorded in the release notes) complete the RC gate set; the archive - sha256 for the tagged SHA is published with the release assets. +- Same-SHA Linux CI ([pipeline #80](https://ci.cflmy.cn/repos/1/pipeline/80)), + the archive build, the from-archive smoke, the cold-install container check + and the frozen external conformance suite (fixtures at + `015ff8ac15417b7ebbdb31ce2be2dab5362a1eba`, 7/7) are recorded in the + per-gate manifest + [`docs/evidence/ci/1e2a045cc78bf40972181abb44e7117c56cf4401/manifest.json`](docs/evidence/ci/1e2a045cc78bf40972181abb44e7117c56cf4401/manifest.json) + (`RC_RELEASE_CANDIDATE`). +- The RC strict-L1 disposable-VM lane passed on the tagged SHA and the + published archive was re-verified in that guest; see + [`docs/evidence/2026-11-24-rc.3-release.md`](docs/evidence/2026-11-24-rc.3-release.md). + G4 is a maintainer-approved shared-node `WARN` for this named RC (three + paired runs, no p50 threshold breach), with the environment and limits in the + release notes. Release: + https://git.cflmy.cn/cflmy/marqdo-cli/releases/tag/v3.0.0-rc.3. ## 3.0.0-rc.2 (candidate) diff --git a/COMPATIBILITY.md b/COMPATIBILITY.md index 6f3fef3..f21d244 100644 --- a/COMPATIBILITY.md +++ b/COMPATIBILITY.md @@ -1,12 +1,12 @@ # Compatibility and support matrix -Snapshot: candidate product version **`3.0.0-rc.3`** (prerelease). The last -published prerelease is `3.0.0-rc.2` at source SHA -`9149ee40a48fcda692c5c112f66c465487d13dfb`. This file records what was +Snapshot: product version **`3.0.0-rc.3`** (prerelease, released on +2026-11-24). Tag `v3.0.0-rc.3` at source SHA `1e2a045cc78bf40972181abb44e7117c56cf4401`. 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 under +SHA-bound evidence are in [`docs/STATUS.md`](docs/STATUS.md), the +[RC release evidence](docs/evidence/2026-11-24-rc.3-release.md) and under [`docs/evidence/`](docs/evidence/extension/README.md). The `3.0.0-rc.3` candidate includes the post-beta protocol convergence below. @@ -117,7 +117,7 @@ portable/tested locally but the native platform lane has not run here; | Official stdlib public aliases (print de-magic; byte-identical output) | PASS | UNVERIFIED | UNVERIFIED | | Resource Provider v2 CLI (`--provider`/`--allow-provider`, worker helper) | PASS (linux/x86_64; real C sensor + helper) | **FAIL-CLOSED** (`ext.platform_unsupported`) | **UNSUPPORTED** | | Capability handler registry (`fs.read` handler, audit, unavailable) | PASS | UNVERIFIED | UNVERIFIED | -| External conformance repository (`marqdo-extension-conformance`, frozen CLI) | PASS (`--release` binary sha256 `28e3776d…`, fixture repo `e4b7352c…`; see `docs/evidence/extension/6a7bb983.../manifest.json`) | UNVERIFIED | UNVERIFIED | +| External conformance repository (`marqdo-extension-conformance`, frozen CLI) | PASS (7/7 categories against the published archive, fixture repo `015ff8ac…`; see the rc.3 evidence bundle) | UNVERIFIED | UNVERIFIED | | Analysis v3 + Observation v1 + Python consumers | PASS (same-SHA CI contract lane and archive smoke; independent consumers) | UNVERIFIED | UNVERIFIED | | CLI Tool revision 1 + independent consumers | PASS | UNVERIFIED | UNVERIFIED | | Native ABI (`plugin inspect`, trusted call) | PASS (C fixture) | UNVERIFIED (host-native fixture) | **UNSUPPORTED** | @@ -194,12 +194,14 @@ the Windows C ABI/provider paths remain fail-closed. ## Release decision -**`3.0.0-rc.3` prerelease candidate — Linux x86_64 only.** The RC profile in -[`docs/MARQDO_3_0_PRERELEASE_PLAN.md`](docs/MARQDO_3_0_PRERELEASE_PLAN.md) §3 is -used, not the stable profile: Linux is the only supported platform, -macOS/Windows are declared UNSUPPORTED for this scope, strict L1 requires -same-SHA disposable-VM evidence and G4 performance is recorded as a -maintainer-approved shared-node `WARN` for this named RC. The aggregate decision -and per-gate evidence are bound to the candidate SHA in -[`docs/STATUS.md`](docs/STATUS.md) and the release assets. A prerelease does not -imply stable `3.0.0` or LTS; the stable gate remains stricter and separate. +**`3.0.0-rc.3` 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 +[`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). +A prerelease does not imply stable `3.0.0` or LTS; the stable gate remains +stricter and separate. diff --git a/docs/STATUS.md b/docs/STATUS.md index 0bd1cc6..0e404e9 100644 --- a/docs/STATUS.md +++ b/docs/STATUS.md @@ -1,12 +1,15 @@ # Marqdo Implementation Status -Snapshot: **2026-11-24**, product version **`3.0.0-rc.3`** (prerelease -candidate). Last published prerelease: `3.0.0-rc.2` at source SHA -**`9149ee40a48fcda692c5c112f66c465487d13dfb`**; last published beta -`3.0.0-beta.1` at **`2c7c4f31e7a388d3fcfa717a77067e696ed13854`**. The released -platform is **Linux x86_64 (glibc 2.39)**. The RC gate aggregate for this -candidate is bound to the candidate SHA; its binary hashes are in the archive's -`RELEASE_INFO.json`. Do not copy a SHA from a plan. +Snapshot: **2026-11-24**, product version **`3.0.0-rc.3`** (prerelease, +released). Tag `v3.0.0-rc.3` at source SHA +**`1e2a045cc78bf40972181abb44e7117c56cf4401`**; release: +https://git.cflmy.cn/cflmy/marqdo-cli/releases/tag/v3.0.0-rc.3. The released +platform is **Linux x86_64 (glibc 2.39)**. The same-SHA gate aggregate is +[`evidence/ci/1e2a045cc78bf40972181abb44e7117c56cf4401/manifest.json`](evidence/ci/1e2a045cc78bf40972181abb44e7117c56cf4401/manifest.json) +(decision `RC_RELEASE_CANDIDATE`); binary hashes are in the archive's +`RELEASE_INFO.json`. Previous prereleases: `3.0.0-rc.2` at +`9149ee40a48fcda692c5c112f66c465487d13dfb` and `3.0.0-beta.1` at +`2c7c4f31e7a388d3fcfa717a77067e696ed13854`. Do not copy a SHA from a plan. Current architecture overview: [`architecture/CURRENT.md`](architecture/CURRENT.md). @@ -149,13 +152,18 @@ A code review of the first candidate build found and closed these defects binary, and a docs-consistency gate now fails when a retired interface or a deleted spec path returns. -Release status: this section records local Linux evidence and the same-SHA CI -for the candidate. Publication additionally requires the RC profile gates in -[`releasing.md`](releasing.md) — same-SHA disposable-VM strict L1, clean -install, frozen extensions, version compatibility and G4 performance (the -maintainer-approved shared-node `WARN` for this named RC). Those results are -recorded in the evidence bound to the released SHA and in the release assets; -an unavailable strict host is fail-closed, never a downgrade. +Release status: **published as `v3.0.0-rc.3`**. The RC profile gates in +[`releasing.md`](releasing.md) were executed on the tagged SHA: same-SHA Linux +CI (formatted, clippy-clean, 607 workspace tests, contract lane, minimum Rust +1.89, build lane with from-archive smoke and frozen extensions 7/7), the +archive-only clean install, frozen external conformance against the published +archive, version compatibility, a disposable-VM strict L1 PASS as non-root with +the published archive re-verified in that guest, and three paired shared-node +G4 runs whose maintainer-approved `WARN` is recorded for this named RC. The +per-gate manifest, release notes and logs are in +[`evidence/2026-11-24-rc.3-release.md`](evidence/2026-11-24-rc.3-release.md), +[`evidence/ci/1e2a045cc78bf40972181abb44e7117c56cf4401/manifest.json`](evidence/ci/1e2a045cc78bf40972181abb44e7117c56cf4401/manifest.json) and the +release assets. An unavailable strict host is fail-closed, never a downgrade. ## 0. Beta release record — `3.0.0-beta.1` diff --git a/docs/evidence/2026-11-24-rc.3-release.md b/docs/evidence/2026-11-24-rc.3-release.md new file mode 100644 index 0000000..494ba15 --- /dev/null +++ b/docs/evidence/2026-11-24-rc.3-release.md @@ -0,0 +1,102 @@ +# RC 3.0.0-rc.3 release evidence — 1e2a045cc78bf40972181abb44e7117c56cf4401 + +- **Date:** 2026-11-24 +- **Product:** `3.0.0-rc.3` (prerelease; not stable, not LTS) +- **Source SHA:** `1e2a045cc78bf40972181abb44e7117c56cf4401` (tag `v3.0.0-rc.3`) +- **Platform:** Linux x86_64, glibc 2.39 baseline; macOS/Windows UNSUPPORTED for + this candidate +- **Release:** https://git.cflmy.cn/cflmy/marqdo-cli/releases/tag/v3.0.0-rc.3 +- **Gate manifest:** [`docs/evidence/ci/1e2a045cc78bf40972181abb44e7117c56cf4401/manifest.json`](ci/1e2a045cc78bf40972181abb44e7117c56cf4401/manifest.json) + (`RC_RELEASE_CANDIDATE`, every gate bound to the SHA above) +- **Verification bundle:** + https://git.cflmy.cn/cflmy/marqdo-cli/releases/download/v3.0.0-rc.3/rc3-verification.tar.gz + +Local release archive: `marqdo-3.0.0-rc.3-x86_64-unknown-linux-gnu.tar.gz`, +sha256 `43796a4834f2a5a887eee1b2d2193076887ac09cbdb45ca4465b34755ca8cc90` (published asset). The same-SHA CI build lane also builds, +smokes and runs the frozen extension suite against its own archive +(sha256 `35268ab72a316d51f54733ba2f81f88f9c5c4d5025aa4901498388dc8d127381`); +the CI log records that smoke, the 7/7 conformance categories and the frozen +CLI/provider-worker hashes for that build. + +## Gates executed on this SHA + +| Gate | State | Evidence | +|---|---|---| +| Linux CI — contract lane (real CLI + independent Python consumers, one-run stream/snapshot assertion, stale-Analysis rejection) | PASS | [pipeline #80](https://ci.cflmy.cn/repos/1/pipeline/80) | +| Linux CI — test lane (fmt, clippy, 607 workspace tests, docs/architecture gates, tools/ci unittests, Windows cross-target compile) | PASS | pipeline #80 | +| Linux CI — minimum Rust 1.89 check | PASS | pipeline #80 | +| Linux CI — build lane (archive, from-archive smoke, frozen extensions 7/7) | PASS | pipeline #80, `ci-80-build.log` | +| Frozen external conformance against the published archive | PASS (7/7, fixtures `015ff8ac15417b7ebbdb31ce2be2dab5362a1eba`) | `extension-manifest.json` | +| Archive-only smoke (stdlib digests, consumers, tools, workers, strict refusal, missing-stdlib fail-closed) | PASS | `release-smoke.log` | +| Clean install: archive-only container, ubuntu 24.04, non-root, no network, no Cargo | PASS | `cold-install.log` | +| Version compatibility (locked Rust minimum, CLI/product identity, prerelease ranges, archive stdlib) | PASS | pipeline #80 test lane + archive smoke | +| Strict L1 in a disposable VM as non-root `marqdo` (uid 1000) | PASS | `strict-evidence.json`, `strict-lane.log` | +| Published archive verified in that same VM (`--version`, `SOURCE_SHA`, strict `run`/`call`) | PASS | `strict-lane.log` | +| G4 performance, three paired shared-node runs | WARN (maintainer-approved for this RC) | `perf-81..83-*.json`, `rss-investigation.json` | +| Windows / macOS | UNSUPPORTED | Linux-only RC scope | + +### Strict evidence details + +Runner: disposable Ubuntu 26.04 cloud-image VM under QEMU/TCG, booted from the +dated image with sha256 `7b90593f5532b49b7e3fe3d2743f0d1f0d822e5b07cebcd8e00c0df8069ecab9` +(the same pinned image recorded by the rc.1/rc.2 evidence). The lane ran as +user `marqdo` (uid 1000, `root: false`) with bubblewrap 0.11.1: the seven +adversarial isolation tests, the strict CLI contract, strict resource refusal, +inert `@knowledge` and the forged-marker rejection all passed +(`G-C security lane: PASS`). The evidence records `tested_sha_verified: true` +(from `git rev-parse`), the kernel (`7.0.0-43-generic`), cgroup v2 and the +toolchain used by the lane (`rustc 1.100.0`). The published archive was then +unpacked inside the same guest, its checksum and `SOURCE_SHA` verified, +`inspect --platform` reported strict `available`, and strict +`run examples/hello.mq.md` plus +`call examples/factorial.mq.md 数学.阶乘 --arg n=5` produced the expected +output. + +### G4 performance and the shared-node exception + +Three paired runs compare `v3.0.0-beta.1` with this candidate on Woodpecker +agent 1 (shared node: Intel i7-12700H, kernel 7.0.0-31-generic, `powersave` +governor, logical CPU 0 pinned, five warmups and twenty samples per workload, +nine workloads). Every workload is correctness-verified in every run. + +| Paired run | p50 delta range | Threshold breaches (>= +15% p50) | +|---|---|---| +| [#81](https://ci.cflmy.cn/repos/1/pipeline/81) | -28.45% … +1.52% | none | +| [#82](https://ci.cflmy.cn/repos/1/pipeline/82) | -28.02% … +4.10% | none | +| [#83](https://ci.cflmy.cn/repos/1/pipeline/83) | -23.00% … +1.23% | none | + +The timed command is now the plain execution path while correctness is verified +against the current Observation snapshot, so an opt-in observability document +is not billed as a regression. The first candidate build compared +`--output json` against the beta summary and produced a spurious ++240%…+375% p50 delta; that comparison was rejected and the sampler fixed +before the frozen SHA. + +RSS deltas computed across the two *different* sampler versions are an artefact +of `ru_maxrss` inheriting the sampler parent's pages; the baseline report is +produced by the beta-tagged sampler. A same-parent `/usr/bin/time` cross-check +of the archived binaries (rc.3 vs rc.2, eight comparable workloads) shows RSS +deltas between -4.69% and +13.27%, below the +20% threshold +(`rss-investigation.json`; `stdlib-print-demo` is excluded because the rc.2 +checkout does not load the candidate stdlib in that layout). + +**Maintainer approval:** the shared-node G4 `WARN` is approved for +`v3.0.0-rc.3` only (2026-11-24). Shared-node reports stay `SMOKE`; they are +never promoted to a dedicated-node claim, and a fixed node is planned for the +next cycle. + +## Behaviour changes since rc.2 (review closure) + +A code review of the first candidate build found and closed: a strict run +emitting a partial JSONL stream for a destination it refuses; a stale Analysis +artifact surviving a load failure; `fs.*` effects collapsing to +`resource.request`; plugin frame error codes flattened; event/snapshot `level` +enums disagreeing; snapshots embedding absolute host paths; option errors +using the wrong phase; and a G4 workload catalogue that still passed the +retired `--json` flag. Each has a regression test and is recorded in +[STATUS.md](../STATUS.md) section 0.9.1. + +## What this evidence does not claim + +Stable `3.0.0`, LTS, Windows/macOS support, strict L2, dedicated-node +performance, or a publisher signature. Checksums are integrity only. diff --git a/docs/evidence/ci/1e2a045cc78bf40972181abb44e7117c56cf4401/manifest.json b/docs/evidence/ci/1e2a045cc78bf40972181abb44e7117c56cf4401/manifest.json new file mode 100644 index 0000000..f2bdf5d --- /dev/null +++ b/docs/evidence/ci/1e2a045cc78bf40972181abb44e7117c56cf4401/manifest.json @@ -0,0 +1,59 @@ +{ + "schema": "marqdo.release-gates.v1", + "profile": "rc", + "target_sha": "1e2a045cc78bf40972181abb44e7117c56cf4401", + "recorded_utc": "2026-11-24T15:56:23Z", + "gates": { + "linux": { + "state": "PASS", + "tested_sha": "1e2a045cc78bf40972181abb44e7117c56cf4401", + "run_url": "https://ci.cflmy.cn/repos/1/pipeline/80", + "recorded_utc": "2026-11-24T15:56:23Z" + }, + "strict_vm": { + "state": "PASS", + "tested_sha": "1e2a045cc78bf40972181abb44e7117c56cf4401", + "run_url": "https://git.cflmy.cn/cflmy/marqdo-cli/releases/download/v3.0.0-rc.3/rc3-verification.tar.gz", + "recorded_utc": "2026-11-24T15:56:23Z" + }, + "extension": { + "state": "PASS", + "tested_sha": "1e2a045cc78bf40972181abb44e7117c56cf4401", + "run_url": "https://git.cflmy.cn/cflmy/marqdo-cli/releases/download/v3.0.0-rc.3/rc3-verification.tar.gz", + "recorded_utc": "2026-11-24T15:56:23Z" + }, + "clean_install": { + "state": "PASS", + "tested_sha": "1e2a045cc78bf40972181abb44e7117c56cf4401", + "run_url": "https://git.cflmy.cn/cflmy/marqdo-cli/releases/download/v3.0.0-rc.3/rc3-verification.tar.gz", + "recorded_utc": "2026-11-24T15:56:23Z" + }, + "version_compat": { + "state": "PASS", + "tested_sha": "1e2a045cc78bf40972181abb44e7117c56cf4401", + "run_url": "https://ci.cflmy.cn/repos/1/pipeline/80", + "recorded_utc": "2026-11-24T15:56:23Z" + }, + "windows": { + "state": "UNSUPPORTED", + "tested_sha": "1e2a045cc78bf40972181abb44e7117c56cf4401", + "run_url": "linux-only-rc-scope-release-notes", + "recorded_utc": "2026-11-24T15:56:23Z" + }, + "macos": { + "state": "UNSUPPORTED", + "tested_sha": "1e2a045cc78bf40972181abb44e7117c56cf4401", + "run_url": "linux-only-rc-scope-release-notes", + "recorded_utc": "2026-11-24T15:56:23Z" + }, + "performance": { + "state": "WARN", + "tested_sha": "1e2a045cc78bf40972181abb44e7117c56cf4401", + "run_url": "https://git.cflmy.cn/cflmy/marqdo-cli/releases/download/v3.0.0-rc.3/rc3-verification.tar.gz", + "rc_shared_node_approval": "Maintainer approved the shared-node G4 WARN for v3.0.0-rc.3 on 2026-11-24 (RC only; a dedicated fixed node is planned for the next cycle); https://git.cflmy.cn/cflmy/marqdo-cli/releases/tag/v3.0.0-rc.3#performance", + "recorded_utc": "2026-11-24T15:56:23Z" + } + }, + "release_decision": "RC_RELEASE_CANDIDATE", + "reasons": [] +}