From 73c924fad81533481d30303b84db447eff567028 Mon Sep 17 00:00:00 2001 From: Zach Vorhies Date: Fri, 20 Nov 2026 10:57:10 -0800 Subject: [PATCH] docs: explain local attestations for CLI pull requests Document proof reuse, the ci-test tier, and the hosted release gates. Co-Authored-By: GPT-6.2 Sol (via clud codex) Ci-Attestation: {"at":1795200197,"gate":"general/linux-x64/lint","host":"linux-x86_64","key":"b82e48c91367e26426028f1e5d697c3a35fb8e3475e90d34b09a6ecf1ed9bef5","lane":"lint","parents":["a892911d24e2f718a4fbdc4e6cec0e5d7c123dc2"],"secs":26,"stamp":"76d024149de95de00f1256b773b29199","tree":"6237929a730d949e5defea25d9fbd0d5a7533674","v":1,"via":"run"} Ci-Attestation: {"at":1795200260,"gate":"python/linux-x64/test","host":"linux-x86_64","key":"c23b40d79f635aa77612023866a5fb88e05a447637a88f4bd42691f48f6c9880","lane":"test","parents":["a892911d24e2f718a4fbdc4e6cec0e5d7c123dc2"],"secs":57,"stamp":"d71d65e9e638305d766080d124f5a93a","tree":"6237929a730d949e5defea25d9fbd0d5a7533674","v":1,"via":"run"} Ci-Attestation: {"at":1795200197,"gate":"rust/all/fmt","host":"linux-x86_64","key":"b82e48c91367e26426028f1e5d697c3a35fb8e3475e90d34b09a6ecf1ed9bef5","lane":"lint","parents":["a892911d24e2f718a4fbdc4e6cec0e5d7c123dc2"],"secs":26,"stamp":"81abed48eeb5ded02b7260deffc36265","tree":"6237929a730d949e5defea25d9fbd0d5a7533674","v":1,"via":"run"} Ci-Attestation: {"at":1795200198,"gate":"rust/x86_64-unknown-linux-gnu/clippy","host":"linux-x86_64","key":"b82e48c91367e26426028f1e5d697c3a35fb8e3475e90d34b09a6ecf1ed9bef5","lane":"lint","parents":["a892911d24e2f718a4fbdc4e6cec0e5d7c123dc2"],"secs":26,"stamp":"ffba4fcec3030c768b3e0dd43b34f240","tree":"6237929a730d949e5defea25d9fbd0d5a7533674","v":1,"via":"run"} Ci-Attestation: {"at":1795200198,"gate":"rust/x86_64-unknown-linux-gnu/dylint","host":"linux-x86_64","key":"b82e48c91367e26426028f1e5d697c3a35fb8e3475e90d34b09a6ecf1ed9bef5","lane":"lint","parents":["a892911d24e2f718a4fbdc4e6cec0e5d7c123dc2"],"secs":26,"stamp":"551a2398ad56a310487f64a667cd3410","tree":"6237929a730d949e5defea25d9fbd0d5a7533674","v":1,"via":"run"} Ci-Attestation: {"at":1795200260,"gate":"rust/x86_64-unknown-linux-gnu/test","host":"linux-x86_64","key":"c23b40d79f635aa77612023866a5fb88e05a447637a88f4bd42691f48f6c9880","lane":"test","parents":["a892911d24e2f718a4fbdc4e6cec0e5d7c123dc2"],"secs":57,"stamp":"d69afd326a11a9332054e16e6eaf1fcc","tree":"6237929a730d949e5defea25d9fbd0d5a7533674","v":1,"via":"run"} --- docs/FRACTIONAL_CI.md | 27 +++++++++++++++++++++++---- 1 file changed, 23 insertions(+), 4 deletions(-) diff --git a/docs/FRACTIONAL_CI.md b/docs/FRACTIONAL_CI.md index b4d80608..4c2b2ed6 100644 --- a/docs/FRACTIONAL_CI.md +++ b/docs/FRACTIONAL_CI.md @@ -1,12 +1,31 @@ # Fractional CI and release gate -Ordinary pull requests and `main` updates run the Linux x86 lint gate. The -literal `ci-test` PR label adds Linux x86 unit and integration tests. The -`ci-full` label runs every declared platform workflow. Adding or removing a -label retriggers the workflows; `ci-full` includes the `ci-test` cells. +Main updates run the hosted Linux x86 lint gate. Ordinary pull requests can +reuse fresh local proof for that gate. The literal `ci-test` PR label requests +Linux x86 unit and integration tests. A fresh unit-test proof can satisfy the +unit-test job. + +The `ci-full` label runs every declared platform workflow and includes the +`ci-test` cells. Adding or removing a label retriggers the workflows. The `ci-test:windows-arm` label runs only Windows ARM unit and integration tests for a targeted diagnosis. It does not satisfy the full-coverage gate. +## Publish an attested PR + +Run `./push` from a clean Linux x86-64 feature branch. It attests `./lint` +and `./test`, verifies the stamps on HEAD, pushes the branch, and opens the +PR. Use `./push --label ci-test` at creation to request Linux integration +coverage. Use `--prove-only` to stamp HEAD without publishing or `--no-pr` +to push without opening a PR. `--remote` selects a Git remote. + +Prooft reuses a lane's proof for up to 24 hours while its tracked inputs +stay unchanged. Attestation skips apply to the Linux x86 PR lint and +unit-test jobs. Forks, changes to workflows or the attestation policy, +`ci-full` PR runs, and exact-SHA release runs execute the applicable gates +on GitHub. + +## Verify release coverage + The versioned platform manifest is [`ci/full_coverage.json`](../ci/full_coverage.json). [`full-coverage.yml`](../.github/workflows/full-coverage.yml) polls the real GitHub runs for all 29 workflows on one SHA and publishes a JSON report. Each