From db449514325b7bbd0193ee63754d0d0a9f2d8143 Mon Sep 17 00:00:00 2001 From: Brian Luby Date: Fri, 13 Nov 2026 19:54:23 -0800 Subject: [PATCH] ci(msrv): add Rust 1.88 floor gate and record authorized F03 evidence alteration D7 (2026-11-13 owner decision): dedicated MSRV job builds and tests with the exact declared rust-version (1.88.0) so regressions below the floor fail CI. Follows existing conventions: pinned action SHAs, timeout, RUSTC_WRAPPER, lockfile-keyed cargo cache. D3b (2026-11-13 owner decision): dated F03 note records the authorized #265 receipt alteration (zip 8.6.0 -> 9.0.0 in pr162/pr163/pr164 Cargo.lock/Cargo.toml snapshots), links it from the packet README, and re-pins the affected retained-evidence-index entries. The SHA-256 discrepancy is authorized, not tampering; historical receipt files are not edited and original pins remain recoverable at a46b07d. --- .github/workflows/ci.yml | 34 +++++++++++ docs/dependency-reviews/2026-10-02/README.md | 10 ++++ .../2026-10-02/retained-evidence-index.json | 58 ++++++++++++++++--- .../2026-11-13-evidence-alteration-note.md | 57 ++++++++++++++++++ 4 files changed, 151 insertions(+), 8 deletions(-) create mode 100644 docs/dependency-reviews/2026-11-13-evidence-alteration-note.md diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 97271d74..00a854fb 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -77,6 +77,40 @@ jobs: if: matrix.os == 'ubuntu-latest' run: cargo bench --bench pipeline_benchmark + # MSRV floor gate (owner decision D7, 2026-11-13): build and test with the + # exact declared rust-version so regressions below the floor fail CI. + msrv: + name: MSRV (Rust 1.88) + runs-on: ubuntu-latest + timeout-minutes: 60 + env: + RUSTC_WRAPPER: '' + steps: + - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 + with: + persist-credentials: false + + - name: Install Rust 1.88.0 (declared MSRV) + uses: dtolnay/rust-toolchain@4360b52568e2003a75bf9bc1d59f33a8e3fc893c # 1.88.0 + with: + toolchain: 1.88.0 + + - name: Cache cargo registry and build + uses: actions/cache@55cc8345863c7cc4c66a329aec7e433d2d1c52a9 # v6.1.0 + with: + path: | + ~/.cargo/registry + ~/.cargo/git + target + key: ${{ runner.os }}-msrv-cargo-${{ hashFiles('Cargo.lock') }} + restore-keys: ${{ runner.os }}-msrv-cargo- + + - name: Check MSRV build + run: cargo check --locked --all-targets --verbose + + - name: Run tests on MSRV + run: cargo test --locked --verbose + # Audits run in a dedicated job so a test/lint/build failure in `test` # cannot silently skip advisory, license, and supply-chain checks (F1062). diff --git a/docs/dependency-reviews/2026-10-02/README.md b/docs/dependency-reviews/2026-10-02/README.md index fb144e7b..fe218c49 100644 --- a/docs/dependency-reviews/2026-10-02/README.md +++ b/docs/dependency-reviews/2026-10-02/README.md @@ -104,3 +104,13 @@ MSRV verification; direct PDF font-map regression evidence; qualification of baseline parser/memory observations and existing maintenance dispositions. The user-required full documentation review/update after completed roadmap integration remains open. This is an F03 evidence slice, not F03 closure. + +## 2026-11-13 authorized evidence alteration + +PR #265 (merged 2026-11-13) changed the retained zip version (8.6.0 → 9.0.0) +in the pr162/pr163/pr164 `Cargo.lock` and `Cargo.toml` snapshots. Owner +decision D3b authorized keeping it merged; the resulting SHA-256 index +discrepancy is authorized, not tampering. See the dated +[evidence-alteration note](../2026-11-13-evidence-alteration-note.md) for the +disposition and re-pinned hashes. The retained receipts themselves are not +edited by that note. diff --git a/docs/dependency-reviews/2026-10-02/retained-evidence-index.json b/docs/dependency-reviews/2026-10-02/retained-evidence-index.json index c9bd6b03..e4a1308c 100644 --- a/docs/dependency-reviews/2026-10-02/retained-evidence-index.json +++ b/docs/dependency-reviews/2026-10-02/retained-evidence-index.json @@ -8,8 +8,8 @@ "retained_files": [ { "path": "docs/dependency-reviews/2026-10-02/README.md", - "bytes": 6940, - "sha256": "a7e4d2953b42db933164471f9c6859731396d0f02148b7e602739a6a07b7b1c1" + "bytes": 7439, + "sha256": "24e6f9420b6011efcf5a65273f0f78c6bf53c0f0fe590207e73ad76a43444cfc" }, { "path": "docs/dependency-reviews/2026-10-02/omitted-source-files.json", @@ -144,7 +144,7 @@ { "path": "docs/dependency-reviews/2026-10-02/pr162/Cargo.lock", "bytes": 74787, - "sha256": "26163aa672bbe2d54448bac821ebe4246003c917b98a0f48dbe20bcd8af71e3f" + "sha256": "7d33c63c56ddb11e9efc034aaa1f4e3b850f6209eb59760b4a45154bf4f9dff9" }, { "path": "docs/dependency-reviews/2026-10-02/pr162/Cargo.lock.diff", @@ -154,7 +154,7 @@ { "path": "docs/dependency-reviews/2026-10-02/pr162/Cargo.toml", "bytes": 2344, - "sha256": "e97a2d27d6718ed1eb60c6506781875ebf902f92d81fefd22d9253f298a84c95" + "sha256": "b70fe2143086e33d7186837f8bb32da22750bfdf70d3c6b1bf1697da5d9801dc" }, { "path": "docs/dependency-reviews/2026-10-02/pr162/Cargo.toml.diff", @@ -304,7 +304,7 @@ { "path": "docs/dependency-reviews/2026-10-02/pr163/Cargo.lock", "bytes": 74338, - "sha256": "fd483e330e292cd81131d59b30b3f89771206365470d3da03e713610ab561703" + "sha256": "2e44746103e673e726611b2aeee5b1e60934522fedd0d7922adaabb2e5e1a6fe" }, { "path": "docs/dependency-reviews/2026-10-02/pr163/Cargo.lock.diff", @@ -314,7 +314,7 @@ { "path": "docs/dependency-reviews/2026-10-02/pr163/Cargo.toml", "bytes": 2344, - "sha256": "6adc23a0b01a5b19336cb6d3a6382388a605b60df54dd022d2e092aca500872a" + "sha256": "eec5af9a829aeeb3240eab5e5e7ef0eb2cf104a2709116deed243129b4a63199" }, { "path": "docs/dependency-reviews/2026-10-02/pr163/Cargo.toml.diff", @@ -464,7 +464,7 @@ { "path": "docs/dependency-reviews/2026-10-02/pr164/Cargo.lock", "bytes": 70103, - "sha256": "ed61f9997164f0b6a1a75525a61f3e1bd1a3ba594f8219b7441f5ac8c871674d" + "sha256": "a182758923a9275294dff0d0cc4b01689c9417273ab2dd7d9c9e37d4372af933" }, { "path": "docs/dependency-reviews/2026-10-02/pr164/Cargo.lock.diff", @@ -474,7 +474,7 @@ { "path": "docs/dependency-reviews/2026-10-02/pr164/Cargo.toml", "bytes": 2344, - "sha256": "6adc23a0b01a5b19336cb6d3a6382388a605b60df54dd022d2e092aca500872a" + "sha256": "eec5af9a829aeeb3240eab5e5e7ef0eb2cf104a2709116deed243129b4a63199" }, { "path": "docs/dependency-reviews/2026-10-02/pr164/Cargo.toml.diff", @@ -2460,5 +2460,47 @@ "bytes": 3006, "sha256": "5cfb4b54d5496a96169200c07b6171cfcdd24aa914cae4605fe1112e3686fe06" } + }, + "authorized_alteration": { + "date": "2026-11-13", + "reason": "PR #265 (merge 52ab80e0ffe0dd7901bffe0c899228e8b8a39108) altered the retained zip version (8.6.0 -> 9.0.0) in the pr162/pr163/pr164 Cargo.lock and Cargo.toml snapshots. Owner decision D3b of docs/plans/2026-11-13-owner-decision-record.md authorized keeping #265 merged with a dated F03 note; the prior SHA-256 discrepancy is authorized, not tampering. See docs/dependency-reviews/2026-11-13-evidence-alteration-note.md. Original pins remain recoverable at a46b07d.", + "note": "docs/dependency-reviews/2026-11-13-evidence-alteration-note.md", + "re_pinned": [ + { + "path": "docs/dependency-reviews/2026-10-02/README.md", + "bytes": 6940, + "sha256": "a7e4d2953b42db933164471f9c6859731396d0f02148b7e602739a6a07b7b1c1" + }, + { + "path": "docs/dependency-reviews/2026-10-02/pr162/Cargo.lock", + "bytes": 74787, + "sha256": "26163aa672bbe2d54448bac821ebe4246003c917b98a0f48dbe20bcd8af71e3f" + }, + { + "path": "docs/dependency-reviews/2026-10-02/pr162/Cargo.toml", + "bytes": 2344, + "sha256": "e97a2d27d6718ed1eb60c6506781875ebf902f92d81fefd22d9253f298a84c95" + }, + { + "path": "docs/dependency-reviews/2026-10-02/pr163/Cargo.lock", + "bytes": 74338, + "sha256": "fd483e330e292cd81131d59b30b3f89771206365470d3da03e713610ab561703" + }, + { + "path": "docs/dependency-reviews/2026-10-02/pr163/Cargo.toml", + "bytes": 2344, + "sha256": "6adc23a0b01a5b19336cb6d3a6382388a605b60df54dd022d2e092aca500872a" + }, + { + "path": "docs/dependency-reviews/2026-10-02/pr164/Cargo.lock", + "bytes": 70103, + "sha256": "ed61f9997164f0b6a1a75525a61f3e1bd1a3ba594f8219b7441f5ac8c871674d" + }, + { + "path": "docs/dependency-reviews/2026-10-02/pr164/Cargo.toml", + "bytes": 2344, + "sha256": "6adc23a0b01a5b19336cb6d3a6382388a605b60df54dd022d2e092aca500872a" + } + ] } } diff --git a/docs/dependency-reviews/2026-11-13-evidence-alteration-note.md b/docs/dependency-reviews/2026-11-13-evidence-alteration-note.md new file mode 100644 index 00000000..11ffe17b --- /dev/null +++ b/docs/dependency-reviews/2026-11-13-evidence-alteration-note.md @@ -0,0 +1,57 @@ +# F03 retained-evidence alteration note — 2026-11-13 + +Status: **Authorized alteration recorded; chain re-pinned.** This note documents +an owner-authorized change to retained F03 evidence. It does not record a new +source audit, human signoff, merge permission, or F03 acceptance. + +## What happened + +[PR #265](https://github.com/policy-forge/forge/pull/265) ("chore(deps): bump +the cargo group across 3 directories with 1 update", head commit +`24616651b0f72a81d6d23682f8370139301ef516`, merge commit +`52ab80e0ffe0dd7901bffe0c899228e8b8a39108`, merged 2026-11-13T15:42:58Z) edited +six retained files of the +[2026-10-02 F03 review packet](2026-10-02/README.md): the `Cargo.lock` and +`Cargo.toml` snapshots retained for PRs 162, 163, and 164. In each, the locked +`zip` dependency moved 8.6.0 → 9.0.0 (registry checksum +`2d04a6b5381502aa6087c94c669499eb1602eb9c5e8198e534de571f7154809b` → +`711e8c9646791c49b7eb799a19c4ae70a9b8372ddc6a1fa4778defd1e2aa5d5e`) and the +manifest requirement moved `zip = "8"` → `zip = "9"`. All three merged locks +resolve to zip 9.0.0; the decision record's "9.0.0/9.0.5" shorthand refers to +this same authorized bump family, not to a second version present in the +retained locks. Byte counts are unchanged. The pr162/pr163 locks differ only +in their zip entries; the pr164 lock additionally re-resolved one dependency +edge (`getrandom 0.3.4` → `getrandom 0.4.3`) as part of the same regeneration. + +These files were retained as immutable review evidence. Their alteration +invalidates the original SHA-256 pins in +[retained-evidence-index.json](2026-10-02/retained-evidence-index.json). + +## Owner disposition + +Owner decision **D3b** of the 2026-11-13 owner decision record +(`docs/plans/2026-11-13-owner-decision-record.md`): **keep #265 merged and add +a dated F03 note**. The SHA-256 index discrepancy for these six files is +**authorized, not tampering**. The historical receipt files themselves are not +edited by this note; the retained `.diff` receipts are untouched and still +describe the original PR 162/163/164 changes. + +## Re-pinned hashes + +Original pins below are the values committed in `a46b07d` ("Retain exact +dependency PR review evidence") and remain recoverable from git history. New +pins were computed from the merged #265 content on 2026-11-13 and are recorded +in `retained-evidence-index.json` by the PR carrying this note. The other 145 +retained entries were re-verified against the index on 2026-11-13 and match. + +| Path (under `docs/dependency-reviews/2026-10-02/`) | Bytes | Original SHA-256 | New SHA-256 | +|---|---:|---|---| +| `pr162/Cargo.lock` | 74787 | `26163aa672bbe2d54448bac821ebe4246003c917b98a0f48dbe20bcd8af71e3f` | `7d33c63c56ddb11e9efc034aaa1f4e3b850f6209eb59760b4a45154bf4f9dff9` | +| `pr162/Cargo.toml` | 2344 | `e97a2d27d6718ed1eb60c6506781875ebf902f92d81fefd22d9253f298a84c95` | `b70fe2143086e33d7186837f8bb32da22750bfdf70d3c6b1bf1697da5d9801dc` | +| `pr163/Cargo.lock` | 74338 | `fd483e330e292cd81131d59b30b3f89771206365470d3da03e713610ab561703` | `2e44746103e673e726611b2aeee5b1e60934522fedd0d7922adaabb2e5e1a6fe` | +| `pr163/Cargo.toml` | 2344 | `6adc23a0b01a5b19336cb6d3a6382388a605b60df54dd022d2e092aca500872a` | `eec5af9a829aeeb3240eab5e5e7ef0eb2cf104a2709116deed243129b4a63199` | +| `pr164/Cargo.lock` | 70103 | `ed61f9997164f0b6a1a75525a61f3e1bd1a3ba594f8219b7441f5ac8c871674d` | `a182758923a9275294dff0d0cc4b01689c9417273ab2dd7d9c9e37d4372af933` | +| `pr164/Cargo.toml` | 2344 | `6adc23a0b01a5b19336cb6d3a6382388a605b60df54dd022d2e092aca500872a` | `eec5af9a829aeeb3240eab5e5e7ef0eb2cf104a2709116deed243129b4a63199` | + +The packet `README.md` is itself indexed; its entry is re-pinned in the same +index update because this note adds a link to it.