Architecture

The principles behind the proposed independent operating system. The design choices of the earlier prototype are kept below, separately.

Proposed: independent Khelforge OS

Proposed architecture. This is the design goal for the independent Khelforge OS. Most of it does not exist yet.

User applications

The games and programs you want to use. Which ones will work is not known yet.

What can run depends on every layer below, and for some software on its publisher’s permission.

Planned

Today: No application runs.

Compatibility Developers

Design principles

Principles for a system in development. They are not finished features. The technology ecosystem lists every part.

  1. Kernel first

    The foundation is built and checked before the parts that depend on it.

  2. Separate layers

    Each layer has its own job and a clear boundary, with the aim that one part can change or fail without taking the rest with it.

  3. Least access

    Each part should have only the access it needs.

  4. Compatibility kept apart

    Environments for other platforms are planned outside the native system, and unsupported programs must fail with a clear message.

  5. Hardware is untested until proven

    Support will be stated for an exact model, after testing it.

  6. Publisher rules are respected

    Khelforge does not bypass copy protection, anti-cheat, sign-in or licence checks.

Status labels

In development
Work has started. It is not finished and cannot be used.
Planned
Not started. It does not exist.
Long-term direction
A direction the project may take much later. It does not exist.

Historical: Linux-based prototype

These choices belong to the earlier prototype. They are not the architecture of the independent operating system.

  1. Its own compositor, built with Qt

    The desktop and the shell were drawn by one program written for this project, so windows, animation and input could be designed together.

  2. The installer interface never ran as root

    A separate service did the privileged work. It accepted only choices from a fixed list and re-checked the disk before writing.

  3. Pinned and checked packages

    Packages were pinned to a fixed date. The installation was designed to stop if one differed from what was expected. There was no release signing key.

  4. Hardware was read-only until proven

    Device settings were to be written only once a protocol was known. Until then they were labelled unverified and nothing was sent.

  5. Memory Guard advised, it did not act

    It reported pressure. Soft limits applied only to a new app the user chose to start with them, and games got none. System memory settings were never changed.

  6. Windows compatibility stayed out of the core

    Compatibility research was isolated from the stability path, and unsupported programs had to fail with a clear message.