Repository navigation
Releases
RunuX v11.3.10 — 60-second multi-arch boot quick-start
README now leads with a copy-paste quick-start (3 curls + 1 QEMU command per architecture, checksums verified) using the public boot-image mirror. Also: CITATION.cff version bump, repo homepage set to the paper DOI, second-wave outreach drafts in docs/roadmap/COMMUNICATION_PLAN.md, and a Show-and-tell Discussion (#85) inviting boots on other hardware.
RunuX v11.3.9 — public reproducible boot images, GPU/TPU accelerator investigation
Public reproducible boot images
The RISC-V, x86_64 (GRUB Multiboot2 ISO), and AArch64 boot artifacts from
v11.3.4/v11.3.6/v11.3.8 — re-verified in this session before upload — are
now mirrored publicly, no GitHub account needed, with SHA256 checksums and
a qemu-system-* reproduce guide:
GPU/TPU accelerator investigation (docs)
README.md and ROADMAP.md now link the full Google Cloud TPU accelerator
investigation (M0-M5): real PCIe/IOMMU telemetry against a real TPU VM
(n=30, independent oracle, vfio-pci + AMD-Vi IOMMU evidence), real
ML-workload syscall traces replayed through this repo's own unmodified
ebpf_firewall/ai_detector, and a partial (honestly disclosed) custom
GCE boot attempt. Also documents why real NVIDIA GPU (T4/L4/RTX) access
was blocked: a project-wide GPUS_ALL_REGIONS quota, exhausted before
any GPU could be reached.
See issue #48 for the full wrap-up comment and every linked doc.
Cost
Every GCP resource created for this and the preceding boot/accelerator
work (VMs, custom images, dedicated buckets) has been confirmed deleted
via a full project-wide sweep. No ongoing compute cost.
Co-Authored-By: Claude Sonnet 5 noreply@anthropic.com
RunuX v11.3.8 — real AArch64 boot, a third architecture from scratch, independently verified on GCP
What's new
RunuX now boots on a third real architecture. examples/aarch64_qemu_harness
(#73) is genuinely new code -- no AArch64 support of any kind existed in
this repo before this release (unlike RISC-V, which already had working
boot code just undiscovered, and x86_64, which had a partial broken
scaffold). The entry code defensively handles all three possible
starting exception levels (EL3, EL2, EL1) since QEMU's virt machine
starts a -kernel-loaded image at EL2 by default with no secure
firmware; it drops through to EL1 before ever touching Rust, then --
like the x86_64 harness -- calls real kernel_types::SafePageFrame
logic (valid-pointer and null-rejection paths both exercised), and
shuts QEMU down cleanly via PSCI SYSTEM_OFF (exit code 0).
Independently re-verified on a machine that never touched this repo
before (#74): a fresh GCP e2-micro VM (always-free tier, deleted
after use), cloned over HTTPS, installed qemu-system-arm via normal
apt-get, built and booted the harness without modification. Result:
PASS, then a 30-run benchmark -- 30/30 boots succeeded, mean 0.0392s,
95% CI [0.0388s, 0.0395s]. This is the fastest of the three harnesses
(0.062s riscv64, 0.552s x86_64) because it has the simplest boot path
-- direct ELF load, no firmware stage -- not because the code is
"better"; the telemetry doc says this explicitly. Full write-up:
docs/roadmap/AARCH64_BOOT_TELEMETRY.md.
No native ARM hardware was used anywhere in this verification --
QEMU TCG cross-emulation on an x86_64 host throughout, stated
explicitly rather than implied otherwise. Same as the other two
releases, no Linux comparison is made or implied.
What's still stub: no real GIC, no real page tables
(aarch64_pgtable_init still prints and returns), not wired into CI
yet (a PR adding it is prepared but blocked on a token-scope issue --
see the repo's CI status), no scheduler/drivers/filesystem/userspace.
RunuX has now independently, honestly verified a real boot on all
three architectures its README claims to support: x86_64, RISC-V, and
AArch64.
Try it yourself
Attached below: the exact aarch64_qemu_harness binary measured above
(aarch64-unknown-none, release profile) and the raw benchmark CSV.
Boots directly, no packaging needed:
qemu-system-aarch64 -machine virt -cpu cortex-a72 -nographic -nic none \
-kernel aarch64-qemu-harness-v11.3.7Or build and verify from source:
git clone https://github.com/xaviercallens/rust-linux-mini-kernel.git
cd rust-linux-mini-kernel
sudo apt-get install -y qemu-system-arm
rustup target add aarch64-unknown-none
bash scripts/aarch64_boot_test.sh
bash scripts/aarch64_boot_bench.sh --runs 30PRs in this release
- #73 -- Real AArch64 boot -- a third architecture, from scratch
- #74 -- AArch64 boot telemetry: independent GCP verification, n=30 latency bench
Full multi-arch boot milestone (this release + v11.3.4/v11.3.6)
| Arch | Boot path | Mean latency (n=30) | Release |
|---|---|---|---|
| RISC-V | OpenSBI -> S-mode, direct -kernel |
0.0617s | v11.3.4 |
| x86_64 | GRUB Multiboot2 -> 64-bit long mode | 0.5518s | v11.3.6 |
| AArch64 | Direct -kernel -> EL1, PSCI shutdown |
0.0392s | this release |
RunuX v11.3.6 — real x86_64 long-mode boot, independently verified on GCP
What's new
RunuX now boots into genuine 64-bit long mode on x86_64 — not the
pre-existing examples/demo_kernel 32-bit trick. examples/x86_64_qemu_harness
(#71) is loaded by GRUB via Multiboot2 while the CPU starts in 32-bit
protected mode (per the Multiboot spec, regardless of the kernel ELF's
own bitness); hand-written entry code builds identity-mapped page
tables, enables PAE, sets EFER.LME, enables paging (CR0.PG), and
far-jumps into a real 64-bit code segment before ever calling into
Rust. This is also the first boot path on either architecture that
calls real workspace logic instead of only printing banners:
kernel_types::SafePageFrame::new runs for real, both the
valid-pointer and null-rejection paths.
Independently re-verified on a machine that never touched this repo
before (#72): a fresh GCP e2-micro VM (always-free tier, deleted
after use), cloned over HTTPS, installed qemu-system-x86 +
grub-pc-bin + grub-common + xorriso + mtools via normal
apt-get, built and booted the harness without modification. Result:
PASS, then a 30-run benchmark — 30/30 boots succeeded, mean 0.5518s,
95% CI [0.5026s, 0.6010s] (TCG software emulation; this VM tier has no
/dev/kvm). Full write-up: docs/roadmap/X86_64_BOOT_TELEMETRY.md.
Why GRUB/Multiboot2 instead of direct -kernel loading (like the
RISC-V harness uses): QEMU's built-in multiboot direct-kernel loader
hard-rejects ELF64 images ("Cannot load x86-64 image, give a 32bit
one") — a real, documented limitation. GRUB's Multiboot2 loader does
support ELF64, so this builds a bootable ISO instead.
Explicitly not a Linux comparison, same as the RISC-V release.
This harness has no scheduler, drivers, filesystem, or userspace.
What's still stub: no IDT, no APIC, no real drivers, not wired
into CI. examples/demo_kernel's older i686 trick is unchanged and
still works as before.
Try it yourself
Attached below: the exact x86_64_qemu_harness binary measured above
(x86_64-unknown-linux-gnu, release profile) and the raw benchmark
CSV. Unlike the RISC-V binary, this one needs to be packaged into a
GRUB ISO before booting — see scripts/x86_64_boot_test.sh for the
exact recipe, or build + verify from source:
git clone https://github.com/xaviercallens/rust-linux-mini-kernel.git
cd rust-linux-mini-kernel
sudo apt-get install -y qemu-system-x86 grub-pc-bin grub-common xorriso mtools
bash scripts/x86_64_boot_test.sh
bash scripts/x86_64_boot_bench.sh --runs 30PRs in this release
RunuX v11.3.4 — RISC-V boots for real, independently verified on GCP
What's new
RISC-V now boots real workspace code — this was discovered, not built new,
in this release cycle: examples/riscv_qemu_harness + arch/riscv64
already implemented a correct OpenSBI → S-mode boot path (real CSR access,
UART, linker script at the standard 0x80200000 load address). Previous
releases' READMEs incorrectly stated no workspace code boots anywhere;
that claim is now corrected (#69).
Independently re-verified on a machine that never touched this repo
before: a fresh GCP e2-micro VM (always-free tier, deleted after use,
no standing service or public SSH access left behind), cloned over HTTPS,
installed qemu-system-misc + rustup normally, built and booted the
harness without modification. Result: PASS, then a 30-run benchmark —
30/30 boots succeeded, mean boot time 0.0617s, 95% CI [0.0611s, 0.0622s]
(#70). Full write-up: docs/roadmap/RISCV_BOOT_TELEMETRY.md.
Explicitly not a Linux comparison. RunuX's RISC-V harness has no
scheduler, drivers, filesystem, or userspace, so there is no comparable
workload to benchmark against yet — this release does not claim
performance or feature parity with Linux, and the telemetry doc says so
directly.
What's still stub: riscv_arch_init/riscv_irq_init/riscv_pgtable_init
print banners but don't yet wire real PLIC or Sv39 hardware state; this
isn't in CI yet; x86_64 still has no boot path beyond the pre-existing
examples/demo_kernel i686 binary under QEMU.
Try it yourself
Attached below: the exact riscv_qemu_harness binary measured above
(riscv64gc-unknown-none-elf, release profile) and the raw benchmark
CSV. Boot it with your own QEMU, no Rust toolchain needed:
qemu-system-riscv64 -machine virt -nographic -bios default \
-kernel runux-riscv64-qemu-harness-v11.3.4Or build and verify from source:
git clone https://github.com/xaviercallens/rust-linux-mini-kernel.git
cd rust-linux-mini-kernel
sudo apt-get install -y qemu-system-misc
rustup target add riscv64gc-unknown-none-elf
bash scripts/riscv_boot_test.sh
bash scripts/riscv_boot_bench.sh --runs 30PRs in this release
RunuX v11.3.3 — Wave 1 hardening, community outreach
Wave 1 hardening (T1 track)
4 of 8 core crates now have real `SAFETY:` justifications instead of undocumented `unsafe` blocks: `syscall_table` (#59), `netfilter` (#61), `kernel_types` (#63), `immutable_logs` (#62). Every PR was independently rebuilt, retested, and checked for downstream FFI-symbol breakage before merging — not just trusted from the workflow's own report. Total cost: 582,912 tokens, deliberately stopped there rather than risk the stated 1M ceiling on the three much larger remaining crates.
Findings from doing this properly
- #60: `vmalloc`'s test code calls functions that are never defined — a real compile failure invisible to `cargo check --workspace`.
- #63 side effect: two `kernel_types` test assertions didn't match the real struct layout; `cargo test` was silently failing on `main`. Fixed and independently confirmed. `kernel_types` now passes 7/7 instead of 5/7.
- #64: one `netfilter` `unsafe` block was honestly left uncommented rather than given a fabricated justification.
- `RESEARCH_DIRECTIONS.md` A7: the oracle's scope check is file-level, not content-level — recorded as a gap before scaling this workflow further.
Community
- README/ROADMAP updated with real, re-measured numbers. Issues #36-#39 closed with links to their verified fixes.
- Welcome announcement posted to GitHub Discussions.
- `docs/roadmap/COMMUNICATION_PLAN.md`: channels, sequencing, and ready-to-paste outreach drafts (HN, r/rust, Lean Zulip, This Week in Rust, LinkedIn/X) for a human to post — no tool access to those platforms exists here.
- `docs/wiki_staging/`: FAQ + Glossary, staged for the moment the repo wiki is initialized (GitHub requires a first page via the web UI before its git repo exists at all).
Full Changelog: v11.3.2...v11.3.3
RunuX v11.3.2 — Open contribution & published paper
Published
- Paper: Claims vs. Evidence: A Measured Audit of an AI-Assisted Rust Kernel and an Oracle-Gated Workflow for LLM Proof Completion, doi:10.5281/zenodo.22985926
- Data: callensxavier/claims-vs-evidence-runux-audit on Hugging Face
CITATION.cffcites the published paper (validated against CFF 1.2.0); the README has a DOI badge.
Open for contribution (since v11.3.1)
- For humans: CONTRIBUTING.md. For AI agents: AGENTS.md, which sets the evidence rules: no number without a command, no weakened theorems, no escape hatches.
- Public ROADMAP.md: 6 tracks with measured milestones, and 19 seed issues including 8
agent-readyhardening tasks. - PR Guard runs on every PR, forks included:
scripts/pr_guard.pyrejectssorry/axiom/allowescape hatches, changed or deleted theorem statements, and unjustifiedunsafeblocks. - Maintainer-triggered Claude (
@claude,agent:claude) and Jules (agent:jules) workflows, plus label-only Haiku issue triage. These need theANTHROPIC_API_KEYandJULES_API_KEYsecrets to run. SECURITY.mdwith private vulnerability reporting; AI-agent attacks and prompt injection are in scope.
Fixed (v11.3.1)
- After the history rewrite, the baseline commit
e65392fno longer existed; it is now041622e(tagv11.1.0). Every metric and all 1,292 work units were verified to reproduce exactly before the DOI was minted.
Measured status (scripts/metrics.py measure)
245 open sorry · 138 axioms · 434 theorems in 37 Lean files · 141/316 placeholder crates · 723 unsafe blocks, 101 documented. The ratchet shows no regressions.
Full Changelog: v11.3.0...v11.3.2
RunuX v11.3.0 — Claims vs. Evidence: Selected Paper & History Cleanup
Highlights
Selected paper for archival publication: paper/claims_vs_evidence.tex (preprint, 4 pp.). No prior paper in this repository survived a reproducibility check intact — this one reports this project's own audit, an oracle-gated multi-tier LLM proof-completion workflow, and its wave-1 pilot. Every figure traces to a checked-in script, data file, or Lean proof.
Spec defects, machine-checked: specs/lean4/MVK/Audit/SpecDefects.lean proves arp_send_safety and interrupts_disabled_after_init are false as stated (depends only on Lean's propext), replacing prose "unprovable" verdicts from the pilot with actual proofs of the negation.
New planning docs (not implemented):
docs/roadmap/RESEARCH_DIRECTIONS.md— workflow fixes derived from the pilot's 3 failure modes, plus 7 research directions with exit criteriadocs/roadmap/AI_AGENT_DEFENSE_PLAN.md— analysis of RunuX's 40 Core Defenses requirements against an adaptive, high-frequency, black-box-querying AI-agent attacker model, with 8 proposed new requirements
Security: history rewrite. Removed paper/mvk_chaos_benchmarks.tar.gz and benchmarks/gke_results/chaos_run.log from all history (all 17 branches and 30 affected tags force-updated). Both files contained internal employer hostnames and a local SOCKS proxy configuration. Verified via git log --pickaxe-all -S after rewrite: zero remaining occurrences anywhere in history. All commit SHAs before this point have changed — re-clone rather than pull if you have an existing checkout.
Security: leaked credential — action still required. Removed paper/upload_to_zenodo.py, which hard-coded a Zenodo personal access token (public in this repo since commit 071b835, 2026-05-30) and disabled TLS certificate verification. As of this release, the token is confirmed still valid and has not yet been revoked — removing it from the repository does not revoke it. Revoke it at https://zenodo.org/account/settings/applications/.
Validation
scripts/metrics.py ratchet: no regressions- History rewrite verified with
git log --all --pickaxe-all -Sfor both leaked strings: 0 hits - GitHub release/tag integrity spot-checked post-rewrite: tag object SHAs match the rewritten mirror exactly; unaffected releases (e.g. v11.2.1) still resolve correctly
- Leaked Zenodo token re-checked live at publish time: still active (HTTP 200) — see action item above
Full Changelog: v11.2.1...v11.3.0
RunuX v11.2.1 — Paper Integrity: Quarantine Unverified Claims
Summary
Continuation of v11.2.0's honesty pass, extended from code/proof claims to the paper suite. Every document under paper/ was checked against one standard: is there a reproducible artifact in this repository that generates the specific figures cited?
Quarantined (moved to paper/quarantine/, in-file warning banner added)
| Document | Reason |
|---|---|
mvk_scientific_paper.tex |
GCP bare-metal rdtsc cycle-count claims (mmap −25.3%, page fault −12.2%, a 12-hour fuzzing panic-rate figure) — no matching benchmark harness found anywhere in the repository |
security_scientific_paper.tex / SECURITY_SCIENTIFIC_PAPER.md |
"Eliminates 100% of spatial and temporal memory vulnerabilities" — contradicted by this session's own findings: a live aliasing bug in crates/ai_detector, 722 unsafe blocks workspace-wide with only ~14% SAFETY: comment coverage, no Miri run on record |
quantum_ltn_paper.tex |
72.45× acceleration / 55.40× VRAM reduction figures with no matching benchmark script producing those exact numbers |
runux_ai_paper.tex |
TPU v5e figures honestly disclosed as "simulation" in its own abstract — but that qualifier was dropped when the same numbers were repeated elsewhere (xavier_publications.tex, peer_review_report.md) |
peer_review_report.md |
A "Board of Reviewers" report with no evidence of an independent review process — the reviewed lab is described elsewhere in this repository as founded by the same author as the paper under review |
None of these are declared false — each carries a specific, checkable reason no reproducible artifact was found, and a path back out of quarantine. See docs/roadmap/PAPER_VERIFICATION_TODO.md for the full, per-claim breakdown.
Also fixed
paper/xavier_publications.tex had a pre-existing unescaped & in a \subsection title that broke LaTeX compilation outright — it apparently never had a compiled PDF in this repository before this release. Now compiles cleanly (0 errors) and ships a PDF for the first time. Its summaries of the quarantined papers now carry explicit status notes and a restored "simulated" qualifier that had been dropped.
Validation
- All 5 affected
.texfiles recompiled withpdflatex(2-pass, 0 errors) - Quarantine banners confirmed rendering via
pdftotextspot-check scripts/metrics.py ratchet: no regressions- Checked for broken references to the moved files across the repo — none found
Full Changelog: v11.2.0...v11.2.1
RunuX v11.2.0 — v12 Truth-and-Metrics Gate & Wave-1 Proof Completion
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 0scripts/metrics.py ratchet: no regressions on any tracked metriccargo 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.pdfrecompiled withpdflatex(2-pass, 0 errors)
Full Changelog: v11.1.0...v11.2.0