Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 10 additions & 1 deletion .github/workflows/proofs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ jobs:
- name: Install the pinned prover
run: |
apt-get update
apt-get install --no-install-recommends -y ca-certificates git agda-bin=2.6.4.3-1+b2
apt-get install --no-install-recommends -y ca-certificates curl git agda-bin=2.6.4.3-1+b2
- name: Checkout
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
Expand Down Expand Up @@ -87,6 +87,11 @@ jobs:
printf '::error title=Agda gate failed (rc=%s)::%s\n' "$rc" "$out"
fi
exit 0
# The receipt script sources the shared generator (standards
# scripts/proof-receipt.sh), fetched at its pin and sha256-checked.
# check-trusted-base.sh below already calls it (--inputs agda).
- name: Fetch the pinned receipt tools (sha256-checked)
run: bash scripts/grade-receipt.sh --fetch-reader
# PROOF-POLICY §8.4: the prover-supplied postulates of the import cone
# are exactly the trusted base the receipt lists (scripts/proof-flags.sh).
- name: Trusted base of the import cone
Expand Down Expand Up @@ -143,6 +148,10 @@ jobs:
run: test "$(git rev-parse HEAD)" = "$SOURCE_COMMIT"
- name: Both legs check, with no axioms
run: bash scripts/check-legs.sh 2>&1 | tee /tmp/legs.log
# The receipt script sources the shared generator (standards
# scripts/proof-receipt.sh), fetched at its pin and sha256-checked.
- name: Fetch the pinned receipt tools (sha256-checked)
run: bash scripts/grade-receipt.sh --fetch-reader
# The ledger rows of this run's Rocq and Lean legs, read from this run.
- name: Ledger rows of the Rocq and Lean legs
id: row
Expand Down
15 changes: 15 additions & 0 deletions CHANGELOG.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,21 @@ https://semver.org/spec/v2.0.0.html[Semantic Versioning].

==== Fixed

* **The receipt is written by the shared generator (standards `f6ebc5e`,
metadatastician/standards#1620).**
** `scripts/grade-receipt.sh` keeps this repository's ledgers and hooks and
sources the standard's `scripts/proof-receipt.sh`, which writes and checks
the receipt. The generator, the reader, the reference digest and the git
checker are pinned at `f6ebc5e`, each by sha256.
** The receipt is unchanged but for the line naming the reader's commit;
every claim stays `PWG-1`.
** The shared generator binds each Agda run to the trusted base it checked
(PROOF-POLICY §8.4). The current Agda row predates that field; its value
is the sha256 of `proof_trusted_base` at the run's own commit `7dfeab2`,
unchanged since.
* `verification/legs/README.adoc` no longer says the grade is `PWG-2ii`; the
receipt derives `PWG-1`.

* **The receipt lists its inputs, and the gate runs the shared git checker
(standards `e5a39d7`, #1545).**
** Each current receipt carries `(inputs-manifest (file :path :sha256) ...)`,
Expand Down
Loading
Loading