You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Pragma-only change. Ten modules now carry exactly {-# OPTIONS --safe --without-K --cubical-compatible --exact-split --no-sized-types --no-guardedness #-}:
All, Smoke, AuditSmoke, Echo/Measure/Composition, EchoDependentPushforward, EchoFiniteResidue, EchoResidueProtocol, EchoSourcePreserving, EchoSourcePreservingComparison, EchoThermodynamicsArbitrary.
No overlapping-clause fixes were needed: every module passed --exact-split unchanged. No CATCHALL, no flag weakened, no postulates introduced. Each diff is the one OPTIONS line.
Deliberately not changed
EchoImageFactorizationPropCubical.agda: the --cubical island keeps its own profile.
EchoImageFactorizationPropPostulated.agda: the quarantined postulate shadow ({-# OPTIONS --without-K #-}, four postulates). --safe rejects postulate, so the requested pragma cannot apply without changing what the module is. Left as is. It is outside every CI root.
No actionable comments were generated in the recent review.
Summary
Summary by CodeRabbit
Chores
Standardised verification settings across the formal proof suite, retaining safe-mode checks while enforcing stricter definition and termination requirements.
Ten Agda modules update their compiler options. The changes add --exact-split, --no-sized-types and --no-guardedness; some modules also add --cubical-compatible.
The options pragmas add --exact-split, --no-sized-types and --no-guardedness. All.agda, EchoThermodynamicsArbitrary.agda and Smoke.agda also add --cubical-compatible. Existing options remain enabled.
hyperpolymath/echo-types#376: This PR applies the same strict pragma set to three CNO bridge modules that this change leaves unchanged, and splits the pragma updates across both PRs.
Merge Risk: Minimal · up to 942de
This is a pragma-only tightening of proof module options with no runtime behavior change. Any incompatibility would show up as a typecheck failure in CI, so merge risk is minimal.
Pre-merge checks: 4
Check name
Status
Explanation
Title check
The title names the main change: a strict pragma sweep that adds the exact-split, no-sized-types and no-guardedness OPTIONS flags to the Agda proof modules. The raw summary and objectives confirm that…
Description check
The description states that the change is pragma-only and lists the ten affected modules with the exact OPTIONS line. It also covers the deliberately unchanged files, the verification steps and the fa…
Linked Issues check
Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check
Check skipped because no linked issues were found for this pull request.
Full details: Title check
Explanation
The title names the main change: a strict pragma sweep that adds the exact-split, no-sized-types and no-guardedness OPTIONS flags to the Agda proof modules. The raw summary and objectives confirm that each changed file only modifies its OPTIONS pragma line.
Full details: Description check
Explanation
The description states that the change is pragma-only and lists the ten affected modules with the exact OPTIONS line. It also covers the deliberately unchanged files, the verification steps and the fact that CI has not run. This matches the changeset described in the raw summary and objectives.
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.
File: No configuration file from this repository applied
Commit: Unavailable
Layers: Organization UI
Review profile: ASSERTIVE
Plan: Advanced
Run ID: f9ecdb09-c69c-4bab-b1e1-d72a623f8fa8
Commits
Reviewing files that changed from the base of the PR and between 5549185 and 942de47.
Files selected for processing: 10
proofs/agda/All.agda
proofs/agda/AuditSmoke.agda
proofs/agda/Echo/Measure/Composition.agda
proofs/agda/EchoDependentPushforward.agda
proofs/agda/EchoFiniteResidue.agda
proofs/agda/EchoResidueProtocol.agda
proofs/agda/EchoSourcePreserving.agda
proofs/agda/EchoSourcePreservingComparison.agda
proofs/agda/EchoThermodynamicsArbitrary.agda
proofs/agda/Smoke.agda
Included review availability: This review used your included allowance. Your plan provides up to 1 included review per hour; 0 remain after this review.
Learnt from: CR
Repo: hyperpolymath/echo-types PR: 0
File: CLAUDE.md:0-0
Timestamp: 2026-10-31T20:51:46.566Z
Learning: Source excerpt:
# Working rules in this repo
- `--safe --without-K` throughout.
Applied to files:
proofs/agda/Echo/Measure/Composition.agda
proofs/agda/EchoDependentPushforward.agda
proofs/agda/EchoResidueProtocol.agda
proofs/agda/EchoSourcePreservingComparison.agda
proofs/agda/EchoThermodynamicsArbitrary.agda
Learning: 2026-11-04T17:52:29.962Z
Learnt from: CR
Repo: hyperpolymath/echo-types PR: 0
File: CLAUDE.md:0-0
Timestamp: 2026-11-04T17:52:29.962Z
Learning: Source excerpt:
# Proof policy
The normative estate policy is
https://github.com/hyperpolymath/standards/blob/main/3-practice/PROOF-POLICY.adoc.
Its default Agda theory profile is `--safe --without-K --cubical-compatible`;
full Cubical proofs require a separate reviewed profile. Record toolchain,
assumptions, results and exact source revisions; historical checks do not
prove the new profile. Mathesis grades are theorem- and receipt-specific.
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
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.
Summary
Pragma-only change. Ten modules now carry exactly
{-# OPTIONS --safe --without-K --cubical-compatible --exact-split --no-sized-types --no-guardedness #-}:All,Smoke,AuditSmoke,Echo/Measure/Composition,EchoDependentPushforward,EchoFiniteResidue,EchoResidueProtocol,EchoSourcePreserving,EchoSourcePreservingComparison,EchoThermodynamicsArbitrary.No overlapping-clause fixes were needed: every module passed
--exact-splitunchanged. NoCATCHALL, no flag weakened, no postulates introduced. Each diff is the one OPTIONS line.Deliberately not changed
EchoImageFactorizationPropCubical.agda: the--cubicalisland keeps its own profile.EchoImageFactorizationPropPostulated.agda: the quarantined postulate shadow ({-# OPTIONS --without-K #-}, four postulates).--saferejectspostulate, so the requested pragma cannot apply without changing what the module is. Left as is. It is outside every CI root.EchoCNOBridge,EchoCNOSemantics,EchoCNOPackaging: left to CNO bridges: repin absolute-zero to 8a3162a (pc-driven machine) #376.grep -rLtherefore still lists these three plus the two modules above (5 files).Verification (local, Agda 2.7.0.1 via
AGDA_TOOLS_DIR=/tmp/echo-agda bash scripts/setup-agda.sh;source /tmp/echo-agda/env.sh)Static guards, all exit 0:
sh scripts/kernel-guard.sh: PASSbash scripts/check-experimental-aggregate.sh: OKbash scripts/test-experimental-aggregate.sh: PASSsh scripts/check-agda-invocations.sh: OKbash tools/check-guardrails.sh proofs/agda: OK (152 modules)Cold typechecks (
agda --no-libraries -i "$AGDA_STDLIB" -i "$ABSOLUTE_ZERO_AGDA" --ignore-interfaces --safe --without-K --cubical-compatible -i proofs/agda <root>), each exit 0, no errors or warnings in output:All,Smoke,AuditSmoke,characteristic/All,examples/All,experimental/echo-additive/All,NarrowingSmokeCubical island (
... --ignore-interfaces --safe --cubical ... EchoImageFactorizationPropCubical.agda): exit 0.Not run locally: the Rocq/Lean recheck legs (unaffected by this change). CI has not yet run on this PR; nothing here claims it passed.
Note: #376 also edits
Smoke.agda(other lines); a pragma-line-only change should not conflict.Generated by Claude Code