From c68b2f25a8eedb24a0c4ed6ebf6d64acba6cdf43 Mon Sep 17 00:00:00 2001 From: Claude Date: Sun, 21 Jun 2026 10:46:13 +0000 Subject: [PATCH 1/2] ci: repair unresolvable actions/cache SHA pin (v4.2.0) The pin actions/cache@d4373f267a887d77f9eb0683a479ec60b1fe5b2b (commented "# v4.2.0") does not correspond to any real actions/cache tag. Consumer repos fail their CI with: Unable to resolve action `actions/cache@d4373f267a887d77f9eb0683a479ec60b1fe5b2b`, unable to find version `d4373f267a887d77f9eb0683a479ec60b1fe5b2b` This broke the Hypatia scan and governance reusable workflows wherever they are called (e.g. wokelangiser "scan / Hypatia Neurosymbolic Analysis"). Restore the correct immutable v4.2.0 commit (1bd1e32a3bdc45362d1e726936510720a7c30a57), preserving the existing version comment. Affected: - .github/workflows/governance-reusable.yml - .github/workflows/hypatia-scan-reusable.yml Co-Authored-By: Claude Opus 4.8 Claude-Session: https://claude.ai/code/session_019jyAkRNSMqEJaRhvpned2K --- .github/workflows/governance-reusable.yml | 2 +- .github/workflows/hypatia-scan-reusable.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/governance-reusable.yml b/.github/workflows/governance-reusable.yml index d9e41f4e..130cd71e 100644 --- a/.github/workflows/governance-reusable.yml +++ b/.github/workflows/governance-reusable.yml @@ -53,7 +53,7 @@ jobs: otp-version: '28.3' - name: Cache Hex/Mix and Scanner Build - uses: actions/cache@d4373f267a887d77f9eb0683a479ec60b1fe5b2b # v4.2.0 + uses: actions/cache@1bd1e32a3bdc45362d1e726936510720a7c30a57 # v4.2.0 with: path: | ~/.mix diff --git a/.github/workflows/hypatia-scan-reusable.yml b/.github/workflows/hypatia-scan-reusable.yml index 95e71eaa..fc2376ab 100644 --- a/.github/workflows/hypatia-scan-reusable.yml +++ b/.github/workflows/hypatia-scan-reusable.yml @@ -26,7 +26,7 @@ jobs: otp-version: '28.3' - name: Cache Hex/Mix and Scanner Build - uses: actions/cache@d4373f267a887d77f9eb0683a479ec60b1fe5b2b # v4.2.0 + uses: actions/cache@1bd1e32a3bdc45362d1e726936510720a7c30a57 # v4.2.0 with: path: | ~/.mix From 7ef76905788507073fa54461c1a2213af5e4d017 Mon Sep 17 00:00:00 2001 From: Claude Date: Sun, 21 Jun 2026 10:50:56 +0000 Subject: [PATCH 2/2] ci: build Hypatia scanner from repo root (drop stale scanner/ path) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The "Build Hypatia scanner" step in the scan and governance reusable workflows still assumed the old hypatia layout: it ran `cd scanner && mix escript.build && mv hypatia ../hypatia-v2`. The hyperpolymath/hypatia repo has since been restructured so mix.exs lives at the repo root and there is no scanner/ subdirectory, so the step died with "cd: scanner: No such file or directory" (exit 1), failing the "scan / Hypatia Neurosymbolic Analysis" and "governance / Validate Hypatia Baseline" jobs. Build the escript (escript name: hypatia, per hypatia's mix.exs) directly from the cloned repo root. hypatia-cli.sh — which the scan step invokes — already prefers the root-level `hypatia` binary and self-builds it the same way, so this realigns the explicit pre-build step with the current layout. Affected: - .github/workflows/governance-reusable.yml - .github/workflows/hypatia-scan-reusable.yml Co-Authored-By: Claude Opus 4.8 Claude-Session: https://claude.ai/code/session_019jyAkRNSMqEJaRhvpned2K --- .github/workflows/governance-reusable.yml | 4 ++-- .github/workflows/hypatia-scan-reusable.yml | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/governance-reusable.yml b/.github/workflows/governance-reusable.yml index 130cd71e..67982740 100644 --- a/.github/workflows/governance-reusable.yml +++ b/.github/workflows/governance-reusable.yml @@ -70,8 +70,8 @@ jobs: - name: Build Hypatia scanner run: | cd "$HOME/hypatia" - if [ ! -f hypatia-v2 ]; then - cd scanner && mix deps.get && mix escript.build && mv hypatia ../hypatia-v2 + if [ ! -x hypatia ]; then + mix deps.get && mix escript.build fi - name: Run Hypatia scan (Baseline validation) diff --git a/.github/workflows/hypatia-scan-reusable.yml b/.github/workflows/hypatia-scan-reusable.yml index fc2376ab..39dca698 100644 --- a/.github/workflows/hypatia-scan-reusable.yml +++ b/.github/workflows/hypatia-scan-reusable.yml @@ -43,8 +43,8 @@ jobs: - name: Build Hypatia scanner run: | cd "$HOME/hypatia" - if [ ! -f hypatia-v2 ]; then - cd scanner && mix deps.get && mix escript.build && mv hypatia ../hypatia-v2 + if [ ! -x hypatia ]; then + mix deps.get && mix escript.build fi - name: Run Hypatia scan