KairOS
The kernel layer of the Golden Phase Runtime: process model, scheduler, memory management, and the full phase-state transition API.
Golden Phase OS — the operating system where every transition is visible, every object is auditable, and every action is authority-aware.
What Golden Phase OS is
The KairOS kernel is the core of Golden Phase OS: a complete, self-contained software computer whose every operation is grounded in a single four-element algebra. Instead of two Boolean values {0,1}, the machine works in four phase states Φ0 Φ1 Φ2 Φ3, combined by one closed operation called compose (∘). The name is from the Greek kairos — meaningful time, the idea that the order of events can carry information.
Process Model
Every process in Golden Phase OS has a phase state. The phase state determines what the process can do: Φ0 (sleeping/idle), Φ1 (ready), Φ2 (running), Φ3 (kernel/privileged). Phase transitions are explicit and audited — a process cannot silently change state.
Scheduler
The Golden Phase OS scheduler is phase-aware: it only dispatches processes in Φ1 (ready) state, and only to Φ2 (running). The scheduler records every dispatch decision in the statechain. Preemption returns a process to Φ1; termination moves it to Φ0.
Memory Model
Golden Phase OS uses a page-tag memory model: every memory page carries a phase tag. A process can only read or write pages whose phase tag is compatible with its current phase state. Φ3 (kernel) pages are inaccessible to Φ2 (user) processes.
Statechain Audit Log
Every phase transition, memory access, process creation, and system call is recorded in an append-only statechain. The statechain uses cryptographic event hashes, Merkle-root aggregation, and signed checkpoints. Operators can inspect what changed, when it changed, and what authority committed it.
Every phase transition, memory access, process creation, and system call is recorded. The statechain is append-only and cryptographically linked — no entry can be removed or altered without breaking the chain.