Repository navigation
fix(proofs): re-pin secret-types to main, refresh the stale receipt, wire the leg self-tests - #27
hyperpolymath wants to merge 2 commits into
Conversation
…wire the leg self-tests Main has been red since #23 merged. Three commits that CodeRabbit pushed onto the branch never ran CI (each hit startup_failure). One of them added docstrings to Lintel.v, Instance.lean and Lattice.lean without regenerating the receipt, so `grade-receipt.sh --check` fails on main. - Re-pin hyperpolymath/secret-types from 45046c2 to 9fb8430, its main. 45046c2 was a commit on secret-types#29, which closed without merging (the work merged as #30, #32 and #34). Main's leg sources are byte-identical to the old pin. Its Agda differs only inside the cubical-compatible proof of Noninterference.Generic and its Prelude helper, and Lintel uses neither changed name. Module headers, README and PROOF-STATUS follow, and the open re-pin item is closed. - Regenerate verification/receipts/agda-pwg_praxis.deed: the new sibling commit and module digests, and the three leg inputs the docstrings changed. - grade-receipt.sh: deduplicate correspondence rows again (`sort -u`), so a claim that spans two rows passes, as it did before 72fac08. Rows that disagree on a state still fail. A missing record now gets a named error instead of awk's bare exit 2. - tests/check-legs-test.sh and tests/grade-receipt-legs-test.sh were committed by the bot but never run, and both failed against its own later fix (72fac08). They now expect "does not build" and the two-state record rows, cover PENDING and stateless rows, and run in the legs job. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01BYbQRtNu216R13jtZLmoqs
|
CI on Three workflows are red, and none of them is this PR's:
Each finishes at zero seconds with no jobs, so GitHub rejects the workflow before it starts. The same three fail the same way on All three call a reusable workflow across owners, from Generated by Claude Code |
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. |
|
You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard. |
…ison The owner reviewed the Rocq and Lean legs' statement comparison against the Agda theorems on 2026-11-16 (estate doctrine 4), so the docs and the receipt no longer call it provisional, and it leaves the Open list. The comparison stays a human check: no tool checks it. The receipt's :review line comes from scripts/grade-receipt.sh, changed at the source; --check passes on the result. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01BYbQRtNu216R13jtZLmoqs
There was a problem hiding this comment.
Copilot was unable to review this pull request because the user who requested the review has insufficient remaining quota.
An organization owner can choose the repository organization as the billing source for reviews requested by members with a paid Copilot license. Learn about Copilot code review billing. Review the Copilot code review billing settings.
|
No actionable comments were generated in the recent review. Walkthrough
Merge Risk:
|
…types to main; legs in a pinned image Owner rulings 2026-11-17: the estate keeps one receipt generator, the one standards#1620 merged (scripts/proof-receipt.sh), so this PR moves onto it instead of the writer of the closed standards#1626; Lintel#27's re-pin joins this PR; and the legs run in an image pinned by its digest (PROOF-POLICY §8.2, isolation, ruling 2026-11-16). - scripts/grade-receipt.sh: Lintel's ledgers and hooks only (claims, runs, echoes, invocations, input sets, imports from the secret-types checkout, status ids, recorded legs), sourcing the shared generator. Four standards files pinned at 58362c2 by sha256. Sourced, it defines the hooks and runs nothing, so tests can call them. verification/receipts/proof-receipt.toml goes with the #1626 writer. - Re-pin hyperpolymath/secret-types 45046c2 -> 9fb8430 (its main), from #27: fetch-siblings.sh, the module pin headers, README and PROOF-STATUS. Leg sources are byte-identical; Agda (scripts/check.sh) passes locally against the new pin with Agda 2.6.4.3. - The receipt: the re-pin changed every leg's inputs, so run 42740256887 (89ceac3) is superseded and nothing is graded until the first run on main after this is recorded. Its legs ran on a bare runner, so they supported PWG-2ii at most. - proofs.yml: the legs job runs in ubuntu:24.04@sha256:73b99939...; it also runs tests/check-legs-test.sh (with #27's fix for the "does not build" stage). The Agda job fetches the pinned standards files for the trusted-base gate. - scripts/check-trusted-base.sh compares the cone with the generator's hooks (--inputs agda, --sibling-cone) and the scan with proof_trusted_base (scripts/proof-flags.sh), which the receipt writes. - tests/legs-receipt-test.sh tests Lintel's hooks; the comparisons that use them are the shared generator's, tested in standards. - Docs state that the grade is derived from the receipt and is pending the next run; the statement comparison stays provisional until the owner reviews it. Checked locally: grade-receipt.sh --write/--check (pinned reader, git checks of §8.5.3, negative control), check-trusted-base.sh (and a refusal with lsuc dropped), check.sh with Agda 2.6.4.3, the hook, check-legs, coverage and lock-sync tests, invisible-character and dangerous-pattern scans. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_017yYi5JxzXZs6nz1ZSForfP
|
Closing this in favour of #31. The owner chose on 2026-11-17 to land Lintel's receipt work as one PR, and #31 now includes this PR's changes:
Thank you for the re-pin analysis. The byte-identical leg sources, and the cubical-compatible changes that Lintel doesn't use, made the re-pin safe to carry over. Generated by Claude Code |
Pull request was closed
Summary
Agda proofshas been red onmainsince #23 merged (run 42740256887:grade-receipt.sh --checkfails).CodeRabbit pushed three commits onto that branch (37118f1, 0a82463 and 72fac08). None of them ran CI: each hit
startup_failure. The docstring commit changedLintel.v,Instance.leanandLattice.leanbut did not regenerate the receipt. The test commit added two self-tests that nothing runs, and both fail against the bot's own later fix.This PR also moves the secret-types pin off a commit from a closed PR.
I reviewed all three bot commits:
RECONCILED, and a Lean build failure now prints its own diagnostics.Changes
45046c2to9fb8430, itsmain.45046c2sat on Rocq and Lean recheck legs for N-1..3, N-7..9 (PWG-2ii) hyperpolymath/secret-types#29, which closed unmerged; the same work merged as docs(status): refresh ROADMAP to what is true now #30, fix(receipt): re-hash leg inputs edited after #23's receipt #32 and #34.Noninterference.Genericand its Prelude helper (just-injectivebecamejust-inj). Lintel uses neither name.grade-receipt.sh:sort -u), so a claim that spans two rows passes, as it did before 72fac08. Rows that disagree on a state still fail.tests/check-legs-test.shandtests/grade-receipt-legs-test.shnow expect the "does not build" message and the two-state record rows. They also coverPENDINGand stateless rows, and both run in thelegsjob.RSR Quality Checklist
Required
fetch-siblings.sh,grade-receipt.sh --check, and the four self-tests (check-coverage-test.sh,legs-receipt-test.sh,check-legs-test.sh,grade-receipt-legs-test.sh).check.sh(Agda) andcheck-legs.sh(Coq and Lean). No provers are installed in this container, so CI is the evidence for those.check-lock-sync.shneeds gawk, which isn't installed here either. The workflow change addsrun:steps only, nouses:.As Applicable
Generated by Claude Code
Summary by CodeRabbit