Skip to content

fix(proofs): restore the import-cone postulate scan in check-agda.sh - #23

Merged
hyperpolymath merged 1 commit into
mainfrom
claude/restore-postulate-scan
Nov 10, 2026
Merged

hyperpolymath merged 1 commit into
mainfrom
claude/restore-postulate-scan

Conversation

@hyperpolymath

Copy link
Copy Markdown
Owner

Why

"Core proofs and expected rejections" has failed on main since #21 (aac649c); it passed on d8c5213 just before. The Agda proofs themselves pass: core proofs, unit tests and all 8 expected rejections. What fails is tests/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) to scripts/check-agda.sh, plus that test, which checks that a failing find stops the gate. #21's squash dropped the scan block from the script but kept the test.

What

scripts/check-agda.sh gets #19's block back unchanged, after the flags= line and before the first Agda call: list src/**/*.agda with find into a file (so a find failure stops the gate), refuse an empty cone, and run scripts/scan-postulates.pl, which is still on main.

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, so AGDA pointed at a stub that prints a version; the test exits before any Agda call.
  • scripts/check-agda.sh with the same stub prints "PASS: no postulate in the import cone (src/)".
  • tests/scan_postulates_test.sh: PASS.
  • CI runs the full gate with the pinned Agda 2.6.4.3.

Generated by Claude Code

#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
@coderabbitai

coderabbitai Bot commented Nov 10, 2026 •

Copy link
Copy Markdown
Contributor

Explain Change →

Caution

Review failed

The pull request is closed.

  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

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.

Share

@sonarqubecloud

Copy link
Copy Markdown

@hyperpolymath
hyperpolymath marked this pull request as ready for review November 10, 2026 21:56
@hyperpolymath
hyperpolymath merged commit a19a5b8 into main Nov 10, 2026
45 checks passed
@chatgpt-codex-connector

Copy link
Copy Markdown
Codex Review Summary: ❌ Failed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ❌ Failed 2026-11-10T21:56:38.179046Z
We couldn’t complete this review. Comment @codex review to try again.
3fa5b08 Draft marked ready
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@hyperpolymath
hyperpolymath deleted the claude/restore-postulate-scan branch November 10, 2026 21:56
@chatgpt-codex-connector

Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants