Architecture

The normal root is immutable. Durable operator state lives on a separate partition. A committed revision is validated, activated and rendered into volatile runtime files before the miner may start.

The diagrams are maintained as Mermaid source in the repository and published here as static SVG. The browser executes no JavaScript and loads no Mermaid runtime.

Operating path

RIGOS operating path from BIOS or UEFI through immutable root, persistent state, configuration revision, runtime gates, XMRig and operator commands.
Boot and runtime authority. Mermaid source.

Utility and recovery are explicit side paths. They do not become hidden shortcuts around persistent state, configuration activation, huge pages or network readiness.

Boot modes

ModeAuthorityMining behavior
Normal, configuredCommitted persistent revisionAutomatic activation and gated startup
Normal, unconfiguredFirstboot on tty1Miner remains stopped until configuration commits
UtilityKernel command-line mode conditionNormal mining is not started by utility mode itself
Recovery ISOStateless diagnostic and repair environmentSeparate role, not the normal appliance image

Systemd ordering

Ordered RIGOS systemd units from persistent state through miner health observation.
Startup dependency chain. Mermaid source.

The miner is the last privileged consumer in the graph. Persistent state, runtime configuration and huge-page preparation must already be true before rigos-miner.service starts.

Configuration revisions

RIGOS configuration transaction validating operator input, rejecting invalid candidates before mutation, committing an immutable revision and activating generated runtime configuration.
Mutation and activation boundary. Mermaid source.

Direct edits to live miner configuration are not durable authority. The current committed revision is. Runtime files under /run/rigos are generated output.

Operator surfaces

SurfaceRoleBoundary
rigShort local operator commandNo hidden sudo; delegates to systemd, journalctl and rigosctl
rigosctlDetailed authority commandControls validated state and runtime operations
XMRig loopback APIRestricted health observationLocal only; token contents excluded from public output
/run/rigosGenerated runtime and statusPrivate material separated from redacted public views

Security boundaries