Plan, apply and roll back changes to a production ontology, with a blast radius report and a proof an auditor can re-check.
Rust ai-nativedescription-logicsformal-verificationinfrastructure-as-codeisabelle-languageknowledge-graphleanlean4mcpmcp-serverontologyowlowl2reasoningrustshaclsparqltheorem-proving
Pin GitHub Actions to exact release commit SHAs
lpmi-1382a88139b6bc
diff --git a/.github/workflows/benchmark.yml b/.github/workflows/benchmark.ymlindex f4440699..f1ae09e1 100644--- a/.github/workflows/benchmark.yml+++ b/.github/workflows/benchmark.yml@@ -8,14 +8,14 @@ jobs:env:FORCE_JAVASCRIPT_ACTIONS_TO_NODE24: truesteps:- - uses: actions/checkout@v4+ - uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262 # v4.4.0- uses: dtolnay/rust-toolchain@stable- - uses: Swatinem/rust-cache@v2- - uses: actions/setup-java@v4+ - uses: Swatinem/rust-cache@d1527c8f67ef9af357290475d4af4b0fab8f12e0 # v2.9.3+ - uses: actions/setup-java@7f4fc3e22c37d6ff65e88745f38bd3157c663f7c # v4.9.1with:distribution: 'temurin'java-version: '21'- - uses: actions/setup-python@v5+ - uses: actions/setup-python@b6effb05e454b25005698d916606bdc6ffcbf961 # v5.7.0with:python-version: '3.12'- name: Install Python deps@@ -33,7 +33,7 @@ jobs:export OO_BIN=./target/release/open-ontologiescd benchmark/reasoner && bash run_lubm_performance.sh- name: Upload results- uses: actions/upload-artifact@v4+ uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2with:name: benchmark-resultspath: benchmark/reasoner/results/diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.ymlindex 4a300db7..df46ff58 100644--- a/.github/workflows/ci.yml+++ b/.github/workflows/ci.yml@@ -30,7 +30,7 @@ jobs:CARGO_INCREMENTAL: 0CARGO_PROFILE_DEV_DEBUG: 0steps:- - uses: actions/checkout@v4+ - uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262 # v4.4.0- name: Free disk spaceif: runner.os == 'Linux'run: |@@ -40,7 +40,7 @@ jobs:- uses: dtolnay/rust-toolchain@stablewith:components: clippy- - uses: Swatinem/rust-cache@v2+ - uses: Swatinem/rust-cache@d1527c8f67ef9af357290475d4af4b0fab8f12e0 # v2.9.3with:# Save the build cache even when the job fails. The default discards# it, and these jobs fail most often on a lint or a single test leg@@ -119,7 +119,7 @@ jobs:name: paths / windows-saferuns-on: ubuntu-lateststeps:- - uses: actions/checkout@v4+ - uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262 # v4.4.0- name: Reject paths Windows cannot check outrun: |bad=$(git ls-files -z | tr '\0' '\n' \@@ -174,7 +174,7 @@ jobs:CARGO_INCREMENTAL: 0CARGO_PROFILE_DEV_DEBUG: 0steps:- - uses: actions/checkout@v4+ - uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262 # v4.4.0- name: Free disk spacerun: |sudo rm -rf /usr/share/dotnet /usr/local/lib/android /opt/ghc /usr/local/share/powershell /usr/local/share/chromium /usr/local/share/edge@@ -210,7 +210,7 @@ jobs:- uses: dtolnay/rust-toolchain@stablewith:components: clippy- - uses: Swatinem/rust-cache@v2+ - uses: Swatinem/rust-cache@d1527c8f67ef9af357290475d4af4b0fab8f12e0 # v2.9.3with:# Save the build cache even when the job fails. The default discards# it, and these jobs fail most often on a lint or a single test leg@@ -279,9 +279,9 @@ jobs:PYSHACL_VERSION: "0.40.1"RDFLIB_VERSION: "7.6.0"steps:- - uses: actions/checkout@v4+ - uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262 # v4.4.0- uses: dtolnay/rust-toolchain@stable- - uses: Swatinem/rust-cache@v2+ - uses: Swatinem/rust-cache@d1527c8f67ef9af357290475d4af4b0fab8f12e0 # v2.9.3with:# Save the build cache even when the job fails. The default discards# it, and these jobs fail most often on a lint or a single test leg@@ -291,7 +291,7 @@ jobs:# after a full build, and the lean job rebuilt a release binary from# cold for twelve minutes on a rerun that changed one line.cache-on-failure: true- - uses: actions/setup-python@v5+ - uses: actions/setup-python@b6effb05e454b25005698d916606bdc6ffcbf961 # v5.7.0with:python-version: '3.11'- name: Install the pinned oracle@@ -307,7 +307,7 @@ jobs:--json shacl-differential.json- name: Upload the reportif: always()- uses: actions/upload-artifact@v4+ uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2with:name: shacl-differentialpath: shacl-differential.json@@ -345,9 +345,9 @@ jobs:env:CARGO_INCREMENTAL: 0steps:- - uses: actions/checkout@v4- - uses: astral-sh/setup-uv@v5- - uses: actions/setup-python@v5+ - uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262 # v4.4.0+ - uses: astral-sh/setup-uv@d4b2f3b6ecc6e67c4457f6d3e41ec42d3d0fcb86 # v5.4.2+ - uses: actions/setup-python@b6effb05e454b25005698d916606bdc6ffcbf961 # v5.7.0with:python-version: '3.10' # the floor declared by requires-python# The Lean checker. Same action and same inputs as the `lean` job; building@@ -359,7 +359,7 @@ jobs:# second is the one that decides the job, so a real proof failure still# fails it, only later.- id: lean1- uses: leanprover/lean-action@v1+ uses: leanprover/lean-action@24581d74d674803a25a81b10b059c5c0cdd344c6 # v1.6.2continue-on-error: truewith:lake-package-directory: lean@@ -370,7 +370,7 @@ jobs:- if: steps.lean1.outcome == 'failure'run: sleep 90- if: steps.lean1.outcome == 'failure'- uses: leanprover/lean-action@v1+ uses: leanprover/lean-action@24581d74d674803a25a81b10b059c5c0cdd344c6 # v1.6.2with:lake-package-directory: leanbuild: true@@ -378,7 +378,7 @@ jobs:lint: falseuse-github-cache: true- uses: dtolnay/rust-toolchain@stable- - uses: Swatinem/rust-cache@v2+ - uses: Swatinem/rust-cache@d1527c8f67ef9af357290475d4af4b0fab8f12e0 # v2.9.3with:# Save the build cache even when the job fails. The default discards# it, and these jobs fail most often on a lint or a single test leg@@ -455,8 +455,8 @@ jobs:name: studio (typecheck)runs-on: ubuntu-lateststeps:- - uses: actions/checkout@v4- - uses: actions/setup-node@v4+ - uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262 # v4.4.0+ - uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0with:node-version: '20'cache: npm@@ -493,14 +493,14 @@ jobs:CARGO_INCREMENTAL: 0CARGO_PROFILE_DEV_DEBUG: 0steps:- - uses: actions/checkout@v4+ - uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262 # v4.4.0# releases.lean-lang.org has dropped TLS connections for minutes at a# time (19 Oct 2026: every python and lean job failed fetching the# toolchain, with no code at fault). The first attempt may fail; the# second is the one that decides the job, so a real proof failure still# fails it, only later.- id: lean2- uses: leanprover/lean-action@v1+ uses: leanprover/lean-action@24581d74d674803a25a81b10b059c5c0cdd344c6 # v1.6.2continue-on-error: truewith:lake-package-directory: lean@@ -511,7 +511,7 @@ jobs:- if: steps.lean2.outcome == 'failure'run: sleep 90- if: steps.lean2.outcome == 'failure'- uses: leanprover/lean-action@v1+ uses: leanprover/lean-action@24581d74d674803a25a81b10b059c5c0cdd344c6 # v1.6.2with:lake-package-directory: leanbuild: true@@ -519,7 +519,7 @@ jobs:lint: falseuse-github-cache: true- uses: dtolnay/rust-toolchain@stable- - uses: Swatinem/rust-cache@v2+ - uses: Swatinem/rust-cache@d1527c8f67ef9af357290475d4af4b0fab8f12e0 # v2.9.3with:# Save the build cache even when the job fails. The default discards# it, and these jobs fail most often on a lint or a single test leg@@ -837,7 +837,7 @@ jobs:# test fails on any row at all.- name: Cache Poly/MLid: polyml- uses: actions/cache@v4+ uses: actions/cache@0057852bfaa89a56745cba8c7296529d2fc39830 # v4.3.0with:path: ~/polymlkey: polyml-5.9.2-2-${{ runner.arch }}@@ -956,9 +956,9 @@ jobs:CARGO_INCREMENTAL: 0CARGO_PROFILE_DEV_DEBUG: 0steps:- - uses: actions/checkout@v4+ - uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262 # v4.4.0- uses: dtolnay/rust-toolchain@stable- - uses: Swatinem/rust-cache@v2+ - uses: Swatinem/rust-cache@d1527c8f67ef9af357290475d4af4b0fab8f12e0 # v2.9.3with:# Save the build cache even when the job fails. The default discards# it, and these jobs fail most often on a lint or a single test leg@@ -979,7 +979,7 @@ jobs:run: OO_REQUIRE_FIXTURES=1 cargo test --test shacl_validation_report_w3c_test -- --nocapture- name: Upload the per-test reportif: always()- uses: actions/upload-artifact@v4+ uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2with:name: w3c-shacl-conformancepath: w3c-shacl-conformance.logdiff --git a/.github/workflows/demo-artifacts.yml b/.github/workflows/demo-artifacts.ymlindex 69fdaf06..7b98335e 100644--- a/.github/workflows/demo-artifacts.yml+++ b/.github/workflows/demo-artifacts.yml@@ -4,7 +4,7 @@ jobs:manifest:runs-on: ubuntu-lateststeps:- - uses: actions/checkout@v4+ - uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262 # v4.4.0- name: Verify committed artifacts match their manifestrun: cd demo/precomputed && shasum -a 256 -c MANIFEST.sha256# MANIFEST.sha256 only proves each committed file matches its OWNdiff --git a/.github/workflows/docker.yml b/.github/workflows/docker.ymlindex 80afce4f..83554115 100644--- a/.github/workflows/docker.yml+++ b/.github/workflows/docker.yml@@ -26,7 +26,7 @@ jobs:CARGO_INCREMENTAL: 0CARGO_PROFILE_RELEASE_DEBUG: 0steps:- - uses: actions/checkout@v4+ - uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262 # v4.4.0# Only on a tag push, where this workflow publishes an image. A tag that# does not carry its own version produces an image whose binary reports@@ -42,7 +42,7 @@ jobs:df -h- name: Set up Buildx- uses: docker/setup-buildx-action@v3+ uses: docker/setup-buildx-action@8d2750c68a42422c14e847fe6c8ac0403b4cbd6f # v3.12.0# Build into the local daemon first so the image can be smoke-tested# before anything is pushed. A plain build only proves the layers@@ -50,7 +50,7 @@ jobs:# every shared library, which is exactly what was missing in issue #59# (libz.so.1). Nothing validated the published image before this.- name: Build image- uses: docker/build-push-action@v6+ uses: docker/build-push-action@10e90e3645eae34f1e60eeb005ba3a3d33f178e8 # v6.19.2with:context: .load: true@@ -63,7 +63,7 @@ jobs:- name: Log in to GHCRif: startsWith(github.ref, 'refs/tags/v')- uses: docker/login-action@v3+ uses: docker/login-action@c94ce9fb468520275223c153574b00df6fe4bcc9 # v3.7.0with:registry: ${{ env.REGISTRY }}username: ${{ github.actor }}@@ -72,7 +72,7 @@ jobs:- name: Extract metadataif: startsWith(github.ref, 'refs/tags/v')id: meta- uses: docker/metadata-action@v5+ uses: docker/metadata-action@c299e40c65443455700f0fdfc63efafe5b349051 # v5.10.0with:images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}tags: |@@ -82,7 +82,7 @@ jobs:- name: Push imageif: startsWith(github.ref, 'refs/tags/v')- uses: docker/build-push-action@v6+ uses: docker/build-push-action@10e90e3645eae34f1e60eeb005ba3a3d33f178e8 # v6.19.2with:context: .push: truediff --git a/.github/workflows/python-release.yml b/.github/workflows/python-release.ymlindex fffd3aa8..aac4ddaf 100644--- a/.github/workflows/python-release.yml+++ b/.github/workflows/python-release.yml@@ -18,15 +18,15 @@ jobs:build:runs-on: ubuntu-lateststeps:- - uses: actions/checkout@v4- - uses: astral-sh/setup-uv@v5+ - uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262 # v4.4.0+ - uses: astral-sh/setup-uv@d4b2f3b6ecc6e67c4457f6d3e41ec42d3d0fcb86 # v5.4.2- name: Build wheel + sdistworking-directory: pythonrun: uv build- name: Check metadataworking-directory: pythonrun: uvx twine check dist/*- - uses: actions/upload-artifact@v4+ - uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2with:name: distpath: python/dist/@@ -38,9 +38,9 @@ jobs:permissions:id-token: write # OIDC token for Trusted Publishing; no secret neededsteps:- - uses: actions/download-artifact@v4+ - uses: actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093 # v4.3.0with:name: distpath: dist/- name: Publish to PyPI- uses: pypa/gh-action-pypi-publish@release/v1+ uses: pypa/gh-action-pypi-publish@7245906fb61fa33a13554f9d5fb856fe61758086 # v1.14.3diff --git a/.github/workflows/release.yml b/.github/workflows/release.ymlindex 23615322..da188906 100644--- a/.github/workflows/release.yml+++ b/.github/workflows/release.yml@@ -13,7 +13,7 @@ jobs:timeout-minutes: 5runs-on: ubuntu-22.04steps:- - uses: actions/checkout@v4+ - uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262 # v4.4.0- run: scripts/check-release-version.sh "${{ github.ref_name }}"build:@@ -37,7 +37,7 @@ jobs:artifact_name: open-ontologies.exeruns-on: ${{ matrix.os }}steps:- - uses: actions/checkout@v4+ - uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262 # v4.4.0- uses: dtolnay/rust-toolchain@stablewith:targets: ${{ matrix.target }}@@ -66,7 +66,7 @@ jobs:- name: Buildrun: cargo build --release --features embeddings,plugins --target ${{ matrix.target }}- name: Upload binary- uses: actions/upload-artifact@v4+ uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2with:name: open-ontologies-${{ matrix.target }}path: target/${{ matrix.target }}/release/${{ matrix.artifact_name }}@@ -89,14 +89,14 @@ jobs:timeout-minutes: 30runs-on: ubuntu-lateststeps:- - uses: actions/checkout@v4+ - uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262 # v4.4.0# releases.lean-lang.org has dropped TLS connections for minutes at a# time (19 Oct 2026: every python and lean job failed fetching the# toolchain, with no code at fault). The first attempt may fail; the# second is the one that decides the job, so a real proof failure still# fails it, only later.- id: lean1- uses: leanprover/lean-action@v1+ uses: leanprover/lean-action@24581d74d674803a25a81b10b059c5c0cdd344c6 # v1.6.2continue-on-error: truewith:lake-package-directory: lean@@ -107,7 +107,7 @@ jobs:- if: steps.lean1.outcome == 'failure'run: sleep 90- if: steps.lean1.outcome == 'failure'- uses: leanprover/lean-action@v1+ uses: leanprover/lean-action@24581d74d674803a25a81b10b059c5c0cdd344c6 # v1.6.2with:lake-package-directory: leanbuild: true@@ -140,7 +140,7 @@ jobs:[ "$fo" = 1 ] || { echo "::error::no first-order resolution checker under either name"; exit 1; }ls -la out- - uses: actions/upload-artifact@v4+ - uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2with:name: checkers-x86_64-unknown-linux-gnupath: out/*@@ -157,8 +157,8 @@ jobs:id-token: writeattestations: writesteps:- - uses: actions/checkout@v4- - uses: actions/download-artifact@v4+ - uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262 # v4.4.0+ - uses: actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093 # v4.3.0- name: Rename binariesrun: |for dir in open-ontologies-*/; do@@ -206,7 +206,7 @@ jobs:| sed 's| .*/| |' > SHASUMS.txtcat SHASUMS.txt- name: Attest build provenance- uses: actions/attest-build-provenance@v4+ uses: actions/attest-build-provenance@4d101475d8b20a2381f78447822ac1eab6504dd8 # v4.2.2with:# Runs after the rename so each attested subject name is the name the# asset is published under.@@ -221,7 +221,7 @@ jobs:: > release-notes.mdfi- name: Create release- uses: softprops/action-gh-release@v2+ uses: softprops/action-gh-release@3bb12739c298aeb8a4eeaf626c5b8d85266b0e65 # v2.6.2with:body_path: release-notes.mdfiles: |