quartz is an operating system designed to keep apps working across system updates.
You download apps, otherwise known as gems, either from a repository remote or from nonremote sources such as a USB flash drive or directly from an online vendor. Apps can then be synchronized with the repository if they’re supported. Apps can also optionally be detached from the remote for ease of portability.
Application developers bundle private dependencies with each app, while userspace remains separate and is not of concern to the app at all. This ensures that apps never actually bundle anything from userspace, while at the same time solving dependency complications by simply having each application retain its own dependencies.
The userspace is written from scratch to increase backward-compatibility guarantees. Applications are written with this specific userspace in mind.
Finally, the entire OS can be described by a scheme file, à la Nix and Guix. Each gem (or application) also contains a meta-scheme file.
This is a very early build; it will take a few months to get it right. Right now, I’m looking for volunteers who can help me build this project.


The reason for building quartz is pretty simple. If you build an app for a Linux desktop today, a system update can change something the app depends on even though the app itself hasn’t changed. Bundling libraries helps, but the app still has to talk to the operating system for things like opening a file the user picked or showing a notification. quartz wants to make that boundary explicit. If you build against an interface quartz publishes, you should be able to keep running the same binary across system updates. The way to prove that is to save the binary and actually run it on later releases. Recompiling it every time would miss the point.
quartz uses the Linux kernel and aims to own a small, stable userspace around it. mica is the planned C library. It covers the basic runtime that C programs need. libquartz is separate and gives apps a way to ask for OS services. Keeping those separate matters. Changing how the desktop handles notifications shouldn’t require changing the C runtime, and an app that wants to start a service shouldn’t need to know how the init system starts processes. garnet starts and supervises them. quartz-core handles the system-facing decisions exposed to apps. agate provides the everyday command-line tools, including the newer Linux storage tools.
The base ships as a unit. The desktop, init, C library, and system services are part of the same release. An update stages a new read-only Btrfs deployment alongside the working one, then tries it on the next boot. The VM prototype keeps track of which release was tried and which one was accepted. If the trial fails, the next boot goes back to the accepted base. Your home directory lives on a separate writable subvolume, so switching the base leaves your files and installed apps where they were. There’s an important wrinkle here. If a newer app changes the format of its saved data, switching the OS back won’t undo that change. Writable data still needs its own migration rules.
Apps come in
.gemfiles. Think of an AppImage with a small Lisp manifest that says what the app is, what version it is, and which executable to run. The app brings its private libraries and uses the interfaces supplied by the base. You can open a gem where it is, or install it into~/Applications. Installing registers it with quartz. GNOME reads that registry through a quartz adapter so the app can appear in the launcher. A download from vein (the remote repository server software) ends up going through the same local install code. The difference is what happens before installation. The client checks the catalog’s signature against a trusted key, verifies the downloaded file’s hash, and checks that the bundle really contains the app and version you requested. System components have a separate update path because replacing a desktop or init system changes the base deployment.GNOME is the reference desktop. We track upstream and keep quartz changes in patch sets so we can see exactly what we changed and reapply it to new releases. Files is a good example of why this takes work. Its executable pulled in systemd through a mount library used by GIO, and udev through optional GTK features. We rebuilt those private dependencies with the relevant features disabled and tested the resulting Files gem. Settings and Parental Controls are harder because some of their dependencies answer questions about who is logged in and who can change another person’s settings. You can drop an optional media backend from a file manager. You have to replace an authorization check with something that actually makes and enforces the right decision.
That’s where corundum comes in. The app asks through libquartz, and the base checks who made the request using credentials supplied by the kernel. One small piece of this works already. In a test VM, an administrator approved a specific process to change the running hostname once. The write succeeded, and the next attempt was denied. The desktop prompts and parental-control writes still use the preview’s existing policy. Likewise, TinyScheme already runs as the quartz shell, and the app and rollback workflows have been tested, but mica and the full compatibility contract are still being built. What works today is enough to test parts of the idea. The long-term promise depends on doing those tests across real releases.