Repository navigation
docs: record the PN-7 prover-image ruling and blocker (prover-images) - #51
Conversation
…ges) Owner ruling 2026-11-18: the Agda and Lean legs earn :image through our own digest-pinned prover images on GHCR, hosted in a shared estate repo (provisionally prover-images), which does not exist yet. PN-7 is blocked on it; the 28 rows stay PWG-2ii. This records the ruling, route, blocker and closure conditions in PROOF-NEEDS and ROADMAP, and repoints the open DEVIATION "Closes:" comments for the Agda and Lean legs in proofs.yml. Comments only: no step, assertion or job changed. Receipt, grades and Census untouched. This does not close PN-7. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01J4QvDjKPCugozU5vjnAc6f
|
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 40 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. |
…draft PN-7: add a note reconciling the Census (receipt at 47de4a8, PWG-1 for 27 rows, graded before standards#1625) with the current reader (a receipt for a run at 2b9bf3f grades the 28 rows PWG-2ii: no :image). No grade, Census, PROOF-STATUS or receipt deed changed. Add docs/handoff/prover-images/ as a DRAFT, UNTESTED handoff for the future hyperpolymath/prover-images repository (images never built, snapshot timestamp and actions/attest version unverified, name unchecked against gv-clade-index). Its .github/ is renamed github/ so no scanner or Dependabot treats it as live config. SPDX lines are kept as the earlier worker wrote them; the licence is a placeholder for the owner. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01J4QvDjKPCugozU5vjnAc6f
…orkflow
Hardening in the draft build.yml: matrix values reach the shell through env,
not through ${{ }} interpolation inside run: scripts. SonarCloud's Quality
Gate reported a B Security Rating on New Code for 50e108c; the rule could
not be read from this container (sonarcloud.io is blocked by the proxy), so
this is a best-guess fix of the one workflow-injection pattern in the new
files, not a confirmed one.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01J4QvDjKPCugozU5vjnAc6f
The handoff's build.yml and dependabot.yml now live as source listings at the end of docs/handoff/prover-images/README.adoc, with the README saying where they go in the target repository. No standalone YAML remains under docs/, so no scanner built for live config can pick them up. SonarCloud reported a B Security Rating on New Code for ceddca0; the rule could not be read from this container (sonarcloud.io is blocked by the proxy), so this is a precaution, not a confirmed fix. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01J4QvDjKPCugozU5vjnAc6f
…root user) agda: fetch the snapshot over https, with a CA bundle copied from a first build stage; no http:// URI remains. agda and lean: run as non-root user prover (uid 1001). README lists both changes as unverified and updates the consumer note on options: --user root. Still unbuilt and untested. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01J4QvDjKPCugozU5vjnAc6f
|
CI status on c4747d6: the red checks below were read from their job logs. Most of them failed on the GitHub App installation's API rate limit, not on this diff. This PR changes only docs and comments:
No more reruns until the rate limit clears, because each rerun spends more of the shared quota. A recheck is scheduled. Generated by Claude Code |
Signed-off-by: Jonathan D.A. Jewell <6759885+hyperpolymath@users.noreply.github.com>
|
…s not close PN-7) (#53) > **Re-scoped on 2026-11-18.** This PR first said it made the Agda and Lean jobs "isolated". The owner's ruling recorded in #51 (PN-7) says a digest-pinned base image with the checker installed at run time is **not** isolation: the legs earn `:image` only through prover images that ship the checker, from the planned `prover-images` repository. So this PR no longer claims that, and it does not close PN-7. What it does deliver is below. ## Summary - **Lean under lake.** PROOF-POLICY §8.2 names `lean` under `lake` as the qualifying Lean run (owner ruling 2026-11-17). The Lean leg and the M-2 bridge now build as Lake packages, with `lake-manifest.json` committed as a pinned input (§8.5.1). - **Base images pinned by digest** for the Agda and Lean jobs. This is hygiene: the runner image under the job no longer changes without notice. It is not the isolation §8.2 asks for, and the receipts name no image for these legs. - **The receipt follows the change.** Moving the Lean leg under lake changes that leg's inputs and its checker, so the receipt gate (from #52) refuses the old Lean run. The ledger marks it `superseded` and the receipt is regenerated. ## Grades Derived by the pinned reader: **31 rows PWG-2i, M-2 ungraded** (of 32). The Agda and Rocq receipts at `15fa113` stand; the Lean legs have no current receipt. After this merges and main's `proofs.yml` run passes, a follow-up records that run and the rows return to PWG-2ii. No row can be PWG-1 until PN-7 closes. ## Changes - `verification/proofs/lean4/lakefile.toml`, `lake-manifest.json`: a package with no dependencies, root `ResourceAlgebra`. - `scripts/check-lean-leg.sh` (new): builds a copy with `lake build`; fails on a failed build, on any `depends on axioms` report, on a count of axiom-free reports that differs from the `#print axioms` commands in the copy lake built, and on a manifest lake rewrote (it prints the difference). - `verification/bridges/tropical-types/lakefile.toml`, `lake-manifest.json`; `scripts/check-lean-bridge.sh` builds the three modules with `lake build`. The tropical-types pin and its fetch are unchanged; there is no lake `require` on that repository. Counts and the bridge digest come from the copy lake built. - `tests/check_lean_leg_test.sh` (new, 5 planted failures) and `tests/check_lean_bridge_test.sh` (6). - `.github/workflows/proofs.yml`: Agda in `debian:trixie-slim@sha256:a29215f6…`; Lean in `ubuntu:24.04@sha256:73b99939…` with the sha256-checked Lean 4.35.0 archive, `lean` and `lake` versions asserted; run summaries say the base image is pinned and the checker installed at run time; a digest that cannot be computed fails the step. - `scripts/proof-receipt.sh`: Lean row `superseded` with its reason; Lean input set gains both lakefiles, both manifests and `scripts/check-lean-leg.sh`; Lean invocation is the two lake builds. Receipt regenerated. - `docs/status/PROOF-STATUS.adoc`, `docs/status/PROOF-NEEDS.adoc` (PN-7), `CHANGELOG.adoc`: the census, the superseded Lean run, and the corrected wording on isolation. - `.gitignore`: `.lake/`. ## Testing Local, with Lean 4.35.0 and Lake 5.0.0: - `scripts/check-lean-leg.sh`: `PASS: Lean leg under lake; 84 of 84 printed theorems depend on no axiom`. - `scripts/check-lean-bridge.sh`: `PASS: M-2 bridge to hyperpolymath/tropical-types@f2e465c…; 6 of 6 printed theorems depend on no axiom`. - The two tests: 5 of 5 and 6 of 6 planted failures refused for the stated reason. - `scripts/proof-receipt.sh --check`: exit 0, ends `PASS: negative control (the first claim recorded as :pwg PWG-1 is refused: its legs support PWG-2i)`. - `scripts/check-proofs.sh lean4`, `tests/workflows/ci_gate_test.sh`, `check-ijson-jcs.sh --enforce` (14 of 14 canonical), `check-adoc-renders.sh` (164 files), `check-no-placeholders.sh`: pass. - `actionlint`: only the two SC2016 notices that are on main. In CI, on an earlier head (`d3e4651`), the Agda job, the Lean leg and bridge under lake, Rocq and `Proofs verdict` all passed in their containers, and `CI/gate` reported all 16 required checks passed. The receipt job did not exist on that head; it arrived with #52. ## Review CodeRabbit's finding that the Lean row must be superseded is done here. Its six smaller findings are fixed in `d7213f8` and their threads resolved. ## Not this PR's - The Hypatia scanner's intermittent segfault (see the comment below): it is not among the required checks. - CI failures when the repository's Actions API quota runs out; one re-run clears them. 🤖 Generated with [Claude Code](https://claude.com/claude-code) https://claude.ai/code/session_013CuBToxr5h9catptGiTsFX <!-- This is an auto-generated comment: release notes by coderabbit.ai --> <!-- coderabbit-ai-generated:v1 --> ## Summary by CodeRabbit - **Verification** - Updated Lean proof and bridge checks to build with Lake and verify axiom-free theorem reports. - Added checks that detect build failures and unexpected changes to dependency manifests. - Updated verification workflows to record image, tool-version, and input-hash details. Runtime installation of Agda and Lean checkers still does not meet the stated image-isolation requirement. - **Documentation** - Updated proof-status records to mark the previous Lean receipt as superseded; a qualifying Lake-based run is still pending. - Clarified current proof grades and the remaining image-isolation requirement. <!-- end of auto-generated comment: release notes by coderabbit.ai --> --------- Signed-off-by: Jonathan D.A. Jewell <6759885+hyperpolymath@users.noreply.github.com> Co-authored-by: Claude <noreply@anthropic.com>



Summary
Records the owner ruling of 2026-11-18 on image-pinned receipts for the Agda and Lean legs, and the blocker. This PR records the ruling only. It does NOT close the obligation: nothing is built or published, and the 28 rows stay PWG-2ii.
Ruling: the Agda and Lean legs earn
:imagethrough our own prover images on GHCR, pinned by digest, hosted in a shared estate repo (provisionallyprover-images, name not yet checked against gv-clade-index). That repo does not exist yet; the owner will create it.Numbering note: the task called this obligation PN-6, but PN-6 in
PROOF-NEEDS.adocis already the (done) Evidence recheck for E-1..E-3. I did not overwrite it. The new entry is PN-7. Rename if you prefer a different number.Changes
docs/status/PROOF-NEEDS.adoc: new PN-7 row plus a "PN-7 ruling and route" section (ruling, route, blocker, why upstream images were rejected, the four closure conditions).docs/status/PROOF-NEEDS.adoc(PN-7 note): reconciles the Census with the PN-7 row. The Census and receipt deed record the receipt at 47de4a8 as PWG-1 for 27 rows, graded before standards#1625 made:imagenecessary for PWG-1. Under the current reader, a receipt for a run at 2b9bf3f grades the 28 rows PWG-2ii (their Agda and Lean witnesses have no:image). The Census is refreshed by the next receipt. No grade changed.docs/handoff/prover-images/: DRAFT and UNTESTED handoff for the futurehyperpolymath/prover-imagesrepo:README.adoc,agda/Containerfile,lean/Containerfile. The draft CI files (build.yml,dependabot.yml) are carried as source listings insideREADME.adoc, not as YAML files, so no scanner here treats them as live config. Images never built (the authoring container could not reach the Debian mirrors); the snapshot.debian.org timestamp and theactions/attestversion are unverified; the name is unchecked against gv-clade-index. SPDX lines are kept as the earlier worker wrote them; the licence is a placeholder for the owner to decide. The directory moves toprover-imagesonce that repo exists and is then deleted here (PN-7). Linked from the PN-7 "ruling and route" section.http://URI), and both images end as non-root userprover. Still unbuilt and untested.docs/status/ROADMAP.adoc: blocker and next-action entry..github/workflows/proofs.yml: theCloses:lines of the openDEVIATION (§6)comments for the Agda and Lean legs now point at PN-7 and the planned prover-images route. Comments only; no step, assertion or job changed.RSR Quality Checklist
Required
just testandjust qualitycould NOT run here (idris2 and zig are not installed in this container; exit 127). Not green, not claimed green.As Applicable
docs/status/ROADMAP.adocupdatedChecks run locally:
scripts/check-lock-sync.shpass,scripts/check-action-pinning.jspass,check-adoc-renders.shpass (163 files),check-no-placeholders.shpass,check-no-md-in-docs.shpass,check-root-shape.shpass,tests/workflows/check_lock_sync_test.shandvalidate_workflows_test.shpass.Generated by Claude Code