Repository navigation
fix(proofs): run Agda with --without-K --cubical-compatible - #134
Conversation
PROOF-POLICY §2.1: Agda theory proofs run under --safe --without-K --cubical-compatible. Change the DihedralQuandle pragma and the krl-verification workflow invocation to match. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_0165rGu3tsKmJtevmrdMVyfJ
|
| Layer / File(s) | Summary |
|---|---|
Apply Agda proof options .github/workflows/krl-verification.yml, verification/proofs/agda/DihedralQuandle.agda |
The workflow runs each discovered proof with all three options. DihedralQuandle.agda declares the same options, and its header comment names them. |
Estimated code review effort: 1 (Trivial) | ~4 minutes
Change: Other
Suggested reviewers: claude
Merge Risk: 
Minimal · previous review 9aa9f
-
-->
This aligns the Agda proof options in the workflow and the proof file with the stated proof policy. No concrete defect was found. The only open point is that CI has not been run on the runner's apt-installed Agda packages, which is a normal check to confirm when the draft is marked ready.
Pre-merge checks: 
4
-
Full details: Title check
-
Explanation
The title names the main change: Agda proof flags are updated to --without-K --cubical-compatible. It is a conventional commit with a fix(proofs) scope. The title omits the --safe flag, which is already present, so it is accurate. It does not cover the workflow and file header edits, which is acceptable.
-
Finishing Touches
-
Fix failing CI checks
-
- Commit to this branch
- Create a new PR
-
- 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.
|
CI triage: the failing This PR changes the flags only, so the strict-flag result of Generated by Claude Code |
Both #134 and this PR edit the Agda invocation in krl-verification.yml. Merging #134's branch here keeps the pinned agda-stdlib v2.3 library setup and runs it with --safe --without-K --cubical-compatible, so the two PRs no longer conflict. Checked locally: DihedralQuandle.agda exits 0; a module importing a missing stdlib module exits 42. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_0165rGu3tsKmJtevmrdMVyfJ
|
No failing CI checks found. No CI/CD pipeline failures were detected for the current commit. If other checks (security scans, code quality, etc.) are failing, those require separate attention. |
|
The fix is to provision a pinned stdlib and register it as a library, as Generated by Claude Code |
Signed-off-by: Jonathan D.A. Jewell <6759885+hyperpolymath@users.noreply.github.com>
Summary
PROOF-POLICY §2.1 (standards
3-practice/PROOF-POLICY.adoc): Agda theory proofs run under--safe --without-K --cubical-compatible.DihedralQuandle.agdaand its CI job used only--safe. The verifier reported this twice (pragma and workflow); both are fixed here.Changes
verification/proofs/agda/DihedralQuandle.agda: pragma is now{-# OPTIONS --safe --without-K --cubical-compatible #-}; the header comment names the same flags..github/workflows/krl-verification.yml: theagdainvocation, its echo line, the step name and the PASS message use the three flags. Nouses:line and noactions.locktouched.Testing
agda --safe --without-K --cubical-compatible DihedralQuandle.agda(Agda 2.8.0.2, agda-stdlib 2.3,LC_ALL=C.UTF-8): exit 0.Not verified: the CI runner installs the apt
agda-stdlib, whose version may differ from the 2.3 I used. The CI job is the real receipt.Skipped: the job's
name:is stillAgda proofs (--safe). Renaming it would change the status-check context, which branch protection may require, so that is left for the owner.Draft, not merged.
Generated by Claude Code