Mission: run any desktop software, on any platform, natively. Canonical: wawona-mission-and-architecture.md.
Wawona is an L4 app: a Rust Wayland compositor plus native frontends. It does not assume a host compositor or a kernel DRM device.
Layout
| Path | Owns |
|---|---|
src/core | Protocols, surfaces, windows, input, scene |
src/ffi | UniFFI + WWNCore* C poll ABI (Swift/JNI call it) |
src/domain | Product policy (profiles, prefs, Darwin CLI, catalog, caps, launch) |
src/platform/android | JNI glue |
src/linux | GTK UI |
Sources/WawonaModel | Thin Swift wrap (WawonaDomainBridge). Schema is Rust |
Sources/WawonaUI | SwiftUI Machines / Welcome / Settings |
Sources/WawonaWatch | watchOS companion |
Sources/WawonaApple | Apple framework glue (Metal, seat, lifecycle, runners). No ObjC classes |
Darwin/ | Apple @main entry |
Apple product languages are Rust + Swift/SwiftUI only. Done means scripts/verify-no-objc-glue.py green with zero product .m files.
Layout rules: 2026-SOURCE-LAYOUT-RULES.md.
Delivery
Clients arrive as native ports, containers, or VM / remote over waypipe-rs 0.11.0. Graphics go through iLand userspace DRM/KMS/GBM (iland): never a real /dev/dri. Classic Desktop Replacement maps that KMS path to fullscreen Metal with WindowServer down.
Do not hand-count Wayland globals. See the generated Protocols page.