From 1fb87b37c7fb43c526fbb90257d8c3a99d178bdb Mon Sep 17 00:00:00 2001 From: cflmy Date: Wed, 18 Nov 2026 11:57:09 +0800 Subject: [PATCH] ci(knowledge): focused semantic anchors and proof linkage verification --- .github/workflows/knowledge-proof.yml | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 .github/workflows/knowledge-proof.yml diff --git a/.github/workflows/knowledge-proof.yml b/.github/workflows/knowledge-proof.yml new file mode 100644 index 0000000..1326573 --- /dev/null +++ b/.github/workflows/knowledge-proof.yml @@ -0,0 +1,25 @@ +name: knowledge-proof-integration +on: + pull_request: + paths: + - "src/sema/ir.rs" + - "src/knowledge/**" + - "src/prove/**" + - "tests/knowledge_proof.rs" + - ".github/workflows/knowledge-proof.yml" + workflow_dispatch: + +jobs: + knowledge: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - uses: dtolnay/rust-toolchain@stable + - name: Compile tests and run semantic anchor unit cases + run: cargo test --locked --lib sema::ir::tests -- --nocapture + - name: Knowledge / proof linkage tests + run: cargo test --locked --test knowledge_proof -- --nocapture + - name: Existing proof contracts + run: cargo test --locked --test prove + - name: Executable knowledge compatibility + run: cargo test --locked --test executable_knowledge