fix(proof): make offline Isabelle replay portable on Ubuntu - #1131
Open
doublewhy wants to merge 8 commits into
Open
fix(proof): make offline Isabelle replay portable on Ubuntu#1131doublewhy wants to merge 8 commits into
doublewhy wants to merge 8 commits into
Conversation
doublewhy
force-pushed
the
ASR-535-proof-portability-pr
branch
from
August 12, 2026 20:26
29a35fb to
70150cb
Compare
doublewhy
force-pushed
the
ASR-535-proof-portability-pr
branch
from
August 12, 2026 20:37
70150cb to
b3e769e
Compare
doublewhy
marked this pull request as ready for review
August 12, 2026 21:11
doublewhy
force-pushed
the
ASR-535-proof-portability-pr
branch
from
August 13, 2026 03:46
008464e to
34b96f3
Compare
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Plain summary
Context
OpenRAE replays a checksum-pinned Isabelle proof inside an offline Bubblewrap sandbox. That CI lane independently checks the participant-opacity theorem without trusting a developer workstation or permitting network access during replay.
Problem
Isabelle starts a JVM that needs a working host fontconfig runtime. The sandbox did not expose one Ubuntu fontconfig location, the CI job did not guarantee that fontconfig and a font were installed, and Bubblewrap setup failures could be mislabeled as rejected mathematics. Contributors also lacked a clear statement of the supported proof host and prerequisites.
Fix
Install and validate the minimum font runtime in the Ubuntu proof job, mount only the required fontconfig paths read-only, fail before replay when fonts are unavailable, classify Bubblewrap setup failures separately from Isabelle kernel failures, and document the Linux x86_64 boundary. The checksum, fixed command/environment, resource bounds, and offline network isolation remain unchanged.
Issues closed
What changed
bubblewrap,fontconfig, andfonts-dejavu-corewhen the canonical runner lacks them./etc/fonts,/usr/share/fonts, and a nonemptyfc-listresult before proof acquisition and replay./usr/share/fontconfigtarget to the fixed read-only sandbox allowlist.C.UTF-8replay locale and keeps the proof-evidence digest bound to the exact tool source.Verification
devbase:96b20ae8422fae9936bae928bbd8a1c14d2001da.da4a3d7535e3b50ae1d22884796a398357e1038d.Platform note
The actual Isabelle replay requires the pinned Linux x86_64 distribution and Bubblewrap. The canonical Ubuntu CI result above is the authoritative replay evidence; non-Linux contributors can still run the deterministic focused and policy checks locally.