Repository navigation
Proof receipt from the shared generator, at 15fa113; gate it in CI (31 rows PWG-2ii) - #52
hyperpolymath wants to merge 10 commits into
Conversation
The receipt now describes source commit 2b9bf3f and proofs.yml run 44202493421. C-4b gets the same three legs as C-4a. M-2 gets a Lean leg (LEAN-CHECKED), an unavailable Rocq leg and an open Agda leg, since the receipt profile gives every claim an Agda source leg. The Lean job checks the leg and the M-2 bridge in one run, so all Lean legs share one receipt, which imports tropical-types at f2e465c (PROOF-POLICY 8.5.1). The Rocq receipts name their digest-pinned image. The reader at standards 940a27af derives PWG-2ii for 28 rows and ungraded for M-2. No row is PWG-1: since standards#1625, PWG-1 needs every counted checker to run in an image pinned by digest, and the Agda and Lean legs do not yet. The earlier PWG-1 grades came from a reader that predates that rule; the proofs are unchanged. PROOF-NEEDS gains PN-6 for the images. check-proof-receipt.sh holds for every check, the import included. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01LiQzWJdcPfRU6YMDGRG8Xi
The Receipts table gave the Agda and Lean receipts' :inputs-sha256 but the file SHA-256 of ResourceAlgebra.v for Rocq. It now gives the Rocq receipt's :inputs-sha256 (608d32f3…c6eb296a5), with the file hash labelled. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01LiQzWJdcPfRU6YMDGRG8Xi
Main merged #45 (E-1, E-2, E-3: the Evidence algebra and ledger status derivation, with Rocq and Lean legs). Rather than land a receipt for 2b9bf3f that leaves three rows ungraded, the receipt now describes 15fa113, the merge of #45, from proofs.yml run 44209774341, in which all three legs and the M-2 bridge passed. - The Agda manifest adds Instances/Evidence.agda and Ledger.agda. - E-1, E-2 and E-3 get the same three legs as C-4a. - Every Lean receipt still lists the bridge with ResourceAlgebra.lean and lean-toolchain and imports tropical-types at f2e465c (one input digest per commit and prover). - The reader at standards 940a27af derives PWG-2ii for 31 rows and ungraded for M-2 (32 rows); check-proof-receipt.sh holds for every check, the import included. PROOF-STATUS conflicts: the census is restated for 15fa113. The E-1 row is kept from main and graded, and the recheck-legs note no longer excepts the E rows. PROOF-NEEDS: main's PN-6 (E-row recheck legs) stays and records the grade; the digest-pinned image item becomes PN-7. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01LiQzWJdcPfRU6YMDGRG8Xi
Conflicts in docs/status only. PROOF-STATUS census: 32 theory rows, 28 PWG-2ii at 2b9bf3f and 4 ungraded (M-2, and E-1..E-3, which postdate the receipt's commit). PROOF-NEEDS: main's PN-6 (recheck E-1..E-3, done in #45) keeps its number, and the digest-pinned-images need this branch added as PN-6 becomes PN-7; the CHANGELOG reference follows. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_013CuBToxr5h9catptGiTsFX
scripts/proof-receipt.sh is this repository's home script for the estate's shared receipt generator (standards scripts/proof-receipt.sh): it holds the claim list, the run ledger and the hooks that name each leg's invocation and input set, and fetches the generator, the reader, the reference digest and the git checker at one pinned standards commit, each checked against its sha256. The receipt is now written by --write and checked by --check, not by hand. The receipt describes 15fa113 and proofs.yml run 44209774341, in which all three legs passed. The reader derives PWG-2ii for 31 rows, among them C-4b and E-1, E-2, E-3, which had no receipt, and ungraded for M-2 (a Lean bridge with no Agda statement). No row is PWG-1: only the Rocq job runs in an image pinned by digest (PN-7). The Lean input set gains scripts/check-lean-bridge.sh, which holds the pin of tropical-types and says of itself that a repin changes the home input digest. Before this, the generator was run against the hand-written receipt at 2b9bf3f: the reader's output was identical for all 29 claims. The standards pin (f4e83044) is on the branch claude/receipt-open-claims, not yet on standards main. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_013CuBToxr5h9catptGiTsFX
Add a `receipt` job that runs `scripts/proof-receipt.sh --check` with a pinned Bun (PROOF-POLICY section 8.5.1 and 8.5.3), and add it to the `Proofs verdict` job's needs. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_013CuBToxr5h9catptGiTsFX
PROOF-STATUS, PROOF-NEEDS and CHANGELOG now describe the receipt at 15fa113 (merge of #45), run 44209774341: 32 theory rows, 31 PWG-2ii, 1 ungraded (M-2). E-1 to E-3 and C-4b are PWG-2ii. The receipt is generated and checked by scripts/proof-receipt.sh; recording a new run is still manual. The receipt at 2b9bf3f joins the superseded list. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_013CuBToxr5h9catptGiTsFX
… asks of a change The digests in the receipt table are the generator's, from git objects with the reference script, not the run summaries' commands. A change to a leg's inputs now fails the receipt job until the ledger marks that leg's row superseded and the receipt is regenerated; say so where a reader will meet it. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_013CuBToxr5h9catptGiTsFX
…tor branch #50 merged main itself and rewrote its hand-written receipt for 15fa113 and run 44209774341, the same commit and run this branch's generated receipt describes. Both give 31 rows PWG-2ii and M-2 ungraded, and both number the digest-pinned-images need PN-7. The four conflicts (CHANGELOG, PROOF-NEEDS, PROOF-STATUS, the receipt) are resolved to this branch's side: the generated receipt and the documents that describe the generator and its gate. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_013CuBToxr5h9catptGiTsFX
|
The suite's gate ( (run 44214954315). So every start of one of those workflows posts a The fix belongs in the suite, which I cannot push to. Proposed patch for the line that builds the description (tested with -desc=$(jq -rn --arg n "$RUN_NAME" '"re-run started: " + $n | if length > 140 then .[0:139] + "…" else . end')
+desc=$(jq -rn --arg n "$RUN_NAME" '"re-run started: " + ($n | [explode[] | select(. < 65536)] | implode | sub("^\\s+"; "")) | if length > 140 then .[0:139] + "…" else . end')I have not renamed the workflows here: that would be a downstream workaround for a suite bug, and their names come from the template. Generated by Claude Code |
|
More failures on this PR's heads; none is its own. The prover legs,
I will re-run the failed jobs once when the repository is quiet. Generated by Claude Code |
|
Warning Review limit reachedYou've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository. Next included review available in 44 minutes. View limit details
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. |
|



Summary
The proof receipt is no longer written by hand.
scripts/proof-receipt.shis this repository's home script for the estate's shared receipt generator (standardsscripts/proof-receipt.sh). It writes the receipt with--writeand a newreceiptjob inproofs.ymlchecks it with--checkon every commit.The receipt describes
15fa113(the merge of #45) andproofs.ymlrun 44209774341, in which all three legs passed.The grades
Out of 32 theory rows the reader derives PWG-2ii for 31 and ungraded for 1 (M-2).
lake. That work is on its way as a separate change against main.Changes
scripts/proof-receipt.sh(new): the claim list, the run ledger and the hooks that name each leg's invocation and input set. It fetches the generator, the reader, the reference digest and the git checker at one pinned standards commit and checks each against its sha256.verification/receipts/resource-algebra-proofs_praxis.deed: generated at15fa113.scripts/check-lean-bridge.sh. That script holds the tropical-types pin and says of itself that a repin changes the home input digest; the hand-written manifests did not list it..github/workflows/proofs.yml: jobreceipt(pinned Bun by sha256, full-history checkout,--check), added to theProofs verdictjob'sneeds:.docs/status/PROOF-STATUS.adoc,docs/status/PROOF-NEEDS.adoc,CHANGELOG.adoc: the generator, the gate, the digests it computes, and what the gate asks of a later change.docs/status,CHANGELOG.adocand the receipt, resolved to the generated receipt and the documents that describe it.What the gate asks of a later change
A pull request that changes a leg's inputs (
src/, a recheck file, the bridge, the tropical-types pin) will fail thereceiptjob, because that leg's current receipt no longer describes the tree. The change marks the rowsupersededin the ledger and regenerates the receipt, so the grades fall to what the remaining receipts support (§8.4). A follow-up records the main run of the new commit. PROOF-STATUS says this where a reader meets it.Testing
2b9bf3f. The reader's output was identical for all 29 claims (after three generator fixes found by that comparison, which are in the standards PR).15fa113: same grades for all 32 claims; the differences are the checker strings and the extra Lean input.bash scripts/proof-receipt.sh --check: exit 0, endsPASS: negative control (the first claim recorded as :pwg PWG-1 is refused: its legs support PWG-2ii).--checkexit 1 with the stated reason, and the baseline passed before and after: an Agda input changed; the Rocq file changed; the tropical-types pin changed; a grade hand-edited to PWG-1; a row id removed from PROOF-STATUS.tests/workflows/ci_gate_test.sh: passes (the gate needs every other job).scripts/check-adoc-renders.sh: all 163 tracked.adocfiles render clean.check-no-md-in-docs.shandcheck-no-placeholders.shpass.tests/workflows/pass here. The other five need tools this container lacks or has in another form (nickel; ayqwith thekyamlformat;check_adoc_renders_test.shfails the same way on an untouched checkout of main). CI will show them.actionlintonproofs.yml: two SC2016 notices on a step this change does not touch; none from the new job.15fa113; this change touches none of their inputs, which the gate checks.RSR Quality Checklist
Required
.envfiles includedAs Applicable
CHANGELOGupdated🤖 Generated with Claude Code
https://claude.ai/code/session_013CuBToxr5h9catptGiTsFX