Compare commits
3
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
4bbefc9244 | ||
|
|
452e9a32bd | ||
|
|
63f62d5728 |
No files matched your search
+3
-2
@@ -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
|
Older sections are release records: a retired option or spec they name is
|
||||||
available at its tagged commit, not in the current tree.
|
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
|
- 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
|
`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)
|
### Closed public Analysis boundary — issue #10 (breaking in place)
|
||||||
|
|
||||||
|
|||||||
+6
-3
@@ -1,7 +1,10 @@
|
|||||||
# Compatibility and support matrix
|
# Compatibility and support matrix
|
||||||
|
|
||||||
Snapshot: product version **`3.0.0-rc.4`** (prerelease candidate, 2026-11-25).
|
Snapshot: product version **`3.0.0-rc.4`** (prerelease, released 2026-11-25).
|
||||||
The previous release is `3.0.0-rc.3` at source SHA
|
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
|
`1e2a045cc78bf40972181abb44e7117c56cf4401`; its evidence remains under
|
||||||
[`docs/evidence/`](docs/evidence/2026-11-24-rc.3-release.md). This file records
|
[`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
|
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
|
evidence are in [`docs/STATUS.md`](docs/STATUS.md) and
|
||||||
[`docs/evidence/`](docs/evidence/).
|
[`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
|
closed public Analysis boundary below. See the
|
||||||
[RC acceptance procedure](docs/releasing.md). The platform evidence table
|
[RC acceptance procedure](docs/releasing.md). The platform evidence table
|
||||||
records the beta, rc.1/rc.2/rc.3 and rc.4 candidate verification.
|
records the beta, rc.1/rc.2/rc.3 and rc.4 candidate verification.
|
||||||
|
|||||||
@@ -27,7 +27,10 @@ release policy.
|
|||||||
> [`docs/STATUS.md`](docs/STATUS.md) and
|
> [`docs/STATUS.md`](docs/STATUS.md) and
|
||||||
> [`docs/migration/README.md`](docs/migration/README.md).
|
> [`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),
|
> [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
|
> 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
|
> C ABI plugin/provider paths are Linux-only in this beta. The language
|
||||||
|
|||||||
@@ -38,7 +38,7 @@
|
|||||||
3. 冻结 CLI 的外部仓库黑盒验收在**发布 SHA**重新执行,至少 pure pinned-Git 包、Callable Worker、陌生 Foreign Kernel、Provider v2、Tool/Analysis/Trace、权限负例及工件改动负例全部 PASS;生成并校验 `docs/evidence/extension/<SHA>/manifest.json`。
|
3. 冻结 CLI 的外部仓库黑盒验收在**发布 SHA**重新执行,至少 pure pinned-Git 包、Callable Worker、陌生 Foreign Kernel、Provider v2、Tool/Analysis/Trace、权限负例及工件改动负例全部 PASS;生成并校验 `docs/evidence/extension/<SHA>/manifest.json`。
|
||||||
4. 冷安装、离线 `--version`/`--help`、`check/run/call`、lock/sync、Tool 安装与分发、Provider Worker 启动、错 SHA/错目标/未授权拒绝全部由发布归档中的**实际二进制**完成;不得依赖开发源码目录。
|
4. 冷安装、离线 `--version`/`--help`、`check/run/call`、lock/sync、Tool 安装与分发、Provider Worker 启动、错 SHA/错目标/未授权拒绝全部由发布归档中的**实际二进制**完成;不得依赖开发源码目录。
|
||||||
5. **不得虚假宣传安全隔离。** 发布包若保留并开放 Linux `strict`,必须有该 SHA 的真实 G3 隔离负例证据;若暂无证据,需采用明确经过测试的 fail-closed 禁用方式并在公告中写 `strict: unsupported`。不允许仅改 README 却继续将未验证的 `strict` 描述为安全保障。Beta 的这一策略必须经维护者明确签字并由 CI 可复查。
|
5. **不得虚假宣传安全隔离。** 发布包若保留并开放 Linux `strict`,必须有该 SHA 的真实 G3 隔离负例证据;若暂无证据,需采用明确经过测试的 fail-closed 禁用方式并在公告中写 `strict: unsupported`。不允许仅改 README 却继续将未验证的 `strict` 描述为安全保障。Beta 的这一策略必须经维护者明确签字并由 CI 可复查。
|
||||||
6. G4 基准不得造假;若当期固定节点仍是 WARN,可由维护者批准 **Beta-only WARN** 并公开环境和限制;必须通过 9 个正确性基准,不允许数值漂移或已确认的灾难性回退。
|
6. G4 基准不得造假;若当期固定节点仍是 WARN,可由维护者批准 **Beta/RC-only WARN** 并公开环境和限制;必须通过正确性基准,不允许数值漂移或已确认的灾难性回退。RC 允许经维护者批准的共享节点 WARN;最终 stable/LTS 必须使用专用固定节点,该共享节点例外不延续到 LTS。
|
||||||
7. 明确产品版本 `3.0.0-beta.1` 与协议独立版本;工具 SemVer 协商在真实测试版上可安装、拒绝不兼容范围、不会误把 `<1` 当成支持 3.x。
|
7. 明确产品版本 `3.0.0-beta.1` 与协议独立版本;工具 SemVer 协商在真实测试版上可安装、拒绝不兼容范围、不会误把 `<1` 当成支持 3.x。
|
||||||
8. `README`、`CHANGELOG`、`COMPATIBILITY`、`docs/STATUS`、`docs/releasing`、协议入口页、迁移说明,均更新至同一事实基线;无“未实现却声称已发布”或“已实现仍称 Proposed”的矛盾。
|
8. `README`、`CHANGELOG`、`COMPATIBILITY`、`docs/STATUS`、`docs/releasing`、协议入口页、迁移说明,均更新至同一事实基线;无“未实现却声称已发布”或“已实现仍称 Proposed”的矛盾。
|
||||||
9. 不发布未经实际构建/烟测的平台二进制;产物附 SHA256、SOURCE_SHA、构建工具链信息和已知限制。
|
9. 不发布未经实际构建/烟测的平台二进制;产物附 SHA256、SOURCE_SHA、构建工具链信息和已知限制。
|
||||||
|
|||||||
+26
-23
@@ -1,7 +1,9 @@
|
|||||||
# Marqdo Implementation Status
|
# Marqdo Implementation Status
|
||||||
|
|
||||||
Snapshot: **2026-11-25**, product version **`3.0.0-rc.4`** (prerelease
|
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
|
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:
|
**`1e2a045cc78bf40972181abb44e7117c56cf4401`**; release:
|
||||||
https://git.cflmy.cn/cflmy/marqdo-cli/releases/tag/v3.0.0-rc.3. The supported
|
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
|
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).
|
evidence). Support matrix: [`../COMPATIBILITY.md`](../COMPATIBILITY.md).
|
||||||
Developer entry point: [`developers/README.md`](developers/README.md).
|
Developer entry point: [`developers/README.md`](developers/README.md).
|
||||||
|
|
||||||
This file records what was actually executed. "Implemented" does not mean
|
The rc.4 same-SHA gate aggregate is
|
||||||
"verified on every platform"; the evidence column says which commands were run
|
[`evidence/ci/452e9a32bd9e40dba427d4180691c58bab74449e/manifest.json`](evidence/ci/452e9a32bd9e40dba427d4180691c58bab74449e/manifest.json)
|
||||||
and where. Status is generated from executed commands/logs; a gate row without a
|
(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
|
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
|
(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
|
[`history/`](history/README.md) and [`evidence/`](evidence/) and must not be read
|
||||||
@@ -30,12 +34,10 @@ as current status.
|
|||||||
## RC candidate
|
## RC candidate
|
||||||
|
|
||||||
The workspace reports `3.0.0-rc.4` and declares Rust 1.89 as its locked
|
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
|
minimum. Linux x86_64 on glibc 2.39 is the supported platform. The rc.4
|
||||||
[release procedure](releasing.md) requires a green manifest bound to the
|
manifest is green on its SHA with the documented strict-VM PASS and a
|
||||||
candidate SHA before publication. A candidate is not a release: it must not be
|
maintainer-approved shared-node performance `WARN`; stable/LTS still requires a
|
||||||
tagged or announced until the same-SHA CI, archive-only cold install, frozen
|
dedicated fixed node. The release records below refer to their tagged binaries.
|
||||||
external conformance, strict VM and performance gates are executed for that
|
|
||||||
SHA. The release records below refer to their tagged binaries.
|
|
||||||
|
|
||||||
## Current protocol integration
|
## 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
|
Git history and tagged archives. The earlier release records below describe
|
||||||
their tagged binaries and are not current protocol claims.
|
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
|
The candidate replaces the program-only Analysis projection in place under
|
||||||
[ADR-0069](adr/0069-public-analysis-boundary.md): exact source and document
|
[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,
|
`--emit` `1.210 / 1.186`, `--refs` `1.145 / 1.093`. These are smoke numbers,
|
||||||
not a dedicated-node G4 result.
|
not a dedicated-node G4 result.
|
||||||
|
|
||||||
Same-SHA CI ([pipeline #89](https://ci.cflmy.cn/repos/1/pipeline/89)) is PASS
|
Same-SHA CI ([pipeline #94](https://ci.cflmy.cn/repos/1/pipeline/94)) is PASS
|
||||||
for the candidate code SHA `e0645f3` on all four lanes, and the follow-up
|
for `452e9a3` on all four lanes; its build lane packaged the archive, ran smoke
|
||||||
CI/tooling tree `b1fc211` is fully green in
|
and the frozen extension suite 7/7. The local same-SHA archive passed smoke,
|
||||||
[pipeline #91](https://ci.cflmy.cn/repos/1/pipeline/91); its build lane packaged the archive, ran the
|
the archive-only Ubuntu 24.04 cold-install container and frozen conformance
|
||||||
archive smoke and the frozen extension suite 7/7. A local same-SHA archive
|
7/7. Strict L1 PASS is recorded from a disposable QEMU/TCG VM as non-root
|
||||||
passed smoke and the archive-only Ubuntu 24.04 cold-install container, and the
|
`dev` (uid 1000), with the archived binary re-verified in that VM. Performance
|
||||||
frozen suite passed 7/7 from a clean worktree. The gate aggregate is
|
is a maintainer-approved shared-node `WARN` for this RC only; stable/LTS still
|
||||||
[`evidence/ci/e0645f376b03e31e342a6d3fb749a335f0840d1b/manifest.json`](evidence/ci/e0645f376b03e31e342a6d3fb749a335f0840d1b/manifest.json)
|
requires a dedicated fixed node. The gate aggregate is
|
||||||
and decides `DO_NOT_RELEASE`: the RC profile still requires a same-SHA strict
|
[`evidence/ci/452e9a32bd9e40dba427d4180691c58bab74449e/manifest.json`](evidence/ci/452e9a32bd9e40dba427d4180691c58bab74449e/manifest.json)
|
||||||
VM PASS and an approved G4 node result, neither of which is available here. The
|
(`RC_RELEASE_CANDIDATE`). Release
|
||||||
rc.3 rows below remain the last published release evidence.
|
[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)
|
## 0.9 Pre-stable protocol convergence — issue #8 (RC.3 candidate)
|
||||||
|
|
||||||
|
|||||||
@@ -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
|
is today. It is not a release promise, does not reopen a frozen ADR, and does not
|
||||||
replace `spec/` or a recorded test log.
|
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/`.
|
- 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;
|
- 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.
|
update this file, `docs/STATUS.md` and an evidence file together.
|
||||||
|
|||||||
@@ -0,0 +1,255 @@
|
|||||||
|
# Public Analysis consumers after issue #10
|
||||||
|
|
||||||
|
Applies to `marqdo.analysis` revision 3 as defined by
|
||||||
|
[ADR-0069](../adr/0069-public-analysis-boundary.md), [spec/analysis.md](../../spec/analysis.md)
|
||||||
|
and [the schema](../../spec/schemas/analysis.schema.json). This page is the
|
||||||
|
integration guide for downstream static tools, in particular `marqdo-lint` and
|
||||||
|
`marqdo-view`.
|
||||||
|
|
||||||
|
The revision number did not change, but the shape did. An old revision-3
|
||||||
|
artifact is **not** accepted: current required fields are missing, and the
|
||||||
|
current schema and consumer semantics reject it. Rebuild the artifact and
|
||||||
|
update the consumer; do not add a compatibility reader or a second Analysis
|
||||||
|
shape.
|
||||||
|
|
||||||
|
## 1. What the CLI already provides
|
||||||
|
|
||||||
|
Run one command per program entry:
|
||||||
|
|
||||||
|
```sh
|
||||||
|
marqdo check path/to/index.mq.md --emit analysis.json
|
||||||
|
```
|
||||||
|
|
||||||
|
The artifact contains everything a document/lint/knowledge reader needs, from
|
||||||
|
the same static preparation as `check`, `inspect`, `run` and `call`:
|
||||||
|
|
||||||
|
- exact UTF-8 `modules[].source` and its SHA-256 `source_digest`;
|
||||||
|
- the Markdown AST in `modules[].document`;
|
||||||
|
- heading scopes in `modules[].units` and anchors in `modules[].anchors`;
|
||||||
|
- functions, imports, calls and resources;
|
||||||
|
- Markdown references with explicit resolution states;
|
||||||
|
- project context: `entry_module_id`, `identity_kind`, `root_id`,
|
||||||
|
`manifest_digest`, captured `lock_digest`, stdlib and extension identities;
|
||||||
|
- deterministic diagnostics.
|
||||||
|
|
||||||
|
`inspect --ast` and `inspect --units` now project the **same** AST and unit
|
||||||
|
shape. They remain human/debug selections; a machine consumer should read
|
||||||
|
`check --emit` and stop running a second `inspect --ast` process per module.
|
||||||
|
|
||||||
|
## 2. Required consumer changes
|
||||||
|
|
||||||
|
### 2.1 Read the source from the artifact
|
||||||
|
|
||||||
|
`modules[].source` is the exact text the loader read. Every span is a half-open
|
||||||
|
UTF-8 byte offset into that string.
|
||||||
|
|
||||||
|
- Do not reopen the file from `relative_path` for spans or digests; package
|
||||||
|
caches, stdlib and dependencies have no stable consumer-facing physical path.
|
||||||
|
- Verify `sha256(source.encode("utf-8")) == source_digest` before trusting a
|
||||||
|
span.
|
||||||
|
- `relative_path` remains package-relative and useful for display and project
|
||||||
|
layout, not for reconstructing an absolute path.
|
||||||
|
|
||||||
|
### 2.2 Document AST
|
||||||
|
|
||||||
|
`modules[].document` is the public AST described by
|
||||||
|
[`spec/markdown-profile.md`](../../spec/markdown-profile.md). Every node has
|
||||||
|
`kind`, `span` and `children` (`[]` for leaves); attributes/literals follow the
|
||||||
|
profile. The root `document` span now covers the whole source, including a BOM.
|
||||||
|
|
||||||
|
- Parse `document` directly; do not parse Markdown again for program
|
||||||
|
annotations.
|
||||||
|
- Renderers may keep their own rendering parser, but any *semantic* decision
|
||||||
|
(executable region, heading scope, function ownership) must use Analysis.
|
||||||
|
- Literal payloads are not guaranteed byte-equal to their span (entities,
|
||||||
|
escapes and code whitespace are normalised).
|
||||||
|
|
||||||
|
### 2.3 Heading scope: `span` changed meaning
|
||||||
|
|
||||||
|
For every non-root unit:
|
||||||
|
|
||||||
|
| Field | Meaning |
|
||||||
|
|---|---|
|
||||||
|
| `heading_span` | The original heading AST node span. Use this to locate the heading itself. |
|
||||||
|
| `span` | **Complete section range** from the heading through the next heading of the same or higher level, or EOF. It includes child headings. |
|
||||||
|
| `path` | Canonical structured heading path. Do not split `id` to recover it. |
|
||||||
|
| `parent_id` | Nearest real ancestor unit; root is `null`. |
|
||||||
|
| `mode` | Effective `exec` or `knowledge`. |
|
||||||
|
| `mode_origin` | `explicit` (ATX declaration), `inherited`, or `default` for the root. |
|
||||||
|
| `mode_source_unit_id` | The unit that supplied the mode; self-or-ancestor. |
|
||||||
|
| `kind` | `root`, `namespace`, `function`, `knowledge`, `section`. |
|
||||||
|
| `function` | Owning function id for Exec sections; `null` otherwise. |
|
||||||
|
|
||||||
|
Do not infer section ends from the next heading's text or from the old
|
||||||
|
short-span assumption. Use `heading_span` for heading UI; use `span` for the
|
||||||
|
whole section body.
|
||||||
|
|
||||||
|
`anchors` is `[{anchor, unit_id}]`, sorted by anchor. Anchors are navigation
|
||||||
|
names, not identities; a missing anchor is not a missing document.
|
||||||
|
|
||||||
|
### 2.4 References: boolean `resolved` is gone
|
||||||
|
|
||||||
|
`modules[].references[]` now always carries:
|
||||||
|
|
||||||
|
```json
|
||||||
|
{
|
||||||
|
"source": "root:x@0.1.0::index.mq.md",
|
||||||
|
"source_unit": "root:x@0.1.0::index.mq.md#数学",
|
||||||
|
"url": "./theory.mq.md#formula",
|
||||||
|
"span": {"start": 20, "end": 50},
|
||||||
|
"state": "not_loaded",
|
||||||
|
"target_kind": null,
|
||||||
|
"target_module": null,
|
||||||
|
"target_unit": null,
|
||||||
|
"candidate_package_instance_id": "root:x@0.1.0",
|
||||||
|
"candidate_path": "theory.mq.md",
|
||||||
|
"fragment": "formula",
|
||||||
|
"candidates": []
|
||||||
|
}
|
||||||
|
```
|
||||||
|
|
||||||
|
| `state` | Consumer meaning |
|
||||||
|
|---|---|
|
||||||
|
| `resolved` | Exact module/unit or explicitly verified local file. `target_kind` is `module` or `file`. |
|
||||||
|
| `not_loaded` | The loaded catalog did not cover the local candidate. It is **not** missing; do not auto-create it. |
|
||||||
|
| `missing` | A known catalog module lacks the fragment, or explicit `--refs` verification proved absence. |
|
||||||
|
| `ambiguous` | Multiple exact canonical-name candidates; `target_unit` is null and `candidates` lists them. Never choose the first. |
|
||||||
|
| `external` | External URI scheme. No network access; not an error. |
|
||||||
|
| `outside_scope` | Absolute/drive/UNC/file URI, or a package-root escape. Never read it. |
|
||||||
|
| `invalid` | Malformed URI/percent encoding/unsupported address. |
|
||||||
|
|
||||||
|
Ordinary Analysis resolves only the loaded program. If a consumer needs to
|
||||||
|
verify unimported local files, use the CLI's explicit check:
|
||||||
|
|
||||||
|
```sh
|
||||||
|
marqdo check entry.mq.md --refs --json
|
||||||
|
marqdo inspect entry.mq.md --refs --json
|
||||||
|
```
|
||||||
|
|
||||||
|
Do not use the `--refs` artifact as the Observation binding input: `--refs`
|
||||||
|
adds diagnostics and changes the exact bytes. Run/call bind to the ordinary
|
||||||
|
`check --emit` bytes with the same static options.
|
||||||
|
|
||||||
|
### 2.5 Calls, functions and resources
|
||||||
|
|
||||||
|
- `functions[]` still has `id`, `unit_id`, `local_name`, `namespace`, `span`,
|
||||||
|
`heading_span`, `signature`, `effects`, `body`.
|
||||||
|
- `calls[]` now has `target_kind`, `target_owner` and `reason`. A plugin target
|
||||||
|
names the static owner (package/digest); it is never a Marqdo function.
|
||||||
|
`unresolved` with `reason: dynamic|unbound` is honest, not an error.
|
||||||
|
- `resources[]` carries `display: null` for code and a boolean for formulas;
|
||||||
|
verify its `content_digest` against the AST payload if you need integrity.
|
||||||
|
- The schema is closed: unknown required kinds/fields must be rejected, not
|
||||||
|
ignored.
|
||||||
|
|
||||||
|
### 2.6 Project context and freshness
|
||||||
|
|
||||||
|
- Load `project.entry_module_id`; it must occur once in `modules`.
|
||||||
|
- `root_id` is a logical manifest identity or a content snapshot, not a
|
||||||
|
cross-project permanent id.
|
||||||
|
- `manifest_digest` and `lock_digest` are the captured bytes; a changed file on
|
||||||
|
disk means a new check, not a retry of the old artifact.
|
||||||
|
- Verify the exact bytes with the published JSON Schema + semantic checks; keep
|
||||||
|
rejecting stale artifacts whose `source_digest` no longer matches the source
|
||||||
|
you display.
|
||||||
|
|
||||||
|
## 3. `marqdo-view` integration
|
||||||
|
|
||||||
|
Current View behavior to replace:
|
||||||
|
|
||||||
|
1. It runs `check --json --emit` and separately calls `inspect --ast --json`
|
||||||
|
per document. Replace the machine path with one `check --emit`; the AST is
|
||||||
|
`modules[].document`. Keep `inspect` only for human debug output.
|
||||||
|
2. It re-reads files and compares `source_digest`. Prefer `modules[].source`
|
||||||
|
directly; if it must use its own file snapshot, compare the artifact digest
|
||||||
|
and reject a mismatch.
|
||||||
|
3. Its `RawProject` ignores new required fields. Make
|
||||||
|
`entry_module_id`, `manifest_digest` and `extensions` required (or validate
|
||||||
|
with the schema) and remove the v2 acceptance branch. View must accept only
|
||||||
|
the current revision-3 shape.
|
||||||
|
4. `RawUnit.span` now means the complete section. For annotation placement use
|
||||||
|
`heading_span`; for source highlighting use the complete `span`.
|
||||||
|
5. `RawReference` already reads `state`; remove any remaining `resolved`
|
||||||
|
boolean mapping and map `not_loaded` as *unverified*, not as a broken link.
|
||||||
|
For a local candidate the View catalog does not know, show "未加载/未核验";
|
||||||
|
only `missing`/`ambiguous`/`invalid`/`outside_scope` are actionable errors.
|
||||||
|
6. Keep validating `source.analysis_digest` for Observation binding. The digest
|
||||||
|
remains SHA-256 of the exact `--emit` bytes; `--refs` diagnostics change it.
|
||||||
|
|
||||||
|
Suggested request/render flow:
|
||||||
|
|
||||||
|
```text
|
||||||
|
check --emit -> verify schema + source_digest -> document AST
|
||||||
|
-> units (complete span + heading_span) for annotations
|
||||||
|
-> references (state) for link presentation
|
||||||
|
-> calls/functions for executable markers
|
||||||
|
run/call + observation -> verify analysis_digest == sha256(artifact bytes)
|
||||||
|
```
|
||||||
|
|
||||||
|
## 4. `marqdo-lint` integration
|
||||||
|
|
||||||
|
Current Lint behavior to replace:
|
||||||
|
|
||||||
|
1. It performs one `inspect --ast` per module and then matches it with
|
||||||
|
Analysis. Use `modules[].source` and `modules[].document` from the same
|
||||||
|
`check --emit`; this removes a second process and any AST/span drift.
|
||||||
|
2. Its `AnalysisModule` model only requires the old fields and silently ignores
|
||||||
|
the new ones. Make `source`, `document`, `anchors` and the new unit fields
|
||||||
|
required; reject old same-revision artifacts. Prefer generating types from
|
||||||
|
the published schema rather than `Vec<Value>` for units/references.
|
||||||
|
3. Heading-boundary rules must use `units[].span` as the complete section and
|
||||||
|
`heading_span` as the heading itself. This is the authoritative range; do
|
||||||
|
not infer boundaries from Markdown siblings.
|
||||||
|
4. Link/reference lint: iterate `references[].state`. Report:
|
||||||
|
- `missing`/`ambiguous`/`invalid`/`outside_scope` as errors with
|
||||||
|
`source_unit` + `span`;
|
||||||
|
- `not_loaded` as an honest "unverified" notice, not a broken reference;
|
||||||
|
- `external` as informational.
|
||||||
|
Use the explicit `check --refs --json` run only when the user asks to verify
|
||||||
|
direct unimported targets.
|
||||||
|
5. `calls[]` can report static call targets and dynamic/unbound reasons; do not
|
||||||
|
infer a target from the display string. Plugin/builtin targets are not
|
||||||
|
Marqdo functions.
|
||||||
|
6. Continue using `--json` for diagnostic summaries; `--emit` is the only full
|
||||||
|
Analysis producer.
|
||||||
|
|
||||||
|
Suggested lint flow:
|
||||||
|
|
||||||
|
```text
|
||||||
|
check --emit -> verify schema + semantic invariants
|
||||||
|
-> per module: document + units(full span/heading_span)
|
||||||
|
-> rules: narrative/executable boundaries, calls, links, docs
|
||||||
|
-> diagnostics projected from Analysis + local rules
|
||||||
|
```
|
||||||
|
|
||||||
|
## 5. Shared rules for both consumers
|
||||||
|
|
||||||
|
- One current contract. Do not add a v2/v3 reader, field probing, fallback AST
|
||||||
|
from a second parser, or `try old shape then new shape`.
|
||||||
|
- Reject malformed/old artifacts with a corrective message: regenerate with the
|
||||||
|
current CLI, reinstall the Tool manifest, rebuild the consumer.
|
||||||
|
- Tool manifests keep `requires.analysis: 3`; the revision is unchanged, so
|
||||||
|
reinstall/rebuild is required because the old same-revision bytes are
|
||||||
|
rejected by the current schema.
|
||||||
|
- No private Rust crate, no `inspect --ir`, no package-cache path, no writing
|
||||||
|
to the analyzed project.
|
||||||
|
- The source in Analysis may contain secrets from the document. Do not log or
|
||||||
|
upload it by default; store artifacts with owner-only permissions.
|
||||||
|
- Keep the three independent fixture flows green: document rendering, lint with
|
||||||
|
diagnostics, and multi-entry knowledge linking.
|
||||||
|
|
||||||
|
## 6. Verification commands
|
||||||
|
|
||||||
|
On the current CLI:
|
||||||
|
|
||||||
|
```sh
|
||||||
|
marqdo check entry.mq.md --emit analysis.json
|
||||||
|
python3 tests/consumers/validate_protocols.py analysis.json observation.json tool.json
|
||||||
|
python3 tests/consumers/analysis_consumer.py analysis.json
|
||||||
|
marqdo inspect entry.mq.md --refs --json
|
||||||
|
```
|
||||||
|
|
||||||
|
For a downstream checkout, pin the CLI archive and run its real fixtures
|
||||||
|
against `MARQDO_BIN`; record the CLI SHA and the Analysis schema hash in the
|
||||||
|
consumer's evidence. See the issue accompanying this document for the exact
|
||||||
|
downstream acceptance items.
|
||||||
@@ -10,7 +10,8 @@
|
|||||||
[ADR-0068](../adr/0068-single-current-public-contracts.md)
|
[ADR-0068](../adr/0068-single-current-public-contracts.md)
|
||||||
- **Contract:** `spec/analysis.md`, `spec/schemas/analysis.schema.json`
|
- **Contract:** `spec/analysis.md`, `spec/schemas/analysis.schema.json`
|
||||||
- **Gate manifest:** [`ci/e0645f376b03e31e342a6d3fb749a335f0840d1b/manifest.json`](ci/e0645f376b03e31e342a6d3fb749a335f0840d1b/manifest.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
|
This document records commands actually executed on the candidate tree. The
|
||||||
raw command log is
|
raw command log is
|
||||||
@@ -107,15 +108,14 @@ numbers and must not be cited as the dedicated-node G4 result.
|
|||||||
|
|
||||||
## Release decision
|
## Release decision
|
||||||
|
|
||||||
`DO_NOT_RELEASE` for rc.4. The code/contract/CI/archive/conformance gates pass,
|
`RC_RELEASE_CANDIDATE` for rc.4. A same-SHA disposable QEMU/TCG VM PASS
|
||||||
but the RC profile still requires a same-SHA strict-field PASS on a disposable
|
(uid 1000, `container: none`) and a maintainer-approved shared-node
|
||||||
VM (this development container cannot create namespaces) and an approved
|
performance `WARN` were recorded after this local gate. The tag and release are
|
||||||
dedicated/shared-node G4 result. Neither is recorded for this SHA, so no tag,
|
`v3.0.0-rc.4` at `452e9a32bd9e40dba427d4180691c58bab74449e`; see
|
||||||
archive publication or release claim is made.
|
[`2026-11-25-rc.4-release.md`](2026-11-25-rc.4-release.md).
|
||||||
|
|
||||||
## Not claimed
|
## Not claimed
|
||||||
|
|
||||||
- No disposable-VM strict L1 evidence for this SHA.
|
- No dedicated-node G4 PASS; the shared-node WARN is RC-only and does not
|
||||||
- No approved dedicated-node G4 measurement (the local comparison above is
|
extend to stable/LTS.
|
||||||
smoke evidence only).
|
|
||||||
- No Windows/macOS support claim.
|
- No Windows/macOS support claim.
|
||||||
@@ -1,10 +1,10 @@
|
|||||||
你好,Marqdo
|
你好,Marqdo
|
||||||
checked 2 module(s): ok
|
checked 2 module(s): ok
|
||||||
checked 1 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(...)`
|
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 最大公约数
|
## @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(...)`
|
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 阶乘
|
## @exec 阶乘
|
||||||
^
|
^
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
From https://git.cflmy.cn/cflmy/marqdo-extension-conformance
|
From https://git.cflmy.cn/cflmy/marqdo-extension-conformance
|
||||||
* branch 015ff8ac15417b7ebbdb31ce2be2dab5362a1eba -> FETCH_HEAD
|
* 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: plugin check is static and succeeds
|
||||||
[PASS] plugin_worker: worker plugin executes three exports
|
[PASS] plugin_worker: worker plugin executes three exports
|
||||||
[PASS] callable_registry: missing plugin export is symbol.unknown
|
[PASS] callable_registry: missing plugin export is symbol.unknown
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"schema": "marqdo.extension-evidence",
|
"schema": "marqdo.extension-evidence",
|
||||||
"schema_version": 1,
|
"schema_version": 1,
|
||||||
"tested_sha": "e0645f376b03e31e342a6d3fb749a335f0840d1b",
|
"tested_sha": "452e9a32bd9e40dba427d4180691c58bab74449e",
|
||||||
"cli_binary_sha256": "a7306962689c635445a59043971ea2eb09298e01feeee81f0ba07b1f3e10306e",
|
"cli_binary_sha256": "a7306962689c635445a59043971ea2eb09298e01feeee81f0ba07b1f3e10306e",
|
||||||
"fixture_repo_sha": "015ff8ac15417b7ebbdb31ce2be2dab5362a1eba",
|
"fixture_repo_sha": "015ff8ac15417b7ebbdb31ce2be2dab5362a1eba",
|
||||||
"os": "linux",
|
"os": "linux",
|
||||||
@@ -16,7 +16,7 @@
|
|||||||
"negative_security": "PASS"
|
"negative_security": "PASS"
|
||||||
},
|
},
|
||||||
"commands": [
|
"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": [],
|
"failures": [],
|
||||||
"unverified": [],
|
"unverified": [],
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
rc.4 final local gate 2026-11-25T03:40:44Z
|
rc.4 final local gate 2026-11-25T06:15:34Z
|
||||||
source_sha: e0645f376b03e31e342a6d3fb749a335f0840d1b
|
source_sha: 452e9a32bd9e40dba427d4180691c58bab74449e
|
||||||
platform: Linux 7.0.0-43-generic x86_64
|
platform: Linux 7.0.0-43-generic x86_64
|
||||||
rustc: rustc 1.100.0 (0ef1bc386 2026-11-09)
|
rustc: rustc 1.100.0 (0ef1bc386 2026-11-09)
|
||||||
|
|
||||||
@@ -7,52 +7,14 @@ $ cargo fmt --all -- --check
|
|||||||
PASS
|
PASS
|
||||||
|
|
||||||
$ cargo clippy --workspace --all-targets -- -D warnings
|
$ 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 marqdo-span v3.0.0-rc.4 (/root/work/marqdo-cli/crates/marqdo-span)
|
||||||
Checking num-bigint v0.4.8
|
Checking marqdo-worker-ipc v3.0.0-rc.4 (/root/work/marqdo-cli/crates/marqdo-worker-ipc)
|
||||||
Checking serde_yaml v0.9.34+deprecated
|
|
||||||
Checking marqdo-sandbox v3.0.0-rc.4 (/root/work/marqdo-cli/crates/marqdo-sandbox)
|
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-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-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 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-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-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-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-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-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)
|
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
|
PASS
|
||||||
|
|
||||||
$ cargo test --workspace --locked
|
$ 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
|
$ 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
|
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
|
$ 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
|
$ 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
|
$ 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
|
$ 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
|
$ 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
|
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
|
$ 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
|
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
|
$ 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
|
$ 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
|
$ python3 -m unittest discover -s tools/ci -p test_*.py
|
||||||
Ran 43 tests in 0.092s
|
|
||||||
OK
|
OK
|
||||||
|
|
||||||
$ cargo build --release --locked -p marqdo-cli -p marqdo-provider-worker
|
$ 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
|
PASS
|
||||||
@@ -1,5 +1,5 @@
|
|||||||
smoke: verified stdlib 0.1.0 tree=sha256:5407d3665ba2fe105820d0f1af5efaafa10c277a69eb819c3225719813c8c713 aliases=sha256:5f513c0fdbb3c1e9829be3c9fa23a2d1e89cb8510073fb5eb1e8e2f5265a83bb files=42
|
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: 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 <https://deb.li/bubblewrap> or <file:///usr/share/doc/bubblewrap/README.Debian.gz>.', 'state': 'unavailable'}
|
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 <https://deb.li/bubblewrap> or <file:///usr/share/doc/bubblewrap/README.Debian.gz>.', 'state': 'unavailable'}
|
||||||
smoke: PASS
|
smoke: PASS
|
||||||
@@ -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.
|
||||||
@@ -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.
|
||||||
@@ -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
|
||||||
@@ -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
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -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
|
||||||
@@ -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": []
|
||||||
|
}
|
||||||
@@ -4,6 +4,15 @@ Status: the sampler and correctness corpus are implemented; **no release
|
|||||||
performance baseline exists yet**. Do not cite a development-container or
|
performance baseline exists yet**. Do not cite a development-container or
|
||||||
TCG/QEMU number as a release gate.
|
TCG/QEMU number as a release gate.
|
||||||
|
|
||||||
|
## Release-class policy
|
||||||
|
|
||||||
|
- **RC candidates** may use a maintainer-approved shared node. The environment,
|
||||||
|
load, limits, paired baseline/candidate comparison and approval are recorded
|
||||||
|
in the release notes; the result remains `WARN`, never a dedicated-node PASS.
|
||||||
|
- **Stable/LTS** releases require a dedicated fixed node and the full paired-run
|
||||||
|
protocol. The shared-node exception is RC-only and must not be reused for
|
||||||
|
LTS evidence.
|
||||||
|
|
||||||
## Three separate measurements
|
## Three separate measurements
|
||||||
|
|
||||||
| Class | Goal | Host |
|
| Class | Goal | Host |
|
||||||
|
|||||||
+13
-11
@@ -75,17 +75,19 @@ Use the frozen-SHA build and archive checks above. Additionally:
|
|||||||
|
|
||||||
- Strict L1 requires a same-SHA PASS on a disposable VM as a non-root user.
|
- Strict L1 requires a same-SHA PASS on a disposable VM as a non-root user.
|
||||||
Record the strict evidence and verify the archived binary on that guest.
|
Record the strict evidence and verify the archived binary on that guest.
|
||||||
- Measure the packaged CLI on a dedicated fixed node with 5 warmups and
|
- Measure the packaged CLI with 5 warmups and 20 samples or more for each of
|
||||||
20 samples or more for each of the nine workloads. Compare against a
|
the nine workloads, or for the changed boundary's representative fixture when
|
||||||
correctness-verified baseline on the same node, CPU affinity, governor,
|
the gate is scoped by an accepted ADR. Compare against a correctness-verified
|
||||||
kernel and toolchain. Record investigation and resolution for any p50
|
baseline on the same node, CPU affinity, governor, kernel and toolchain.
|
||||||
increase of at least 15% or median peak RSS increase of at least 20%.
|
Record investigation and resolution for any p50 increase of at least 15% or
|
||||||
A dedicated node is the default. For a prerelease approved by the
|
median peak RSS increase of at least 20%.
|
||||||
maintainer to use a shared node, take at least three paired beta/RC runs
|
**RC candidates may use a shared node.** The maintainer approves the shared
|
||||||
under the same measured conditions and keep all reports. Verify all nine
|
node for that named RC, the environment/load/limits and the comparison are
|
||||||
workloads and investigate threshold breaches or unstable samples before
|
recorded in the release notes, and the result stays a `WARN`; it is never
|
||||||
accepting a `WARN`. Record the approval, runner environment and limits in
|
promoted to a dedicated-node PASS. A final stable/LTS release requires a
|
||||||
the release notes. This exception applies to the named RC only.
|
dedicated fixed node with the full paired-run protocol; the shared-node
|
||||||
|
exception does not carry over to it. Verify correctness before timing and do
|
||||||
|
not accept results from an unmeasured or unexplained environment.
|
||||||
- Version compatibility covers the locked Rust minimum, CLI and Analysis
|
- Version compatibility covers the locked Rust minimum, CLI and Analysis
|
||||||
product identity, Tool/project prerelease ranges, and beta migration.
|
product identity, Tool/project prerelease ranges, and beta migration.
|
||||||
- Use Ubuntu 24.04 (glibc 2.39) for the independent archive-only runtime
|
- Use Ubuntu 24.04 (glibc 2.39) for the independent archive-only runtime
|
||||||
|
|||||||
Reference in new issue
Block a user