Skip to content

Australis system architecture

Development reference from Australis-OS. Commands and source paths on this page are relative to that repository checkout. For current task status, use the development project.

Australis uses four boundaries: the bootloader, the kernel, system userland, and application userland. The GUI is part of userland. It receives graphics and input through kernel interfaces and does not run inside the kernel.

Layer Owns
Bootloader Loads and validates the kernel, captures firmware state, leaves boot services, and enters the kernel.
Kernel CPU state, memory protection, processes, scheduling, system calls, VFS, interrupts, and hardware drivers.
System userland System startup, service supervision, device and mount policy, login, sessions, settings, and application launch policy.
GUI userland Display server, compositor, window protocol, input routing, desktop shell, and graphical session programs.
Applications Command-line tools and graphical programs using public userland APIs.

Drivers initially remain in the kernel because the current AHCI, NVMe, xHCI, terminal, and framebuffer paths already work there. A later capability and IPC model may allow selected drivers to move into isolated user processes.

BOOTX64.EFI
|
v
KERNEL.BIN
| mounts the root filesystem and starts PID 1
v
System.exec system manager / PID 1
|-- Device.exec one-shot readiness check
|-- Storage.exec one-shot readiness check
`-- CommandShell.exec text session
|-- checked AUEX commands and children
`-- bounded native AUN1 children from /System/Bin

System.exec is the first user process. The kernel starts it after mounting the root filesystem. It follows a versioned startup manifest: Device and Storage report readiness, then CommandShell.exec starts as the text session. The kernel performs bounded retries and retains KMon as an independent recovery path. Persistent services, login, and graphical sessions remain planned.

The former SYSTEM.EFI placeholder has been retired in favor of the packaged /System/Core/System.exec user executable.

The repository has separate bootloader, kernel, userland, shell, and rescue projects. The OS-owned userland directories below are the intended layout as the corresponding components are implemented:

src/
|-- bootloader/ UEFI boot stage
|-- kernel/ privileged kernel
|-- rescue/ optional disk-backed rescue program
|-- shell/ current text userland command shell
`-- userland/
|-- system/ PID 1 and service supervision
|-- services/ core system services
|-- libraries/ shared user APIs and protocols
|-- commands/ cat, ls, version, echo, pwd, ...
`-- gui/
|-- display/ display server and compositor
|-- session/ login and graphical session startup
`-- desktop/ desktop shell components
applications/ separately versioned application repos

The src/userland tree contains components shipped as part of the operating system. Independently versioned programs remain under applications while checked out for an image build and may live in their own repositories.

The default HyFS 2 image creates /System, /System/Core, /System/Config, /System/Bin, /Applications, /Users, /Volumes, and /Temporary. System.exec, the Device and Storage checks, CommandShell.exec, and the startup manifest are packaged under /System. The larger service layout below is planned. The retained HyFS 1 compatibility image contains only flat root files:

/System/
|-- Core/System.exec
|-- Services/*.service
|-- Libraries/*.library
|-- Drivers/*.driver
|-- Settings/*.settings
`-- Resources/
/System/Bin/*.exec
/Applications/*.appb
/Users/<name>/
/Volumes/<name>/
/Temporary/

/System/Bin is the default location for command-line programs. The kernel recovery shell searches PATH=/System/Bin:/System:/. The userland shell starts with PATH=/System/Bin; path /System/Bin:/data/bin changes its search list for the current session. Explicit run /path/program.exec selects an absolute program path.

The shell owns command parsing, environment values, PATH lookup, and foreground launch. The kernel owns process creation, argument transfer, waiting, termination, and resource cleanup.

Many current commands are external AUEX programs:

External program Kernel interface required
cat.exec Arguments, dynamic paths, open/read/close, and EOF/error results.
ls.exec Directory enumeration and file metadata.
version.exec Read-only system information.
echo.exec Arguments and terminal output.
drivers.exec Read-only driver category summary.
ps.exec Read-only process inventory.

Commands that change the shell process remain built-ins: cd, set, export, unset, exit, and later jobs, fg, and bg.

An extension identifies packaging and intent. Current execution policy comes from the loader and read-only capability manifest, not the filename. Signature and package trust policy are future work.

Extension Meaning Example
.exec Executable payload cat.exec
.os System component bundle System.os
.appb Graphical or packaged application bundle Calculator.appb
.service Supervised service bundle Storage.service
.driver Driver package Graphics.driver
.library Userland library Graphics.library
.package Installable package calculator.package
.addon Application plugin Markdown.addon
.theme Theme bundle Dark.theme
.link File or application shortcut Browser.link
.layout Desktop or window layout Default.layout
.icons Icon collection Modern.icons
.widget Desktop widget Clock.widget
.settings Australis settings data System.settings

The canonical suffixes are lowercase so paths behave consistently on case-sensitive filesystems. Product names may retain normal capitalization, as in System.os and Calculator.appb.

Calculator.appb/
|-- manifest.json
|-- Calculator.exec
`-- Resources/
`-- icon.png
{
"name": "Calculator",
"identifier": "os.australis.calculator",
"version": "1.0.0",
"executable": "Calculator.exec",
"icon": "Resources/icon.png",
"type": "application",
"capabilities": []
}
System.os/
|-- manifest.json
|-- System.exec
`-- Resources/

A .os bundle is reserved for an operating-system component managed by the system manager. It is still a user process. It does not gain kernel privilege from its extension. The first PID 1 milestone installs a direct executable at /System/Core/System.exec; the System.os bundle layout is a later packaging format for that component. See system startup guide for the startup contract and rescue plan for the fallback boundary.

Category Extensions
Documents .txt, .pdf, .md
Images .png, .jpg, .webp, .svg
Video .mp4, .mkv, .webm
Audio .mp3, .flac, .wav
Archives .zip, .tar, .7z
Configuration .json, .toml, .yaml
Programming .hy, .c, .cpp, .py
  1. The bootloader loads the kernel; it does not start desktop applications.
  2. The kernel exposes mechanisms and enforces isolation; userland chooses service, session, launch, and desktop policy.
  3. The GUI remains optional. Text-only boot must remain usable over COM1 and the framebuffer terminal.
  4. System services use the same process and executable model as applications, with explicit capabilities and supervision.
  5. Application bundles contain resources and metadata; .exec remains the executable payload format.
  6. Public system calls and IPC protocols are versioned before services depend on them.