Prepare RC.6 with an approved strict-unavailable gate
This commit is contained in:
1 parent
ed86796d6b
commit
6cfdd811b4
11 files changed
+112
-49
No files matched your search
@@ -25,7 +25,7 @@
|
||||
| 公开版本 | `Cargo.toml` 仍为 `0.1.0`,若干工具兼容样例 `<1` | 3.0.0-beta 发布前必须迁移验证 |
|
||||
| 第三方入门 | README 有扩展示例、`spec/` 有协议;Tool v1 标头仍称 Proposed,plugin spec 某段称 Native only | 需要整合并去除失效状态文本 |
|
||||
|
||||
## 3. 两套必须明确分开的发布策略
|
||||
## 3. 各发行阶段的发布策略
|
||||
|
||||
### 3.1 Beta(允许明确声明的非安全性缺口)
|
||||
|
||||
@@ -45,11 +45,17 @@
|
||||
|
||||
**可延期至后续 Beta 或稳定版:** Windows Native/Worker ABI、macOS Provider Worker、strict L2、uv/npm 自动建环境、分布式 registry、JIT、内置 Knowledge/Proof/View、成熟异步/并发模型、未经承诺的平台安装包。明确注明项目默认 `project` 模式不是 OS 沙箱,Worker 也不是完整沙箱。
|
||||
|
||||
### 3.2 Stable / LTS(不可用 Beta 例外替代)
|
||||
### 3.2 RC
|
||||
|
||||
- 同 SHA 的归档烟测实际验证 strict 不可用时安全拒绝运行,经维护者批准后,RC 可按 `strict: unsupported` 发行。发布索引、支持范围及门禁记录仍绑定同一候选。通过标准与命令见 [发布手册](releasing.md#linux-rc-preconditions)。
|
||||
- 已观测的隔离缺陷、未运行的烟测、过期证据均阻塞 RC。具备合格一次性 VM 后按同 SHA 取得 strict PASS,可声明相应支持。
|
||||
|
||||
### 3.3 Stable / LTS
|
||||
|
||||
- Stable `3.0.0`:在公开支持的 Linux 平台上所有承诺功能有安全/兼容/性能证据;公开协议与变更策略清楚;有迁移说明和至少一次真实使用者反馈周期。平台可继续限定 Linux,不要求通过虚假的“全平台 LTS”门禁。
|
||||
- LTS(建议后续 `3.2.x`):冻结 `.mq.md` 语言语义、Analysis/Trace/Tool/Plugin/Provider 各自协议主版本和 lockfile 契约;提供安全修复流程、回归 CI、外部仓库兼容矩阵、从 3.0 及 2.9 迁移材料、发布渠道与公告模板。
|
||||
- LTS 应提前承诺支持窗口(建议至少 12 个月,实际长短由维护资源决定),定义安全补丁与非破坏性修复回移规则,明确 API/ABI 哪些会不兼容;不因开发完成某一里程碑自动称 LTS。
|
||||
- 一次性 VM 上的同 SHA strict G3 通过证据是 stable/LTS 的发布门禁。
|
||||
- 默认不为旧 `cflmy/marqdo` 的历史语法或旧插件 ABI 建隐性兼容层。需要迁移的由独立迁移工具、教程和示例承担。
|
||||
|
||||
## 4. 3.0.0-beta.1 之前建议拆分的 5 个短 PR
|
||||
|
||||
+10
-3
@@ -73,8 +73,12 @@ unsupported/experimental in
|
||||
|
||||
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.
|
||||
Record the strict evidence and verify the archived binary on that guest.
|
||||
- Report strict L1 as `PASS` only with same-SHA evidence from a disposable VM
|
||||
running as a non-root user. An RC may report `strict: unsupported` with
|
||||
maintainer approval and a same-SHA archive smoke log which confirms strict
|
||||
execution fails closed on the distribution test environment. A skipped
|
||||
test or an observed isolation defect blocks publication. Stable and LTS
|
||||
require the disposable-VM PASS.
|
||||
- Measure the packaged CLI with 5 warmups and 20 samples or more for each of
|
||||
the nine workloads, or for the changed boundary's representative fixture when
|
||||
the gate is scoped by an accepted ADR. Compare against a correctness-verified
|
||||
@@ -203,7 +207,10 @@ python3 tools/ci/release_evidence.py --profile beta --target-sha "$sha" \
|
||||
missing, skipped, failed or SHA-mismatched gate is `DO_NOT_RELEASE`; never
|
||||
hand-edit a manifest to PASS. For a Linux RC, use
|
||||
`--profile rc --require-release` and declare both excluded platforms. If
|
||||
the shared-node exception applies, pass
|
||||
strict is unavailable, supply `strict_vm=UNSUPPORTED:<candidate-sha>:<smoke-log>`
|
||||
and `--rc-strict-unsupported-approval <release-notes-reference>`. The smoke
|
||||
log must show strict mode's explicit refusal from the packaged binary. If the
|
||||
shared-node exception applies, pass
|
||||
`--rc-shared-performance-approval <release-notes-reference>` and supply
|
||||
`performance=WARN:<candidate-sha>:<comparison-evidence>`. Use the generated
|
||||
`RC_RELEASE_CANDIDATE` decision before running the tagging commands.
|
||||
|
||||
+8
-4
@@ -10,8 +10,9 @@ be registered as a dedicated self-hosted security runner.
|
||||
> ([`architecture/RFC-LANG-0002-unified-semantics.md`](architecture/RFC-LANG-0002-unified-semantics.md)).
|
||||
> The lane is only evidence for the **exact SHA in its
|
||||
> `strict-evidence.json`**; a PASS at an older SHA or on another host is
|
||||
> historical. Every candidate release must rerun `tests/security/run-lane.sh`
|
||||
> and archive the evidence document. See [`STATUS.md`](STATUS.md).
|
||||
> historical. A stable or LTS release must rerun `tests/security/run-lane.sh`
|
||||
> and archive the evidence document. Linux RCs can use the approved
|
||||
> fail-closed path in [the release procedure](releasing.md#linux-rc-preconditions).
|
||||
|
||||
**Do not run this on a daily host with valuable data.** The VM is disposable;
|
||||
the commands below do not disable AppArmor or any global host protection.
|
||||
@@ -38,9 +39,9 @@ export SOURCE_SHA="$(git rev-parse HEAD)" # reviewed commit, clean tree
|
||||
mkdir -p .tools/vm && cd .tools/vm
|
||||
# Replace with the reviewed dated release URL, never .../current/...
|
||||
curl -L -o ubuntu-base.img \
|
||||
https://cloud-images.ubuntu.com/releases/26.04/release-20261120/ubuntu-26.04-server-cloudimg-amd64.img
|
||||
https://cloud-images.ubuntu.com/releases/resolute/release-20261108/ubuntu-26.04-server-cloudimg-amd64.img
|
||||
curl -L -o SHA256SUMS \
|
||||
https://cloud-images.ubuntu.com/releases/26.04/release-20261120/SHA256SUMS
|
||||
https://cloud-images.ubuntu.com/releases/resolute/release-20261108/SHA256SUMS
|
||||
grep 'ubuntu-26.04-server-cloudimg-amd64.img' SHA256SUMS | sha256sum -c -
|
||||
sha256sum ubuntu-base.img | tee ubuntu-base.img.sha256
|
||||
qemu-img create -f qcow2 -b ubuntu-base.img -F qcow2 \
|
||||
@@ -159,6 +160,9 @@ mkdir -p ~/marqdo-${SOURCE_SHA}
|
||||
tar -C ~/marqdo-${SOURCE_SHA} -xf ~/marqdo-${SOURCE_SHA}.tar
|
||||
cd ~/marqdo-${SOURCE_SHA}
|
||||
export PATH="$HOME/.cargo/bin:$PATH"
|
||||
python3 tools/ci/fetch_ecosystem_bundle.py --out target/ecosystem-stdlib
|
||||
export MARQDO_STDLIB_DIR="$PWD/target/ecosystem-stdlib"
|
||||
export MARQDO_TEST_STDLIB_BUNDLE="$MARQDO_STDLIB_DIR"
|
||||
export MARQDO_TESTED_SHA="$SOURCE_SHA"
|
||||
export MARQDO_SOURCE_ARCHIVE="$HOME/marqdo-${SOURCE_SHA}.tar"
|
||||
export MARQDO_SOURCE_ARCHIVE_SHA256="sha256:<digest from the host>"
|
||||
|
||||
Reference in new issue
Block a user