Repository navigation
Closed
Description
Background
Surfaced during the #41 Phase 1 sub-agent sweep on 2026-06-01: the Idris2 proof tree has no build oracle. Concretely:
- No `build-idris2` / `verify-idris2` recipe in the top-level `Justfile`.
- No Idris2 job in any `.github/workflows/*.yml` (Coq has `verify-proofs`, Lean4 has `Verify Lean 4 Proofs`, but Idris2 is uncovered).
- The `proofs/idris2/valence-shell.ipkg` requires `base >= 0.6.0` + `contrib`, but a typical Idris2 0.8.0 install ships those packages without compiled TTC bytecode — `idris2 --install` against the shipped `.ipkg` files often no-ops because the source tree was stripped by the binary package.
Net effect: per [feedback_proof_pr_build_oracle_is_only_truth], the Idris2 layer has no canonical truth check. PR #69 fixed `Filesystem/Model.idr` typecheck failures but rests on manual review because local verification was infeasible.
Scope
- Add a `build-idris2` Justfile recipe that runs `cd proofs/idris2 && idris2 --build valence-shell.ipkg`.
- Add an Idris2 CI job to `.github/workflows/validation.yml` modelled on the existing Coq `verify-proofs` job. Step list:
- Install Idris2 0.8.0 from source (apt has no usable version) — or use a published action like `stefan-hoeck/setup-idris` if SHA-pinnable.
- Bootstrap stdlib: `cd $IDRIS2_SRC/libs/{prelude,base,contrib} && idris2 --install .ipkg` for each.
- Run `cd proofs/idris2 && idris2 --build valence-shell.ipkg`.
- Optional: emit a hole-count by parsing build output.
- Document the working local-setup recipe in `proofs/idris2/README.md` — current README likely assumes a working install.
Why now
- PR proofs(idris2): make Filesystem.Model typecheck under Idris2 0.8.0 #69 should have been gated by this oracle but wasn't.
- The two open Idris2 `?holes` in `RMO.idr` (currently being redesigned in [Idris2] close RMO.idr:92 secureDeleteIrreversibleProof — type signature is non-theorem (Tier-S blocker) #60 / [Idris2] close RMO.idr:169 gdprDeletionCompliantProof — type signature is non-theorem (Tier-S blocker) #61) need the oracle before any closure PR can be safely admin-merged.
- Without the oracle, the `MUST.contractile` rule "no `believe_me` / `assert_total` (Idris2)" can't be CI-enforced — it relies on grep alone.
Refs
- Discovery: Agent "Close Idris2 RMO holes" sub-agent report, 2026-06-01.
- PR proofs(idris2): make Filesystem.Model typecheck under Idris2 0.8.0 #69 — Model.idr typecheck fix (unblocks downstream Idris2 work but is itself not CI-verified).
- Related: Seam walk: 3 prod panics + 10 unreachables + 28 TODOs + 6 proof holes (audit 2026-06-01) #41 Phase 1 seam walk; [Idris2] close RMO.idr:92 secureDeleteIrreversibleProof — type signature is non-theorem (Tier-S blocker) #60 / [Idris2] close RMO.idr:169 gdprDeletionCompliantProof — type signature is non-theorem (Tier-S blocker) #61 RMO redesigns.
- Cross-system: `proofs/coq/` has the Coq oracle (verify-proofs, PR proofs(coq): close build-oracle cascade + re-enable verify-proofs (closes #49) #55); `proofs/lean4/` has Lean4 oracle (Verify Lean 4 Proofs); Agda and Mizar likewise uncovered (Agda only grep-counts `postulate`).
Metadata
Metadata
Assignees
Labels
No labels
Activity
feat(ci): add Idris2 build oracle — Justfile recipes + verify workflow (
refactor(proofs/idris2): drop misleading partial markers on RMO.idr s…
docs: refresh state after 2026-06-02 post-merge sweep (#114)
fix(proofs/idris2): RMO.idr overwriteIrreversible + auditTrailComplet…
ci(idris2): flip build oracle to strict (closes #70 follow-up) (#118)