From fd73f399360f49b85f487779b6184dbe2ccedb19 Mon Sep 17 00:00:00 2001 From: Max Ghenis Date: Sat, 10 Oct 2026 07:19:01 -0400 Subject: [PATCH 1/2] Run the Axiom parity check on pull requests (warn-only) Calls PolicyEngine/.github's reusable axiom-parity workflow, which verifies the PR description's axiom: line and comments with suggested lines. It reports and never blocks while in warn mode. The PR template now shows the canonical claims, including the companion test and the n/a category. Co-Authored-By: Claude Opus 5.5 --- .github/PULL_REQUEST_TEMPLATE.md | 4 ++-- .github/workflows/axiom-parity.yaml | 20 ++++++++++++++++++++ changelog.d/axiom-parity-check.changed.md | 1 + 3 files changed, 23 insertions(+), 2 deletions(-) create mode 100644 .github/workflows/axiom-parity.yaml create mode 100644 changelog.d/axiom-parity-check.changed.md diff --git a/.github/PULL_REQUEST_TEMPLATE.md b/.github/PULL_REQUEST_TEMPLATE.md index efaaeeb295..a585be5e75 100644 --- a/.github/PULL_REQUEST_TEMPLATE.md +++ b/.github/PULL_REQUEST_TEMPLATE.md @@ -8,5 +8,5 @@ Fixes # - [ ] `make format` - [ ] Changelog fragment in `changelog.d/` - -axiom: encoded-correct | encoded | queued | n/a: + +axiom: encoded-correct () | encoded | queued | n/a: : diff --git a/.github/workflows/axiom-parity.yaml b/.github/workflows/axiom-parity.yaml new file mode 100644 index 0000000000..1b4288f13b --- /dev/null +++ b/.github/workflows/axiom-parity.yaml @@ -0,0 +1,20 @@ +# Checks the PR description's axiom: line (PolicyEngine/.github CONTRIBUTING, +# "Mirror policy changes in Axiom") and suggests one. Warn-only for now: it +# reports what would fail in the job summary and never blocks merging. +name: Axiom parity + +on: + pull_request: + types: [opened, edited, synchronize, reopened, ready_for_review] + +permissions: + contents: read + +jobs: + axiom-parity: + uses: PolicyEngine/.github/.github/workflows/axiom-parity.yml@main + with: + mode: warn + permissions: + contents: read + pull-requests: write diff --git a/changelog.d/axiom-parity-check.changed.md b/changelog.d/axiom-parity-check.changed.md new file mode 100644 index 0000000000..4ef2eed180 --- /dev/null +++ b/changelog.d/axiom-parity-check.changed.md @@ -0,0 +1 @@ +Run the Axiom parity check on pull requests (warn-only for now) and show the canonical axiom line in the PR template. From 82a4db385d8db0104d29ec6b6868dced5f6ebca0 Mon Sep 17 00:00:00 2001 From: Max Ghenis Date: Sat, 10 Oct 2026 07:33:57 -0400 Subject: [PATCH 2/2] Point the Axiom parity caller at the PolicyEngine/.github#9 branch until it merges Co-Authored-By: Claude Opus 5.5 --- .github/workflows/axiom-parity.yaml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/axiom-parity.yaml b/.github/workflows/axiom-parity.yaml index 1b4288f13b..d3451f9435 100644 --- a/.github/workflows/axiom-parity.yaml +++ b/.github/workflows/axiom-parity.yaml @@ -12,9 +12,10 @@ permissions: jobs: axiom-parity: - uses: PolicyEngine/.github/.github/workflows/axiom-parity.yml@main + uses: PolicyEngine/.github/.github/workflows/axiom-parity.yml@axiom-parity-check with: mode: warn + tooling-ref: axiom-parity-check permissions: contents: read pull-requests: write