SlopOS
Verification

Framekernel

The SlopOS trusted-core discipline

SlopOS uses a framekernel split: one trusted core crate owns unsafe and raw machine interfaces, while the rest of the kernel is written against safe APIs.

Rules

RuleEnforcement
slopos-ostd owns kernel unsafeCrate-level unsafe bans plus an unsafe-boundary audit
Kernel services stay synchronousAsync-surface audit
Kernel allocation routes through OSTDAllocation-dependency audit
Stack frames stay boundedFinal kernel stack-size audit
Trusted core is measuredTCB ratio report
Critical invariants have proofsjust verify
OSTD unsafe behavior is interpretedjust check-miri

just check-framekernel runs the composite gate:

just build
just check-framekernel

The build step gives the stack-size audit a final kernel image to inspect.

Kernel Async Boundary

The kernel has no async fn surface. Blocking is represented with WaitQueue, EventBus, poll/select shape, sleeps, futexes, and synchronous syscall handlers. SlopRing is the async edge, but the async runtime lives in userland (slopos-rt and slopfut).

Trusted-Core Goal

The practical goal is to keep the amount of trusted code small enough that it can be reviewed, interpreted under Miri where possible, and gradually proved with Verus. The public claim depends on both the measured TCB ratio and the presence of machine-checked critical-path proofs.

On this page