From 541f9765f4e6ba2469671646b66277b1d9a1d7a8 Mon Sep 17 00:00:00 2001 From: "Mark E. DeYoung" <1854350+mark-e-deyoung@users.noreply.github.com> Date: Sat, 21 Nov 2026 00:48:09 +0100 Subject: [PATCH 1/2] ci(conformance): pin exact external contracts revision for isolated baseline diagnosis --- .github/workflows/ci.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 47b8b4cf..fe336da8 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -81,6 +81,10 @@ jobs: - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd with: repository: mark-e-deyoung/winebot-contracts + # Diagnostic exact-source admission: a floating external contract + # branch makes same WineBot commit non-reproducible over time. + ref: 205666f7f0235cb0fc51ca8a5af84f9f67831a74 + persist-credentials: false path: contracts - uses: actions/setup-python@v5 From 7e6597eb8e31b677ae60e6c04f3ab9e838eeba1c Mon Sep 17 00:00:00 2001 From: "Mark E. DeYoung" <1854350+mark-e-deyoung@users.noreply.github.com> Date: Sat, 21 Nov 2026 01:07:08 +0100 Subject: [PATCH 2/2] ci(conformance): attest exact external contracts SHA and clean checkout before tests --- .github/workflows/ci.yml | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index fe336da8..6479bde8 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -87,6 +87,29 @@ jobs: persist-credentials: false path: contracts + - name: Attest exact external conformance revision + shell: bash + run: | + set -euo pipefail + expected=205666f7f0235cb0fc51ca8a5af84f9f67831a74 + actual="$(git -C contracts rev-parse HEAD)" + test "$actual" = "$expected" || { + echo "CONTRACTS_SOURCE=REJECTED_REVISION_MISMATCH" + exit 1 + } + test -z "$(git -C contracts status --porcelain)" || { + echo "CONTRACTS_SOURCE=REJECTED_DIRTY_CHECKOUT" + exit 1 + } + echo "CONTRACTS_SOURCE=EXACT_COMMIT_VERIFIED" + echo "CONTRACTS_REVISION=$actual" + { + echo "### External conformance source custody" + echo "Contract repository: mark-e-deyoung/winebot-contracts" + echo "Exact revision: \`$actual\`" + echo "Admitted: yes; test verdict is independently determined" + } >> "$GITHUB_STEP_SUMMARY" + - uses: actions/setup-python@v5 with: python-version: "3.12"