From 8473ac9827e2406dbb191ee59dcf7fdab8bab398 Mon Sep 17 00:00:00 2001 From: cflmy Date: Wed, 25 Nov 2026 11:47:55 +0800 Subject: [PATCH] evidence: record the rc.4 same-SHA CI, archive and conformance gates Record pipeline #89 (all four lanes PASS) for e0645f3, the CI and local archive hashes, archive smoke, Ubuntu 24.04 cold install and frozen extension 7/7. The SHA-bound gate aggregate is DO_NOT_RELEASE: strict VM is UNVERIFIED and no approved G4 node result exists, so rc.4 is not tagged or published. --- docs/STATUS.md | 10 ++- .../2026-11-25-rc.4-analysis-boundary.md | 37 ++++++++- .../evidence/2026-11-25-rc.4-cold-install.log | 2 +- .../2026-11-25-rc.4-extension-conformance.log | 43 ++++++++++ .../2026-11-25-rc.4-extension-manifest.json | 32 ++++++++ docs/evidence/2026-11-25-rc.4-local-gate.log | 82 +++++++++++++++---- .../2026-11-25-rc.4-release-smoke.log | 2 +- .../manifest.json | 61 ++++++++++++++ 8 files changed, 243 insertions(+), 26 deletions(-) create mode 100644 docs/evidence/2026-11-25-rc.4-extension-conformance.log create mode 100644 docs/evidence/2026-11-25-rc.4-extension-manifest.json create mode 100644 docs/evidence/ci/e0645f376b03e31e342a6d3fb749a335f0840d1b/manifest.json diff --git a/docs/STATUS.md b/docs/STATUS.md index 4d37e56..e148a08 100644 --- a/docs/STATUS.md +++ b/docs/STATUS.md @@ -107,8 +107,14 @@ 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, archive-only cold install, frozen external conformance, strict VM -and dedicated-node performance are **not** recorded for this candidate yet. The +Same-SHA CI ([pipeline #89](https://ci.cflmy.cn/repos/1/pipeline/89)) is PASS +for `e0645f3` on all four lanes; 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. ## 0.9 Pre-stable protocol convergence — issue #8 (RC.3 candidate) 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 2dd0a37..a26082f 100644 --- a/docs/evidence/2026-11-25-rc.4-analysis-boundary.md +++ b/docs/evidence/2026-11-25-rc.4-analysis-boundary.md @@ -3,11 +3,14 @@ - **Date:** 2026-11-25 - **Product:** `3.0.0-rc.4` (prerelease candidate; not stable, not LTS) - **Base:** `e6066e6ba91981b7d2bc55191b7eb54387ee34d3` +- **Candidate source SHA:** `e0645f376b03e31e342a6d3fb749a335f0840d1b` - **Platform:** local Linux x86_64 development container; Windows/macOS remain UNSUPPORTED for this candidate - **Policy:** [ADR-0069](../adr/0069-public-analysis-boundary.md), [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) This document records commands actually executed on the candidate tree. The raw command log is @@ -42,7 +45,7 @@ and refuses inputs, directories, symlinks and hard links to inputs. ```text cargo fmt --all -- --check PASS cargo clippy --workspace --all-targets -- -D warnings PASS -cargo test --workspace --locked PASS: 632 passed, 0 failed, 2 ignored +cargo test --workspace --locked PASS: 633 passed, 0 failed, 2 ignored cargo test -p marqdo-cli --test analysis_boundary PASS: 10 passed cargo test -p marqdo-cli --test analysis_observation PASS: 11 passed cargo test -p marqdo-cli --test architecture_boundaries PASS @@ -80,10 +83,36 @@ exact source and AST. The emit p95 and peak-RSS ratios are below the issue's 2.5x budget; the no-emit p95 ratio is below 1.15. These are development-container numbers and must not be cited as the dedicated-node G4 result. +## Executed archive and CI gates + +- **Same-SHA CI** ([pipeline #89](https://ci.cflmy.cn/repos/1/pipeline/89), + commit `e0645f3`): `contract`, `test`, `minimum-rust` and `build` all PASS. + The build lane packaged `marqdo-3.0.0-rc.4-x86_64-unknown-linux-gnu.tar.gz` + (sha256 `10f98078ff3c747c751cedfa07a767c967e17b9dffb183f93db2743c34fa6453`), + ran the archive-only smoke and the frozen extension suite 7/7 PASS + (CLI `119b4d7d0431d8e958253add4b67a6ed826678b5254583d5320136b1b9a6e93b`). +- **Local same-SHA archive** (`8cabddc9f7860ac9f9138dba75794d3026a47d3cfecc460742ac2a4c2a017516`): + `smoke.py` PASS (see + [`2026-11-25-rc.4-release-smoke.log`](2026-11-25-rc.4-release-smoke.log)) and + the archive-only Ubuntu 24.04 cold-install container PASS (see + [`2026-11-25-rc.4-cold-install.log`](2026-11-25-rc.4-cold-install.log)). +- **Frozen external conformance** from a clean worktree at the candidate SHA: + 7/7 PASS, manifest + [`2026-11-25-rc.4-extension-manifest.json`](2026-11-25-rc.4-extension-manifest.json) + and log + [`2026-11-25-rc.4-extension-conformance.log`](2026-11-25-rc.4-extension-conformance.log). + +## 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. + ## Not claimed -- No same-SHA Woodpecker pipeline, archive cold-install or frozen external - conformance evidence is recorded here. - No disposable-VM strict L1 evidence for this SHA. -- No dedicated-node G4 measurement. +- No approved dedicated-node G4 measurement (the local comparison above is + smoke evidence only). - 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 9146aea..9a55432 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 new file mode 100644 index 0000000..02d3d4b --- /dev/null +++ b/docs/evidence/2026-11-25-rc.4-extension-conformance.log @@ -0,0 +1,43 @@ +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 +[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 +[PASS] callable_registry: bad plugin args fail statically +[PASS] negative_security: plugin without grant is permission.denied +[PASS] negative_security: tampered plugin artifact fails before main +[PASS] negative_security: check does not require the plugin artifact to exist +[PASS] foreign_kernel: unknown language mocklang executes +[PASS] negative_security: foreign kernel without grant is denied +[PASS] resource_provider_cli: provider v2 reads five bytes through the CLI +[PASS] negative_security: provider without grant is denied +[PASS] negative_security: provider v1 schema is rejected without migration +[PASS] negative_security: provider artifact digest tamper is rejected +[PASS] negative_security: pure and strict modes reject provider flags +[PASS] negative_security: strict mode rejects provider flags +[PASS] tool_analysis_consumer: independent tool consumes the current Analysis +[PASS] tool_analysis_consumer: registered tool command dispatches +[PASS] negative_security: tool install rejects unknown entrypoint traversal +[PASS] tool_analysis_consumer: tool remove unregisters +[PASS] package_pinned_git: pinned Git .mq.md library runs from a separate repo +[PASS] package_pinned_git: consumer runs the pinned dependency +[PASS] package_pinned_git: verified cache still runs after moving the checkout and deleting the source +[PASS] reference_applications: HTTP status, POST and bounded framing +[PASS] reference_applications: URL validation and denial before connect +[PASS] reference_applications: TLS with an explicit local trust root +[PASS] reference_applications: live SSE visibility and caller close +[PASS] reference_applications: socket read timeout and teardown +[PASS] reference_applications: agent tool authority and two-turn provenance +[PASS] negative_security: frozen CLI binary did not change +[PASS] negative_security: frozen provider worker did not change +{ + "callable_registry": "PASS", + "plugin_worker": "PASS", + "foreign_kernel": "PASS", + "resource_provider_cli": "PASS", + "package_pinned_git": "PASS", + "tool_analysis_consumer": "PASS", + "negative_security": "PASS" +} +wrote extension evidence: /root/work/marqdo-cli/docs/evidence/2026-11-25-rc.4-extension-manifest.json diff --git a/docs/evidence/2026-11-25-rc.4-extension-manifest.json b/docs/evidence/2026-11-25-rc.4-extension-manifest.json new file mode 100644 index 0000000..66c2504 --- /dev/null +++ b/docs/evidence/2026-11-25-rc.4-extension-manifest.json @@ -0,0 +1,32 @@ +{ + "schema": "marqdo.extension-evidence", + "schema_version": 1, + "tested_sha": "e0645f376b03e31e342a6d3fb749a335f0840d1b", + "cli_binary_sha256": "a7306962689c635445a59043971ea2eb09298e01feeee81f0ba07b1f3e10306e", + "fixture_repo_sha": "015ff8ac15417b7ebbdb31ce2be2dab5362a1eba", + "os": "linux", + "arch": "x86_64", + "results": { + "callable_registry": "PASS", + "plugin_worker": "PASS", + "foreign_kernel": "PASS", + "resource_provider_cli": "PASS", + "package_pinned_git": "PASS", + "tool_analysis_consumer": "PASS", + "negative_security": "PASS" + }, + "commands": [ + "python3 /tmp/tmp.4rCUTQwVeO/fixtures/tests/run_all.py (cwd=/tmp/tmp.4rCUTQwVeO/fixtures)" + ], + "failures": [], + "unverified": [], + "provider_worker_sha256": "2d32fcfa4c6a04cb784dcb77ea4fae76a3f181708d962bb6adf7512b994e64bf", + "reference_applications": { + "HTTP status, POST and bounded framing": "PASS", + "URL validation and denial before connect": "PASS", + "TLS with an explicit local trust root": "PASS", + "live SSE visibility and caller close": "PASS", + "socket read timeout and teardown": "PASS", + "agent tool authority and two-turn provenance": "PASS" + } +} 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 136ce19..6ebed87 100644 --- a/docs/evidence/2026-11-25-rc.4-local-gate.log +++ b/docs/evidence/2026-11-25-rc.4-local-gate.log @@ -1,52 +1,98 @@ -rc.4 local gate 2026-11-25T03:16:36Z +rc.4 final local gate 2026-11-25T03:40:44Z +source_sha: e0645f376b03e31e342a6d3fb749a335f0840d1b platform: Linux 7.0.0-43-generic x86_64 rustc: rustc 1.100.0 (0ef1bc386 2026-11-09) -cargo: cargo 1.100.0 (3acc79c0c 2026-11-05) $ 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-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-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-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) + Checking marqdo-host v3.0.0-rc.4 (/root/work/marqdo-cli/crates/marqdo-host) + Checking marqdo-plugin-sdk v3.0.0-rc.4 (/root/work/marqdo-cli/crates/marqdo-plugin-sdk) + 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 PASS $ cargo test --workspace --locked PASS -passed 632, failed 0, ignored 2 +passed 633, failed 0, ignored 2 $ cargo test -p marqdo-cli --test architecture_boundaries test result: ok. 12 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s - $ 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 - $ cargo test -p marqdo-cli --test observation -test result: ok. 16 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 4.26s - +test result: ok. 16 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 4.23s $ 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.12s - +test result: ok. 7 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 3.09s $ 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 - $ 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.70s - +test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 1.69s $ cargo test -p marqdo-cli --test analysis_boundary -test result: ok. 10 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 5.02s +test result: ok. 10 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 4.97s $ python3 -m unittest discover -s tools/ci -p test_*.py -Ran 43 tests in 0.089s +Ran 43 tests in 0.092s OK $ cargo build --release --locked -p marqdo-cli -p marqdo-provider-worker -PASS Finished `release` profile [optimized] target(s) in 0.05s +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 2c8faa6..0a5b8f2 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 8737e093d61556d2cb6323869a2071efd7407601 +smoke: archive version 3.0.0-rc.4, source e0645f376b03e31e342a6d3fb749a335f0840d1b 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/ci/e0645f376b03e31e342a6d3fb749a335f0840d1b/manifest.json b/docs/evidence/ci/e0645f376b03e31e342a6d3fb749a335f0840d1b/manifest.json new file mode 100644 index 0000000..4c5a549 --- /dev/null +++ b/docs/evidence/ci/e0645f376b03e31e342a6d3fb749a335f0840d1b/manifest.json @@ -0,0 +1,61 @@ +{ + "schema": "marqdo.release-gates.v1", + "profile": "rc", + "target_sha": "e0645f376b03e31e342a6d3fb749a335f0840d1b", + "recorded_utc": "2026-11-25T03:46:11Z", + "gates": { + "linux": { + "state": "PASS", + "tested_sha": "e0645f376b03e31e342a6d3fb749a335f0840d1b", + "run_url": "https://ci.cflmy.cn/repos/1/pipeline/89", + "recorded_utc": "2026-11-25T03:46:11Z" + }, + "extension": { + "state": "PASS", + "tested_sha": "e0645f376b03e31e342a6d3fb749a335f0840d1b", + "run_url": "docs/evidence/2026-11-25-rc.4-extension-manifest.json", + "recorded_utc": "2026-11-25T03:46:11Z" + }, + "clean_install": { + "state": "PASS", + "tested_sha": "e0645f376b03e31e342a6d3fb749a335f0840d1b", + "run_url": "docs/evidence/2026-11-25-rc.4-cold-install.log", + "recorded_utc": "2026-11-25T03:46:11Z" + }, + "version_compat": { + "state": "PASS", + "tested_sha": "e0645f376b03e31e342a6d3fb749a335f0840d1b", + "run_url": "https://ci.cflmy.cn/repos/1/pipeline/89", + "recorded_utc": "2026-11-25T03:46:11Z" + }, + "windows": { + "state": "UNSUPPORTED", + "tested_sha": "e0645f376b03e31e342a6d3fb749a335f0840d1b", + "run_url": "COMPATIBILITY.md", + "recorded_utc": "2026-11-25T03:46:11Z" + }, + "macos": { + "state": "UNSUPPORTED", + "tested_sha": "e0645f376b03e31e342a6d3fb749a335f0840d1b", + "run_url": "COMPATIBILITY.md", + "recorded_utc": "2026-11-25T03:46:11Z" + }, + "performance": { + "state": "WARN", + "tested_sha": "e0645f376b03e31e342a6d3fb749a335f0840d1b", + "run_url": "docs/evidence/2026-11-25-rc.4-analysis-boundary.md", + "recorded_utc": "2026-11-25T03:46:11Z" + }, + "strict_vm": { + "state": "UNVERIFIED", + "tested_sha": "e0645f376b03e31e342a6d3fb749a335f0840d1b", + "run_url": "docs/security-vm.md", + "recorded_utc": "2026-11-25T03:46:11Z" + } + }, + "release_decision": "DO_NOT_RELEASE", + "reasons": [ + "strict_vm: UNVERIFIED is not accepted; expected PASS", + "performance: WARN is not accepted; expected PASS" + ] +}