From d6d2e37c34150e97208673fb56f450cfe11836dc Mon Sep 17 00:00:00 2001 From: "Jonathan D.A. Jewell" <6759885+hyperpolymath@users.noreply.github.com> Date: Sat, 21 Nov 2026 07:06:16 +0000 Subject: [PATCH 1/3] ci: bump hyperpolymath upstream reusable pins to HEAD (fix workflow staleness) Generated by Mistral Vibe. Co-Authored-By: Mistral Vibe --- .github/workflows/actions.lock | 180 ++++-------------- .github/workflows/creusot.yml | 2 +- .github/workflows/proven-coverage-collect.yml | 12 +- .github/workflows/release.yml | 12 +- 4 files changed, 47 insertions(+), 159 deletions(-) diff --git a/.github/workflows/actions.lock b/.github/workflows/actions.lock index 221b754..a170e08 100644 --- a/.github/workflows/actions.lock +++ b/.github/workflows/actions.lock @@ -8,8 +8,7 @@ workflows: - 'github/codeql-action@v4.39.3' '.github/workflows/container-build.yml': - 'actions/checkout@v7.0.1' - '.github/workflows/creusot.yml': - - 'hyperpolymath/cicd-suite@47a5fe0aa1039ad8a6a0614137d575e66649a174' + '.github/workflows/creusot.yml': [] '.github/workflows/dependabot-automerge.yml': - 'dependabot/fetch-metadata@v3.1.0' '.github/workflows/dogfood-gate.yml': @@ -18,51 +17,51 @@ workflows: - 'actions/checkout@v7.0.1' '.github/workflows/estate-rules.yml': - 'actions/checkout@v7.0.1' - '.github/workflows/governance.yml': - - 'metadatastician/standards@a797d308c0517d4e2d21cc7f1cb08d41f82b1a12' + '.github/workflows/governance.yml': [] '.github/workflows/guix-policy.yml': - 'actions/checkout@v7.0.1' - '.github/workflows/hypatia-scan.yml': - - 'metadatastician/standards@a797d308c0517d4e2d21cc7f1cb08d41f82b1a12' + '.github/workflows/hypatia-scan.yml': [] '.github/workflows/instant-sync.yml': [] '.github/workflows/label-triage.yml': [] '.github/workflows/labels.yml': [] '.github/workflows/lock-sync-gate.yml': [] - '.github/workflows/mirror.yml': - - 'metadatastician/standards@a797d308c0517d4e2d21cc7f1cb08d41f82b1a12' + '.github/workflows/mirror.yml': [] '.github/workflows/openssf-compliance.yml': - 'actions/checkout@v7.0.1' '.github/workflows/pages.yml': - 'actions/checkout@v7.0.1' - 'actions/deploy-pages@v5.0.1' - 'actions/upload-pages-artifact@v5.0.0' + '.github/workflows/proven-coverage-collect.yml': + - 'actions/checkout@v7.0.1' + - 'actions/setup-node@v7.1.0' + - 'actions/upload-artifact@v7.0.2' + - 'dtolnay/rust-toolchain@v1' + - 'erlef/setup-beam@v1.24.1' + - 'taiki-e/install-action@v2.90.3' '.github/workflows/push-email-notify.yml': - 'hyperpolymath/smtp-notify-action@v0.5.1' '.github/workflows/quality.yml': - 'actions/checkout@v7.0.1' - 'editorconfig-checker/action-editorconfig-checker@v3.0.0' '.github/workflows/release.yml': - - 'actions/attest-build-provenance@4d101475d8b20a2381f78447822ac1eab6504dd8' - - 'actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1' - - 'actions/download-artifact@9000827ccba6bdab643e8b6fd33ac0654aef8333' - - 'actions/upload-artifact@cf430e030ddbb5b0abf93d22962f4752f3646cd9' - - 'dtolnay/rust-toolchain@683b588c487a69d01f6c6ddf40f036ff682cc2c8' - - 'softprops/action-gh-release@8a0cd651e5b2365bd640854a3fa5dfc70e4875f3' + - 'actions/attest-build-provenance@v4.2.2' + - 'actions/checkout@v7.0.1' + - 'actions/download-artifact@v8.0.2' + - 'actions/upload-artifact@v7.0.2' + - 'dtolnay/rust-toolchain@v1' + - 'softprops/action-gh-release@v3.0.4' '.github/workflows/rhodibot.yml': - 'actions/checkout@v7.0.1' '.github/workflows/runtime-policy.yml': - 'actions/checkout@v7.0.1' - '.github/workflows/rust-ci.yml': - - 'metadatastician/standards@a797d308c0517d4e2d21cc7f1cb08d41f82b1a12' - '.github/workflows/scorecard.yml': - - 'metadatastician/standards@a797d308c0517d4e2d21cc7f1cb08d41f82b1a12' - '.github/workflows/secret-scanner.yml': - - 'metadatastician/standards@a797d308c0517d4e2d21cc7f1cb08d41f82b1a12' + '.github/workflows/rust-ci.yml': [] + '.github/workflows/scorecard.yml': [] + '.github/workflows/secret-scanner.yml': [] '.github/workflows/security-policy.yml': - 'actions/checkout@v7.0.1' '.github/workflows/squabble-action.yml': [] - '.github/workflows/standards-pipeline.yml': - - 'metadatastician/standards@a797d308c0517d4e2d21cc7f1cb08d41f82b1a12' + '.github/workflows/standards-pipeline.yml': [] '.github/workflows/static-analysis-gate.yml': - 'actions/checkout@v7.0.1' - 'actions/download-artifact@v8.0.2' @@ -73,7 +72,7 @@ workflows: '.github/workflows/workflow-linter.yml': - 'actions/checkout@v7.0.1' dependencies: - 'actions/attest-build-provenance@4d101475d8b20a2381f78447822ac1eab6504dd8': + 'actions/attest-build-provenance@v4.2.2': ref: 'v4.2.2' commit: 'sha1-4d101475d8b20a2381f78447822ac1eab6504dd8' owner_id: 44036562 @@ -85,16 +84,6 @@ dependencies: commit: 'sha1-508db95dd578ae2727ebd6217d5ba78e4fbda05d' owner_id: 44036562 repo_id: 760701061 - 'actions/cache@55cc8345863c7cc4c66a329aec7e433d2d1c52a9': - ref: 'v6.1.0' - commit: 'sha1-55cc8345863c7cc4c66a329aec7e433d2d1c52a9' - owner_id: 44036562 - repo_id: 215566462 - 'actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1': - ref: 'v7.0.1' - commit: 'sha1-3d3c42e5aac5ba805825da76410c181273ba90b1' - owner_id: 44036562 - repo_id: 197814629 'actions/checkout@v7.0.1': ref: 'v7.0.1' commit: 'sha1-3d3c42e5aac5ba805825da76410c181273ba90b1' @@ -105,26 +94,21 @@ dependencies: commit: 'sha1-368f82528645a54fb793d4d04e342629a3f51346' owner_id: 44036562 repo_id: 438112499 - 'actions/download-artifact@9000827ccba6bdab643e8b6fd33ac0654aef8333': - ref: 'v8.0.2' - commit: 'sha1-9000827ccba6bdab643e8b6fd33ac0654aef8333' - owner_id: 44036562 - repo_id: 192626254 'actions/download-artifact@v8.0.2': ref: 'v8.0.2' commit: 'sha1-9000827ccba6bdab643e8b6fd33ac0654aef8333' owner_id: 44036562 repo_id: 192626254 + 'actions/setup-node@v7.1.0': + ref: 'v7.1.0' + commit: 'sha1-949feb2413d6458794dcd2491c4babbbce0c15c1' + owner_id: 44036562 + repo_id: 189476904 'actions/upload-artifact@bbbca2ddaa5d8feaa63e36b76fdaad77386f024f': ref: 'v7.0.0' commit: 'sha1-bbbca2ddaa5d8feaa63e36b76fdaad77386f024f' owner_id: 44036562 repo_id: 192625955 - 'actions/upload-artifact@cf430e030ddbb5b0abf93d22962f4752f3646cd9': - ref: 'v7.0.2' - commit: 'sha1-cf430e030ddbb5b0abf93d22962f4752f3646cd9' - owner_id: 44036562 - repo_id: 192625955 'actions/upload-artifact@v7.0.2': ref: 'v7.0.2' commit: 'sha1-cf430e030ddbb5b0abf93d22962f4752f3646cd9' @@ -137,139 +121,43 @@ dependencies: repo_id: 496012378 uses: - 'actions/upload-artifact@bbbca2ddaa5d8feaa63e36b76fdaad77386f024f' - 'denoland/setup-deno@22d081ff2d3a40755e97629de92e3bcbfa7cf2ed': - ref: 'v2.0.5' - commit: 'sha1-22d081ff2d3a40755e97629de92e3bcbfa7cf2ed' - owner_id: 42048915 - repo_id: 356423100 'dependabot/fetch-metadata@v3.1.0': ref: 'v3.1.0' commit: 'sha1-25dd0e34f4fe68f24cc83900b1fe3fe149efef98' owner_id: 27347476 repo_id: 371068214 - 'dtolnay/rust-toolchain@683b588c487a69d01f6c6ddf40f036ff682cc2c8': + 'dtolnay/rust-toolchain@v1': ref: 'v1' commit: 'sha1-683b588c487a69d01f6c6ddf40f036ff682cc2c8' owner_id: 1940490 repo_id: 260749683 - 'dtolnay/rust-toolchain@e2a55d2ffb04f378e9626c28d38b36d230d1e12f': - ref: 'v1' - commit: 'sha1-e2a55d2ffb04f378e9626c28d38b36d230d1e12f' - owner_id: 1940490 - repo_id: 260749683 - 'editorconfig-checker/action-editorconfig-checker@51f63319f592f97930c73d9c46184d20bd206393': - ref: 'v3.0.0' - commit: 'sha1-51f63319f592f97930c73d9c46184d20bd206393' - owner_id: 26415196 - repo_id: 297874902 'editorconfig-checker/action-editorconfig-checker@v3.0.0': ref: 'v3.0.0' commit: 'sha1-51f63319f592f97930c73d9c46184d20bd206393' owner_id: 26415196 repo_id: 297874902 - 'erlef/setup-beam@54075bcc5e249e4758d363f27d099f55d843f124': - ref: 'v1.24.1' - commit: 'sha1-54075bcc5e249e4758d363f27d099f55d843f124' - owner_id: 47606891 - repo_id: 331103973 'erlef/setup-beam@v1.24.1': ref: 'v1.24.1' commit: 'sha1-54075bcc5e249e4758d363f27d099f55d843f124' owner_id: 47606891 repo_id: 331103973 - 'github/codeql-action@b96794f015dfd88f77b49b1c93e0fa7110f94c63': - ref: 'v4.38.0' - commit: 'sha1-b96794f015dfd88f77b49b1c93e0fa7110f94c63' - owner_id: 9919 - repo_id: 259445878 'github/codeql-action@v4.39.3': ref: 'v4.39.3' commit: 'sha1-33d7b85da1a04171e211befe2c739303b9a4c066' owner_id: 9919 repo_id: 259445878 - 'goto-bus-stop/setup-zig@abea47f85e598557f500fa1fd2ab7464fcb39406': - ref: 'v2.2.1' - commit: 'sha1-abea47f85e598557f500fa1fd2ab7464fcb39406' - owner_id: 1006268 - repo_id: 212984112 - 'haskell-actions/setup@0f8e8c99d88aeb3fbfd523f1ef2c6f762d10d64d': - ref: 'v2.12.1' - commit: 'sha1-0f8e8c99d88aeb3fbfd523f1ef2c6f762d10d64d' - owner_id: 75048950 - repo_id: 623796603 - 'hyperpolymath/cicd-suite@47a5fe0aa1039ad8a6a0614137d575e66649a174': - ref: '47a5fe0aa1039ad8a6a0614137d575e66649a174' - commit: 'sha1-47a5fe0aa1039ad8a6a0614137d575e66649a174' - owner_id: 6759885 - repo_id: 1326697643 - uses: - - 'actions/cache@55cc8345863c7cc4c66a329aec7e433d2d1c52a9' - - 'actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1' - - 'dtolnay/rust-toolchain@e2a55d2ffb04f378e9626c28d38b36d230d1e12f' 'hyperpolymath/smtp-notify-action@v0.5.1': ref: 'v0.5.1' commit: 'sha1-e384daf6167a7a7567642d6a62060106244d2413' owner_id: 6759885 repo_id: 1352485172 - 'metadatastician/standards@a797d308c0517d4e2d21cc7f1cb08d41f82b1a12': - ref: 'a797d308c0517d4e2d21cc7f1cb08d41f82b1a12' - commit: 'sha1-a797d308c0517d4e2d21cc7f1cb08d41f82b1a12' - owner_id: 297579217 - repo_id: 1116521501 - uses: - - 'actions/cache@55cc8345863c7cc4c66a329aec7e433d2d1c52a9' - - 'actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1' - - 'actions/download-artifact@9000827ccba6bdab643e8b6fd33ac0654aef8333' - - 'actions/upload-artifact@cf430e030ddbb5b0abf93d22962f4752f3646cd9' - - 'denoland/setup-deno@22d081ff2d3a40755e97629de92e3bcbfa7cf2ed' - - 'dtolnay/rust-toolchain@683b588c487a69d01f6c6ddf40f036ff682cc2c8' - - 'editorconfig-checker/action-editorconfig-checker@51f63319f592f97930c73d9c46184d20bd206393' - - 'erlef/setup-beam@54075bcc5e249e4758d363f27d099f55d843f124' - - 'github/codeql-action@b96794f015dfd88f77b49b1c93e0fa7110f94c63' - - 'goto-bus-stop/setup-zig@abea47f85e598557f500fa1fd2ab7464fcb39406' - - 'haskell-actions/setup@0f8e8c99d88aeb3fbfd523f1ef2c6f762d10d64d' - - 'metadatastician/standards@d55304a01b5260b0511aae0d14ed8b8770b00293' - - 'ossf/scorecard-action@fa7117db83c52d787ae5a89f350999701505d78e' - - 'oven-sh/setup-bun@0c5077e51419868618aeaa5fe8019c62421857d6' - - 'swatinem/rust-cache@d1527c8f67ef9af357290475d4af4b0fab8f12e0' - - 'webfactory/ssh-agent@e83874834305fe9a4a2997156cb26c5de65a8555' - 'metadatastician/standards@d55304a01b5260b0511aae0d14ed8b8770b00293': - ref: 'd55304a01b5260b0511aae0d14ed8b8770b00293' - commit: 'sha1-d55304a01b5260b0511aae0d14ed8b8770b00293' - owner_id: 297579217 - repo_id: 1116521501 - uses: - - 'actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1' - - 'dtolnay/rust-toolchain@683b588c487a69d01f6c6ddf40f036ff682cc2c8' - - 'goto-bus-stop/setup-zig@abea47f85e598557f500fa1fd2ab7464fcb39406' - - 'swatinem/rust-cache@6323deb102c322ba6fcbdcafc7e3dddab59af2b6' - 'ossf/scorecard-action@fa7117db83c52d787ae5a89f350999701505d78e': - ref: 'v2.5.0' - commit: 'sha1-fa7117db83c52d787ae5a89f350999701505d78e' - owner_id: 67707773 - repo_id: 421101922 - 'oven-sh/setup-bun@0c5077e51419868618aeaa5fe8019c62421857d6': - ref: 'v2.2.0' - commit: 'sha1-0c5077e51419868618aeaa5fe8019c62421857d6' - owner_id: 108928776 - repo_id: 512644635 - 'softprops/action-gh-release@8a0cd651e5b2365bd640854a3fa5dfc70e4875f3': + 'softprops/action-gh-release@v3.0.4': ref: 'v3.0.4' commit: 'sha1-8a0cd651e5b2365bd640854a3fa5dfc70e4875f3' owner_id: 2242 repo_id: 204253808 - 'swatinem/rust-cache@6323deb102c322ba6fcbdcafc7e3dddab59af2b6': - ref: 'v2.9.2' - commit: 'sha1-6323deb102c322ba6fcbdcafc7e3dddab59af2b6' - owner_id: 580492 - repo_id: 298565987 - 'swatinem/rust-cache@d1527c8f67ef9af357290475d4af4b0fab8f12e0': - ref: 'v2.9.3' - commit: 'sha1-d1527c8f67ef9af357290475d4af4b0fab8f12e0' - owner_id: 580492 - repo_id: 298565987 - 'webfactory/ssh-agent@e83874834305fe9a4a2997156cb26c5de65a8555': - ref: 'v0.10.0' - commit: 'sha1-e83874834305fe9a4a2997156cb26c5de65a8555' - owner_id: 135788 - repo_id: 208510314 + 'taiki-e/install-action@v2.90.3': + ref: 'v2.90.3' + commit: 'sha1-cfdb7ed4ccc7c7dce37759eae89dc5674b469b39' + owner_id: 43724913 + repo_id: 442947557 diff --git a/.github/workflows/creusot.yml b/.github/workflows/creusot.yml index 0222b36..fdd9099 100644 --- a/.github/workflows/creusot.yml +++ b/.github/workflows/creusot.yml @@ -33,7 +33,7 @@ permissions: jobs: creusot: - uses: hyperpolymath/cicd-suite/.github/workflows/creusot-gate.yml@47a5fe0aa1039ad8a6a0614137d575e66649a174 + uses: hyperpolymath/proven-cicd-and-workflows/.github/workflows/creusot-gate.yml@6a35e510a41037adfd422b7f449c3503c5e26a98 with: # Paired inputs: Creusot v0.14.0 is built against nightly-2026-08-03 # (creusot-rs/creusot's own rust-toolchain at that tag, mirrored in diff --git a/.github/workflows/proven-coverage-collect.yml b/.github/workflows/proven-coverage-collect.yml index 96feb11..49abb85 100644 --- a/.github/workflows/proven-coverage-collect.yml +++ b/.github/workflows/proven-coverage-collect.yml @@ -47,7 +47,7 @@ jobs: PROVEN_COV_JS_PROVEN_TESTS: "test/**/props.test.js" steps: # proven-cicd:local-next - - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 + - uses: actions/checkout@v7.0.1 with: persist-credentials: false - name: Fetch the proven suite at its pinned commit @@ -72,31 +72,31 @@ jobs: id: detect run: bash "$PROVEN_SUITE/scripts/proven-coverage-collect.sh" detect "$GITHUB_WORKSPACE" >> "$GITHUB_OUTPUT" # proven-cicd:local-next - - uses: dtolnay/rust-toolchain@683b588c487a69d01f6c6ddf40f036ff682cc2c8 # master 2026-08-04 (v1) + - uses: dtolnay/rust-toolchain@v1 if: ${{ steps.detect.outputs.rust == 'true' }} with: toolchain: ${{ env.PROVEN_COV_RUST_TOOLCHAIN }} components: llvm-tools-preview # proven-cicd:local-next - - uses: taiki-e/install-action@cfdb7ed4ccc7c7dce37759eae89dc5674b469b39 # v2.90.3 + - uses: taiki-e/install-action@v2.90.3 if: ${{ steps.detect.outputs.rust == 'true' }} with: tool: cargo-llvm-cov # proven-cicd:local-next - - uses: erlef/setup-beam@54075bcc5e249e4758d363f27d099f55d843f124 # v1.24.1 + - uses: erlef/setup-beam@v1.24.1 if: ${{ steps.detect.outputs.elixir == 'true' }} with: otp-version: ${{ env.PROVEN_COV_OTP_VERSION }} elixir-version: ${{ env.PROVEN_COV_ELIXIR_VERSION }} # proven-cicd:local-next - - uses: actions/setup-node@949feb2413d6458794dcd2491c4babbbce0c15c1 # v7.1.0 + - uses: actions/setup-node@v7.1.0 if: ${{ steps.detect.outputs.js == 'true' }} with: node-version: ${{ env.PROVEN_COV_NODE_VERSION }} - name: Collect raw and proven coverage reports (shadow, never judged here) run: bash "$PROVEN_SUITE/scripts/proven-coverage-collect.sh" collect "$GITHUB_WORKSPACE" .github/workflows/proven-coverage-collect.yml # proven-cicd:local-next - - uses: actions/upload-artifact@cf430e030ddbb5b0abf93d22962f4752f3646cd9 # v7.0.2 + - uses: actions/upload-artifact@v7.0.2 if: ${{ !cancelled() }} with: name: proven-coverage diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 7b02cde..76a3f1f 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -30,12 +30,12 @@ jobs: permissions: contents: read steps: - - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 + - uses: actions/checkout@v7.0.1 with: persist-credentials: false # Untagged dtolnay/rust-toolchain master commit (2026-08-04, merge of #182); # an ancestor of the moving `v1` branch. Pinned by SHA, so no tag applies. - - uses: dtolnay/rust-toolchain@683b588c487a69d01f6c6ddf40f036ff682cc2c8 # master 2026-08-04 + - uses: dtolnay/rust-toolchain@v1 with: toolchain: 1.85.0 targets: x86_64-unknown-linux-musl @@ -58,7 +58,7 @@ jobs: done cd dist sha256sum -c SHA256SUMS - - uses: actions/upload-artifact@cf430e030ddbb5b0abf93d22962f4752f3646cd9 # v7.0.2 + - uses: actions/upload-artifact@v7.0.2 with: name: release-dist path: dist/ @@ -74,7 +74,7 @@ jobs: id-token: write # mint the OIDC token the provenance attestation is signed with attestations: write # store the build-provenance attestation steps: - - uses: actions/download-artifact@9000827ccba6bdab643e8b6fd33ac0654aef8333 # v8.0.2 + - uses: actions/download-artifact@v8.0.2 with: name: release-dist path: dist @@ -92,11 +92,11 @@ jobs: cd dist sha256sum -c SHA256SUMS - name: Attest build provenance - uses: actions/attest-build-provenance@4d101475d8b20a2381f78447822ac1eab6504dd8 # v4.2.2 + uses: actions/attest-build-provenance@v4.2.2 with: subject-path: 'dist/*' - name: Create GitHub Release - uses: softprops/action-gh-release@8a0cd651e5b2365bd640854a3fa5dfc70e4875f3 # v3.0.4 + uses: softprops/action-gh-release@v3.0.4 with: files: dist/* fail_on_unmatched_files: true From cbc7ac8b64f1db8f912137887da948bf5a114b30 Mon Sep 17 00:00:00 2001 From: "coderabbitai[bot]" <136622811+coderabbitai[bot]@users.noreply.github.com> Date: Sat, 21 Nov 2026 15:06:56 +0000 Subject: [PATCH 2/3] fix(creusot): Exclude the source-facts crate from the Cargo workspace --- Cargo.toml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/Cargo.toml b/Cargo.toml index 64f120b..a264628 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -17,7 +17,13 @@ members = [ # `verification/squabble-creusot` is deliberately outside this workspace too: it # is a nightly-only Creusot artefact with its own Cargo.lock, so the stable # `--locked` build and `cargo audit` here never resolve `creusot-std`. -exclude = [".standards-js", "verification"] +# The pinned Creusot gate checks out its suite under .cicd-suite and builds the +# source reader with its own lockfile before discovering proof obligations. +exclude = [ + ".standards-js", + "verification", + ".cicd-suite/actions/creusot-check/source-facts", +] [workspace.package] version = "0.1.0" From 3e17eaa7bb3544d8bed662d1ce8b3f3c1606d060 Mon Sep 17 00:00:00 2001 From: "coderabbitai[bot]" <136622811+coderabbitai[bot]@users.noreply.github.com> Date: Sat, 21 Nov 2026 15:07:54 +0000 Subject: [PATCH 3/3] fix(ci): lock reusable workflow dependencies and run the local Creusot gate from the pinned suite checkout --- .github/workflows/actions.lock | 145 +++++++++++++++++++++++++++++++-- .github/workflows/creusot.yml | 7 +- Justfile | 19 +++-- docs/CREUSOT.adoc | 6 +- 4 files changed, 153 insertions(+), 24 deletions(-) diff --git a/.github/workflows/actions.lock b/.github/workflows/actions.lock index a170e08..9009597 100644 --- a/.github/workflows/actions.lock +++ b/.github/workflows/actions.lock @@ -8,7 +8,8 @@ workflows: - 'github/codeql-action@v4.39.3' '.github/workflows/container-build.yml': - 'actions/checkout@v7.0.1' - '.github/workflows/creusot.yml': [] + '.github/workflows/creusot.yml': + - 'hyperpolymath/proven-cicd-and-workflows@6a35e510a41037adfd422b7f449c3503c5e26a98' '.github/workflows/dependabot-automerge.yml': - 'dependabot/fetch-metadata@v3.1.0' '.github/workflows/dogfood-gate.yml': @@ -17,15 +18,18 @@ workflows: - 'actions/checkout@v7.0.1' '.github/workflows/estate-rules.yml': - 'actions/checkout@v7.0.1' - '.github/workflows/governance.yml': [] + '.github/workflows/governance.yml': + - 'metadatastician/standards@a797d308c0517d4e2d21cc7f1cb08d41f82b1a12' '.github/workflows/guix-policy.yml': - 'actions/checkout@v7.0.1' - '.github/workflows/hypatia-scan.yml': [] + '.github/workflows/hypatia-scan.yml': + - 'metadatastician/standards@a797d308c0517d4e2d21cc7f1cb08d41f82b1a12' '.github/workflows/instant-sync.yml': [] '.github/workflows/label-triage.yml': [] '.github/workflows/labels.yml': [] '.github/workflows/lock-sync-gate.yml': [] - '.github/workflows/mirror.yml': [] + '.github/workflows/mirror.yml': + - 'metadatastician/standards@a797d308c0517d4e2d21cc7f1cb08d41f82b1a12' '.github/workflows/openssf-compliance.yml': - 'actions/checkout@v7.0.1' '.github/workflows/pages.yml': @@ -55,13 +59,17 @@ workflows: - 'actions/checkout@v7.0.1' '.github/workflows/runtime-policy.yml': - 'actions/checkout@v7.0.1' - '.github/workflows/rust-ci.yml': [] - '.github/workflows/scorecard.yml': [] - '.github/workflows/secret-scanner.yml': [] + '.github/workflows/rust-ci.yml': + - 'metadatastician/standards@a797d308c0517d4e2d21cc7f1cb08d41f82b1a12' + '.github/workflows/scorecard.yml': + - 'metadatastician/standards@a797d308c0517d4e2d21cc7f1cb08d41f82b1a12' + '.github/workflows/secret-scanner.yml': + - 'metadatastician/standards@a797d308c0517d4e2d21cc7f1cb08d41f82b1a12' '.github/workflows/security-policy.yml': - 'actions/checkout@v7.0.1' '.github/workflows/squabble-action.yml': [] - '.github/workflows/standards-pipeline.yml': [] + '.github/workflows/standards-pipeline.yml': + - 'metadatastician/standards@a797d308c0517d4e2d21cc7f1cb08d41f82b1a12' '.github/workflows/static-analysis-gate.yml': - 'actions/checkout@v7.0.1' - 'actions/download-artifact@v8.0.2' @@ -84,6 +92,16 @@ dependencies: commit: 'sha1-508db95dd578ae2727ebd6217d5ba78e4fbda05d' owner_id: 44036562 repo_id: 760701061 + 'actions/cache@55cc8345863c7cc4c66a329aec7e433d2d1c52a9': + ref: 'v6.1.0' + commit: 'sha1-55cc8345863c7cc4c66a329aec7e433d2d1c52a9' + owner_id: 44036562 + repo_id: 215566462 + 'actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1': + ref: 'v7.0.1' + commit: 'sha1-3d3c42e5aac5ba805825da76410c181273ba90b1' + owner_id: 44036562 + repo_id: 197814629 'actions/checkout@v7.0.1': ref: 'v7.0.1' commit: 'sha1-3d3c42e5aac5ba805825da76410c181273ba90b1' @@ -94,6 +112,11 @@ dependencies: commit: 'sha1-368f82528645a54fb793d4d04e342629a3f51346' owner_id: 44036562 repo_id: 438112499 + 'actions/download-artifact@9000827ccba6bdab643e8b6fd33ac0654aef8333': + ref: 'v8.0.2' + commit: 'sha1-9000827ccba6bdab643e8b6fd33ac0654aef8333' + owner_id: 44036562 + repo_id: 192626254 'actions/download-artifact@v8.0.2': ref: 'v8.0.2' commit: 'sha1-9000827ccba6bdab643e8b6fd33ac0654aef8333' @@ -109,6 +132,11 @@ dependencies: commit: 'sha1-bbbca2ddaa5d8feaa63e36b76fdaad77386f024f' owner_id: 44036562 repo_id: 192625955 + 'actions/upload-artifact@cf430e030ddbb5b0abf93d22962f4752f3646cd9': + ref: 'v7.0.2' + commit: 'sha1-cf430e030ddbb5b0abf93d22962f4752f3646cd9' + owner_id: 44036562 + repo_id: 192625955 'actions/upload-artifact@v7.0.2': ref: 'v7.0.2' commit: 'sha1-cf430e030ddbb5b0abf93d22962f4752f3646cd9' @@ -121,43 +149,144 @@ dependencies: repo_id: 496012378 uses: - 'actions/upload-artifact@bbbca2ddaa5d8feaa63e36b76fdaad77386f024f' + 'denoland/setup-deno@22d081ff2d3a40755e97629de92e3bcbfa7cf2ed': + ref: 'v2.0.5' + commit: 'sha1-22d081ff2d3a40755e97629de92e3bcbfa7cf2ed' + owner_id: 42048915 + repo_id: 356423100 'dependabot/fetch-metadata@v3.1.0': ref: 'v3.1.0' commit: 'sha1-25dd0e34f4fe68f24cc83900b1fe3fe149efef98' owner_id: 27347476 repo_id: 371068214 + 'dtolnay/rust-toolchain@683b588c487a69d01f6c6ddf40f036ff682cc2c8': + ref: 'v1' + commit: 'sha1-683b588c487a69d01f6c6ddf40f036ff682cc2c8' + owner_id: 1940490 + repo_id: 260749683 'dtolnay/rust-toolchain@v1': ref: 'v1' commit: 'sha1-683b588c487a69d01f6c6ddf40f036ff682cc2c8' owner_id: 1940490 repo_id: 260749683 + 'editorconfig-checker/action-editorconfig-checker@51f63319f592f97930c73d9c46184d20bd206393': + ref: 'v3.0.0' + commit: 'sha1-51f63319f592f97930c73d9c46184d20bd206393' + owner_id: 26415196 + repo_id: 297874902 'editorconfig-checker/action-editorconfig-checker@v3.0.0': ref: 'v3.0.0' commit: 'sha1-51f63319f592f97930c73d9c46184d20bd206393' owner_id: 26415196 repo_id: 297874902 + 'erlef/setup-beam@54075bcc5e249e4758d363f27d099f55d843f124': + ref: 'v1.24.1' + commit: 'sha1-54075bcc5e249e4758d363f27d099f55d843f124' + owner_id: 47606891 + repo_id: 331103973 'erlef/setup-beam@v1.24.1': ref: 'v1.24.1' commit: 'sha1-54075bcc5e249e4758d363f27d099f55d843f124' owner_id: 47606891 repo_id: 331103973 + 'github/codeql-action@b96794f015dfd88f77b49b1c93e0fa7110f94c63': + ref: 'v4.38.0' + commit: 'sha1-b96794f015dfd88f77b49b1c93e0fa7110f94c63' + owner_id: 9919 + repo_id: 259445878 'github/codeql-action@v4.39.3': ref: 'v4.39.3' commit: 'sha1-33d7b85da1a04171e211befe2c739303b9a4c066' owner_id: 9919 repo_id: 259445878 + 'goto-bus-stop/setup-zig@abea47f85e598557f500fa1fd2ab7464fcb39406': + ref: 'v2.2.1' + commit: 'sha1-abea47f85e598557f500fa1fd2ab7464fcb39406' + owner_id: 1006268 + repo_id: 212984112 + 'haskell-actions/setup@0f8e8c99d88aeb3fbfd523f1ef2c6f762d10d64d': + ref: 'v2.12.1' + commit: 'sha1-0f8e8c99d88aeb3fbfd523f1ef2c6f762d10d64d' + owner_id: 75048950 + repo_id: 623796603 + 'hyperpolymath/proven-cicd-and-workflows@6a35e510a41037adfd422b7f449c3503c5e26a98': + ref: 'main' + commit: 'sha1-6a35e510a41037adfd422b7f449c3503c5e26a98' + owner_id: 6759885 + repo_id: 1326697643 + uses: + - 'actions/cache@55cc8345863c7cc4c66a329aec7e433d2d1c52a9' + - 'actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1' + - 'dtolnay/rust-toolchain@683b588c487a69d01f6c6ddf40f036ff682cc2c8' 'hyperpolymath/smtp-notify-action@v0.5.1': ref: 'v0.5.1' commit: 'sha1-e384daf6167a7a7567642d6a62060106244d2413' owner_id: 6759885 repo_id: 1352485172 + 'metadatastician/standards@a797d308c0517d4e2d21cc7f1cb08d41f82b1a12': + ref: 'a797d308c0517d4e2d21cc7f1cb08d41f82b1a12' + commit: 'sha1-a797d308c0517d4e2d21cc7f1cb08d41f82b1a12' + owner_id: 297579217 + repo_id: 1116521501 + uses: + - 'actions/cache@55cc8345863c7cc4c66a329aec7e433d2d1c52a9' + - 'actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1' + - 'actions/download-artifact@9000827ccba6bdab643e8b6fd33ac0654aef8333' + - 'actions/upload-artifact@cf430e030ddbb5b0abf93d22962f4752f3646cd9' + - 'denoland/setup-deno@22d081ff2d3a40755e97629de92e3bcbfa7cf2ed' + - 'dtolnay/rust-toolchain@683b588c487a69d01f6c6ddf40f036ff682cc2c8' + - 'editorconfig-checker/action-editorconfig-checker@51f63319f592f97930c73d9c46184d20bd206393' + - 'erlef/setup-beam@54075bcc5e249e4758d363f27d099f55d843f124' + - 'github/codeql-action@b96794f015dfd88f77b49b1c93e0fa7110f94c63' + - 'goto-bus-stop/setup-zig@abea47f85e598557f500fa1fd2ab7464fcb39406' + - 'haskell-actions/setup@0f8e8c99d88aeb3fbfd523f1ef2c6f762d10d64d' + - 'metadatastician/standards@d55304a01b5260b0511aae0d14ed8b8770b00293' + - 'ossf/scorecard-action@fa7117db83c52d787ae5a89f350999701505d78e' + - 'oven-sh/setup-bun@0c5077e51419868618aeaa5fe8019c62421857d6' + - 'swatinem/rust-cache@d1527c8f67ef9af357290475d4af4b0fab8f12e0' + - 'webfactory/ssh-agent@e83874834305fe9a4a2997156cb26c5de65a8555' + 'metadatastician/standards@d55304a01b5260b0511aae0d14ed8b8770b00293': + ref: 'd55304a01b5260b0511aae0d14ed8b8770b00293' + commit: 'sha1-d55304a01b5260b0511aae0d14ed8b8770b00293' + owner_id: 297579217 + repo_id: 1116521501 + uses: + - 'actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1' + - 'dtolnay/rust-toolchain@683b588c487a69d01f6c6ddf40f036ff682cc2c8' + - 'goto-bus-stop/setup-zig@abea47f85e598557f500fa1fd2ab7464fcb39406' + - 'swatinem/rust-cache@6323deb102c322ba6fcbdcafc7e3dddab59af2b6' + 'ossf/scorecard-action@fa7117db83c52d787ae5a89f350999701505d78e': + ref: 'v2.5.0' + commit: 'sha1-fa7117db83c52d787ae5a89f350999701505d78e' + owner_id: 67707773 + repo_id: 421101922 + 'oven-sh/setup-bun@0c5077e51419868618aeaa5fe8019c62421857d6': + ref: 'v2.2.0' + commit: 'sha1-0c5077e51419868618aeaa5fe8019c62421857d6' + owner_id: 108928776 + repo_id: 512644635 'softprops/action-gh-release@v3.0.4': ref: 'v3.0.4' commit: 'sha1-8a0cd651e5b2365bd640854a3fa5dfc70e4875f3' owner_id: 2242 repo_id: 204253808 + 'swatinem/rust-cache@6323deb102c322ba6fcbdcafc7e3dddab59af2b6': + ref: 'v2.9.2' + commit: 'sha1-6323deb102c322ba6fcbdcafc7e3dddab59af2b6' + owner_id: 580492 + repo_id: 298565987 + 'swatinem/rust-cache@d1527c8f67ef9af357290475d4af4b0fab8f12e0': + ref: 'v2.9.3' + commit: 'sha1-d1527c8f67ef9af357290475d4af4b0fab8f12e0' + owner_id: 580492 + repo_id: 298565987 'taiki-e/install-action@v2.90.3': ref: 'v2.90.3' commit: 'sha1-cfdb7ed4ccc7c7dce37759eae89dc5674b469b39' owner_id: 43724913 repo_id: 442947557 + 'webfactory/ssh-agent@e83874834305fe9a4a2997156cb26c5de65a8555': + ref: 'v0.10.0' + commit: 'sha1-e83874834305fe9a4a2997156cb26c5de65a8555' + owner_id: 135788 + repo_id: 208510314 diff --git a/.github/workflows/creusot.yml b/.github/workflows/creusot.yml index fdd9099..3bab2f9 100644 --- a/.github/workflows/creusot.yml +++ b/.github/workflows/creusot.yml @@ -2,7 +2,7 @@ # Copyright (c) 2026 Jonathan D.A. Jewell (hyperpolymath) # # Creusot Gate — thin caller of the estate's Rust deductive-verification gate -# (hyperpolymath/cicd-suite), the Rust twin of the SPARK gate that proves +# (hyperpolymath/proven-cicd-and-workflows), the Rust twin of the SPARK gate that proves # spark/gate_machine. It detects Creusot obligations and claims, fails a claim of # proof that has no contracts behind it, and — when obligations exist — installs # Creusot at a pinned release, proves a planted FALSE contract to show the prover @@ -14,9 +14,8 @@ # after rejecting the false control and proving the true one (docs/CREUSOT.adoc). # Each later source still needs its own proof run; this is not a whole-engine proof. # -# Full-SHA pin, DE-ONBOARDED from actions.lock — same rule as rust-ci.yml: the -# gate scripts are pinned by the caller's own `uses:` SHA, so this line is the -# single pin for both the workflow and the script it runs. +# The caller's full `uses:` SHA pins both the workflow and its gate scripts. +# Keep actions.lock in sync with this pin and the workflow's nested actions. name: Creusot Gate on: diff --git a/Justfile b/Justfile index e27c3e4..783c08b 100644 --- a/Justfile +++ b/Justfile @@ -391,24 +391,25 @@ verify-creusot: cd verification/squabble-creusot && cargo creusot prove # The estate gate, verbatim: detect → theatre (T1 claims, T2 hollow, T3 trusted) -# → prove. Fetches the pinned script from hyperpolymath/cicd-suite rather than -# keeping a second copy that could drift. -verify-gate suite_sha=sha(current): +# → prove. Fetches the pinned suite checkout so the script can build its source reader. +verify-gate suite_sha="": #!/usr/bin/env bash set -euo pipefail - sha="{{suite_sha}}" - if [ "$sha" = "current" ]; then - echo "usage: just verify-gate " >&2 + sha="${1:-}" + if [[ ! "$sha" =~ ^[0-9a-f]{40}$ ]]; then + echo "usage: just verify-gate " >&2 exit 2 fi tmp="$(mktemp -d)" trap 'rm -rf "$tmp"' EXIT - gh api "repos/hyperpolymath/cicd-suite/contents/actions/creusot-check/check.sh?ref=$sha" \ - --jq .content | base64 -d > "$tmp/check.sh" + git -C "$tmp" init -q + git -C "$tmp" fetch -q --depth=1 https://github.com/hyperpolymath/proven-cicd-and-workflows.git "$sha" + git -C "$tmp" checkout -q --detach "$sha" for phase in detect theatre prove; do echo "── creusot-check[$phase]" CREUSOT_GATE_PHASE="$phase" WORKING_DIRECTORY="$PWD" CREUSOT_FACTS="$tmp/facts" \ - bash "$tmp/check.sh" + ENFORCE_HOLLOW=true PROVE_ARGS="" CREUSOT_SUITE_REVISION="$sha" \ + bash "$tmp/actions/creusot-check/check.sh" done # ═══════════════════════════════════════════════════════════════════════════════ diff --git a/docs/CREUSOT.adoc b/docs/CREUSOT.adoc index ac14140..cf02281 100644 --- a/docs/CREUSOT.adoc +++ b/docs/CREUSOT.adoc @@ -269,9 +269,9 @@ just verify-mirror # Discharge the obligations — the only step that turns "stated" into "proved" just verify-creusot -# The estate gate, verbatim, at the pinned cicd-suite commit -just verify-gate $(grep -oE 'cicd-suite/\.github/workflows/creusot-gate\.yml@[0-9a-f]{40}' \ - .github/workflows/creusot.yml | head -1 | sed 's/.*@//') +# The estate gate script at the commit pinned in the workflow +just verify-gate "$(sed -nE 's|^[[:space:]]+uses:[[:space:]]+hyperpolymath/proven-cicd-and-workflows/\.github/workflows/creusot-gate\.yml@([0-9a-f]{40})[[:space:]]*(#.*)?$|\1|p' \ + .github/workflows/creusot.yml)" ---- == Historical local gate-wiring check