Repository navigation
formal/agda: pin Agda 2.7.0.1; prove usability from --cubical (agda/cubical v0.8) - #861
hyperpolymath wants to merge 2 commits into
Conversation
…l v0.8) Agda 2.7.0.1 (the estate pin) replaces Ubuntu's 2.6.3 in the agda-proofs CI job: the official static release binary, SHA-256 pinned and verified before unpack (975b515a…db8a). Both theory modules check unchanged on 2.7.0.1 under --safe --without-K --cubical-compatible with no diagnostic; no proof or statement text changed. The five planted controls still fail the gate. New: formal/agda-cubical/CubicalCompat.agda, a --safe --cubical module in its own library depending on agda/cubical v0.8 (commit 3291fc1d…, the last release supporting 2.7.0.1; v0.9 needs 2.8.0). It imports every module under formal/agda/, re-exports theorems from each, and uses them as Paths via eqToPath (including a funext path for qplus). New recipes check-agda-cubical and check-agda-cubical-controls (5 planted failures, including a source that drops --cubical-compatible, which Agda refuses). Sources stay at --cubical-compatible; README records why and the pins. Still ungraded: no receipt, no Lean leg; the binary's digest is TOFU. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01J4QvDfHidNin3g7itrbLfk
|
Review these changes at https://app.gitnotebooks.com/hyperpolymath/affinescript/pull/861 |
|
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 29 minutes. View limit details
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. |
SonarCloud githubactions:S6506 on PR #861: curl -L could follow a redirect to a non-HTTPS URL. The SHA-256 check already guards the file's integrity; this also closes the transport path. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01J4QvDfHidNin3g7itrbLfk
|
|
This isn't caused by this PR:
The ledger repair is in #856. Once that merges, merging main into this branch should clear it. I'm deliberately not re-sealing the anchors here. Generated by Claude Code |



Owner decision (relayed): install Agda 2.7.0.1 plus the latest compatible agda/cubical, recheck
formal/agda/, and show the proofs fit the estate's Agda scheme.Pins
Agda-v2.7.0.1-linux.tar.xz(agda/agda tagv2.7.0.1, commita6fc20c2…). SHA-256975b515a14877ab6bce5bfc641e16c4a3ee52ca5d7f846577dee80aa2145db8a, verified in CI before unpacking.3291fc1d8cae1409cc54d4f9cca7366158b573d7. cubical's README pairs v0.8 with 2.6.4.1/2.7.0.1; v0.9 and master need Agda 2.8.0. Fetched by SHA,HEADasserted.Results (Agda 2.7.0.1)
QttSemiring.agda,BorrowProvenance.agda: exit 0, no warnings, under--safe --without-K --cubical-compatible. No repairs needed. No proof or statement text changed.check-agda-controls: all 5 planted failures still fail. Theindexedcontrol still fails because 2.7.0.1 printsUnsupportedIndexedMatch, and the gate rejects that output.formal/agda-cubical/CubicalCompat.agda(--safe --cubical, depends oncubical-0.8) imports both modules and re-exports theorems from each. It also uses them as cubicalPaths viaeqToPath/pathToEq, including a funext path betweenqplusand its flip. It checks clean.check-agda-cubical-controls: 5 planted failures, each fails. One is a source that drops--cubical-compatible; Agda refuses it with "Importing module QttSemiring not using the --cubical-compatible flag from a module which does". Another is a module the fixture doesn't import. So the check is load-bearing, and new theory modules must join the fixture.Decision: stay
--cubical-compatibleNothing was ported to full
--cubical.--cubical-compatibleis the flag that makes a module importable from cubical code, so the import itself proves usability. Porting would leave the PROOF-POLICY theory lane, add a library to the import cone, and cut the Rocq/Lean legs for cubical-primitive statements. Rationale is informal/agda/README.adoc.CI
agda-proofsjob (coq-proof-gate.yml) now uses the pinned binary and cubical, and runs 4 recipes. Nouses:ref changed, soactions.lockis unchanged andcheck-actions-lock.shpasses.Not established / honest limits
ungraded: no receipt, no Lean leg.BorrowProvenancemutations were not rerun on 2.7.0.1.just check: lint anddune runtest(849 tests) pass.guardfails atcheck-soundness-ledger.shwith anchor drift. That failure reproduces on cleanorigin/mainand is being repaired in fix(soundness): restore the #833 ledger row and drop a stale anchor (main is red) #860, which this PR doesn't touch.Commit is unsigned; owner to re-sign.
Generated by Claude Code