Repository navigation
Proof gate (true and false controls, receipt bound to the commit) and the beta gate definition - #54
Draft
hyperpolymath wants to merge 1 commit into
Draft
hyperpolymath wants to merge 1 commit into
hyperpolymath wants to merge 1 commit into
Conversation
… state - scripts/proofs/gate.sh: runs the Creusot harness from a digest-pinned prover image, requires a non-empty production scope included by path, a true control accepted and every false control refused by name, and writes a receipt binding commit, image, invocation and input digests. Its verifier invocation is unconfirmed: no Creusot image exists yet. - scripts/tests/proof-gate-test.sh: one silence and ten firing fixtures against stub verifiers. A stub run is recorded as such in the receipt. - CI: contract syntax check and the gate self-test. Neither is evidence. - docs/RELEASING.adoc: the beta gate, beside the preview gate. - verification/PROOF-STATUS.adoc: owner ruling, verifier state, Kani. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01J4QvDfneftEg71bUadt3v3
|
Review these changes at https://app.gitnotebooks.com/hyperpolymath/ijson-jcs/pull/54 |
|
Important Review skippedAuto reviews are disabled on base/target branches other than the default branch. Please check the settings in the CodeRabbit UI or the
|
|
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.



Stacked on #53 (base branch
claude/beta-proof-jcs), because the gate runs the harness that PR adds. Review #53 first.No prover has run. This PR adds the gate that will run one, tests the gate's own logic, and defines the beta gate. The proof gate is deliberately not wired to a workflow: no Creusot or Verus image exists in
hyperpolymath/prover-images(Agda and Lean only, read atc972dc9).What is in the PR
scripts/proofs/gate.shverification/creusot/SCOPEscripts/tests/proof-gate-test.sh.github/workflows/ci.ymldocs/RELEASING.adocverification/PROOF-STATUS.adocWhat the gate requires
PROVER_IMAGEpinned asNAME[:TAG]@sha256:<64 hex>.SCOPEexists and is included by path in the harness.--features false-controlthe verifier refuses, and its output names every false control.It then writes a receipt (canonical I-JSON, checked with this repository's own
ijson-jcs check --profile library) holding the commit, the image, the invocation and the sha256 of each input. A stub run writes"verifier":"stub"and the beta gate rejects that.Evidence (executed here)
bash scripts/tests/proof-gate-test.sh: 11 of 11 cases behave as required.SCOPEAlso:
cargo test --locked --all-features166 passed, 0 failed; harness syntax check 2 passed.shellcheckis not installed here, so the two scripts were not linted.Not done, stated plainly
PROOF_VERIFIER_CMD, defaultcargo creusot prove) is a guess until an image exists. The gate has only ever run against stubs.Row census
Denominator: the 9 obligations J-1 to J-9 from #53. This PR changes none:
PROVEN0,TESTED3,OPEN6. It adds no proof evidence.For the owner
The beta gate text in
docs/RELEASING.adocis a proposal: in particular which rows must bePROVENfor beta (I named J-1, J-2, J-4, J-6, J-7 and the reader's termination, panic-freedom and duplicate rejection), and that anOPENrow blocks the tag unless ruled out of scope in writing.Generated by Claude Code