Repository navigation
proofs: write the receipt with the estate shared generator (do not merge: pins an unmerged standards commit) - #189
Merged
hyperpolymath merged 1 commit intoNov 17, 2026
Conversation
scripts/proof-receipt.sh was januskey's own generator, written before standards had a shared one (standards scripts/proof-receipt.sh, f6ebc5e). It is now a home script that fetches the shared generator, the reader, the reference digest and the §8.5.3 checker at one standards commit (each checked against its sha256) and supplies only januskey's data and hooks: the claim list, the run ledger, the run scopes, the trusted base, and each leg's invocation, input set and sibling import. - Run scopes (receipt_run_scope, added to the shared generator for this): the first Agda run predates Epistemic.agda, and the first Rocq and Lean runs re-proved T-1 alone, so each is listed only under the claims it checked, as januskey's own generator did. - Every ledger row now carries its inputs digest and what its run reported, copied from that run's log. A superseded row's digest is the reference digest of its leg's input set at that run's commit. - Regression: read by the same pinned reader, the old and new receipts agree on every claim, grade, leg, receipt (run, commit, state, digest, manifest, imports, axioms), the trusted base and the echoes. The deed's text differs only in its header and in one "; the run reported:" comment per receipt. - The gate is stricter: a change to a leg's inputs now fails it until a new run is recorded or the current one is marked superseded or regressed (which drops the grade), where januskey's generator only warned. PROOF-GRADES and PROOF-NEEDS say so. The standards pin (15ef29e) is the branch commit that adds receipt_run_scope; it moves to that change's main commit once it merges. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_013CuBToxr5h9catptGiTsFX
|
hyperpolymath
marked this pull request as ready for review
November 17, 2026 02:12
Codex Review Summary: ❌ FailedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
hyperpolymath
marked this pull request as draft
November 17, 2026 04:19
hyperpolymath
marked this pull request as ready for review
November 17, 2026 04:36
hyperpolymath
merged commit Nov 17, 2026
0ad7195
into
claude/vibrant-cori-lirqrr-receipt
20 checks passed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.



What
scripts/proof-receipt.shwas januskey's own receipt generator, written before standards had a shared one. It now uses the estate's shared generator (standardsscripts/proof-receipt.sh).Epistemic.agda, and the first Rocq and Lean runs re-proved T-1 alone. Each is listed only under the claims it checked, as before. The shared generator could not express this, so the owner chose to add the hook at source (standards branch above) rather than drop or misattribute that history.proof-inputs-sha256.sh COMMIT PATHS…) of its leg's input set at that run's commit.Regression
The old and new receipts were read with the same pinned reader, and their outputs compared after normalising. They are identical on:
foundation_diverse;The deed's text differs only in its header comment and in the
; the run reported: …line the shared generator writes above each receipt.Behaviour change
The gate is now stricter. A change to a leg's inputs fails
--checkuntil one of two things happens:supersededorregressed, which drops the grade until a new run is recorded (§8.4).januskey's own generator only warned in that case. PROOF-GRADES and PROOF-NEEDS now say so. This is the shared generator's fail-loudly design.
Verification (local)
bash scripts/proof-receipt.sh --checkpasses:resource-algebraimport at its pin;--run-rowreproduces the current digests already in the deed: Agda6e17ce4a…, with the importadddbf38….shellcheck -x scripts/proof-receipt.sh: clean. One directive covers SC2317, because the hooks are called by the sourced generator.dashboard-check: 144 tests measured, 12 PROVEN claims.Generated by Claude Code