Repository navigation
Conversation
Closes the gaps an audit of the proof tooling found, each shown with a planted mutation: - A PR could approve its own sorry or axiom by listing it in scripts/axiom_baseline.json. A new trusted-gates job runs the base revision's axiom sweep against the base revision's baseline, with no PR code: base checkout, toolchain and Mathlib cache, and only the PR's compiled oleans. A wider policy, or a toolchain or manifest change, needs an approving review of the head commit by a base CODEOWNERS user who did not author the PR or its commits. - A declaration added without kernel checking passed the sweep. lake exe kernelreplay (scripts/KernelReplay.lean) replays every library and test declaration through the kernel in import-ordered chunks. It checks that exported constants match the private ones it checks, checks every copy of a name several modules store, and with --require-modules fails if a module is outside the roots' imports. - sorry in examples, structure defaults or tests: lake build --wfail over the library and tests is now blocking, and the lint rejects decide +native, native := true, trustCompiler, skipKernelTC, addDeclWithoutChecking, warn.sorry and #guard_msgs (drop ...). - axiomsweep sweeps CompPolyTests and no longer runs initializers, so swept code cannot run inside it; --statements exports digests that scripts/statement_diff.py reports on PRs (report only). - build-timing rows record CPU, CPU count and cache state and are compared only when those match. - checkout no longer persists the token, and CODEOWNERS covers the files that decide what counts as proved. Co-authored-by: Parithosh Jayanthi <parithosh@forkchoice.ai> Amp-Thread-ID: https://ampcode.com/threads/T-01a1a66d-72db-7532-b204-db0dff8754a6
Contributor
🤖 PR SummaryDQ Statistics
Lean Declarations ✏️ Added: 15 declaration(s)
✏️ Affected: 2 declaration(s) (line number changed)
📋 **Additional Analysis**No findings. The diff is a CI/script/infrastructure change (CODEOWNERS, workflow hardening, new 📄 **Per-File Summaries**
Specifically:
Last updated: 2026-11-18 00:40 UTC. |
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.
Closes the gaps an audit of the proof tooling found, each shown with a planted mutation:
Amp-Thread-ID: https://ampcode.com/threads/T-01a1a66d-72db-7532-b204-db0dff8754a6