Repository navigation
FEAT-105 slice 3: trust-escape ledger; pin all actions to SHAs - #250
Merged
Merged
Conversation
…trols (#207) proofs/trust-ledger.tsv records what the proofs rest on without proving it. tools/proof-audit gains a `ledger` command: generated rows (Section Variable/Hypothesis premises scanned from proofs/rocq, axioms from the kernel audit output) must equal the file's gen rows in both directions; each proof file needs a hand-mirror row; hand rows must name existing files; against the base branch's ledger the row count may only grow when an override line names the new count. `Context` is refused, not skipped. Ledger today: 36 rows, 10 generated (Poly.v, Reachable.v, StackBound.v premises; 0 axioms) and 26 hand (20 hand-mirror models, 5 gamma-swept transfer families with sweep geometry, the rules_verus fork pin). The Rocq job gains the ledger step and a second control step: an unrecorded Hypothesis must fail the ledger (run locally: exit 1 with the exact row), and a false lemma must be rejected by coqc. 18 unit tests. Refs: FEAT-105 Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01KEjmjaju7y4RBwmiuZ7Eem
Org-wide owner decision, 2026-11-20: every action pinned to a full commit SHA with a version comment. Resolved with git ls-remote against upstream: - dtolnay/rust-toolchain@stable -> 39008827e6b4 (branch stable), 11 uses. The action reads the toolchain from its ref, so each use now passes `toolchain: stable` explicitly. - pulseengine/rivet [email protected] -> 189f020e9b36 (peeled tag). - pulseengine/witness [email protected] -> beef955ea724 (peeled tag). After this, every `uses:` under .github/ is a 40-hex SHA with a comment. check-evidence-substrate still reports only the scry#215 witness skew. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01KEjmjaju7y4RBwmiuZ7Eem
This was referenced Nov 22, 2026
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.
Third slice of FEAT-105 (#207): a trust-escape ledger for scry's proofs, checked in the required
Rocq Formal Proofsjob.What changes
proofs/trust-ledger.tsv: one row per thing the proofs rest on without proving it,origin kind where name note.Variable/Hypothesispremises of Poly.v, Reachable.v and StackBound.v, plus axioms reported by the kernel audit (none today).tools/proof-audit ledgerfails when:hand-mirrorrow, or ahand-mirrorrow names a non-proof;override<TAB><new count><TAB><reason>;Context(refused, since it is not parsed).ci.yml,rocq-proofsjob: the ledger step (baseline = the PR base's ledger; this PR introduces it, so its own run prints a notice and skips the shrink check) and a control step: an unrecordedHypothesismust fail the ledger, andLemma broken : 1 + 1 = 3must be rejected by coqc.Evidence so far
proof-audit ledger: 36 rows (10 generated, 26 hand), baseline 36: PASS.generated but not in the ledger (add this row): gen section-hypothesis proofs/rocq/Lattice.v planted_h.Also in this PR: every action pinned to a commit SHA
Org-wide owner decision (2026-11-20). The last three tag references are pinned, SHAs resolved with
git ls-remoteagainst upstream:dtolnay/rust-toolchain@stable->39008827e6b4(branchstable), 11 uses; each now passestoolchain: stable, since the action reads the toolchain from its ref;pulseengine/rivet/.../[email protected]->189f020e9b36(peeled tag);pulseengine/witness/.../[email protected]->beef955ea724(peeled tag).After this every
uses:under.github/is a 40-hex SHA with a version comment.check-evidence-substrate.pystill reports only the scry#215 witness skew (now 3 refs rather than 2, since the action is a SHA;beef955is the commit tagged v0.30.0). The release-only uses run first at the next tag.Limits
The ledger checks that rows are present, not that a hand row is true: nothing compares a Rocq model with the Rust it mirrors. Still open in FEAT-105: checking
required-checks.txtagainst the live ruleset (that tool is Python, so the change comes with a Rust port), a docs-only PR showing the Rocq context completed, and thenorth-star-input.O3.jsonrelease asset.🤖 Generated with Claude Code
https://claude.ai/code/session_01KEjmjaju7y4RBwmiuZ7Eem