Repository navigation
fix(proofs): restore the import-cone postulate scan in check-agda.sh - #23
Merged
Merged
Conversation
#19 added a comment-aware postulate scan of src/ (PROOF-POLICY §8.4.6) and tests/check_agda_find_failure_test.sh, which checks that a failing `find` stops the gate. #21's squash dropped the scan block from check-agda.sh but kept the test, so "Core proofs and expected rejections" has failed on main since aac649c ("gate passed although find failed"). Restore #19's block unchanged, before the first Agda call. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_0136P7ZnmBahbhfkFEP6ark4
Contributor
|
Caution Review failedThe pull request is closed.
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. |
|
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. |
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.



Why
"Core proofs and expected rejections" has failed on
mainsince #21 (aac649c); it passed ond8c5213just before. The Agda proofs themselves pass: core proofs, unit tests and all 8 expected rejections. What fails istests/check_agda_find_failure_test.sh: "FAIL: gate passed although find failed (exit 0)".#19 added a comment-aware postulate scan of the import cone (
src/, PROOF-POLICY §8.4.6) toscripts/check-agda.sh, plus that test, which checks that a failingfindstops the gate. #21's squash dropped the scan block from the script but kept the test.What
scripts/check-agda.shgets #19's block back unchanged, after theflags=line and before the first Agda call: listsrc/**/*.agdawithfindinto a file (so afindfailure stops the gate), refuse an empty cone, and runscripts/scan-postulates.pl, which is still onmain.Testing
tests/check_agda_find_failure_test.sh: PASS ("a find failure stops the gate (exit 1) before the postulate scan passes"). Agda is not installed in this session, soAGDApointed at a stub that prints a version; the test exits before any Agda call.scripts/check-agda.shwith the same stub prints "PASS: no postulate in the import cone (src/)".tests/scan_postulates_test.sh: PASS.Generated by Claude Code