Add permanent module-surface regression gates - #8
Closed
jagg-ix wants to merge 4 commits into
Closed
Conversation
jagg-ix
marked this pull request as ready for review
July 28, 2026 06:04
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.
Scope
Completes the next ten zil-lean-only targets from
zil-engine-modularization-plan.mdas permanent regression gates rather than one-off commands.Zil.Engine.QueryZil.Engine.ProvenanceZil.ImpactZil.ProofObligationZil.TheoremAuditZil.QueryGovernanceFiles
.github/workflows/module-surface.ymlscripts/check_module_closure.pyscripts/probes/ModuleSurface.leanscripts/probes/LegacyModuleConsumer.leanClosure audit
The audit starts from the live engine and governance seeds, follows actual
Zil.*imports, and fails on:module;It prints the recomputed module count, ZIL import-edge count, LOC, and sorted closure so future drift is visible.
Validation
The new
Module surface regressionworkflow passed all ten steps on this PR:lake build.This converts the modularization plan's manual definition-of-done commands into standing repository regression gates.