Repository navigation
fix(proofs): run Agda with --without-K --cubical-compatible - #260
Conversation
PROOF-POLICY 2.1: fix the Agda template at the source. Add the OPTIONS pragma to both template modules and the canonical flags to the template Justfile and ci.yml, so generated repos start strict. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_0165rGu3tsKmJtevmrdMVyfJ
|
Warning Review limit reachedYou've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository. Next included review available in 55 minutes. View limit details
No actionable comments were generated in the recent review. Summary
Merge Risk:
|
|
|
CI triage: the failing No push made for this. All other checks are green. Generated by Claude Code |



Finding (
agda-not-strict, PROOF-POLICY §2.1)The Agda generator template under
aletheia/templates/agdaran plainagdain its Justfile andci.yml. Neither template module had an OPTIONS pragma, so every generated Agda repo started without--safe. This still applied at HEAD. This PR fixes it at the template source.Changes (all under
aletheia/templates/agda/)Justfile: thebuildandtestrecipes now runagda --safe --without-K --cubical-compatible .....github/workflows/ci.yml: bothrun:lines use the same flags. Nouses:line and noactions.lockwas touched.src/@@MOD_CAMEL@@.agdaandsrc/Properties.agda:{-# OPTIONS --safe --without-K --cubical-compatible #-}above themoduleline. The SPDX headers are untouched.Verification
@@MOD_CAMEL@@set toDemoand@@PROJECT_NAME@@set todemo. The template's.agda-libsaysinclude: src, which I mirrored with-i src.agda --safe --without-K --cubical-compatible -i src src/Demo.agda(Agda 2.8.0.2): exit 0.agda --safe --without-K --cubical-compatible -i src src/Properties.agda: exit 0.Agda.Builtin, so no standard library was needed.@@placeholders are unsubstituted in the template.Undetermined
I found no reference to this template outside
aletheia/templates/agda(grep), so I could not determine whether the generator injects flags itself. With the flags in the template, that no longer matters.Generated by Claude Code