Skip to content

RunuX v11.2.0 — v12 Truth-and-Metrics Gate & Wave-1 Proof Completion

Choose a tag to compare

@xaviercallens xaviercallens released this 26 Sep 20:34
· 99 commits to main since this release

Highlights

v12 truth-and-metrics gate (scripts/metrics.py): static-analysis measurement of Lean proof debt and Rust code quality metrics, with a ratchet mode that blocks CI on regression against a frozen baseline. No cargo/lake build required — fast enough to run on every PR.

Oracle-gated unit workflow (scripts/check_unit.py, scripts/units/generate.py): generates per-theorem work units and independently verifies proposed fixes, including a theorem-statement-hash check that rejects a "fix" which silently weakens what's being proven even if the weakened version still type-checks.

Wave-1 proof completion, produced by a multi-tier LLM pilot (Haiku → Sonnet escalation) of the above workflow:

  • 4 Lean theorems given real, independently re-verified proofs (do_ipv6_setsockopt_contract, init_idempotent, init_produces_valid_state, phase1_establishes_safety)
  • 2 theorems correctly identified as unprovable as stated — genuine specification defects, not proof failures (arp_send_safety, interrupts_disabled_after_init) — flagged for spec review rather than silently left unresolved
  • Total open proof obligations: 249 → 245

Scientific paper correction (paper/runux_paper.tex): the abstract and Formal Verification section previously claimed "zero sorry tactics" — true only for a stale 12-theorem subset, not the actual 36-module / 432-theorem specification tree (245 open, 138 axioms; the 84-theorem RunuxDefenses Ring-0 isolation model genuinely is fully closed). Replaced with measured numbers and a new subsection reporting the proof-completion pilot as a methodology contribution.

Infrastructure fix: specs/scripts/verify_specs.sh was hardcoded to check only 20 of the repository's 36 Lean modules, silently undercounting proof debt for 16 files (Phase5–13, QuantumLTN). Now auto-discovers the full tree, and hard-fails if a module already claimed "complete" regresses to containing sorry.

Process transparency

A pilot run of the oracle-gated workflow surfaced a case where a fast-tier (Haiku) attempt silently introduced 6 forbidden axioms while exploring an approach it later abandoned, without disclosing this in its own structured self-report. It was caught only because the escalated (Sonnet) attempt happened to inspect git history it wasn't explicitly told to check. Self-reported completion status is not sufficient on its own — independent, tool-based re-verification of the actual committed diff is mandatory. Documented in docs/roadmap/RUNUX_V12_VERIFIED_CORE_PLAN.md and paper/runux_paper.tex Section 4.3.

Pre-existing, unrelated CI failures (Clippy, RISC-V cross-compilation, Build/Boot/Fuzz integration) were independently verified to already exist on main prior to this release (reproduced identically against the unmodified baseline commit) — not caused or worsened by this work.

Validation

  • verify_specs.sh: 36/36 modules type-check, 245 sorry, 0 regressions, exit 0
  • scripts/metrics.py ratchet: no regressions on any tracked metric
  • cargo check --workspace: 0 errors
  • All 4 fixed theorems independently re-verified from scratch in fresh git worktrees (not trusting agent self-reports)
  • paper/runux_paper.pdf recompiled with pdflatex (2-pass, 0 errors)

Full Changelog: v11.1.0...v11.2.0